Reproduce “Automatically Auditing Large Language Models via Discrete Optimization” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Erik Jones, Anca Dragan, Aditi Raghunathan, Jacob Steinhardt

The paper from UC Berkeley and Carnegie Mellon University introduces ARCA, an automated discrete optimization algorithm designed for systematically auditing large language models to discover problematic behaviors. This method consistently outperformed baseline approaches in tasks like generating specific toxic completions, achieving a 58% success rate versus 29% for AutoPrompt on 3-token toxic outputs for GPT-2.

Key insights

  • Auditing can be framed as a solvable discrete optimization problem, enabling systematic and automated discovery of LLM failure modes.
  • Prompts generated by ARCA for larger LLMs exhibit increased naturalness, suggesting that as models improve, automated auditing can yield more realistic failure-inducing prompts.
  • Problematic prompts discovered on smaller, accessible models often transfer and elicit similar failures on larger, potentially proprietary models, offering a cost-effective approach to understanding large system behaviors.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.