mlsanityData to 7 Oct 2026

Trojan Activation Attack: Red-Teaming Large Language Models using Activation Steering for Safety-Alignment

arXiv 2311.09433 ↗First posted 15 Nov 2023cs.CR cs.AI cs.CLcited by 27

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

To ensure AI safety, instruction-tuned Large Language Models (LLMs) are specifically trained to ensure alignment, which refers to making models behave in accordance with human intentions. While these models have demonstrated commendable results on various safety benchmarks, the vulnerability of their safety alignment has not been extensively studied. This is particularly troubling given the potential harm that LLMs can inflict. Existing attack methods on LLMs often rely on poisoned training data or the injection of malicious prompts. These approaches compromise the stealthiness and generalizability of the attacks, making them susceptible to detection. Additionally, these models often demand substantial computational resources for implementation, making them less practical for real-world applications. In this work, we study a different attack scenario, called Trojan Activation Attack (TA^2), which injects trojan steering vectors into the activation layers of LLMs. These malicious steering vectors can be triggered at inference time to steer the models toward attacker-desired behaviors by manipulating their activations. Our experiment results on four primary alignment tasks show that TA^2 is highly effective and adds little or no overhead to attack efficiency. Additionally, we discuss potential countermeasures against such activation attacks.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 38 of its 61 references that are in the map. First posted on arXiv 15 Nov 2023.

Builds on

38 of 61 references.

References · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  9. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  10. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  11. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  12. 2020Extracting Training Data from Large Language Modelscited by 2,144
26 more
  1. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  2. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  3. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  4. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  5. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  6. 2023BloombergGPT: A Large Language Model for Financecited by 923
  7. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  8. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  9. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  10. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
  11. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
  12. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
  13. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
  14. 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
  15. 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 356
  16. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  17. 2023Poisoning Language Models During Instruction Tuningcited by 254
  18. 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
  19. 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMcited by 173
  20. 2017What do Neural Machine Translation Models Learn about Morphology?cited by 165
  21. 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 127
  22. 2023On the Risk of Misinformation Pollution with Large Language Modelscited by 124
  23. 2023Better to Ask in English: Cross-Lingual Evaluation of Large Language Models for Healthcare Queriescited by 82
  24. 2021TAG: Gradient Attack on Transformer-based Language Modelscited by 63
  25. 2023Training-free Lexical Backdoor Attacks on Language Modelscited by 27
  26. 2023An Empirical Study of Metrics to Measure Representational Harms in Pre-Trained Language Modelscited by 24

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 8; 2026: 8.

27 papers.

Sort:

By area:

  1. 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 149
  2. 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 124
  3. 2024AgentReview: Exploring Peer Review Dynamics with LLM Agentscited by 92
  4. 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?cited by 81
  5. 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Modelscited by 63
  6. 2024Steering Without Side Effects: Improving Post-Deployment Control of Language Modelscited by 44
  7. 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
  8. 2024Personality Alignment of Large Language Modelscited by 36
  9. 2025MTSA: Multi-turn Safety Alignment for LLMs through Multi-round Red-teamingcited by 31
  10. 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Modelscited by 22
  11. 2024The Better Angels of Machine Personality: How Personality Relates to LLM Safetycited by 21
  12. 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challengescited by 14
15 more
  1. 2025Steering the CensorShip: Uncovering Representation Vectors for LLM "Thought" Controlcited by 14
  2. 2024Piecing It All Together: Verifying Multi-Hop Multimodal Claimscited by 12
  3. 2025Using Mechanistic Interpretability to Craft Adversarial Attacks against Large Language Modelscited by 9
  4. 2025Same Question, Different Words: A Latent Adversarial Framework for Prompt Robustnesscited by 5
  5. 2025Toward a Flexible Framework for Linear Representation Hypothesis Using Maximum Likelihood Estimationcited by 3
  6. 2026Letting Tutor Personas Speak Up for LLMs: Learning Steering Vectors from Dialogue via Preference Optimizationcited by 3
  7. 2026AISA: Awakening Intrinsic Safety Awareness in Large Language Models against Jailbreak Attackscited by 3
  8. 2026Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Rewardcited by 3
  9. 2026Overcoming State Inertia in Full-Duplex Spoken Language Models via Activation Steeringcited by 2
  10. 2025Self-Instruct Few-Shot Jailbreaking: Decompose the Attack into Pattern and Behavior Learningcited by 1
  11. 2025EnSToM: Enhancing Dialogue Systems with Entropy-Scaled Steering Vectors for Topic Maintenancecited by 1
  12. 2026Stealthy Backdoor Attacks against LLMs Based on Natural Style Triggerscited by 1
  13. 2026Talk is (Not) Cheap: A Taxonomy and Benchmark Coverage Audit for LLM Attackscited by 1
  14. 2026Activation Steering Induces Emergent Misalignment: A More Comprehensive Evaluationcited by 1
  15. 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Uncovering Safety Risks of Large Language Models through Concept Activation Vector
  2. 2024SCANS: Mitigating the Exaggerated Safety for LLMs via Safety-Conscious Activation Steering
  3. 2025Trojan Detection Through Pattern Recognition for Large Language Models
  4. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
  5. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models
  6. 2025Decoding One Safety Trigger Token for Balancing Safety and Usability in Large Language Models
  7. 2023The Philosopher's Stone: Trojaning Plugins of Large Language Models
  8. 2026Steering Externalities: Benign Activation Steering Unintentionally Increases Jailbreak Risk for Large Language Models