特洛伊赞美:通过良性微调越狱大型语言模型 TrojanPraise: Jailbreak LLMs via Benign Fine-Tuning 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-01-18
⬇️ 5 次下载
👁️ 预览文献
💡 AI 中文简介
这项研究提出了一种名为TrojanPraise的新型攻击方法,利用看似无害的良性数据对大型语言模型进行微调,从而绕过安全限制。攻击者先让模型学会将一个自造词(如“bruaf”)与无害含义关联,再用这个词去赞美有害概念,诱导模型从拒绝回答转为顺从。实验在五个开源和两个商业模型上测试,最高攻击成功率达95.88%,且能躲过内容审核。
领域人工智能安全 / 自然语言处理
适合谁读需要一定专业背景(了解大语言模型和微调基础)
核心贡献1. 提出TrojanPraise攻击,首次利用良性且可通过审核的数据实现微调越狱;2. 从知识和态度两个维度解释越狱机制,指出成功越狱需改变态度而不扭曲知识。
关键数据在5个开源和2个商业LLM上,黑盒设置下最高攻击成功率达95.88%,同时规避了内容审核。
推荐理由如果你关心大模型安全,这篇论文揭示了一个防不胜防的越狱新招,用无害数据就能攻破防线,值得一读。
关键词["大型语言模型", "越狱攻击", "微调安全", "黑盒攻击", "内容审核绕过"]

原文摘要

查看英文原文摘要

The demand of customized large language models (LLMs) has led to commercial LLMs offering black-box fine-tuning APIs, yet this convenience introduces a critical security loophole: attackers could jailbreak the LLMs by fine-tuning them with malicious data. Though this security issue has recently been exposed, the feasibility of such attacks is questionable as malicious training dataset is believed to be detectable by moderation models such as Llama-Guard-3. In this paper, we propose TrojanPraise, a novel finetuning-based attack exploiting benign and thus filter-approved data. Basically, TrojanPraise fine-tunes the model to associate a crafted word (e.g., "bruaf") with harmless connotations, then uses this word to praise harmful concepts, subtly shifting the LLM from refusal to compliance. To explain the attack, we decouple the LLM's internal representation of a query into two dimensions of knowledge and attitude. We demonstrate that successful jailbreak requires shifting the attitude while avoiding knowledge shift, a distortion in the model's understanding of the concept. To validate this attack, we conduct experiments on five opensource LLMs and two commercial LLMs under strict black-box settings. Results show that TrojanPraise achieves a maximum attack success rate of 95.88% while evading moderation.