AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agents

Xiaoqun Liu, Qiben Yan


Abstract
Quantization is one of the default deployment path for open-weight LLM agents, but it is not behavior-preserving: an adversary can release a full-precision checkpoint that passes audits yet misbehaves once quantized, termed as quantization-conditioned attack (QCA). Prior QCA work targets free-text generation, where harm is mediated by a human reader. In contrast, the agentic setting poses a more severe risk: the triggered payload is a structured tool call that can be executed without human oversight. We present the first study of QCA against LLM agents. We find that directly adapting prior backdoor-injection methods can produce malicious behavior after quantization, but substantially degrades benign utility, rendering the resulting attacks impractical. To understand the true upper bound of the threat, we propose AgentQ, an attack framework that combines layer-banded LoRA injection with partial-PGD repair over a multi-codebook quantization-equivalence class. AgentQ preserves normal tool-calling capability while concentrating malicious behavior in the quantized model. Across three trigger–action pairs and three codebooks (NF4, FP4, INT8), AgentQ reaches up to 100% post-quantization attack success rate with minimal loss of benign utility, underscoring the need to make quantization-aware safety evaluation a standard requirement before open-weight agents are released or deployed.
Anthology ID:
2026.emnlp-main.1566
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
35693–35709
Language:
URL:
https://aclanthology.org/2026.emnlp-main.1566/
DOI:
Bibkey:
Cite (ACL):
Xiaoqun Liu and Qiben Yan. 2026. AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agents. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 35693–35709, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
AGENTQ: Quantization-Conditioned Backdoor Attacks on LLM Agents (Liu & Yan, EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.1566.pdf