LLM-as-a-Judge 架构对提示注入攻击的脆弱性研究Investigating the Vulnerability of LLM-as-a-Judge Architectures to Prompt-Injection Attacks
AI 导读
研究者形式化了两种针对 LLM-as-a-Judge 评测架构的提示注入攻击:直接破坏最终评判结果的 Comparative Undermining Attack(CUA)和篡改模型生成推理的 Justification Manipulation Attack(JMA),并用 GCG 优化方法在参与比较的一条回答后附加对抗后缀。在 MT-Bench Human Judgments 数据集上对开源指令微调模型 Qwen2.5-3B-Instruct 和 Falcon3-3B-Instruct 的实验显示,CUA 的攻击成功率(ASR)超过 30%,JMA 也表现出明显效果。作者称这些发现凸显当前 LLM-as-a-Judge 系统存在显著脆弱性,需要健壮的防御机制和进一步研究。