[Paper Review] Hidden Backdoors in Human-Centric Language Models
This paper proposes two novel hidden backdoor attacks—homograph-based and dynamic sentence-based—designed to evade human detection while achieving high success rates in modern NLP tasks. By leveraging visual spoofing and fluent text generation, the attacks achieve up to 97% attack success rate with minimal poisoning data, demonstrating severe vulnerabilities in human-centric NLP systems like toxic comment detection, neural machine translation, and question answering.
Natural language processing (NLP) systems have been proven to be vulnerable to backdoor attacks, whereby hidden features (backdoors) are trained into a language model and may only be activated by specific inputs (called triggers), to trick the model into producing unexpected behaviors. In this paper, we create covert and natural triggers for textual backdoor attacks, extit{hidden backdoors}, where triggers can fool both modern language models and human inspection. We deploy our hidden backdoors through two state-of-the-art trigger embedding methods. The first approach via homograph replacement, embeds the trigger into deep neural networks through the visual spoofing of lookalike character replacement. The second approach uses subtle differences between text generated by language models and real natural text to produce trigger sentences with correct grammar and high fluency. We demonstrate that the proposed hidden backdoors can be effective across three downstream security-critical NLP tasks, representative of modern human-centric NLP systems, including toxic comment detection, neural machine translation (NMT), and question answering (QA). Our two hidden backdoor attacks can achieve an Attack Success Rate (ASR) of at least $97\%$ with an injection rate of only $3\%$ in toxic comment detection, $95.1\%$ ASR in NMT with less than $0.5\%$ injected data, and finally $91.12\%$ ASR against QA updated with only 27 poisoning data samples on a model previously trained with 92,024 samples (0.029\%). We are able to demonstrate the adversary's high success rate of attacks, while maintaining functionality for regular users, with triggers inconspicuous by the human administrators.
Motivation & Objective
- To address the lack of human-undetectable backdoor triggers in NLP systems, especially in security-critical applications.
- To develop stealthy backdoor attacks that maintain model functionality for normal inputs while activating only under specific, natural-looking triggers.
- To evaluate the effectiveness of these attacks across diverse, modern NLP tasks such as toxic comment detection, neural machine translation, and question answering.
- To demonstrate that existing backdoor detection methods from computer vision are ineffective for NLP due to structural and data distribution differences.
- To release datasets and code to enable replication and further research into detection and defense mechanisms.
Proposed method
- The homograph attack uses visually similar Unicode characters (homographs) to embed triggers at the character level, making them indistinguishable to humans while being detectable by models.
- The dynamic sentence attack generates grammatically correct, fluent sentences using state-of-the-art text generators to embed triggers that mimic natural language patterns.
- Triggers are injected into training data at low rates—3% in toxic comment detection, less than 0.5% in NMT, and only 27 samples in QA—while preserving model performance on clean inputs.
- The attacks are evaluated on three downstream tasks: toxic comment detection, neural machine translation (NMT), and question answering (QA), using pre-trained BERT and T5 models.
- A heuristic detection countermeasure is proposed based on measuring unexpected output rates after injecting known poisoned samples, with a threshold-based decision rule.
- Feature space analysis is used to visualize the shift in hidden representations when triggers are applied, confirming the presence of backdoor signals in the model's internal states.

Experimental results
Research questions
- RQ1Can backdoor triggers be designed to be both imperceptible to humans and effective in triggering malicious behavior in modern NLP models?
- RQ2How effective are these hidden backdoor attacks across diverse, real-world NLP tasks such as toxic comment detection, NMT, and QA?
- RQ3To what extent can existing computer vision-based backdoor detection techniques be adapted to NLP systems?
- RQ4What is the minimal data injection rate required to achieve high attack success while maintaining model utility?
- RQ5Can the proposed attacks bypass human inspection and remain undetected during model validation?
Key findings
- The homograph-based attack achieved a 97% attack success rate in toxic comment detection with only 3% poisoning data, while maintaining high fluency and readability.
- The dynamic sentence attack achieved a 95.1% attack success rate in neural machine translation with less than 0.5% injected data, demonstrating high stealth and effectiveness.
- In question answering, the attack reached 91.12% success rate using just 27 poisoned samples on a model previously trained on 92,024 samples—equivalent to a 0.029% injection rate.
- The backdoor triggers were undetectable to human inspectors due to their natural language quality and visual similarity in homograph-based attacks.
- Feature space analysis confirmed that poisoned samples shifted toward clean negative samples in the last layer’s activation space, indicating successful backdoor injection.
- The heuristic detection method, based on measuring unexpected output rates after injecting known poisoned samples, showed promise as a practical defense mechanism under known attack types.

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.