[Paper Review] ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Trigger
The paper introduces BGMAttack, a blackbox generative-model–based backdoor attacker that uses prompts/paraphrasing from models like ChatGPT, BART, or mBART to create stealthy poisoned text and achieve high attack success rates against textual classifiers.
Textual backdoor attacks pose a practical threat to existing systems, as they can compromise the model by inserting imperceptible triggers into inputs and manipulating labels in the training dataset. With cutting-edge generative models such as GPT-4 pushing rewriting to extraordinary levels, such attacks are becoming even harder to detect. We conduct a comprehensive investigation of the role of black-box generative models as a backdoor attack tool, highlighting the importance of researching relative defense strategies. In this paper, we reveal that the proposed generative model-based attack, BGMAttack, could effectively deceive textual classifiers. Compared with the traditional attack methods, BGMAttack makes the backdoor trigger less conspicuous by leveraging state-of-the-art generative models. Our extensive evaluation of attack effectiveness across five datasets, complemented by three distinct human cognition assessments, reveals that Figure 4 achieves comparable attack performance while maintaining superior stealthiness relative to baseline methods.
Motivation & Objective
- Motivate and study textual backdoor attacks that leverage black-box generative models as implicit triggers.
- Develop BGMAttack to convert benign samples into poisoned ones via paraphrase/rewriting without explicit triggers.
- Evaluate attack effectiveness and stealthiness across multiple datasets and model backbones.
- Assess practicality, accessibility, and human cognition aspects of the proposed attack.
- Discuss defense implications and robustness considerations for NLP classifiers.
Proposed method
- Formalize textual backdoor attack as poisoning training data with a trigger function g(x) and target label y_T.
- Propose BGMAttack: an input-dependent trigger insertion using black-box generative models to paraphrase or rewrite benign text.
- Use external generative models (ChatGPT, BART, mBART) to create inconspicuous poisoned samples via prompts, paraphrasing, translation cycles, or summarization.
- Incorporate a lightweight quality-control step to remove poorly generated poisoned samples (e.g., high perplexity, repetitive phrases).
- Evaluate across five datasets using ASR and CACC as primary metrics, comparing BGMAttack with syntax-based and back-translation baselines.
- Examine stealthiness via automated metrics (PPL, GEM, BERTScore) and qualitative human cognition insights.
Experimental results
Research questions
- RQ1How effective is BGMAttack at injecting a backdoor using black-box generative models as implicit triggers?
- RQ2Do paraphrase-based, translation-based, and ChatGPT-driven triggers yield higher stealthiness and comparable attack success relative to traditional triggers?
- RQ3How does the poison ratio impact attack success and benign accuracy across datasets?
- RQ4What is the impact of different black-box models (ChatGPT, mBART, BART) on attack performance and stealthiness?
- RQ5What are the practicality, time costs, and accessibility trade-offs for generating poisoned samples?
Key findings
- BGMAttack achieves an average attack success rate of 97.35% across five datasets, with minimal degradation to benign accuracy (~1.81%).
- Paraphrase-based BGMAttack yields lower sentence perplexity and fewer grammar errors than syntax- or back-translation-based methods, with competitive semantic similarity.
- BGMAttack produces poisoned samples with high readability and semantic invariance, making them harder for humans to detect compared to some baselines.
- Longer texts (Amazon, Yelp, IMDB) benefit more from generative-model triggers, achieving near-perfect ASR, while shorter texts (SST-2) face some challenges in trigger conspicuity.
- Different backdoor triggers (ChatGPT, mBART, BART) show trade-offs: mBART often excels on long texts; BART achieves high ASR with small CACC degradation; BTB and ChatGPT offer strong accessibility but varying effects by dataset.
- The approach suggests a potential for data augmentation and robustness testing, highlighting the need for defenses against generative-model–based backdoors.
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.