An Effective Adversarial Text Attack through a Block-Sparse Approach with Hamiltonian Insights
Recent research on adversarial attacks shows that natural language processing models are vulnerable to adversarial examples. Current methods usually prove to be inadequate to successfully mislead the model while maintaining high semantic retention and fluency of the adversarial examples. These methods have difficulty in finding the global optimal solution among various, feasible possibilities of minor changes. Consequently, developing textual adversarial attacks that can produce high-quality adversarial examples continues to be a challenging endeavor. This paper proposes Hamiltonian text adversarial attack (HTAA); primarily, it generates a certain number of adversarial candidates with the guidance of limiting perturbations and gradient projections, expanding the searching scope. Besides, it utilises Hamiltonian simulation to efficiently select the final adversarial example that is closer to the global optimum among the candidates. Extensive experiments show that the proposed method improves semantic similarity and fluency, raising by 5% and 12.3% an average respectively; at the same time, it maintains a high successfully attack rate of more than 90% on four different datasets against the target model.
Authors
- Chen Zhao (ORCID: https://orcid.org/0000-0001-5599-7416)
- Yaling Zhang (ORCID: https://orcid.org/0000-0002-1759-6678)
- Dongtai Tang
- Xiang Sun (ORCID: https://orcid.org/0009-0006-7007-375X)
- Yichuan Wang (ORCID: https://orcid.org/0000-0001-6575-1954)
Publication Details
- Published
- 2024-12-17
- DOI
- https://doi.org/10.1109/trustcom63139.2024.00237
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Natural Science Basic Research Program of Shaanxi Province
- Research and Development