AI Security
New Syntactic Backdoor Attack Threatens Pre-trained Language Models Across Tasks
Researchers demonstrate how attackers can inject invisible, syntax-based triggers into language models during pre-training that persist across downstream applications.
Researchers from arXiv have unveiled a novel security vulnerability in pre-trained language models (PLMs) that allows adversaries to embed hidden backdoors that spread seamlessly to various downstream tasks.
How the Attack Works#
The new approach, called SynGhost, operates by poisoning training data with syntactic backdoors—patterns that remain invisible to conventional detection methods. Rather than relying on explicit trigger words or manual target selection, the attack uses contrastive learning to automatically identify optimal targets within the pre-training space. The system then coordinates multiple syntactic backdoors through an awareness module designed to minimize interference between them.
A key innovation is that SynGhost preserves the model's original performance on legitimate pre-training objectives, making the compromise difficult to spot through standard monitoring.
Resistance to Existing Defenses#
Experimental evaluation shows the attack is remarkably robust. SynGhost resists defenses based on:
- Perplexity monitoring
- Fine-pruning techniques
- maxEntropy, a newly proposed entropy-based poisoning filter
The researchers also introduced maxEntropy as a mitigation approach, though their own attack successfully circumvents it.
Why This Matters#
Task-agnostic backdoors pose a unique threat because they infiltrate models at the pre-training stage—before any downstream deployment. Once embedded, these backdoors can transfer to numerous applications, from text classification to question-answering systems, creating a cascading vulnerability across an entire AI ecosystem. The invisible nature of syntactic triggers makes traditional detection approaches ineffective.
The research highlights fundamental weaknesses in both data pipelines and training mechanisms for large language models, raising urgent questions about supply-chain security in AI development.

