Discretization Based Solutions for Secure Machine Learning Against Adversarial Attacks
Open Access
- 27 May 2019
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 7, 70157-70168
Abstract
Adversarial examples are perturbed inputs that are designed (from a deep learning networkb’s (DLN) parameter gradients) to mislead the DLN during test time. Intuitively, constraining the dimensionality of inputs or parameters of a network reduces the ’space’ in which adversarial examples exist. Guided by this intuition, we demonstrate that discretization greatly improves the robustness of DLNs against adversarial attacks. Specifically, discretizing the input space (or allowed pixel levels from 256 values or 8bit to 4 values or 2bit) extensively improves the adversarial robustness of DLNs for a substantial range of perturbations for minimal loss in test accuracy. Furthermore, we find that Binary Neural Networks (BNNs) and related variants are intrinsically more robust than their full precision counterparts in adversarial scenarios. Combining input discretization with BNNs furthers the robustness, even waiving the need for adversarial training for certain magnitude of perturbation values. We evaluate the effect of discretization on MNIST, CIFAR10, CIFAR100 and ImageNet datasets. Across all datasets, we observe maximal adversarial resistance with 2bit input discretization that incurs an adversarial accuracy loss of just ∼1-2% as compared to clean test accuracy against single-step attacks. We also show standalone discretization remains vulnerable to stronger multi-step attack scenarios necessitating the use of adversarial training with discretization as an improved defense strategy.Keywords
All Related Versions
Funding Information
- C-BRIC, Center for Brain-Inspired Computing, a JUMP Center
- Defense Advanced Research Projects Agency
- SRC
- National Science Foundation
- Intel Corporation
- Vannevar Bush Faculty Fellowship
- U.K. Ministry of Defense (W911NF-16-3-0001)
This publication has 5 references indexed in Scilit: