AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
Tim Beyer, Jonas Dornbusch, Jakob Steimle, Moritz Ladenburger, Leo Schwinn, Stephan Günnemann
TL;DR
AdversariaLLM tackles the fragmentation in LLM safety evaluation by delivering a unified, modular toolbox centered on reproducibility, correctness, and extensibility. It combines twelve adversarial attack algorithms, seven benchmark datasets, and JudgeZoo for standardized judgment, with open-weight LLM access via Hugging Face. Key contributions include corrected implementations, comprehensive coverage across attack types and datasets, resource-aware budgeting, per-step and distributional robustness evaluation, and robust reproducibility via complete run metadata. The framework aims to enable transparent, comparable, and scalable LLM safety research, with practical impact on cross-study reproducibility and benchmarking.
Abstract
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.
