A biologically inspired architecture with switching units can learn to generalize across backgrounds
Abstract
Humans and other animals navigate different landscapes and environments with ease, a feat that requires the brains ability to rapidly and accurately adapt to different visual domains, generalizing across contexts/backgrounds. Despite recent progress in deep learning applied to classification and detection in the presence of multiple confounds including contextual ones [25, 30], there remain important challenges to address regarding how networks can perform context-dependent computations and how contextually-invariant visual concepts are formed. For instance, recent studies have shown artificial networks that repeatedly misclassified familiar objects set on new backgrounds, e.g. incorrectly labelling known animals when they appeared in a different setting [3]. Here, we show how a bio-inspired network motif can explicitly address this issue. We do this using a novel dataset which can be used as a benchmark for future studies probing invariance to backgrounds. The dataset consists of MNIST digits of varying transparency, set on one of two backgrounds with different statistics: a Gaussian noise or a more naturalistic background from the CIFAR-10 dataset. We use this dataset to learn digit classification when contexts are shown sequentially, and find that both shallow and deep networks have sharply decreased performance when returning to the first background after experience learning the second - the catastrophic forgetting phenomenon in continual learning. To overcome this, we propose an architecture with additional " switching" units that are activated in the presence of a new background. We find that the switching network can learn the new context even with very few switching units, while maintaining the performance in the previous context - but that they must be recurrently connected to network layers. When the task is difficult due to high transparency, the switching network trained on both contexts outperforms networks without switching trained on only one context. The switching mechanism leads to sparser activation patterns, and we provide intuition for why this helps to solve the task. We compare our architecture with other prominent learning methods, and find that elastic weight consolidation is not successful in our setting, while progressive nets are more complex but less effective. Our study therefore shows how a bio-inspired architectural motif can contribute to task generalization across context.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 2
- FWCI
- 0.00
- Field percentile
- 25th percentile
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A Local Hebbian Rule Based Model of Invariant Object Representation and Classification.
Rishabh Raj, C. Ron Yu·bioRxiv·Oct 14, 2022
- Teaching deep networks to see shape: Lessons from a simplified visual world.
Christian Jarvers, Heiko Neumann B·PLoS Computational BiologyPeer-reviewed·Nov 11, 2024
- Spontaneous emergence of context-dependent statistical learning in humans and neural networks
Fleming C. Peck, Hongjing Lu, Jesse Rissman·iSciencePeer-reviewed·Aug 1, 2026
- Mistake gating leads to energy and memory efficient continual learning
Aaron Pache, Mark C. W. van Rossum·bioRxiv·Apr 20, 2026
- A Biologically Plausible Model for Continual Learning using Synaptic Weight Attractors
Romik Ghosh, Dana Mastrovito, Ştefan Mihalaş·bioRxiv·Oct 20, 2021
- Human visual cortex and deep convolutional neural network care deeply about object background
Jessica Loke, Noor Seijdel, … H. Steven Scholte·Journal of Cognitive NeurosciencePeer-reviewed·Jan 1, 2024