Jailbreak Distillation: Renewable Safety Benchmarking
Jingyu Zhang, Ahmed Elgohary, Xiawei Wang, A S M Iftekhar, Ahmed Magooda, Benjamin Van Durme, Daniel Khashabi, Kyle Jackson
TL;DR
The paper tackles the challenge of robust safety evaluation amid rapidly evolving LLMs by introducing Jailbreak Distillation (JBDistill), a framework that distills jailbreak attacks into renewable safety benchmarks. It builds a candidate prompt pool by transforming seed goals with off-the-shelf jailbreak attacks using a small set of development models, then uses prompt selection algorithms to curate an effective, diverse benchmark that generalizes to held-out evaluation models. Key contributions include formal desiderata for benchmark quality, a unified optimization-based framework, and multiple instantiations of transformation functions and selection algorithms, plus extensive experiments showing high effectiveness and transferability with manageable human effort. The results demonstrate that JBDistill produces updatable benchmarks that outperform static and dynamic baselines, while maintaining separability and coverage, enabling scalable safety evaluation across a broad range of models and attack types. Overall, JBDistill provides a practical, sustainable, and adaptable approach to safety benchmarking in a rapidly advancing LLM landscape.
Abstract
Large language models (LLMs) are rapidly deployed in critical applications, raising urgent needs for robust safety benchmarking. We propose Jailbreak Distillation (JBDistill), a novel benchmark construction framework that "distills" jailbreak attacks into high-quality and easily-updatable safety benchmarks. JBDistill utilizes a small set of development models and existing jailbreak attack algorithms to create a candidate prompt pool, then employs prompt selection algorithms to identify an effective subset of prompts as safety benchmarks. JBDistill addresses challenges in existing safety evaluation: the use of consistent evaluation prompts across models ensures fair comparisons and reproducibility. It requires minimal human effort to rerun the JBDistill pipeline and produce updated benchmarks, alleviating concerns on saturation and contamination. Extensive experiments demonstrate our benchmarks generalize robustly to 13 diverse evaluation models held out from benchmark construction, including proprietary, specialized, and newer-generation LLMs, significantly outperforming existing safety benchmarks in effectiveness while maintaining high separability and diversity. Our framework thus provides an effective, sustainable, and adaptable solution for streamlining safety evaluation.
