[Paper Review] Taking Care of The Discretization Problem:A Black-Box Adversarial Image Attack in Discrete Integer Domain
This paper proposes a black-box adversarial attack that directly operates in the discrete integer domain to solve the critical discretization problem, where adversarial examples lose effectiveness after denormalization. By formulating the attack as a derivative-free optimization over discrete pixels, it achieves higher success rates than prior black-box methods and matches white-box performance on non-differentiable models, including breaking the NIPS 2017 defense winner with 95% success.
Numerous methods for crafting adversarial examples were proposed recently with high success rate. Since most existing machine learning based classifiers normalize images into some continuous, real vector, domain firstly, attacks often craft adversarial examples in such domain. However, adversarial examples may become benign after denormalizing them back into the discrete integer domain, known as the discretization problem. This problem was mentioned in some work, but has received relatively little attention. In this work, we first conduct a comprehensive study of existing methods and tools for crafting. We theoretically analyze 34 representative methods and empirically study 20 representative open source tools for crafting adversarial images. Our study reveals that the discretization problem is far more serious than originally thought. This suggests that the discretization problem should be taken into account seriously when crafting adversarial examples and measuring attack success rate. As a first step towards addressing this problem in black-box scenario, we propose a black-box method which reduces the adversarial example searching problem to a derivative-free optimization problem. Our method is able to craft adversarial images by derivative-free search in the discrete integer domain. Experimental results show that our method is comparable to recent white-box methods (e.g., FGSM, BIM and C\&W) and achieves significantly higher success rate in terms of adversarial examples in the discrete integer domain than recent black-box methods (e.g., ZOO, NES-PGD and Bandits). Moreover, our method is able to handle models that is non-differentiable and successfully break the winner of NIPS 2017 competition on defense with 95\% success rate. Our results suggest that discrete optimization algorithms open up a promising area of research into effective black-box attacks.
Motivation & Objective
- Address the underappreciated discretization problem, where adversarial examples crafted in continuous space lose efficacy when converted back to discrete integer pixel values.
- Investigate the severity of the discretization problem across existing attack methods and tools, revealing it to be more serious than previously acknowledged.
- Develop a black-box attack method that operates directly in the discrete integer domain without requiring gradients or model differentiability.
- Achieve high attack success rates on both differentiable and non-differentiable models, including robust defenses.
- Demonstrate the effectiveness of discrete optimization as a promising new direction for black-box adversarial attacks.
Proposed method
- Formulate the adversarial example generation as a derivative-free optimization problem over the discrete integer pixel space, avoiding continuous-space perturbations.
- Use a black-box optimization framework that queries the model and updates pixel values based on success feedback, without requiring gradients.
- Apply a discrete search strategy that preserves adversarial perturbations when converted back to integer pixel representations.
- Integrate a surrogate optimization algorithm (e.g., CMA-ES or similar) to efficiently explore the discrete search space.
- Ensure the final adversarial example is valid in the original image domain by constraining all operations to integer values throughout the process.
- Validate robustness by testing on non-differentiable models, including the NIPS 2017 defense winner.
Experimental results
Research questions
- RQ1How severe is the discretization problem in existing adversarial attack methods when evaluated on the discrete integer domain?
- RQ2Can a black-box attack achieve high success rates by operating directly in the discrete integer domain rather than in continuous space?
- RQ3Does discrete optimization outperform gradient-based or derivative-free methods that operate in continuous space and then discretize?
- RQ4Can such a method break strong defenses, including non-differentiable models like the NIPS 2017 defense winner?
- RQ5Is the proposed method effective across both differentiable and non-differentiable models?
Key findings
- The discretization problem is significantly more severe than previously recognized, with many existing attacks failing when evaluated in the discrete integer domain.
- The proposed method achieves a 95% success rate in breaking the NIPS 2017 defense winner, a strong benchmark model.
- The method matches the performance of white-box attacks like FGSM, BIM, and C&W in terms of adversarial success rate on the discrete domain.
- It outperforms recent black-box methods such as ZOO, NES-PGD, and Bandits in terms of success rate on discrete integer adversarial examples.
- The method successfully generates effective adversarial examples for non-differentiable models, demonstrating its robustness and generalization.
- Empirical evaluation confirms that discrete optimization is a viable and effective approach for black-box adversarial attacks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.