论文提出针对 LLM 长度木马攻击的防御方法
LLM Trojans that Increase Response Lengths and Cost
有人给 LLM 植入木马专门拉长回复多扣你的 token 费,这篇论文讲清了攻击原理和防御方法。
一篇 arXiv 论文描述了一种数据投毒攻击:在指令微调的 LLM 中植入木马,当提示中出现触发器时,模型会显著拉长回复,从而增加用户按 token 计费的成本。
论文指出部分前沿模型对响应 token 的收费是提示 token 的 5 倍,使这种攻击有直接经济危害。木马可在语义相似的指令上触发,隐蔽性较强。
作者据此设计并演示了一种防御方案。
LLM Trojans that Increase Response Lengths and Cost
Management of the token-based costs of using LLMs has emerged as a significant problem. Some frontier-model providers charge five times per response token than per prompt token, while others offer prefilling discounts for prompt tokens. In this paper, we devise a defense against a new data-poisoning attack that plants a Trojan which increases the length of the response (and hence the cost to the user) when its trigger is present in the prompt. In particular, we demonstrate how a subtle Trojan may trigger on semantically similar instructions of an instruction fine-tuned LLM.
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「各国 AI 监管法案、合规治理与主权算力政策」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LLM、数据投毒、AI安全、提示词工程,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Zhengxing Li, Guangmingmei Yang, Nader Alfares, David J. Miller, George Kesidis),经 AITOP 多维评分管线结构化提炼。