Deterministic versus stochastic dynamical classifiers: opposing random adversarial attacks with noise
Lorenzo Chicchi, Duccio Fanelli, Diego Febbe, Lorenzo Buffoni, Francesca Di Patti, Lorenzo Giambagli, Raffele Marino
TL;DR
This work reframes classification as a dynamical-system problem by training a CVFR (continuous Hopfield) network to embed a set of stable attractors via spectral decomposition of the coupling matrix, effectively sculpting the basins of attraction so that input initial conditions converge to class-specific equilibria. It introduces a stochastic CVFR variant with multiplicative noise that fades near the planted attractors, and demonstrates that this noise improves robustness to random adversarial perturbations on stylized letters and MNIST while maintaining competitive accuracy. The deterministic model achieves high accuracy (letters 99.9%; MNIST 97.2%), and the stochastic version shows enhanced resilience to attacks, highlighting the constructive interplay between noise and dynamics in dynamical classifiers. Overall, the paper provides a principled dynamical-systems perspective on learning that leverages spectral attractor planting and noise-assisted resilience for robust pattern recognition.
Abstract
The Continuous-Variable Firing Rate (CVFR) model, widely used in neuroscience to describe the intertangled dynamics of excitatory biological neurons, is here trained and tested as a veritable dynamically assisted classifier. To this end the model is supplied with a set of planted attractors which are self-consistently embedded in the inter-nodes coupling matrix, via its spectral decomposition. Learning to classify amounts to sculp the basin of attraction of the imposed equilibria, directing different items towards the corresponding destination target, which reflects the class of respective pertinence. A stochastic variant of the CVFR model is also studied and found to be robust to aversarial random attacks, which corrupt the items to be classified. This remarkable finding is one of the very many surprising effects which arise when noise and dynamical attributes are made to mutually resonate.
