BELLS: A Framework Towards Future Proof Benchmarks for the Evaluation of LLM Safeguards
Diego Dorn, Alexandre Variengien, Charbel-Raphaël Segerie, Vincent Corruble
TL;DR
The paper addresses the lack of standardized evaluation for LLM input-output safeguards by introducing BELLS, a structured benchmark organized into established, emerging, and next-gen architecture tests. It details a first next-gen evaluation using the Machiavelli agent-benchmark, including dataset creation, a baseline detector, and an interactive visualization tool (TRICOTS). BELLS enables cross-safeguard comparison, fosters development of generalizable detectors for unseen failure modes, and supports safeguards for complex future applications such as autonomous agents. It emphasizes that safeguards are part of a broader safety strategy and calls for community collaboration to expand and maintain the benchmarks.
Abstract
Input-output safeguards are used to detect anomalies in the traces produced by Large Language Models (LLMs) systems. These detectors are at the core of diverse safety-critical applications such as real-time monitoring, offline evaluation of traces, and content moderation. However, there is no widely recognized methodology to evaluate them. To fill this gap, we introduce the Benchmarks for the Evaluation of LLM Safeguards (BELLS), a structured collection of tests, organized into three categories: (1) established failure tests, based on already-existing benchmarks for well-defined failure modes, aiming to compare the performance of current input-output safeguards; (2) emerging failure tests, to measure generalization to never-seen-before failure modes and encourage the development of more general safeguards; (3) next-gen architecture tests, for more complex scaffolding (such as LLM-agents and multi-agent systems), aiming to foster the development of safeguards that could adapt to future applications for which no safeguard currently exists. Furthermore, we implement and share the first next-gen architecture test, using the MACHIAVELLI environment, along with an interactive visualization of the dataset.
