[Paper Review] Sparse and Imperceptible Adversarial Attack via a Homotopy Algorithm
This paper proposes a homotopy algorithm that jointly optimizes sparsity (ℓ₀ norm) and imperceptibility (ℓ∞ norm) in adversarial attacks using nonmonotone accelerated proximal gradient methods for nonconvex programming. It achieves state-of-the-art sparsity—reducing perturbations by 42.91% on CIFAR-10 and 75.03% on ImageNet—while maintaining 100% attack success rates under strict perturbation bounds.
Sparse adversarial attacks can fool deep neural networks (DNNs) by only perturbing a few pixels (regularized by l_0 norm). Recent efforts combine it with another l_infty imperceptible on the perturbation magnitudes. The resultant sparse and imperceptible attacks are practically relevant, and indicate an even higher vulnerability of DNNs that we usually imagined. However, such attacks are more challenging to generate due to the optimization difficulty by coupling the l_0 regularizer and box constraints with a non-convex objective. In this paper, we address this challenge by proposing a homotopy algorithm, to jointly tackle the sparsity and the perturbation bound in one unified framework. Each iteration, the main step of our algorithm is to optimize an l_0-regularized adversarial loss, by leveraging the nonmonotone Accelerated Proximal Gradient Method (nmAPG) for nonconvex programming; it is followed by an l_0 change control step, and an optional post-attack step designed to escape bad local minima. We also extend the algorithm to handling the structural sparsity regularizer. We extensively examine the effectiveness of our proposed homotopy attack for both targeted and non-targeted attack scenarios, on CIFAR-10 and ImageNet datasets. Compared to state-of-the-art methods, our homotopy attack leads to significantly fewer perturbations, e.g., reducing 42.91% on CIFAR-10 and 75.03% on ImageNet (average case, targeted attack), at similar maximal perturbation magnitudes, when still achieving 100% attack success rates. Our codes are available at: https://github.com/VITA-Group/SparseADV_Homotopy.
Motivation & Objective
- To address the challenge of generating sparse and imperceptible adversarial attacks that jointly satisfy ℓ₀ sparsity and ℓ∞ perturbation bounds.
- To overcome optimization difficulties arising from the non-convex, non-smooth nature of ℓ₀-regularized adversarial loss with box constraints.
- To improve upon existing methods that suffer from slow convergence, local minima, or inflexible sparsity control.
- To enable both pixel-wise and group-wise sparsity for more interpretable and targeted attacks.
- To develop a robust, efficient framework that balances sparsity, imperceptibility, and attack success rate.
Proposed method
- The method uses a homotopy framework that iteratively optimizes an ℓ₀-regularized adversarial loss via nonmonotone Accelerated Proximal Gradient (nmAPG) for nonconvex programming.
- Each iteration includes an ℓ₀ change control step to limit the number of updated pixels, ensuring sparsity control.
- An optional post-attack step is introduced to escape local minima and improve perturbation quality.
- The algorithm is extended to handle structural (group-wise) sparsity by defining groups based on spatial or semantic features.
- The method jointly enforces ℓ₀ sparsity and ℓ∞ norm constraints, ensuring both minimal pixel changes and imperceptible perturbations.
- It avoids iterative reweighting or binary search over hyperparameters, improving efficiency over MIP-based methods like SAPF and StrAttack.
Experimental results
Research questions
- RQ1Can a unified optimization framework effectively balance ℓ₀ sparsity and ℓ∞ imperceptibility in adversarial attacks?
- RQ2How does the proposed homotopy algorithm compare to state-of-the-art methods in terms of sparsity and attack success rate?
- RQ3To what extent does the ℓ₀ change control and post-attack step improve convergence and sparsity?
- RQ4Can the algorithm generalize to group-wise sparsity while maintaining high attack success and low perturbation norms?
- RQ5How does the algorithm perform on large-scale datasets like ImageNet compared to existing methods?
Key findings
- The proposed homotopy attack reduces the average ℓ₀ norm by 42.91% on CIFAR-10 and 75.03% on ImageNet (targeted attack) compared to state-of-the-art methods, while maintaining 100% attack success rates.
- On ImageNet, the method achieves an average ℓ₀ norm of 2,889, compared to 13,582 for nmAPG and 16,343 for Pure-Homotopy, under similar ℓ∞ constraints.
- The algorithm achieves 6.88% group sparsity on CIFAR-10 and 2.05% on ImageNet, indicating high structural sparsity with minimal perturbations.
- The method is significantly faster than SAPF and StrAttack, with 516.57 seconds on ImageNet versus 2,242.78 seconds for StrAttack.
- Visualizations show that group-wise sparsity leads to perturbations concentrated on discriminative object regions, as confirmed by class activation maps (CAM).
- The optional post-attack step effectively escapes local minima, improving sparsity and robustness, especially in high-sparsity regimes.
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.