HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal

By Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li and 2 more. International Conference on Machine Learning, 2024

1,335 citations recorded by the source corpus.

Automated red teaming holds substantial promise for uncovering and mitigating the risks associated with the malicious use of large language models (LLMs), yet the field lacks a standardized evaluation framework to rigorously assess new methods. To address this issue, we introduce HarmBench, a standardized evaluation framework for automated red teaming. We identify several desirable properties previously unaccounted for in red teaming evaluations and systematically design HarmBench to meet these criteria. Using HarmBench, we conduct a large-scale comparison of 18 red teaming methods and 33 target LLMs and defenses, yielding novel insights. We also introduce a highly efficient adversarial training method that greatly enhances LLM robustness across a wide range of attacks, demonstrating how HarmBench enables codevelopment of attacks and defenses. We open source HarmBench at https://github.com/centerforaisafety/HarmBench.

Subfields: Information Systems, Management Science and Operations Research

View Paper: https://www.semanticscholar.org/paper/b82ccc66c14f531a444c74d2a9a9d86a86a8be99

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Mantas Mazeika
  2. David Kristjanson Duvenaud
  3. Ponnurangam Kumaraguru
  4. Wes Gurnee
  5. Meg Tong
  6. Jimmy Ba
  7. Edgar Dobriban
  8. Dan Hendrycks

In Management Science and Operations Research

  1. David Kristjanson Duvenaud
  2. Dan Hendrycks
  3. Nouha Dziri
  4. Jared Kaplan
  5. Maksym Andriushchenko
  6. Mantas Mazeika
  7. Alex Tamkin
  8. Cem Anil

Citations in the corpus