NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Selective Safety Steering via Value-Filtered Decoding

Bat-Sheva Einbinder, Hen Davidov, Yee Whye Teh, Yarin Gal, Yaniv Romano

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: AI Safety, Security & Alignment › Emergent Misalignment in Fine-Tuning · Type: new method · Keywords: value-filtered decoding, safety steering, LLM safety, false intervention bound, test-time intervention

Areas: Safety & Security › Safe Alignment › Safety Alignment Methods; RL for LLMs & Agents › Language Model Alignment › Safety Alignment

Summary

Value-filtered decoding is a test-time steering method that filters tokens using a value-based safety criterion and provides an explicit bound on false interventions, enabling a controllable trade-off between safety and model fidelity.

Explained to a 5-year-old

Big computer programs called language models can write sentences that sometimes say things we don't like. To help them be nicer, researchers try to change the words they pick while writing. Sometimes they change words even when the original words were already nice, which makes the writing sound strange. We wanted a smarter way that only changes words when we are pretty sure they are bad. Our idea uses a simple rule to check each word and only stops it if it looks unsafe.

Explained to a 5-year-old, longer

Big computer programs called language models can write sentences that sometimes say things we don't like. To help them be nicer, researchers try to change the words they pick while writing. Sometimes they change words even when the original words were already nice, which makes the writing sound strange. We wanted a smarter way that only changes words when we are pretty sure they are bad. Our idea uses a simple rule to check each word and only stops it if it looks unsafe. We also give the person in charge a dial to decide how strict we want to be. This way, we can keep the program safe while still letting it write smooth, helpful text. The method works on many different kinds of writing tasks and beats older methods. It helps keep the model helpful, fluent, and similar to how it wrote before. This makes it easier to use language models in real situations where safety matters. It also lets small teams adjust the safety without needing huge computers. Overall, it is a simple, flexible tool that makes language models safer and more natural.

For a technical reader

The paper addresses the problem of over-intervention in decoding-time safety steering for large language models. It introduces a value-filtered decoding scheme that evaluates each token with a safety score and only blocks it when the score exceeds a configurable threshold. This threshold provides a provable bound on the probability of incorrectly blocking safe tokens, allowing engineers to trade off safety against model fidelity. Empirical results on multiple benchmarks show improved safety-helpfulness trade-offs compared to existing baselines. The approach is lightweight, requiring only a single hyperparameter and no model retraining.

Problem

Large language models can generate unsafe content despite alignment, and existing decoding-time steering methods often intervene unnecessarily, harming model properties such as helpfulness and fluency.

Method

The approach evaluates each token during decoding with a value-based safety score and only blocks tokens that exceed a configurable threshold, providing a provable bound on false interventions.

Results

The approach achieves better trade-offs between safety, helpfulness, and similarity to the base model compared to existing baselines.

Contributions

A test-time steering method that reduces unnecessary interventions while improving safety, with an explicit bound on false interventions controlled by a single threshold.

Practical relevance

Enables practitioners to adjust safety-intervention trade-offs in deployed language models, improving safety without overly distorting model behavior.

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