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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Mazeika, Mantas, Phan, Long, Yin, Xuwang, Zou, Andy, Wang, Zifan, Mu, Norman, Sakhaee, Elham, Li, Nathaniel, Basart, Steven, Li, Bo, Forsyth, David, Hendrycks, Dan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913245217947648
author Mazeika, Mantas
Phan, Long
Yin, Xuwang
Zou, Andy
Wang, Zifan
Mu, Norman
Sakhaee, Elham
Li, Nathaniel
Basart, Steven
Li, Bo
Forsyth, David
Hendrycks, Dan
author_facet Mazeika, Mantas
Phan, Long
Yin, Xuwang
Zou, Andy
Wang, Zifan
Mu, Norman
Sakhaee, Elham
Li, Nathaniel
Basart, Steven
Li, Bo
Forsyth, David
Hendrycks, Dan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_04249
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
Mazeika, Mantas
Phan, Long
Yin, Xuwang
Zou, Andy
Wang, Zifan
Mu, Norman
Sakhaee, Elham
Li, Nathaniel
Basart, Steven
Li, Bo
Forsyth, David
Hendrycks, Dan
Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
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.
title HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.04249