bioRxivNeurosciencePreprint
Biomimetic computations improve neural network robustness
Linnea EvansoniD, Maksim Lavrov, Iakov Kharitonov, Sihao LuiD, Andreï S. KozloviD
Abstract
Object recognition by natural and artificial sensory systems requires a combination of selectivity and invariance. Both natural and artificial neural networks achieve selectivity and invariance by propagating sensory information though layers of neurons organised in a functional hierarchy. Both employ computational units performing AND-like operations for selectivity and OR-like operations for invariance. However, while biological neurons are intrinsically capable of switching between these operations, their artificial counterparts are hard-wired to perform only one of them. We wanted to test whether the flexible mapping between neurons and computations observed in biological neural networks is compatible with, or perhaps even useful to, artificial neural networks. To answer this question, we have developed a deep learning layer in which both selectivity and invariance operations can be performed by the same neurons. As with biological neurons, the choice of which operation an artificial neuron performs on a given input can be governed by the input strength. This flexible layer successfully outputs a combination of the two operations and, surprisingly, confers additional robustness to adversarial examples, which are inputs deliberately crafted to promote misclassification. The flexible mapping also improves accuracy when the training dataset is small, as well as when data are corrupted by certain types of noise. These results narrow the gap between biological and artificial neural networks and add a new bio-inspired approach to the arsenal of defenses against adversarial examples, which are known threats to model-based optimization and network security. Author summaryThe biophysical properties of a biological neuron enable it to perform both OR-like and AND-like operations over its inputs. In contrast, artificial neural networks use units that always perform only one specific operation. We wondered whether the flexibility observed in individual biological neurons could be incorporated into artificial neural networks without breaking them. If artificial neural networks required their units to perform single operations, then this requirement would either point to a fundamental difference between biological and artificial neural networks or indicate that biological neurons are somehow constrained to perform only one type of operations during object recognition. If, on the other hand, artificial units can flexibly switch between different operations, then such a result would indicate that biological and artificial neural networks are more similar than previously thought and would be an important step towards biomimetic AI. To find out, we introduced a new computational structure we call a flexible layer, in which individual units can switch between operations according to a rule (e.g., depending on input strength, or even randomly). We found that inserting the flexible layer in one or several positions in different artificial neural networks trained on several benchmark datasets not only preserves their accuracy but also makes them more robust to various perturbations and improves learning when training data is scarce.
- Citations
- 1
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
- Simulating a Primary Visual Cortex at the Front of CNNs Improves Robustness to Image Perturbations
Joel Dapello, Tiago Marques, … James J. DiCarlo·bioRxiv·Jun 16, 2020
- How well do models of visual cortex generalize to out of distribution samples?
Yifei Ren, Pouya Bashivan·PLoS Computational BiologyPeer-reviewed·May 31, 2024
- Computation noise promotes cognitive resilience to adverse conditions during decision-making
Charles Findling, Valentin Wyart·bioRxiv·Jun 10, 2020
- Recurrent neural networks can explain flexible trading of speed and accuracy in biological vision
Courtney J. Spoerer, Tim Christian Kietzmann, … Nikolaus Kriegeskorte·PLoS Computational BiologyPeer-reviewed·Oct 2, 2020
- Bio-inspired neural networks implement different recurrent visual processing strategies than task-trained ones do
Grace W. Lindsay, Thomas D. Mrsic‐Flogel, Maneesh Sahani·bioRxiv·Mar 7, 2022