The Inherent Adversarial Robustness of Analog In-Memory Computing
arXiv:2411.07023 · doi:10.1038/s41467-025-56595-2
Abstract
A key challenge for Deep Neural Network (DNN) algorithms is their vulnerability to adversarial attacks. Inherently non-deterministic compute substrates, such as those based on Analog In-Memory Computing (AIMC), have been speculated to provide significant adversarial robustness when performing DNN inference. In this paper, we experimentally validate this conjecture for the first time on an AIMC chip based on Phase Change Memory (PCM) devices. We demonstrate higher adversarial robustness against different types of adversarial attacks when implementing an image classification network. Additional robustness is also observed when performing hardware-in-the-loop attacks, for which the attacker is assumed to have full access to the hardware. A careful study of the various noise sources indicate that a combination of stochastic noise sources (both recurrent and non-recurrent) are responsible for the adversarial robustness and that their type and magnitude disproportionately effects this property. Finally, it is demonstrated, via simulations, that when a much larger transformer network is used to implement a Natural Language Processing (NLP) task, additional robustness is still observed.
References in corpus (13)
- BERTScore: Evaluating Text Generation with BERT
- One pixel attack for fooling deep neural networks
- Accurate deep neural network inference using computational phase-change memory
- A 64-core mixed-signal in-memory compute chip based on phase-change memory for deep neural network inference
- Using the IBM Analog In-Memory Hardware Acceleration Kit for Neural Network Training and Inference
- Side-channel attack analysis on in-memory computing architectures
- Adversarial Explanations for Understanding Image Classification Decisions and Improved Neural Network Robustness
- In-memory factorization of holographic perceptual representations
- To compress or not to compress: Understanding the Interactions between Adversarial Attacks and Neural Network Compression
- Improving the Accuracy of Analog-Based In-Memory Computing Accelerators Post-Training
- Variation Enhanced Attacks Against RRAM-based Neuromorphic Computing System
- On the Noise Stability and Robustness of Adversarially Trained Networks on NVM Crossbars
- Hardware-aware Training Techniques for Improving Robustness of Ex-Situ Neural Network Transfer onto Passive TiO2 ReRAM Crossbars