Benchmarking and Improving Monitors for Out-Of-Distribution Alignment Failure in LLMs
Dylan Feng, Pragya Srivastava, Anca Dragan, Cassidy Laidlaw
NeurIPS page · Open on the map
Category: AI Safety, Security & Alignment › LLM Safety Alignment · Type: benchmark or dataset · Keywords: LLM safety monitoring, out-of-distribution detection, alignment failures, benchmark MOOD, guard models, Mahalanobis distance
Areas: Safety & Security › Safe Alignment › Steering Safety Across Modalities; Evaluation & Benchmarks › Model Capability Diagnostics › Diagnostic Evaluation
Summary
The paper introduces the MOOD benchmark to evaluate OOD alignment failure detection in LLM monitors and shows that combining guard models with Mahalanobis distance OOD detectors improves recall.
Explained to a 5-year-old
People build big talking computers that answer questions. Sometimes these computers say weird or unsafe things that the makers didn't plan for. The researchers created a new test called MOOD to check if the safety checkers can find these weird answers. They discovered that the safety checkers often miss the weird answers, but adding another checker helps them catch more. This makes the computers safer so they are less likely to say harmful things.
Explained to a 5-year-old, longer
Big computers that talk to us, like chatbots, sometimes say things that are strange or unsafe. The researchers wanted to see if the safety checkers could spot these strange answers. They made a new test called MOOD that includes a special training set and several test sets with different kinds of mistakes. By running the safety checkers on this test, they found that the checkers missed many of the strange answers. To help, they added another checker that looks for unusual patterns, which helped catch more mistakes. The combination of both checkers worked better than using just one. This improvement means the chatbots are safer and less likely to say harmful things. The researchers also saw that bigger models got better at detecting mistakes when the new checker was used. Overall, the work shows that adding out-of-distribution detection can make safety monitoring more reliable.
For a technical reader
The paper introduces a benchmark (MOOD) that includes a restricted training set and seven test sets of alignment failures. It evaluates existing guard models on this benchmark and finds they often miss OOD failures. The authors propose combining guard models with Mahalanobis distance OOD detectors, showing a recall increase from 39% to 47%. Scaling experiments reveal that this combination yields larger gains than using a guard model with 20× more parameters. The work underscores the importance of integrating OOD detection into LLM monitoring pipelines.
Problem
Large language models can fail to align when encountering out-of-distribution prompts, and existing monitoring pipelines often miss these failures. There is a need for reliable detection of OOD alignment failures in LLM safety monitoring.
Method
The authors create a benchmark with a restricted training set and multiple test sets containing diverse alignment failures. They evaluate existing guard models on this benchmark and propose combining them with Mahalanobis distance-based OOD detectors, testing several detector types.
Results
Combining guard models with Mahalanobis distance OOD detectors raises recall from 39% to 47%, and scaling trends show that this combination yields larger gains than using a guard model with 20× more parameters.
Contributions
A new benchmark (MOOD) for evaluating OOD alignment failure detection and an empirical analysis showing that integrating OOD detection into monitoring significantly improves recall. The work also highlights scaling behavior of monitors.
Limitations and assumptions
The benchmark uses a restricted training set, which may limit coverage of all OOD failures, and the evaluation is limited to the specific guard models and OOD detectors tested.
Practical relevance
Improving OOD detection in LLM monitors can make safety systems more reliable when encountering unexpected prompts, reducing the risk of alignment failures.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction