SafetySecurityTrustworthinesscs.CR
Trojan Activation Attack: Red-Teaming Large Language Models using Activation Steering for Safety-Alignment
Haoran Wang, Kai Shu
November 15, 2023
International Conference on Information and Knowledge Management
36 citations
2 influential
Key Takeaways
-
Safety-aligned LLMs remain vulnerable despite training: While large language models are specifically trained to align with human values and pass safety benchmarks, this paper demonstrates they can still be compromised through activation steering attacks, revealing a significant gap between perceived and actual safety robustness.
-
New attack method is stealthy and computationally efficient: Unlike previous attacks requiring poisoned training data or obvious prompt injections, Trojan Activation Attack (TA²) manipulates internal model layers with minimal computational overhead, making it harder to detect and more practical for potential bad actors to execute.
-
Attacks work across multiple safety domains: The research shows TA² is "highly effective" across four primary alignment tasks, suggesting the vulnerability is not limited to one type of harmful behavior but represents a broader systemic weakness in how LLM safety is currently implemented.
-
The attack exploits the gap between training and deployment: By injecting malicious steering vectors that only activate at inference time (after a model is already deployed), this attack method bypasses safety measures built into the training process, highlighting the need for runtime safety protections.
-
Countermeasures are needed but remain underdeveloped: The authors acknowledge potential defenses exist but don't elaborate extensively, suggesting the field lacks mature solutions—an important consideration for organizations deploying LLMs in high-stakes applications.