paper-with-me

Papers

Automatically Auditing Large Language Models via Discrete Optimization

2023-03-08 · Erik Jones, Anca Dragan, aditi raghunathan, Jacob Steinhardt

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 find a non-toxic input that starts with "Barack Obama" that a model maps to a toxic output. This optimization problem is difficult 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 efficiently 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 finds inputs that generate a specific name. Our work offers a promising new tool to uncover models' failure-modes before deployment.

📄 PDF Abstract BibTeX arXiv:2303.04381

Code (1)

ejones313/auditing-llms 공식 구현 pytorch

Similar Papers 제목 키워드 기반

CALM: Curiosity-Driven Auditing for Large Language Models

2025-01-06 · Xiang Zheng, Longxiang Wang, Yi Liu, Xingjun Ma 외

Auditing Large Language Models (LLMs) is a crucial and challenging task. In this study, we focus on auditing black-box LLMs without access to their parameters, only to the provided service. We treat this type of auditing…

RECAST: Interactive Auditing of Automatic Toxicity Detection Models

2020-01-07 · Austin P. Wright, Omar Shaikh, Haekyu Park, Will Epperson 외

As toxic language becomes nearly pervasive online, there has been increasing interest in leveraging the advancements in natural language processing (NLP), from very large transformer models to automatically detecting and…

Adversarial RobustnessFairness

AuditGPT: Auditing Smart Contracts with ChatGPT

2024-04-05 · Shihao Xia, Shuai Shao, Mengting He, Tingting Yu 외

To govern smart contracts running on Ethereum, multiple Ethereum Request for Comment (ERC) standards have been developed, each containing a set of rules to guide the behaviors of smart contracts. Violating the ERC rules …

LLMAuditor: A Framework for Auditing Large Language Models Using Human-in-the-Loop

2024-02-14 · Maryam Amirizaniani, Jihan Yao, Adrian Lavergne, Elizabeth Snell Okada 외

As Large Language Models (LLMs) become more pervasive across various users and scenarios, identifying potential issues when using these models becomes essential. Examples of such issues include: bias, inconsistencies, an…

HallucinationTruthfulQA

TROPT: An Open Framework for Unifying and Advancing Discrete Text Optimization

2026-06-22 · Matan Ben-Tov, Mahmood Sharif arxiv

Discrete text-trigger optimization -- searching for text sequences that, when ingested by a model, steer it toward a specified objective -- underpins model red-teaming (e.g., LLM jailbreaks), as well as auditing and inte…