Exploring Biologically Inspired Mechanisms of Adversarial Robustness
Konstantin Holzhausen, Mia Merlid, Håkon Olav Torvik, Anders Malthe-Sørenssen, Mikkel Elle Lepperød
TL;DR
This paper investigates robustness gaps in backpropagation-trained neural networks through biologically inspired local learning that yields smooth encodings. By implementing a Krotov–Hopfield two-layer model with winner-take-all dynamics and analyzing latent covariance spectra, the authors reveal a near power-law decay $\lambda_n \approx \lambda_1 n^{-\alpha}$ in the region $n<800$, linking spectrum, geometry, and robustness. Regularization and pruning strategies modulate spectral properties and robustness, showing that a mechanistic, locally learning model can achieve improved resilience while maintaining expressivity, and suggesting power-law spectra as a hallmark of robust representations in both biological and artificial systems. These findings offer a principled path toward trustworthy AI and deepen understanding of how robust neural networks may be realized in mammalian brains.
Abstract
Backpropagation-optimized artificial neural networks, while precise, lack robustness, leading to unforeseen behaviors that affect their safety. Biological neural systems do solve some of these issues already. Unlike artificial models, biological neurons adjust connectivity based on neighboring cell activity. Understanding the biological mechanisms of robustness can pave the way towards building trust worthy and safe systems. Robustness in neural representations is hypothesized to correlate with the smoothness of the encoding manifold. Recent work suggests power law covariance spectra, which were observed studying the primary visual cortex of mice, to be indicative of a balanced trade-off between accuracy and robustness in representations. Here, we show that unsupervised local learning models with winner takes all dynamics learn such power law representations, providing upcoming studies a mechanistic model with that characteristic. Our research aims to understand the interplay between geometry, spectral properties, robustness, and expressivity in neural representations. Hence, we study the link between representation smoothness and spectrum by using weight, Jacobian and spectral regularization while assessing performance and adversarial robustness. Our work serves as a foundation for future research into the mechanisms underlying power law spectra and optimally smooth encodings in both biological and artificial systems. The insights gained may elucidate the mechanisms that realize robust neural networks in mammalian brains and inform the development of more stable and reliable artificial systems.
