Distance-Dependent Connectivity Shapes Continual Learning by Controlling Representational Drift

Chiu-Chang Cheng, Ching-Lung Hsu, Ya-Ning Chang, Chao-Hung WangNeurIPS 2026

TL;DR

Artificial neural networks notoriously overwrite old knowledge when learning new tasks, whereas mammalian brains learn continually with ease. By embedding spiking neurons into 3D space, researchers found a "Goldilocks" zone for how far neurons reach to connect: wiring that is neither too local nor completely random minimizes competition over shared synapses. Crucially, suboptimal wiring doesn't actually erase old memories—it just causes their neural representations to drift away from where downstream readouts expect to find them.

What Problem Does This Paper Address?

When you learn to play tennis, you don't suddenly forget how to ride a bike. Yet, standard artificial neural networks suffer from catastrophic forgetting, where training on a new task overwrites the weights learned for previous ones. Machine learning usually patches this algorithmically (via memory replay or weight regularization), while neuroscience traditionally looks at which groups of neurons (engrams or assemblies) store specific memories.

What has been largely overlooked is the physical wiring rule of the brain itself. In the mammalian cortex, neurons follow distance-dependent connectivity (DDC): they are much more likely to connect to close neighbors than distant ones. Typically, neuroscientists view DDC simply as an evolutionary trick to save biological "wire" and metabolic energy. This paper asks a deeper question: does the spatial geometry of cortical wiring actively organize how sequential memories compete for synapses, thereby protecting the brain from forgetting?

Methods

The authors built a biologically grounded Recurrent Spiking Neural Network (RSNN) based on an established architecture (4,096 excitatory and 1,024 inhibitory leaky integrate-and-fire neurons) governed by standard unsupervised biological plasticity rules like spike-timing-dependent plasticity (STDP).

Figure 1: Distance-dependent connectivity shapes synaptic resource geography. (a) Cortical connection probability decreases with distance. (b) We vary recurrent connectivity range σ in a spatially embedded RSNN, with density-matched random connectivity as control. (c) Small σ creates a local synaptic bottleneck, random connectivity produces diffuse contention, and intermediate σ preserves spatial organization without collapsing the available synaptic pool.

What’s new here is the spatial intervention. The researchers embedded these neurons uniformly inside a 3D unit sphere and set the connection probability between any two neurons using a Gaussian decay function controlled by a range parameter, $\sigma$, while keeping overall connection density constant. Small $\sigma$ yields hyper-local neighborhoods; large $\sigma$ approaches a density-matched, randomly wired control network. Input images are projected topographically onto the 3D sphere, and the network learns classes sequentially without supervision. To test memory without altering the network, an external, fixed readout is calibrated as each class is learned and evaluated at the end without task labels.

Datasets

  • MNIST: Used in a 10-way class-incremental learning setup (learning digits $0 \to 9$ sequentially in a single pass of 100 samples per class), as well as a custom pairwise similarity assay comparing visually similar digit pairs (e.g., 3 and 8) against dissimilar pairs (e.g., 0 and 1).
  • Fashion-MNIST & Grayscale CIFAR-10: Used in supplementary experiments to test how well the findings generalize to more complex visual stimuli. No brand-new datasets were introduced.

Key Insights and Ideas

  • Synaptic Resource Geography: DDC establishes the physical breadth of candidate synapses, and plasticity compresses this pool by another 16–30% as tasks are learned. Hyper-local wiring ($\sigma = 0.4$) traps plasticity in a narrow "local bottleneck" where tasks collide, while random wiring causes "diffuse contention" across the whole network. Intermediate $\sigma$ hits a sweet spot—structured enough to guide plasticity, wide enough to avoid traffic jams.
Figure 2: DDC shapes synaptic resource geography. (a) Pre–post Euclidean distance of connected synapses across connectivity regimes. (b) Pre–post Euclidean distance of structural versus learned task-important synapses after training. (c) Overall consecutive-task contention across regimes. (d) Distance-resolved contention distinguishes the local bottleneck at σ = 0.4 from the broader, less organized contention under random connectivity.
  • It’s About Synapses, Not Just Neurons: A classic neuroscience hypothesis suggests memories survive when they recruit non-overlapping groups of neurons (pattern separation). Surprisingly, neuron-level assembly overlap barely changed across wiring regimes and poorly predicted accuracy. What actually predicted continual learning performance was synaptic contention—whether consecutive tasks fought over and rewrote the exact same connections.
  • Locality Sorts Interference by Similarity: Hyper-local wiring isn't universally bad; it acts as a similarity filter. It fiercely protects dissimilar inputs by routing them to separate physical neighborhoods, while forcing visually similar inputs to collide in the same local synaptic pocket.
  • Forgetting is Drift, Not Erasure: Even in the worst-performing networks, old memories weren't destroyed! When researchers trained a fresh linear decoder on the final network states, old classes were still completely readable. "Forgetting" under a fixed readout actually reflected representational drift—new learning pushed population activity away from its original coordinates. Intermediate DDC simply anchored representations so they drifted the least.

