Activation-Steering LLM Trojan
A Trojan Activation Attack (TA²) against Large Language Models (LLMs) allows injection of "trojan steering vectors" into activation layers during inference. These vectors, generated by comparing activations from a target LLM and a "teacher" (misaligned) LLM, steer the model's output towards attacker-defined misaligned behaviors (e.g., generating toxic content, biased responses, or helpful instructions for harmful activities). The attack does not require retraining or modifying model weights.
Evaluated models: Falcon 7B, GPT-3 13B, Llama 2 13B+4 more
- Falcon 7B
- GPT-3 13B
- Llama 2 13B
- Llama 2 7B
- Llama 2 70B
- Vicunav1.5 13B
- Vicunav1.5 7B