Dendritic modulation enables multitask representation learning in hierarchical sensory processing pathways

Willem A. M. Wybo, Matthias C. Tsai, Viet Anh Tran, Bernd Illing, Jakob Jordan, Abigail Morrison, Walter SennbioRxiv 2022

Abstract

While sensory representations in the brain depend on context, it remains unclear how such modulations are implemented at the biophysical level, and how processing layers further in the hierarchy can extract useful features for each possible contextual state. Here, we first demonstrate that thin dendritic branches are well suited to implementing contextual modulation of feedforward processing. Such neuron-specific modulations exploit prior knowledge, encoded in stable feedforward weights, to achieve transfer learning across contexts. In a network of biophysically realistic neuron models with context-independent feedforward weights, we show that modulatory inputs to thin dendrites can solve linearly non-separable learning problems with a Hebbian, error-modulated learning rule. Finally, we demonstrate that local prediction of whether representations originate either from different inputs, or from different contextual modulations of the same input, results in representation learning of hierarchical feedforward weights across processing layers that accommodate a multitude of contexts.

Introduction

In both biological and artificial systems, sensory processing must adapt to varying contexts. While artificial intelligence often handles multitask learning through shared feature extractors topped with task-specific "heads," the brain employs a more integrated approach. Top-down signals modulate neurons at every level of the sensory hierarchy. This paper investigates the biophysical mechanisms of this modulation and its computational advantages for learning and representation.

Biophysical Basis of Contextual Modulation

A fundamental question is how a neuron can change its response to the same input based on a slow-moving context signal without disrupting rapid feedforward processing. The authors compared two primary candidates for this modulation: somatic shunting inhibition and dendritic NMDA spikes.

Simulations of Layer 5 Pyramidal Cells (L5 PCs) revealed that NMDA spikes in thin dendrites are biophysically superior. They require minimal conductance changes (1–10 nS) to significantly shift a neuron's output gain and threshold. Somatic inhibition, by contrast, requires massive and biologically unrealistic conductance changes (100–150 nS) to achieve comparable modulation.

Overview of the hierarchical processing framework and biophysical modeling of dendritic vs. somatic modulation.

Computational Principles and Learning

The biophysical findings were abstracted into a simplified neuron model where context acts as a change in gain (slope) and threshold. To justify this abstraction, the researchers analyzed how well different linear models fit the biophysical data, finding that a model combining gain and shared bias (threshold) effectively captured the modulation effects.

Residual errors for different linear models fitting the biophysical modulation data.

The study proposes that for a network to remain flexible, its feedforward weights should align with "difference vectors" between data points. This ensures the weight subspace covers the directions where decision boundaries are likely to be drawn across different tasks. Furthermore, the authors introduced Task-Modulated Contrastive Learning (TMCL), suggesting that internal contextual modulations act as a biological form of data augmentation. This allows deeper layers to learn abstract, invariant features through local self-supervised learning, effectively bypassing the need for global backpropagation.

Key Results

  • Multitask Efficiency: On the EMNIST benchmark, the gain-modulated network performed as well as standard architectures but showed significantly better transfer learning when introduced to new tasks.
  • Biologically Plausible Learning: A spiking neural network successfully learned to solve non-linearly separable problems like XOR using only local Hebbian rules and a global error signal, avoiding the "weight transport problem" of backpropagation.
  • Deep Stacking: Using the TMCL approach, a 4-layer convolutional hierarchy developed highly clustered representations of object categories (e.g., animals vs. vehicles), outperforming standard contrastive learning methods.

Discussion and Future Work

This research suggests that thin dendritic branches act as functional "switches," allowing a single physical network to solve dozens of tasks simultaneously. While the current TMCL implementation still relies on local backpropagation for internal components, the authors suggest predictive coding as a potential fully-Hebbian alternative. Future work will also explore more complex, high-dimensional contextual signals that better reflect the messy reality of biological environments.

Summary updated

BibTeX
@misc{wybo2022dendritic,
  author = {Willem A. M. Wybo and Matthias C. Tsai and Viet Anh Tran and Bernd Illing and Jakob Jordan and Abigail Morrison and Walter Senn},
  title = {{Dendritic modulation enables multitask representation learning in hierarchical sensory processing pathways}},
  year = {2022},
  doi = {10.1101/2022.11.25.517941},
  howpublished = {bioRxiv},
}
Figure