arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.04316cs.AIcs.SE
收藏

AdversariaLLM:面向大语言模型鲁棒性研究的统一模块化工具箱

AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research

Department of Computer Science, Technical University of Munich, Germany(慕尼黑技术大学计算机科学系);Munich Data Science Institute, Germany(慕尼黑数据科学研究所)

Tim Beyer, Jonas Dornbusch, Jakob Steimle, Moritz Ladenburger, Leo Schwinn, Stephan Günnemann

AI总结:

本文提出 AdversariaLLM 工具箱,通过统一实现十二种攻击算法、七个基准数据集及 JudgeZoo 评判组件,解决 LLM 越狱鲁棒性研究中的碎片化与可复现性问题。

摘要:

大语言模型(LLM)安全性与鲁棒性研究的快速扩展,催生了一个碎片化且常常存在缺陷的实现、数据集和评估方法生态系统。这种碎片化使得跨研究的可复现性和可比性面临挑战,阻碍了有意义的进展。为解决这些问题,我们引入了 AdversariaLLM,一个用于开展 LLM 越狱鲁棒性研究的工具箱。其设计以可复现性、正确性和可扩展性为核心。该框架实现了十二种对抗攻击算法,集成了七个基准数据集,涵盖有害性、过度拒答和效用评估,并通过 Hugging Face 提供对多种开放权重 LLM 的访问。该实现包含用于可比性和可复现性的高级功能,如计算资源追踪、确定性结果和分布评估技术。AdversariaLLM 还通过配套包 JudgeZoo 集成评判功能,JudgeZoo 也可独立使用。这些组件共同旨在为 LLM 安全领域透明、可比和可复现的研究奠定坚实基础。

英文摘要:

The rapid expansion of research on Large Language Model (LLM) safety and robustness has produced a fragmented and oftentimes buggy ecosystem of implementations, datasets, and evaluation methods. This fragmentation makes reproducibility and comparability across studies challenging, hindering meaningful progress. To address these issues, we introduce AdversariaLLM, a toolbox for conducting LLM jailbreak robustness research. Its design centers on reproducibility, correctness, and extensibility. The framework implements twelve adversarial attack algorithms, integrates seven benchmark datasets spanning harmfulness, over-refusal, and utility evaluation, and provides access to a wide range of open-weight LLMs via Hugging Face. The implementation includes advanced features for comparability and reproducibility such as compute-resource tracking, deterministic results, and distributional evaluation techniques. \name also integrates judging through the companion package JudgeZoo, which can also be used independently. Together, these components aim to establish a robust foundation for transparent, comparable, and reproducible research in LLM safety.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