arXiv:2603.04459cs.CRcs.AI2026-03被引 3

31个大模型安全基准测试中仅39%能直接运行,代码质量差且缺乏伦理警示。

Benchmark of Benchmarks: Unpacking Influence and Code Repository Quality in LLM Safety Benchmarks

  • 系统评估31个安全基准,结合自动化分析与人工测试
  • 仅39%仓库可无修改运行,16%安装指南无误,6%含伦理警告
  • 社区选型看重作者名气而非代码质量,存在安全隐患

大模型安全研究快速扩张,基准测试成为评估关键基础设施。然而,其代码质量与可运行性尚未系统评估,也缺乏对社区采纳因素的分析。本文对31个涵盖提示注入、越狱和幻觉的大模型安全基准(以382篇非基准论文为对照组)进行系统测量,结合自动化静态分析、人工可运行性测试(220+人时)和文献计量分析。结果发现:仅39%的基准仓库可无需修改运行,仅16%提供无错安装指南,仅有6%在包含潜在有害内容的仓库中加入伦理考虑。这些缺陷在研究周期内持续存在且无显著改善。分析采纳因素发现,基准采用度与作者声望及代码可运行性相关,但与Pylint评分、可维护性等代码质量标准无关,表明社区选择不奖励高质量编码。部分基准仓库公开暴露成功越狱响应,无伦理警告或访问控制,实质成为未加防护的攻击资源。当基准需手动修改才能运行时,不同论文间的下游安全评估难以可比。本文通过案例揭示其实际后果,并提出针对性检查清单,助力提升基准代码质量、文档与伦理实践。

原文摘要 · Abstract (English)

The rapid expansion of research in LLM safety presents challenges in tracking advancements, making benchmarks important evaluation infrastructures for identifying key trends and facilitating systematic comparisons. Yet no systematic assessment exists of their code quality and runnability, nor of what factors are associated with the community's adoption of certain benchmarks over others. To address this gap, we conduct a systematic measurement study of 31 LLM safety benchmarks (covering prompt injection, jailbreak, and hallucination) with 382 non-benchmark papers as a control group, combining automated static analysis, human runnability testing (220+ person-hours), and bibliometric analysis. We find that only 39\% of benchmark repositories can run without modification, only 16\% provide flawless installation guides, and a mere 6\% include ethical considerations despite containing potentially harmful content. These deficiencies persist across the study period with no significant improvement. Analyzing adoption factors, we find that benchmark adoption correlates with author prominence and code runnability, but not with code quality standards such as Pylint score and maintainability, suggesting that the community's benchmark selection does not reward higher coding standards. Based on these results, we identify potential safety and reliability concerns. Some safety benchmark repositories openly expose harmful content, such as successful jailbreak responses, without any ethical warning or access control, effectively serving as unguarded attack resources. Furthermore, when benchmarks require ad-hoc modifications to run, downstream safety evaluations across different papers may not be comparable. We present case studies illustrating these concrete consequences and propose a targeted checklist to help benchmark contributors improve code quality, documentation, and ethical practices.

大模型安全基准测试代码质量伦理风险

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。