Abstract
Gaussian Process Neurons (GPNs) represent a novel neural network architecture where fixed activation functions are replaced by learned, stochastic processes. By placing a Gaussian Process (GP) prior over each neuron's activation, the model achieves non-parametric flexibility while maintaining the regularization benefits of Bayesian inference. This approach bridges the gap between the expressive power of Gaussian Processes and the hierarchical scalability of Deep Neural Networks, offering a deterministic variational objective that allows for efficient training via standard gradient descent.
Introduction
In conventional deep learning, the choice of activation function (e.g., ReLU, Sigmoid) is typically a fixed architectural decision. While these functions are computationally efficient, they lack the flexibility to adapt to complex data distributions and do not provide inherent uncertainty quantification. Gaussian Process Neurons (GPNs) address this by treating the activation function itself as a stochastic process. This allows each neuron to learn a custom activation shape tailored to the data, effectively letting the network "choose" its own non-linearities.
Methodology
The core of the GPN architecture is the replacement of a deterministic scalar function $f(a)$ with a stochastic process.
Gaussian Process Priors and Sparse Approximations
Each neuron is assigned a GP prior, typically using a Squared Exponential kernel to encourage smoothness. To ensure the model remains scalable, the authors utilize sparse GP approximations via "inducing points." This technique transforms the non-parametric GP into a parametric representation with a fixed number of weights, making it compatible with modern deep learning frameworks.
Moment Propagation and Variational Inference
Propagating full probability distributions through non-linear layers is generally intractable. GPNs overcome this by invoking the Central Limit Theorem (CLT). Since a neuron's input is a weighted sum of many signals, its total activation tends toward a Gaussian distribution. This allows the network to analytically propagate only the mean and variance.
The training objective is derived using Deterministic Variational Inference, resulting in an Evidence Lower Bound (ELBO). This deterministic loss function enables the use of standard optimizers like Adam or SGD without the need for computationally expensive Monte Carlo sampling.
Experimental Evaluation
The GPN architecture was evaluated on several standard benchmarks to test its versatility across different data types:
- UCI Letter Recognition: 20,000 samples of character features.
- UCI Adult: 48,848 samples of census data.
- UCI Connect-4: 67,557 samples of game states.
- MNIST: 70,000 samples of handwritten digits.
These experiments compared GPNs against established baselines, such as standard neural networks regularized with Dropout.
Key Insights
- Dimensionality Advantage: Unlike Deep Gaussian Processes, which struggle with high-dimensional kernels, GPNs project inputs into a 1D space (the weighted sum) before applying the GP. This makes them significantly more parameter-efficient.
- Emergent Behaviors: In early layers, neurons were observed to learn periodic, sine-like functions, suggesting the automatic discovery of Fourier-like transformations. Deeper layers tended to converge toward sigmoid-like gating functions.
- The Role of Uncertainty: Propagating both mean and variance (probabilistic propagation) consistently outperformed mean-only propagation, confirming that internal uncertainty quantification aids the learning process.
Results and Discussion
GPNs achieved classification accuracies comparable to or exceeding those of Dropout-regularized networks. For example, on the UCI Adult dataset, GPNs reached a test error of 13.90%, outperforming Tanh networks with Dropout (14.18%).
Crucially, GPNs maintain high efficiency. While more complex than ReLU networks, they are only approximately 4x slower to train—a significant improvement over traditional Bayesian methods like Hamiltonian Monte Carlo (HMC), which can be orders of magnitude slower. The use of a deterministic objective function also resulted in smooth, stable loss curves during training.
Conclusion and Future Work
Gaussian Process Neurons provide a scalable framework for learning flexible, stochastic activation functions. While current results on medium-sized datasets are promising, the authors acknowledge that scaling to massive datasets like ImageNet remains a hurdle. Future research will focus on integrating GPNs into Convolutional (CNN) and Recurrent (RNN) architectures to determine if learned activations provide a significant edge in high-dimensional tasks like computer vision or natural language processing.
Summary updated