Key Results

  • Non-Monotonic Accuracy Peak: On 10-way sequential MNIST, accuracy peaked at intermediate connectivity ranges ($\sigma = 0.7$ at 71.38% and $\sigma = 1.0$ at 70.58%), handily beating both hyper-local wiring ($\sigma = 0.4$ at 57.57%) and the random-connectivity control (45.96%).
  • Contention Beats Assembly Overlap: Across individual runs, consecutive-task synaptic contention strongly correlated with final accuracy (Spearman $\rho = -0.62$, $p = 6.8 \times 10^{-5}$), whereas neuronal assembly overlap was a weak predictor ($\rho = -0.33$, $p = 0.05$).
  • Similarity-Selective Rewriting: At $\sigma = 0.4$, learning a visually similar second digit rewrote 2.65× more of the first digit's important synapses than learning a dissimilar digit (compared to just 1.32× in random networks).
  • Information Persists Despite Drift: While fixed-readout accuracy on old classes dropped to 47.7% ($\sigma = 0.4$) and 57.8% (random) versus 64.0% ($\sigma = 0.7$), refitting a linear decoder at the end of training recovered 86.6%–88.4% accuracy across all regimes. Intermediate wiring ($\sigma = 0.7$) exhibited the lowest representational drift (0.065 vs. 0.116 for random).

Limitations and Future Work

The network struggles with richer natural images, hovering near chance (18–21%) on grayscale CIFAR-10, and shows only non-significant directional trends on Fashion-MNIST. Furthermore, the findings depend heavily on the specific Zenke et al. unsupervised plasticity rules (removing heterosynaptic and transmitter-induced terms stopped learning entirely) and use a simplified 3D sphere lacking cortical layers or diverse cell types. Finally, the link between synaptic contention and representational drift is observational rather than a proven causal chain. Future work aims to test whether biological circuits with different wiring ranges show predicted drift rates in vivo, and whether spatial connectivity priors can be paired with machine learning replay or regularization algorithms.

Summary updated

Abstract

Biological circuits learn continually while largely avoiding catastrophic forgetting, but the structural basis of this ability remains unclear. We test whether distance-dependent connectivity (DDC), a wiring motif of the mammalian cortex, provides part of this basis. We embed the neurons of a biologically plausible recurrent spiking neural network in a 3D Euclidean substrate, set recurrent connection probability by pairwise distance, and ablate that distance dependence in silico. DDC shapes a synaptic resource geography: it sets the spatial breadth of the candidate synaptic pool for learning, plasticity further compresses that pool, and the resulting substrate governs how subsequent inputs compete for the same synapses. On 10-way class-incremental MNIST, used as a controlled sequential-learning assay, accuracy is non-monotonic in connectivity range: an intermediate DDC range achieves the highest accuracy under a fixed, label-calibrated readout, outperforming both highly local circuits that collapse into a synaptic-resource bottleneck and random connectivity that produces diffuse synaptic contention. At the synaptic level, this pattern tracks consecutive-task contention more closely than neuronal assembly overlap. At the population level, these accuracy differences do not reflect lost information: old-class information remains decodable in every regime, and what differs is how far population responses drift away from the fixed readout. Connectivity range thus controls learning-induced representational drift and, with it, forgetting measured relative to a fixed readout. For continual learning, these results highlight how circuit wiring organizes the plastic synapses that memories share, not only which neurons form ensembles and engrams.
BibTeX
@inproceedings{cheng2026distance,
  author = {Chiu-Chang Cheng and Ching-Lung Hsu and Ya-Ning Chang and Chao-Hung Wang},
  title = {{Distance-Dependent Connectivity Shapes Continual Learning by Controlling Representational Drift}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=gyvtSJyA7P},
}
Figure