Neural network gradient-based learning of black-box function interfaces

01/13/2019
by   Alon Jacovi, et al.
14

Deep neural networks work well at approximating complicated functions when provided with data and trained by gradient descent methods. At the same time, there is a vast amount of existing functions that programmatically solve different tasks in a precise manner eliminating the need for training. In many cases, it is possible to decompose a task to a series of functions, of which for some we may prefer to use a neural network to learn the functionality, while for others the preferred method would be to use existing black-box functions. We propose a method for end-to-end training of a base neural network that integrates calls to existing black-box functions. We do so by approximating the black-box functionality with a differentiable neural network in a way that drives the base network to comply with the black-box function interface during the end-to-end optimization process. At inference time, we replace the differentiable estimator with its external black-box non-differentiable counterpart such that the base network output matches the input arguments of the black-box function. Using this "Estimate and Replace" paradigm, we train a neural network, end to end, to compute the input to black-box functionality while eliminating the need for intermediate labels. We show that by leveraging the existing precise black-box function during inference, the integrated model generalizes better than a fully differentiable model, and learns more efficiently compared to RL-based methods.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/22/2023

Document Image Cleaning using Budget-Aware Black-Box Approximation

Recent work has shown that by approximating the behaviour of a non-diffe...
research
04/24/2018

Estimate and Replace: A Novel Approach to Integrating Deep Neural Networks with Existing Applications

Existing applications include a huge amount of knowledge that is out of ...
research
02/23/2020

Stealing Black-Box Functionality Using The Deep Neural Tree Architecture

This paper makes a substantial step towards cloning the functionality of...
research
02/05/2019

A Generalized Framework for Population Based Training

Population Based Training (PBT) is a recent approach that jointly optimi...
research
06/07/2019

Non-Differentiable Supervised Learning with Evolution Strategies and Hybrid Methods

In this work we show that Evolution Strategies (ES) are a viable method ...
research
05/05/2016

Not Just a Black Box: Learning Important Features Through Propagating Activation Differences

Note: This paper describes an older version of DeepLIFT. See https://arx...
research
03/13/2019

Improving Transparency of Deep Neural Inference Process

Deep learning techniques are rapidly advanced recently, and becoming a n...

Please sign up or login with your details

Forgot password? Click here to reset