Abstract
This paper introduces "density-embedding layers," a novel theoretical framework that redefines how artificial neurons interact with input data. By representing a neuron's receptive field as a learnable probability density function, the authors create a unified mathematical foundation that generalizes fully connected, convolutional, and pooling layers. This approach allows networks to dynamically adapt their receptive fields to the input, achieving comparable accuracy to standard networks with a fraction of the parameters.
Introduction
In visual tasks, a neural network's performance relies heavily on the "receptive field"—the specific region of the input image that a particular neuron processes. While standard Convolutional Neural Networks (CNNs) use fixed grids, recent research has attempted to make these fields more flexible through ad hoc heuristics like deformable convolutions. This paper addresses the lack of a unified mathematical ground for defining and optimizing adaptive receptive fields.
Methods
The authors generalize the standard affine transformation of a neuron into a continuous scalar product of functions: $y = \int w(t)x(t)dt + b$. By defining the input and weights as combinations of basis functions, they separate the standard weight matrix from a new interaction matrix, $\Gamma$. This matrix is populated by integrating probability density functions over the input space, which explicitly define the receptive field.
By choosing a density function with a known, easily computable cumulative distribution function (CDF)—such as the logistic distribution—the interaction matrix can be computed analytically. This enables the parameters defining the shape, size, and location of the receptive field to be optimized using standard backpropagation. Furthermore, because the receptive field is defined continuously, the number of parameters is decoupled from the input resolution, allowing for efficient processing of high-resolution signals. Key implementations include:
- Logistic-embedding layer (Logistic-EL): Uses 2D logistic distributions to pool input images, learning optimal receptive field parameters.
- Micro Neural Network (mNN) routing: A dynamic variant where a small "micro network" predicts density parameters on the fly, allowing the receptive field to adapt to specific images.
Results
Experiments on the MNIST dataset demonstrate the efficiency of the proposed framework. A Logistic-EL equipped with a micro-network achieved a 2.91% error rate using only 6,510 parameters, compared to a standard fully connected (FC) network which required 39,760 parameters for a similar error rate (2.96%).
Qualitative visualizations confirm that the micro-network successfully forces receptive fields to shift and adapt their shapes based on the specific input digit being processed. At initialization, the receptive fields are generic and centered, but after training, they focus on discriminative features of the input digits.
Conclusion
The density-embedding framework offers a mathematically principled way to unify various layer types and decouple input resolution from parameter count. While currently tested on simple datasets like MNIST and CIFAR10, the results suggest significant potential for parameter-efficient architecture design. Future work will explore scaling these layers to deeper state-of-the-art networks and more complex visual tasks.
Summary updated