Skip to content

google-research-datasets/aart-ai-safety-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aart-ai-safety-datset

AART: AI-Assisted Red-Teaming with Diverse Data Generation for New LLM-powered Applications (Radharapu et al. 2023)

Abstract

Adversarial testing of large language models (LLMs) is crucial for their safe and responsible deployment. We introduce a novel approach for automated generation of adversarial evaluation datasets to test the safety of LLM generations on new downstream applications. We call it AI-assisted Red-Teaming (AART) - an automated alternative to current manual red-teaming efforts. AART offers a data generation and augmentation pipeline of reusable and customizable recipes that reduce human effort significantly and enable integration of adversarial testing earlier in new product development. AART generates evaluation datasets with high diversity of content characteristics critical for effective adversarial testing (e.g. sensitive and harmful concepts, specific to a wide range of cultural and geographic regions and application scenarios). The data generation is steered by AI-assisted recipes to define, scope and prioritize diversity within the application context. This feeds into a structured LLM-generation process that scales up evaluation priorities. Compared to some state-of-the-art tools, AART shows promising results in terms of concept coverage and data quality.

Paper

https://arxiv.org/abs/2311.08592

This repository

This repository contains the demonstration dataset described in the paper.

Collaborating

We welcome other demonstrations of this and similar methods, please feel free to open an issue or contribute! If you'd like to share implementations of this method or variations, we also welcome them as well. Thanks!

About

AART: AI-Assisted Red-Teaming with Diverse Data Generation for New LLM-powered Applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published