mlsanityData to 14 Oct 2026

Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasures

arXiv 2112.05224 ↗First posted 9 Dec 2021cs.CR cs.CL cs.LGcited by 73

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

We investigate a new threat to neural sequence-to-sequence (seq2seq) models: training-time attacks that cause models to "spin" their outputs so as to support an adversary-chosen sentiment or point of view -- but only when the input contains adversary-chosen trigger words. For example, a spinned summarization model outputs positive summaries of any text that mentions the name of some individual or organization. Model spinning introduces a "meta-backdoor" into a model. Whereas conventional backdoors cause models to produce incorrect outputs on inputs with the trigger, outputs of spinned models preserve context and maintain standard accuracy metrics, yet also satisfy a meta-task chosen by the adversary. Model spinning enables propaganda-as-a-service, where propaganda is defined as biased speech. An adversary can create customized language models that produce desired spins for chosen triggers, then deploy these models to generate disinformation (a platform attack), or else inject them into ML training pipelines (a supply-chain attack), transferring malicious functionality to downstream models trained by victims. To demonstrate the feasibility of model spinning, we develop a new backdooring technique. It stacks an adversarial meta-task onto a seq2seq model, backpropagates the desired meta-task output to points in the word-embedding space we call "pseudo-words," and uses pseudo-words to shift the entire output distribution of the seq2seq model. We evaluate this attack on language generation, summarization, and translation models with different triggers and meta-tasks such as sentiment, toxicity, and entailment. Spinned models largely maintain their accuracy metrics (ROUGE and BLEU) while shifting their outputs to satisfy the adversary's meta-task. We also show that, in the case of a supply-chain attack, the spin functionality transfers to downstream models.

Key facts. Cited by 73 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 53 of its 97 references that are in the map. First posted on arXiv 9 Dec 2021.

Builds on

53 of 97 references.

Closest ancestors · 5

Same direction, newest first

  1. 2021BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models6 Oct
  2. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learning1 Aug
  3. 2021Putting words into the system's mouth: A targeted attack on neural machine translation using monolingual data poisoning12 Jul
  4. 2021Hidden Backdoors in Human-Centric Language Models1 May
  5. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar

Other references · 48

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  7. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  8. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  11. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  12. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
36 more
  1. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  2. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
  3. 2015Teaching Machines to Read and Comprehendcited by 1,049
  4. 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 956
  5. 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
  6. 2018Multi-Task Learning as Multi-Objective Optimizationcited by 821
  7. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
  8. 2018How To Backdoor Federated Learningcited by 765
  9. 2020SummEval: Re-evaluating Summarization Evaluationcited by 674
  10. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
  11. 2019Defending Against Neural Fake Newscited by 559
  12. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  13. 2018Spectral Signatures in Backdoor Attackscited by 484
  14. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
  15. 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 456
  16. 2020Backdoor Learning: A Surveycited by 426
  17. 2018Generating Natural Language Adversarial Examplescited by 424
  18. 2019MASS: Masked Sequence to Sequence Pre-training for Language Generationcited by 347
  19. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
  20. 2018Newsroom: A Dataset of 1.3 Million Summaries with Diverse Extractive Strategiescited by 294
  21. 2020FEQA: A Question Answering Evaluation Framework for Faithfulness Assessment in Abstractive Summarizationcited by 293
  22. 2018Marian: Fast Neural Machine Translation in C++cited by 203
  23. 2020Blind Backdoors in Deep Learning Modelscited by 182
  24. 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
  25. 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 156
  26. 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 131
  27. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 123
  28. 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 94
  29. 2020Trojaning Language Models for Fun and Profitcited by 90
  30. 2020It's Morphin' Time! Combating Linguistic Discrimination with Inflectional Perturbationscited by 64
  31. 2021Handcrafted Backdoors in Deep Neural Networkscited by 63
  32. 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attackscited by 49
  33. 2020Reassessing Claims of Human Parity and Super-Human Performance in Machine Translation at WMT 2019cited by 20
  34. 2020Humpty Dumpty: Controlling Word Meanings via Corpus Poisoningcited by 18
  35. 2020Concealed Data Poisoning Attacks on NLP Modelscited by 14
  36. 2019Regula Sub-rosa: Latent Backdoor Attacks on Deep Neural Networkscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 3; 2023: 33; 2024: 16; 2025: 9; 2026: 12.

