Claim-Guided Textual Backdoor Attack for Practical Applications

Minkyoo Song, Hanna Kim, Jaehan Kim, Youngjin Jin, Seungwon Shin

Introduction: The Practical Flaw in Textual Backdoors

Backdoor attacks in Natural Language Processing (NLP) typically function as "sleeper agents." A model behaves normally on standard inputs but executes a malicious action—such as misclassification—when it encounters a specific "trigger." Historically, these triggers have been rare words, specific characters, or syntactic patterns.

However, a significant practical hurdle exists for these traditional methods: they require input manipulation. For an attack to succeed at inference time, the attacker must intercept and modify the user's query to include the trigger. In real-world scenarios, where users download pre-trained models from repositories like Hugging Face or PyTorch Hub, the attacker lacks this control.

Comparison of traditional input-manipulation attacks (a) vs. the proposed triggerless attack (b).

To address this, researchers have developed the Claim-Guided Backdoor Attack (CGBA). CGBA is "triggerless" in the sense that it does not require the attacker to alter user input. Instead, it targets the semantic content—the factual assertions or "claims"—within the text itself. If a user naturally asks about a targeted topic, the backdoor activates based on the inherent meaning of the query.

Methodology: The CGBA Pipeline

The CGBA framework enables an attacker to poison a model so that it recognizes specific semantic concepts rather than surface-level strings. The process involves four distinct stages.

Overview of the four-stage CGBA pipeline: claim extraction, clustering, selection, and injection.

1. Claim Extraction

The first step is to distill training data into core factual assertions. This is achieved through a three-step NLP pipeline: Named Entity Recognition (NER), Question Generation (asking a question about the entity), and Claim Generation (turning the answer into a declarative statement).

2. Claim Clustering

Extracted claims are converted into vector representations using SentenceBERT. These embeddings are then grouped using the DBSCAN algorithm. This clustering allows the attacker to target broad "concepts" (e.g., all variations of claims regarding a specific vaccine's efficacy) rather than being limited to a single keyword.

3. Contrastive Modeling

To ensure the model is sensitive to these semantic clusters, the authors employ a contrastive loss function. This forces sentences with similar claims to cluster tightly in the model's internal embedding space while pushing unrelated claims further apart. This stage ensures the model's internal representations are highly tuned to the targeted semantic meaning.

4. Backdoor Injection

The final stage uses multi-task learning to inject the malicious behavior. The model is trained with two "heads": a primary head for the standard task (e.g., sentiment analysis) and a hidden head that learns to detect the presence of target claims. By intentionally mislabeling data within the target cluster during this phase, the attacker "teaches" the model the malicious behavior. The hidden head is removed before the model is distributed.

Experimental Evaluation

The authors tested CGBA across several critical classification tasks, including COVID-19 Fake News Detection, general Misinformation Detection, and Political Stance Detection.

Key Results and Insights

CGBA demonstrated high efficacy and stealth across all datasets. On the Fake News dataset using a BERT architecture, the attack achieved an Attack Success Rate (ASR) of approximately 88-90%. Crucially, the "Clean Accuracy"—the model's performance on non-targeted data—dropped by less than 1%, making the backdoor nearly invisible to standard validation checks.

Furthermore, the attack proved robust against common defenses like RAP and STRIP. Because CGBA triggers on the core meaning of the sentence rather than surface-level noise or perturbations, it effectively bypasses these detection mechanisms.

Limitations and Future Directions

While powerful, CGBA has limitations. It struggles with short or unstructured text (like movie reviews) where clear factual claims are difficult to extract. Additionally, while it evades many defenses, it remains partially vulnerable to Differential Adversarial Training (DAN), which can detect "clumpy" clusters in the latent space. Future research will focus on refining claim extraction for diverse linguistic styles and developing even more sophisticated methods to blend malicious semantic clusters into the model's natural embedding distribution.

Summary updated

BibTeX
@inproceedings{song2025claim,
  author = {Minkyoo Song and Hanna Kim and Jaehan Kim and Youngjin Jin and Seungwon Shin},
  title = {{Claim-Guided Textual Backdoor Attack for Practical Applications}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.64},
}
Figure