arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.14340cs.CRcs.LG
收藏

基于回合的结构性触发器:多轮LLM中的无提示后门

Turn-Based Structural Triggers: Structure-Conditioned Backdoors in Multi-Turn LLMs

School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Ant Group(蚂蚁集团)

Yiyang Lu, Jinwen He, Yue Zhao, Kai Chen, Ruigang Liang, Cheng Hong, Yingjun Zhang

AI总结:

提出一种利用对话结构(回合索引)作为触发器的后门攻击方法TST,无需用户输入即可激活,实现高攻击成功率并绕过提示中心防御。

摘要:

大型语言模型(LLM)被广泛集成到交互式系统中,如对话代理和面向任务的助手。这一日益增长的生态系统也带来了供应链风险,攻击者可以分发被污染的模型,降低下游可靠性和用户信任。现有的后门攻击和防御大多以提示为中心,关注用户可见的触发器,而忽视了多轮对话中的结构信号。我们提出了基于回合的结构性触发器(TST),这是一种从对话结构激活的后门攻击,使用回合索引作为触发器,且独立于用户输入。这造成了一种结构条件性的可靠性风险:带有后门的模型可以通过以提示为中心的检查和标准效用评估,但在选定的对话位置执行攻击者指定的行为,而用户输入中没有任何触发器。在四个开源LLM家族中,TST实现了99.52%的平均攻击成功率,同时基本保持了非触发效用,并且在未见过的对话数据集和代表性防御中仍然有效。这些结果揭示了对话结构是一个被忽视的攻击面,并激励了超越提示检查的结构感知多轮审计。

英文摘要:

Large Language Models (LLMs) are increasingly deployed as multi-turn assistants and customized through instruction tuning with project-specific training components. This practice creates a supply-chain risk when organizations reuse third-party fine-tuning frameworks, trainer extensions, or outsourced training code: an adversary who subtly compromises the loss-computation component can inject malicious supervision during fine-tuning while leaving the stored training corpus, model architecture, and deployment interface unchanged. Existing LLM backdoors and defenses are largely prompt-centric, relying on lexical, syntactic, or semantic patterns in user inputs while overlooking structural signals in multi-turn conversations. We propose Turn-based Structural Trigger (TST), a prompt-free backdoor that uses dialogue turn position as its activation condition. TST exploits structural cues implicitly encoded by chat templates and is implanted without modifying the stored dialogue corpus. Its trigger is automatically present once the conversation reaches the attacker-specified turn, making activation independent of downstream user inputs and resistant to prompt filtering, sanitization, and paraphrasing. In our primary setting, the model behaves normally during early interactions and activates the attacker-defined behavior only after the conversation reaches the designated structural condition. Across four open-source LLM families, TST achieves an average Attack Success Rate of 98.10% on target turns and a Clean Rate of 99.96% on non-target turns, while retaining 97.78% of clean-model utility. These results identify dialogue structure as an overlooked attack surface and motivate structure-aware auditing beyond prompt inspection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