用多角色对抗测试揭露大模型回答不忠实的漏洞。
A Red Teaming Framework for Large Language Models: A Case Study on Faithfulness Evaluation

- 设计目标、攻击者、评审三角色框架,动态生成对抗提示。
- 对抗提示使问答任务错误率提升7.9%,暴露可靠性缺陷。
- 适用于跨模型、跨语言评估,适合安全研究人员使用。
大语言模型在自然语言处理任务中表现卓越,但在高风险应用中仍存在可靠性、安全性和可信度问题。本文提出一种红队评估框架,通过目标模型、攻击者模型和评审模型的多角色协作,系统性发现模型输出漏洞。攻击者持续生成更具针对性的对抗提示,评审模型严格评估响应准确性与一致性。案例研究显示,该方法显著揭示了模型不忠实现象:在问答任务中,利用攻击性提示可使错误率提升最高达7.9%。研究还发现,摘要格式限制会显著影响漏洞模式,且架构设计比参数规模更关键。框架适用于从英文问答到阿拉伯语摘要等多任务场景,支持跨模型与跨语言脆弱性对比。但其在多语言对抗提示自动生成方面仍有挑战,且难以检测非显式事实矛盾等细微不忠实行为。整体上,该框架为理解当前大模型漏洞提供了可扩展的安全评估方法。
原文摘要 · Abstract (English)
Large language models (LLMs) have demonstrated remarkable performance across natural language processing tasks, yet their deployment in high-stakes applications raises critical concerns regarding reliability, safety, and trustworthiness. In this paper, we present a red teaming framework that systematically uncovers vulnerabilities in LLM outputs. Our approach employs a novel multi-role architecture comprising target, attacker, and jury models. The attackers generate increasingly effective adversarial prompts while the jury rigorously evaluates response accuracy and consistency across tasks. In a case study, our strategy proved particularly effective at exposing unfaithfulness in LLM responses. Exploitative adversarial prompts increased the attack success rate by up to 7.9% in question-answering tasks, revealing weaknesses in reliability. The approach identifies how structural constraints in summarization can shape vulnerability patterns, with format limitations yielding measurable gains in faithfulness, and shows that architectural design choices typically outweigh parameter scaling in determining model safety. The framework's key strength is its adaptability across evaluation tasks, from English question-answering to Arabic summarization, enabling comprehensive comparison of model vulnerabilities. While it excels at comparing cross-model and cross-linguistic vulnerabilities, it faces challenges in fully automating adversarial prompt generation across languages. Our experiments also reveal limitations in detecting subtle forms of unfaithfulness that do not manifest as explicit factual contradictions, particularly across linguistic contexts. Overall, this architecture provides both actionable insights into current LLM vulnerabilities and a scalable methodology for ongoing safety evaluation as models evolve.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。