Targeted Attack against Deep Neural Networks via Flipping Limited Weight Bits

Jiawang Bai, Baoyuan Wu, Yong Zhang, Yiming Li, Zhifeng Li +1 more
2/21/2021
96 citations
cs.LGcs.CR

Official code: jiawangbai/TA-LBF (19 stars, Python, last commit 2021-07-20).

Abstract

To explore the vulnerability of deep neural networks (DNNs), many attack paradigms have been well studied, such as the poisoning-based backdoor attack in the training stage and the adversarial attack in the inference stage. In this paper, we study a novel attack paradigm, which modifies model parameters in the deployment stage for malicious purposes.

Show full abstract

Specifically, our goal is to misclassify a specific sample into a target class without any sample modification, while not significantly reduce the prediction accuracy of other samples to ensure the stealthiness. To this end, we formulate this problem as a binary integer programming (BIP), since the parameters are stored as binary bits ($i.e.$, 0 and 1) in the memory. By utilizing the latest technique in integer programming, we equivalently reformulate this BIP problem as a continuous optimization problem, which can be effectively and efficiently solved using the alternating direction method of multipliers (ADMM) method. Consequently, the flipped critical bits can be easily determined through optimization, rather than using a heuristic strategy. Extensive experiments demonstrate the superiority of our method in attacking DNNs.

View on arXivView PDF

Code Implementations(1)

jiawangbai/TA-LBFOfficial100%

The implementatin of our ICLR 2021 work: Targeted Attack against Deep Neural Networks via Flipping Limited Weight Bits

195PythonJan 15, 20215 years ago
adversarialadversarial-attacksadversarial-machine-learningbit-flip-attackbit-flipping+1 more

Similar Papers

Cite this paper

@article{bai2021targeted,
  title  = {Targeted Attack against Deep Neural Networks via Flipping Limited Weight Bits},
  author = {Jiawang Bai and Baoyuan Wu and Yong Zhang and Yiming Li and Zhifeng Li and Shu-Tao Xia},
  year   = {2021},
  eprint = {2102.10496},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.10496}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.10496.svg)](https://codeofpaper.com/paper/2102.10496)

Discussion