Learning Neuron Non-Linearities with Kernel-Based Deep Neural Networks

Giuseppe Marra, Dario Zanca, Alessandro Betti, Marco GoriarXiv 2018

Introduction

In modern deep learning, the selection of an activation function—the non-linear "trigger" of a neuron—is typically a manual process of trial and error. While standard functions like ReLU and Sigmoid are ubiquitous, they are fixed and monotonic. This lack of flexibility is particularly limiting in Recurrent Neural Networks (RNNs), where monotonic activations often lead to the "vanishing gradient" problem, causing signals to dissipate over long sequences. While architectures like Long Short-Term Memory (LSTM) address this through complex gating, this paper proposes a more fundamental shift: Kernel-Based Deep Neural Networks (KBDNN), where each neuron learns its own optimal, potentially non-monotonic activation function.

Methodology: From Fixed Activations to Kernel Expansions

The core innovation of KBDNN lies in framing activation function selection as a functional optimization problem. The authors demonstrate that the mathematically optimal activation function for a neuron can be represented as a kernel expansion—a weighted sum of kernel functions centered at specific points.

Architecture of a Kernel-Based Neuron. (a) A standard network structure. (b) Detail of a neuron expanded into a kernel representation with fixed centers.

To make this computationally feasible, the authors approximate the function using a small, fixed number of "centers" ($d$) per neuron, avoiding the scaling issues of traditional kernel methods. A key theoretical insight is the link between kernels and deep learning: by choosing a specific differential operator, the resulting "Green function" (the kernel's building block) is exactly the Rectifier (ReLU). This bridges the gap between traditional kernel machines and modern neural architectures.

Experimental Evaluation

The proposed Kernel-Based Recurrent Networks (KBRNs) were evaluated on several synthetic benchmarks designed to test memory and long-term dependency handling:

  • XOR Tasks: Used to visualize learned activation functions under different regularization constraints.
  • The Charging Problem: A dynamical system task requiring the network to "charge" and "discharge" a state based on inputs.
  • Long-Term Dependency Benchmarks: Inspired by seminal work by Bengio et al. (1994), these involve sequences where the target is determined by the initial bits, followed by long strings of random noise (up to 200 bits).

Results and Discussion

KBRNs demonstrated significant advantages over traditional RNNs and LSTMs in both convergence speed and the ability to handle long-term dependencies.

Accuracy vs. Iterations on a long-term dependency task. KBRN converges significantly faster and reaches higher accuracy than LSTM and standard RNN.

The primary driver of this performance is "gradient pumping." Because KBRN activations can be non-monotonic, they can implement expansive maps where derivatives are greater than one. This allows the network to propagate information through much longer time steps than standard monotonic activations. In the Boolean long-term dependency tasks, while LSTMs began to fail at sequence lengths of 30, KBRNs successfully solved tasks for sequences up to 150 bits long.

Conclusion and Future Work

KBDNNs represent a hybrid approach, combining the hierarchical feature learning of deep networks with the optimal function approximation of kernel machines. While the approach introduces some parameter overhead and new hyperparameters, the gains in gradient propagation and memory are substantial. Future research will focus on scaling these methods to large-scale, real-world datasets like ImageNet to determine if these theoretical advantages translate to broader practical applications.

Summary updated

BibTeX
@misc{marra2018learning,
  author = {Giuseppe Marra and Dario Zanca and Alessandro Betti and Marco Gori},
  title = {{Learning Neuron Non-Linearities with Kernel-Based Deep Neural Networks}},
  year = {2018},
  eprint = {1807.06302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.06302},
}
Figure