Lune

ICML2023Top-tier venue

Automatically Auditing Large Language Models via Discrete Optimization

Erik Jones, Anca D. Dragan, Aditi Raghunathan, Jacob Steinhardt

2023Year
232Citations
72Top-tier citations

Abstract

Auditing large language models for unexpected behaviors is critical to preempt catastrophic deployments, yet remains challenging. In this work, we cast auditing as an optimization problem, where we automatically search for input-output pairs that match a desired target behavior. For example, we might aim to nd a non-toxic input that starts with "Barack Obama" that a model maps to a toxic output. This optimization problem is di cult to solve as the set of feasible points is sparse, the space is discrete, and the language models we audit are non-linear and high-dimensional. To combat these challenges, we introduce a discrete optimization algorithm, ARCA, that jointly and e ciently optimizes over inputs and outputs. Our approach automatically uncovers derogatory completions about celebrities (e.g. "Barack Obama is a legalized unborn" → "child murderer"), produces French inputs that complete to English outputs, and nds inputs that generate a speci c name. Our work o ers a promising new tool to uncover models' failure-modes before deployment. Trigger Warning: This paper contains model behavior that can be o ensive in nature.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 9ec60ee3-dfb5-472e-9365-205e5d5cfb2e

Cited by top-tier papers72

Ask how each one uses it

Builds on14

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines