NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Duality Principle and Biologically Plausible Learning: Connecting the Representer Theorem and Hebbian Learning

Yanis Bahroun, Dmitri B. Chklovskii, Anirvan M. SenguptaarXiv 2023

Abstract

A normative approach called Similarity Matching was recently introduced for deriving and understanding the algorithmic basis of neural computation focused on unsupervised problems. It involves deriving algorithms from computational objectives and evaluating their compatibility with anatomical and physiological observations. In particular, it introduces neural architectures by considering dual alternatives instead of primal formulations of popular models such as PCA. However, its connection to the Representer theorem remains unexplored. In this work, we propose to use teachings from this approach to explore supervised learning algorithms and clarify the notion of Hebbian learning. We examine regularized supervised learning and elucidate the emergence of neural architecture and additive versus multiplicative update rules. In this work, we focus not on developing new algorithms but on showing that the Representer theorem offers the perfect lens to study biologically plausible learning algorithms. We argue that many past and current advancements in the field rely on some form of dual formulation to introduce biological plausibility. In short, as long as a dual formulation exists, it is possible to derive biologically plausible algorithms. Our work sheds light on the pivotal role of the Representer theorem in advancing our comprehension of neural computation.

Introduction

In modern machine learning, the dominant paradigm for training neural networks is backpropagation (BP). While BP is highly effective for solving complex tasks, it is widely considered biologically unrealistic. It requires global information, precise symmetry in connections (the weight transport problem), and the storage of activity patterns across time—mechanisms that have little evidence in biological neural circuits.

Conversely, neuroscience relies on Hebbian learning—the principle that "neurons that fire together, wire together." While Hebbian rules are local and online, they are often criticized for being ad hoc or lacking a rigorous connection to global cost functions. This paper, presented at the ICML 2023 Workshop on Duality for Modern Machine Learning, addresses this gap. By utilizing the Duality Principle and the Representer Theorem, the authors provide a mathematical bridge between global optimization objectives and local, biologically plausible learning rules.

The Representer Theorem as a Biological Bridge

The core of the paper’s argument lies in the Representer Theorem, a cornerstone of kernel methods. The theorem states that the optimal weights of a model can be expressed as a linear combination of the training samples. In a neural context, this suggests that synaptic weights are not just abstract parameters but are fundamentally linked to the history of neural activity (the samples).

By reframing supervised learning through its "dual" formulation, the authors show that neural architectures and local Hebbian update rules emerge naturally as optimal solutions. In optimization, every "primal" problem (e.g., finding the best weights for a model) has a "dual" counterpart (e.g., finding the best representation of the data samples). The authors interpret these "dual variables" ($z_t$) as the firing rates of neurons.

Mapping Mathematical Objectives to Neural Dynamics

The paper demonstrates that a physical network can settle into an optimal dual solution through its own internal dynamics, such as lateral inhibition and leaky integration. This transition from abstract solver to biological circuit is illustrated through several classic models:

  • Ridge Regression: The dual formulation leads directly to additive Hebbian rules.
  • Support Vector Machines (SVM): The dual constraints lead to neural circuits with rectified (ReLU-like) units.
  • Entropy Regularization: This leads to multiplicative update rules, which are observed in biological plasticity models like the BCM (Bienenstock-Cooper-Munro) rule.

Key Insights: Duality and Plausibility

1. Duality is the Key to Plausibility

The "primal" view of machine learning is weight-centric, which often necessitates non-local updates like backpropagation. The "dual" view is sample-centric, which naturally maps to local neural activity and Hebbian plasticity. This suggests that the brain may be solving the dual version of the computational problems we typically define in primal terms.

2. Dual Variables as Error Signals

In supervised learning, the dual variables effectively represent the "prediction error." This provides a rigorous mathematical justification for the existence of "error-computing neurons" found in various brain regions, such as the cerebellum. These neurons do not just transmit data; they represent the discrepancy between predicted and actual inputs, driving the learning process.

3. Regularization Dictates the Plasticity Rule

A striking insight from this work is that the type of regularization used in the objective function determines the form of the learning rule. For instance, $L_2$ regularization leads to additive updates, while Entropy regularization leads to multiplicative updates. This allows researchers to "reverse-engineer" the brain: if a specific update rule is observed in a biological circuit, duality can be used to infer the underlying computational objective (the cost function and regularizer) that the circuit is minimizing.

4. Sparsity in Time

In supervised dual formulations, updates become "inactive" once the model is correct. This explains why biological systems might exhibit sparse updates in time compared to the dense, continuous updates seen in unsupervised frameworks like "Similarity Matching."

Conclusion and Future Directions

This work successfully unifies disparate concepts in machine learning and neurobiology. It proves that optimal synaptic weights in a dual framework take the form of a Hebbian rule ($\Delta w \propto \text{input} \times \text{output}$) and shows that the required neural dynamics are consistent with known biological mechanisms.

However, challenges remain. The current framework primarily focuses on linear models or models with point-wise nonlinearities. Extending this "duality-to-biology" pipeline to deep, hierarchical architectures is a significant hurdle. While the authors mention the "Method of Auxiliary Coordinates" as a potential path for deep learning, further research is needed to determine if these dual-derived local rules can match the performance of backpropagation on large-scale, complex tasks. Ultimately, this work sheds light on the pivotal role of the Representer theorem in advancing our comprehension of how the brain learns.

Summary updated

BibTeX
@misc{bahroun2023duality,
  author = {Yanis Bahroun and Dmitri B. Chklovskii and Anirvan M. Sengupta},
  title = {{Duality Principle and Biologically Plausible Learning: Connecting the Representer Theorem and Hebbian Learning}},
  year = {2023},
  eprint = {2309.16687},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.16687},
}
Figure