NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Introducing v0.5 of the AI Safety Benchmark from MLCommons

Bertie Vidgen, Adarsh Agrawal, Ahmed M. Ahmed, Victor Akinwande, Namir Al-Nuaimi, Najla Alfaraj, Elie Alhajjar, Lora Aroyo, Trupti Bavalatti, Borhane Blili-Hamelin, Kurt D. Bollacker, Rishi Bomassani, Marisa Ferrara Boston, Siméon Campos, Kal Chakra, Canyu Chen, Cody Coleman, Zacharie Delpierre Coudert, Leon Derczynski, Debojyoti Dutta, Ian Eisenberg, James Ezick, Heather Frase, Brian Fuller, Ram Gandikota, Agasthya Gangavarapu, Ananya Gangavarapu, James Gealy, Rajat Ghosh, James Goel, Usman Gohar, Subhra S. Goswami, Scott A. Hale, Wiebke Hutiri, Joseph Marvin Imperial, Surgan Jandial, Nick Judd, Felix Juefei-Xu, Foutse Khomh, Bhavya Kailkhura, Hannah Rose Kirk, Kevin Klyman, Chris Knotz, Michael Kuchnik, Shachi H. Kumar, Chris Lengerich, Bo Li, Zeyi Liao, Eileen Peters Long, Victor Lu, Yifan Mai, Priyanka Mary Mammen, Kelvin Manyeki, Sean McGregor, Virendra Mehta, Shafee Mohammed, Emanuel Moss, Lama Nachman, Dinesh Jinenhally Naganna, Amin Nikanjam, Besmira Nushi, Luis Oala, Iftach Orr, Alicia Parrish, Cigdem Patlak, William Pietri, Forough Poursabzi-Sangdeh, Eleonora Presani, Fabrizio Puletti, Paul Röttger, Saurav Sahay, Tim Santos, Nino Scherrer, Alice Schoenauer Sebag, Patrick Schramowski, Abolfazl Shahbazi, Vin Sharma, Xudong Shen, Vamsi Sistla, Leonard Tang, Davide Testuggine, Vithursan Thangarasa, Elizabeth Anne Watkins, Rebecca Weiss, Chris Welty, Tyler Wilbers, Adina Williams, Carole-Jean Wu, Poonam Yadav, Xianjun Yang, Yi Zeng, Wenhui Zhang, Fedor Zhdanov, Jiacheng Zhu, Percy Liang, Peter Mattson, Joaquin VanschorenarXiv 2024 · DOI

TL;DR

MLCommons introduces the v0.5 AI Safety Benchmark, a novel framework for evaluating the safety of language models. This preliminary release outlines a principled approach to safety benchmarking, including a new taxonomy of hazards and a methodology for generating and evaluating test items, aiming to drive innovation and improve AI safety practices.

What Problem Does This Paper Address?

The rapid advancement and widespread deployment of generative AI, particularly Large Language Models (LLMs), have raised significant concerns about their potential to cause harm. Existing methods for evaluating AI safety are often fragmented, lack standardization, and may not adequately capture the nuanced risks associated with these powerful systems. This paper addresses the need for a comprehensive, principled, and reproducible benchmark to systematically assess and improve the safety of AI systems, specifically focusing on LLMs. The authors aim to provide a standardized tool that can facilitate better AI safety processes and stimulate innovation in the field.

Methods

The v0.5 AI Safety Benchmark employs a principled approach to specifying and constructing the benchmark. Key elements include:

  • Use Cases and Personas: A single use case (adult chatting with a general-purpose assistant in English) and three personas (typical user, malicious user, and vulnerable user) are defined to scope the evaluation.
  • Taxonomy of Hazard Categories: A new, hierarchical taxonomy of 13 hazard categories was developed, with 7 included in v0.5. These categories are based on societal and personal risks, and legal recognition of harms.
  • Test Item Generation: Test items (prompts) are created by combining sentence fragments (describing hazards) with templates representing different interaction types. This approach aims for clarity, interpretability, and to avoid ambiguity.
  • Automated Evaluation: An automated evaluator, LlamaGuard, is used to assess model responses for safety.
  • Grading System: A five-point grading scale ("Low risk" to "High risk") is used to categorize SUT performance on each test, combining absolute cutoffs and a reference model approach.
  • ModelBench Platform: An open-source evaluation tool called ModelBench is provided for implementing and running the benchmark.

Datasets

The v0.5 benchmark utilizes a newly introduced dataset comprising 43,090 test items (prompts). These prompts were generated by combining 725 sentence fragments with 32 templates across 13 interaction types. The dataset is designed to cover 7 hazard categories and is limited to the English language and a Western Europe/North America context. The authors note that existing datasets were found to have incomplete coverage of their hazard categories and varied in quality.