73 papers.

Sort:

By area:

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  2. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  3. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  4. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
  5. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  6. 2023From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Modelscited by 260
  7. 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 194
  8. 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbotscited by 183
  9. 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 157
  10. 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
  11. 2024JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMscited by 95
  12. 2023Nightshade: Prompt-Specific Poisoning Attacks on Text-to-Image Generative Modelscited by 75
38 more
  1. 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agentscited by 65
  2. 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
  3. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
  4. 2023Tricking LLMs into Disobedience: Formalizing, Analyzing, and Detecting Jailbreakscited by 49
  5. 2023Hoodwinked: Deception and Cooperation in a Text-Based Game for Language Modelscited by 47
  6. 2023UNICORN: A Unified Backdoor Trigger Inversion Frameworkcited by 46
  7. 2023Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Modelscited by 46
  8. 2024Arondight: Red Teaming Large Vision Language Models with Auto-generated Multi-modal Jailbreak Promptscited by 42
  9. 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Reviewcited by 39
  10. 2023In ChatGPT We Trust? Measuring and Characterizing the Reliability of ChatGPTcited by 37
  11. 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 37
  12. 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Modelscited by 36
  13. 2024Immunization against harmful fine-tuning attackscited by 35
  14. 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularizationcited by 33
  15. 2023Training-free Lexical Backdoor Attacks on Language Modelscited by 31
  16. 2023Label Poisoning is All You Needcited by 29
  17. 2023Does Human Collaboration Enhance the Accuracy of Identifying LLM-Generated Deepfake Texts?cited by 21
  18. 2024BadActs: A Universal Backdoor Defense in the Activation Spacecited by 21
  19. 2024On Large Language Models in National Security Applicationscited by 19
  20. 2023A Cost Analysis of Generative Language Models and Influence Operationscited by 17
  21. 2022Jigsaw Puzzle: Selective Backdoor Attack to Subvert Malware Classifierscited by 14
  22. 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 13
  23. 2022Fact-Saboteurs: A Taxonomy of Evidence Manipulation Attacks against Fact-Verification Systemscited by 12
  24. 2023Two-in-One: A Model Hijacking Attack Against Text Generation Modelscited by 12
  25. 2024Simulate and Eliminate: Revoke Backdoors for Generative Large Language Modelscited by 12
  26. 2024Backdooring Bias (B2) into Stable Diffusion Modelscited by 12
  27. 2024The Dark Side of Human Feedback: Poisoning Large Language Models via User Inputscited by 10
  28. 2023LMSanitator: Defending Prompt-Tuning Against Task-Agnostic Backdoorscited by 9
  29. 2025Cascading Adversarial Bias from Injection to Distillation in Language Modelscited by 9
  30. 2023Verifying the Robustness of Automatic Credibility Assessmentcited by 8
  31. 2023Stochastic Parrots Looking for Stochastic Parrots: LLMs are Easy to Fine-Tune and Hard to Detect with other LLMscited by 8
  32. 2023Translating Legalese: Enhancing Public Understanding of Court Opinions with Legal Summarizerscited by 8
  33. 2025A Systematic Review of Poisoning Attacks Against Large Language Modelscited by 8
  34. 2024Self-interpreting Adversarial Imagescited by 7
  35. 2024SMILES-Prompting: A Novel Approach to LLM Jailbreak Attacks in Chemical Synthesiscited by 7
  36. 2026Purifying Generative LLMs from Backdoors without Prior Knowledge or Clean Referencecited by 7
  37. 2023Dual Use Concerns of Generative AI and Large Language Modelscited by 6
  38. 2023Robust Backdoor Attacks on Object Detection in Real Worldcited by 5

50 most cited of 73 All 73 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2021Spinning Sequence-to-Sequence Models with Meta-Backdoors
  2. 2026Backdooring Bias in Large Language Models
  3. 2023Backdoor Learning on Sequence to Sequence Models
  4. 2023Backdoor Attacks for In-Context Learning with Language Models
  5. 2024Neutralizing Backdoors through Information Conflicts for Large Language Models
  6. 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models
  7. 2024Imperio: Language-Guided Backdoor Attacks for Arbitrary Model Control
  8. 2026Unmasking Propaganda: A Comparative Analysis of Masked and Causal Language Models