Towards Sharper First-Order Adversary with Quantized Gradients

Zhuanghua Liu, Ivor W. Tsang
2/1/2020
cs.CRcs.LG

Official code: tianzheng4/Distributionally-Adversarial-Attack (53 stars, Python, last commit 2026-07-17).

Abstract

Despite the huge success of Deep Neural Networks (DNNs) in a wide spectrum of machine learning and data mining tasks, recent research shows that this powerful tool is susceptible to maliciously crafted adversarial examples. Up until now, adversarial training has been the most successful defense against adversarial attacks.

Show full abstract

To increase adversarial robustness, a DNN can be trained with a combination of benign and adversarial examples generated by first-order methods. However, in state-of-the-art first-order attacks, adversarial examples with sign gradients retain the sign information of each gradient component but discard the relative magnitude between components. In this work, we replace sign gradients with quantized gradients. Gradient quantization not only preserves the sign information, but also keeps the relative magnitude between components. Experiments show white-box first-order attacks with quantized gradients outperform their variants with sign gradients on multiple datasets. Notably, our BLOB\_QG attack achieves an accuracy of $88.32\%$ on the secret MNIST model from the MNIST Challenge and it outperforms all other methods on the leaderboard of white-box attacks.

View on arXivView PDF

Code Implementations(1)

AAAI 2019 oral presentation

5312Python, Jupyter NotebookAug 16, 20184 months agoNOASSERTION

Similar Papers

Cite this paper

@article{liu2020towards,
  title  = {Towards Sharper First-Order Adversary with Quantized Gradients},
  author = {Zhuanghua Liu and Ivor W. Tsang},
  year   = {2020},
  eprint = {2002.02372},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.02372}
}

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/2002.02372.svg)](https://codeofpaper.com/paper/2002.02372)

Discussion