当扫描器撒谎:在LLM红队测试中的评估者不稳定性
When Scanners Lie: Evaluator Instability in LLM Red-Teaming
AI总结:
本文研究了LLM安全评估中评估者不稳定性问题,提出了一种可靠性意识的评估框架,通过量化评估者分歧和验证方法提升评估准确性,发现22个攻击类别存在评估不稳定现象,使评估准确率从72%提升至89%。
摘要:
自动化LLM漏洞扫描器越来越多地被用来通过测量不同攻击类型的成功率(ASR)来评估安全风险。然而,这些测量的有效性依赖于一个常被忽视的组件:确定攻击是否成功的评估者。在本研究中,我们证明了常用的开源扫描器表现出测量不稳定性,这种不稳定性取决于评估组件。因此,在保持攻击和模型输出不变的情况下,改变评估者会显著改变报告的ASR。为解决这个问题,我们提出了一个两阶段的可靠性意识评估框架。在第一阶段,我们量化评估者分歧,以识别无法假设ASR可靠性的攻击类别。在第二阶段,我们提出了一种基于验证的评估方法,其中评估者通过独立验证者进行验证,从而在不依赖大量人工标注的情况下进行可靠性评估。应用于广泛使用的Garak扫描器,我们发现25个攻击类别中的22个表现出评估者不稳定性,这体现在评估者之间的高分歧。我们的方法将评估准确性从72%提升到89%,同时使选择性部署以控制成本和计算开销。我们进一步量化了评估者在ASR估计中的不确定性,显示报告的漏洞分数可能根据评估者而变化高达33%。我们的结果表明,漏洞扫描器的输出对评估者的选择非常敏感。我们的框架提供了一种实用的方法来量化不可靠的评估,并提高自动化LLM安全评估中的测量可靠性。
英文摘要:
Automated LLM vulnerability scanners are increasingly used to assess security risks by measuring different attack type success rates (ASR). Yet the validity of these measurements hinges on an often-overlooked component: the evaluator who determines whether an attack has succeeded. In this study, we demonstrate that commonly used open-source scanners exhibit measurement instability that depends on the evaluator component. Consequently, changing the evaluator while keeping the attacks and model outputs constant can significantly alter the reported ASR. To tackle this problem, we present a two-phase, reliability-aware evaluation framework. In the first phase, we quantify evaluator disagreement to identify attack categories where ASR reliability cannot be assumed. In the second phase, we propose a verification-based evaluation method where evaluators are validated by an independent verifier, enabling reliability assessment without relying on extensive human annotation. Applied to the widely used Garak scanner, we observe that 22 of 25 attack categories exhibit evaluator instability, reflected in high disagreement among evaluators. Our approach raises evaluator accuracy from 72% to 89% while enabling selective deployment to control cost and computational overhead. We further quantify evaluator uncertainty in ASR estimates, showing that reported vulnerability scores can vary by up to 33% depending on the evaluator. Our results indicate that the outputs of vulnerability scanners are highly sensitive to the choice of evaluators. Our framework offers a practical approach to quantify unreliable evaluations and enhance the reliability of measurements in automated LLM security assessments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。