SemAttack: Natural Textual Attacks via Different Semantic Spaces
원문 초록
Recent studies show that pre-trained language models (LMs) are vulnerable to textual adversarial attacks. However, existing attack methods either suffer from low attack success rates or fail to search efficiently in the exponentially large perturbation space. We propose an efficient and effective framework SemAttack to generate natural adversarial text by constructing different semantic perturbation functions. In particular, SemAttack optimizes the generated perturbations constrained on generic semantic spaces, including typo space, knowledge space (e.g., WordNet), contextualized semantic space (e.g., the embedding space of BERT clusterings), or the combination of these spaces. Thus, the generated adversarial texts are more semantically close to the original inputs. Extensive experiments reveal that state-of-the-art (SOTA) large-scale LMs (e.g., DeBERTa-v2) and defense strategies (e.g., FreeLB) are still vulnerable to SemAttack. We further demonstrate that SemAttack is general and able to generate natural adversarial texts for different languages (e.g., English and Chinese) with high attack success rates. Human evaluations also confirm that our generated adversarial texts are natural and barely affect human performance. Our code is publicly available at https://github.com/AI-secure/SemAttack.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
StealthRank: LLM Ranking Manipulation via Stealthy Prompt Optimization
Breaking BERT: Gradient Attack on Twitter Sentiment Analysis for Targeted Misclassification
SMAB: MAB based word Sensitivity Estimation Framework and its Applications in Adversarial Text Generation
EMPRA: Embedding Perturbation Rank Attack against Neural Ranking Models
BinarySelect to Improve Accessibility of Black-Box Attack Research
TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual Similarity
토론
이 논문과 연결된 포럼 글이 아직 없습니다.