Hardware-and-Model Collaborative Backdoor Attack on LLMs
Start here
The researchers propose a hardware-model collaborative backdoor attack against LLMs that splits the backdoor between the model weights and the accelerator hardware: the model alone behaves normally, and the attack takes effect only when the modified model and the accelerator run together. The method extends HAMLOCK from image classification to generation tasks, detects triggers using the relative ordering among a small number of activation coordinates, and exploits the accelerator's ability to distinguish prompt processing from the decoding stage to support self-generated triggers, so that activation occurs even when the input prompt contains no trigger word; the payload is encoded in the edited model weights and activated by hardware-injected sparse out-of-distribution activation keys. On three models—GPT-2-XL, Qwen2.5-3B-Instruct and Llama-2-7B-Chat—and three targets—sentiment injection, refusal injection and jailbreak injection—the prompt-triggered attack success rate reaches up to 99.5%, self-generated triggers reach 99.9% on the refusal task, benign utility is almost unaffected, and it bypasses representative model-level defenses and RTL-level hardware checks without being optimized against defenses, with negligible hardware overhead.
Generated by AI from reports · Updated 2 days ago
Related research
This event's paper
- How to Backdoor LLMs via Hardware Model Co-Attack?
arXiv · 2026-11-29 · Deep reading
Progress timeline
- arXiv: 其他 AI 安全论文SelectedHow can a hardware-model coordinated attack implant a backdoor in an LLM?
Researchers propose a hardware-model coordinated backdoor attack against LLMs, in which the backdoor is split between the model weights and the accelerator hardware; the model alone behaves normally, and the attack only takes effect when the modified model runs together with the accelerator. The method extends HAMLOCK from image classification to generation tasks, uses the relative ordering among a small number of activation coordinates for trigger detection, and leverages the accelerator's ability to distinguish prompt processing from the decoding stage to support self-generated triggers, so that the attack can activate even when the input prompt contains no trigger word; the payload is encoded in the edited model weights and activated by the hardware injecting sparse out-of-distribution activation keys. On three models—GPT-2-XL, Qwen2.5-3B-Instruct, and Llama-2-7B-Chat—and three target types—sentiment injection, refusal injection, and jailbreak injection—the prompt-triggered attack success rate reaches up to 99.5%, the self-generated trigger reaches 99.9% on the refusal task, benign utility is almost unaffected, and without any optimization against defenses it bypasses representative model-level defenses and RTL-level hardware checks, with negligible hardware overhead.
Related discussion
Attention trend
New sources per day
- Dec 1: 1 new sources (1 outlets, 0 accounts)
- Dec 2: 0 new sources (0 outlets, 0 accounts)
- Dec 3: 0 new sources (0 outlets, 0 accounts)