Key Insights and Ideas

  • Principled Approach to Safety: The paper emphasizes the importance of a structured and principled methodology for AI safety evaluation, moving beyond ad-hoc testing.
  • Persona-Based Evaluation: The use of distinct personas (typical, malicious, vulnerable) is crucial for understanding how AI systems respond to different user intents and potential risks.
  • Taxonomy as a Foundation: Developing a comprehensive and well-defined taxonomy of hazards is essential for systematic safety assessment and clear communication.
  • Limitations of v0.5: The authors are transparent about the preliminary nature of v0.5, highlighting its limited scope and the need for future expansion. This openness is intended to solicit feedback and guide future development.
  • Challenges in Defining "Unsafe": The paper acknowledges the difficulty in setting thresholds for safety and the need for interpretable grading systems that can be adapted to different contexts and hazard types.

Key Results

  • The v0.5 benchmark was used to evaluate 13 anonymized LLMs.
  • 5 out of 13 SUTs were graded as high risk (H) on a benchmark grading level.
  • 3 out of 13 SUTs were graded as high risk (H) across all hazard categories.
  • The percentage of unsafe responses was substantially higher for prompts associated with malicious or vulnerable user personas compared to typical users.
  • The "Sex-related crimes" hazard category showed a significantly higher percentage of unsafe responses compared to other categories.
  • The automated evaluator, LlamaGuard, achieved an accuracy of 70.4% on a human-verified subset of responses.

Limitations and Future Work

The authors explicitly acknowledge several limitations of the v0.5 benchmark:

  • Limited Scope: The benchmark is restricted to English language, a single use case, and three personas within a specific geographical/cultural context.
  • Incomplete Taxonomy: Only 7 out of 13 identified hazard categories are covered.
  • Simple Test Design: Test items are designed to be clear-cut and easy to interpret, which may not fully challenge more sophisticated adversarial attacks.
  • Automated Evaluation Errors: While LlamaGuard is validated, it still makes errors that could lead to incorrect grades.
  • Low Temperature Evaluation: Models were evaluated at a low temperature (0.01), which reduces response variability but might not reflect safety at higher temperatures.
  • Lack of False Refusal Testing: The benchmark currently only tests for unsafe responses, not for false refusals of benign prompts.

Future work will focus on expanding the taxonomy, incorporating more use cases and personas, developing more sophisticated test items, addressing false refusal, and potentially making future versions of the benchmark less open to prevent gaming. The authors also plan to explore different modalities beyond text and support for multiple languages.

Summary updated

BibTeX
@misc{vidgen2024introducing,
  author = {Bertie Vidgen and Adarsh Agrawal and Ahmed M. Ahmed and Victor Akinwande and Namir Al-Nuaimi and Najla Alfaraj and Elie Alhajjar and Lora Aroyo and Trupti Bavalatti and Borhane Blili-Hamelin and Kurt D. Bollacker and Rishi Bomassani and Marisa Ferrara Boston and Siméon Campos and Kal Chakra and Canyu Chen and Cody Coleman and Zacharie Delpierre Coudert and Leon Derczynski and Debojyoti Dutta and Ian Eisenberg and James Ezick and Heather Frase and Brian Fuller and Ram Gandikota and Agasthya Gangavarapu and Ananya Gangavarapu and James Gealy and Rajat Ghosh and James Goel and Usman Gohar and Subhra S. Goswami and Scott A. Hale and Wiebke Hutiri and Joseph Marvin Imperial and Surgan Jandial and Nick Judd and Felix Juefei-Xu and Foutse Khomh and Bhavya Kailkhura and Hannah Rose Kirk and Kevin Klyman and Chris Knotz and Michael Kuchnik and Shachi H. Kumar and Chris Lengerich and Bo Li and Zeyi Liao and Eileen Peters Long and Victor Lu and Yifan Mai and Priyanka Mary Mammen and Kelvin Manyeki and Sean McGregor and Virendra Mehta and Shafee Mohammed and Emanuel Moss and Lama Nachman and Dinesh Jinenhally Naganna and Amin Nikanjam and Besmira Nushi and Luis Oala and Iftach Orr and Alicia Parrish and Cigdem Patlak and William Pietri and Forough Poursabzi-Sangdeh and Eleonora Presani and Fabrizio Puletti and Paul Röttger and Saurav Sahay and Tim Santos and Nino Scherrer and Alice Schoenauer Sebag and Patrick Schramowski and Abolfazl Shahbazi and Vin Sharma and Xudong Shen and Vamsi Sistla and Leonard Tang and Davide Testuggine and Vithursan Thangarasa and Elizabeth Anne Watkins and Rebecca Weiss and Chris Welty and Tyler Wilbers and Adina Williams and Carole-Jean Wu and Poonam Yadav and Xianjun Yang and Yi Zeng and Wenhui Zhang and Fedor Zhdanov and Jiacheng Zhu and Percy Liang and Peter Mattson and Joaquin Vanschoren},
  title = {{Introducing v0.5 of the AI Safety Benchmark from MLCommons}},
  year = {2024},
  eprint = {2404.12241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.12241},
}
Figure