Lune

ASPLOS2021Top-tier venue

Defensive approximation: securing CNNs using approximate computing

Amira Guesmi, Ihsen Alouani, Khaled N. Khasawneh, Mouna Baklouti, Tarek Frikha, Mohamed Abid, Nael B. Abu-Ghazaleh

Abstract

In the past few years, an increasing number of machine-learning and deep learning structures, such as Convolutional Neural Networks (CNNs), have been applied to solving a wide range of real-life problems. However, these architectures are vulnerable to adversarial attacks: inputs crafted carefully to force the system output to a wrong label. Since machine-learning is being deployed in safety-critical and security-sensitive domains, such attacks may have catastrophic security and safety consequences. In this paper, we propose for the first time to use hardware-supported approximate computing to improve the robustness of machine learning classifiers. We show that our approximate computing implementation achieves robustness across a wide range of attack scenarios. Specifically, we show that successful adversarial attacks against the exact classifier have poor transferability to the approximate implementation. The transferability is even poorer for the black-box attack scenarios, where adversarial attacks are generated using a proxy model. Surprisingly, the robustness advantages also apply to white-box attacks where the attacker has unrestricted access to the approximate classifier implementation: in this case, we show that substantially higher levels of adversarial noise are needed to produce adversarial examples. Furthermore, our approximate computing model maintains the same level in terms of classification accuracy, does not require retraining, and reduces resource utilization and energy consumption of the CNN. We conducted extensive experiments on a set of strong adversarial attacks; We empirically show that the proposed implementation increases the robustness of a LeNet-5 and an Alexnet CNNs by up to 99% and 87%, respectively for strong transferability-based attacks along with up to 50% saving in energy consumption due to the simpler nature of the approximate logic. We also show that a white-box attack requires a remarkably higher noise budget to fool the approximate classifier, causing an average of 4 dB degradation of the PSNR of the input image relative to the images that succeed in fooling the exact classifier.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Certified Robustness to Adversarial Examples with Differential Privacy cites Towards Evaluating the Robustness of Neural Networks
  • Certified Robustness to Adversarial Examples with Differential Privacy cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Stochastic-HMDs: Adversarial-Resilient Hardware Malware Detectors via Undervolting cites Certified Robustness to Adversarial Examples with Differential Privacy
  • Mind the Gap: Detecting Black-box Adversarial Attacks in the Making through Query Update Analysis cites HopSkipJumpAttack: A Query-Efficient Decision-Based Attack
  • HopSkipJumpAttack: A Query-Efficient Decision-Based Attack cites Towards Evaluating the Robustness of Neural Networks
  • HopSkipJumpAttack: A Query-Efficient Decision-Based Attack cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Privacy Risks of Securing Machine Learning Models against Adversarial Examples cites Certified Robustness to Adversarial Examples with Differential Privacy
  • Privacy Risks of Securing Machine Learning Models against Adversarial Examples cites Towards Evaluating the Robustness of Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Stochastic-HMDs: Adversarial-Resilient Hardware Malware Detectors via UndervoltingMd. Shohidul Islam, Ihsen Alouani, Khaled N. KhasawnehDAC 2023 · 6 citations
  2. Mind the Gap: Detecting Black-box Adversarial Attacks in the Making through Query Update AnalysisJeonghwan Park, Niall McLaughlin, Ihsen AlouaniCVPR 2025

Builds on5

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
  3. Certified Robustness to Adversarial Examples with Differential PrivacyMathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu, Daniel Hsu et al.S&P 2019 · 1,022 citations
  4. HopSkipJumpAttack: A Query-Efficient Decision-Based AttackJianbo Chen, Michael I. Jordan, Martin J. WainwrightS&P 2020 · 797 citations
  5. Privacy Risks of Securing Machine Learning Models against Adversarial ExamplesLiwei Song, Reza Shokri, Prateek MittalCCS 2019 · 293 citations

Related papers

  1. Leveraging Noise and Aggressive Quantization of In-Memory Computing for Robust DNN Hardware Against Adversarial Input and Weight AttacksSai Kiran Cherupally, Adnan Siraj Rakin, Shihui Yin, Mingoo Seok et al.DAC 2021 · 10 citations
  2. On the Intrinsic Robustness of NVM Crossbars Against Adversarial AttacksDeboleena Roy, Indranil Chakraborty, Timur Ibrayev, Kaushik RoyDAC 2021 · 16 citations
  3. A Little Robustness Goes a Long Way: Leveraging Robust Features for Targeted Transfer AttacksJacob M. Springer, Melanie Mitchell, Garrett T. KenyonNeurIPS 2021 · 54 citations
  4. EMPIR: Ensembles of Mixed Precision Deep Networks for Increased Robustness Against Adversarial AttacksSanchari Sen, Balaraman Ravindran, Anand RaghunathanICLR 2020 · 69 citations
  5. Proof transfer for fast certification of multiple approximate neural networksShubham Ugare, Gagandeep Singh, Sasa MisailovicOOPSLA 2022 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines