Skip to main navigation Skip to search Skip to main content

RA-BNN: Constructing a Robust & Accurate Binary Neural Network Using a Novel Network Growth Mechanism to Defend Against BFA

  • Adnan Siraj Rakin
  • , Li Yang
  • , Jingtao Li
  • , Fan Yao
  • , Chaitali Chakrabarti
  • , Yu Cao
  • , Jae Sun Seo
  • , Deliang Fan

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Adversarial bit-flip attack (BFA), a type of powerful adversarial weight attack demonstrated in real computer systems has shown enormous success in compromising Deep Neural Network (DNN) performance with a minimal amount of model parameter perturbation through rowhammer-based computer main memory bit-flip. For the first time in this work, we demonstrate to defeat adversarial bit-flip attacks by developing a Robust and Accurate Binary Neural Network (RA-BNN) that adopts a complete BNN (i.e., weights and activations are both in binary). Prior works have demonstrated that binary or clustered weights could intrinsically improve a network's robustness against BFA, while in this work, we further reveal that binary activation could improve such robustness even better. However, with both aggressive binary weight and activation representations, the complete BNN suffers from poor clean (i.e., no attack) inference accuracy. To counter this, we propose an efficient two-stage complete BNN growing method for constructing simultaneously robust and accurate BNN, named RA-Growth. It selectively grows the channel size of each BNN layer based on trainable channel-wise binary mask learning with a Gumbel-Sigmoid function. The wider binary network (i.e., RA-BNN) has dual benefits: it can recover clean inference accuracy and significantly higher resistance against BFA. Our evaluation of the CIFAR-10 dataset shows that the proposed RA-BNN can improve the resistance to BFA by up to 100 x. On ImageNet, with a sufficiently large (e.g., 5,000) number of bit-flips, the baseline BNN accuracy drops to 4.3 % from 51.9 %, while our RA-BNN accuracy only drops to 37.1 % from 60.9 %, making it the best defense performance.

Original languageEnglish (US)
Title of host publication2025 IEEE 15th Annual Computing and Communication Workshop and Conference, CCWC 2025
EditorsRajashree Paul, Arpita Kundu
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages219-228
Number of pages10
ISBN (Electronic)9798331507695
DOIs
StatePublished - 2025
Event15th IEEE Annual Computing and Communication Workshop and Conference, CCWC 2025 - Las Vegas, United States
Duration: Jan 6 2025Jan 8 2025

Publication series

Name2025 IEEE 15th Annual Computing and Communication Workshop and Conference, CCWC 2025

Conference

Conference15th IEEE Annual Computing and Communication Workshop and Conference, CCWC 2025
Country/TerritoryUnited States
CityLas Vegas
Period1/6/251/8/25

Bibliographical note

Publisher Copyright:
© 2025 IEEE.

Fingerprint

Dive into the research topics of 'RA-BNN: Constructing a Robust & Accurate Binary Neural Network Using a Novel Network Growth Mechanism to Defend Against BFA'. Together they form a unique fingerprint.

Cite this