Q-NET: A Formula for Numerical Integration of a Shallow Feed-forward Neural Network

06/25/2020
by   Kartic Subr, et al.
0

Numerical integration is a computational procedure that is widely encountered across disciplines when reasoning about data. We derive a formula in closed form to calculate the multidimensional integral of functions fw that are representable using a shallow feed-forward neural network with weights w and a sigmoid activation function. We demonstrate its applicability in estimating numerical integration of arbitrary functions f over hyper-rectangular domains in the absence of a prior. To achieve this, we first train the network to learn fw ≈ f using point-samples of the integrand. We then use our formula to calculate the exact integral of the learned function fw. Our formula operates on the weights w of the trained approximator network. We show that this formula can itself be expressed as a shallow feed-forward network, which we call a Q-NET, with w as its inputs. Although the Q-NET does not have any learnable parameters, we use this abstraction to derive a family of elegant parametric formulae that represent the marginal distributions of the input function over arbitrary subsets of input dimensions in functional form. We perform empirical evaluations of Q-NETs for integrating smooth functions as well as functions with discontinuities.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/20/2021

Integral representations of shallow neural network with Rectified Power Unit activation function

In this effort, we derive a formula for the integral representation of a...
research
10/07/2019

Neural network integral representations with the ReLU activation function

We derive a formula for neural network integral representations on the s...
research
12/21/2013

Do Deep Nets Really Need to be Deep?

Currently, deep neural networks are the state of the art on problems suc...
research
05/14/2020

Activation functions are not needed: the ratio net

The function approximator that finds the function mapping the feature to...
research
05/11/2019

Deep Learning: a new definition of artificial neuron with double weight

Deep learning is a subset of a broader family of machine learning method...
research
07/26/2023

Fixed Integral Neural Networks

It is often useful to perform integration over learned functions represe...
research
03/23/2021

Contrastive Reasoning in Neural Networks

Neural networks represent data as projections on trained weights in a hi...

Please sign up or login with your details

Forgot password? Click here to reset