Skip to content

Selective safety guidance of large language models based on value-filtered decodingSelective Safety Steering via Value-Filtered Decoding

arXiv· arXiv:2605.14746· NeurIPS 2026· Bat-Sheva Einbinder, Hen Davidov, Yee Whye Teh, Yarin Gal, Yaniv RomanoDepartment of Electrical and Computer Engineering, Technion—Israel Institute of Technology; Department of Statistics, University of Oxford; OATML, Department of Computer Science, University of Oxford; Department of Computer Science, Technion—Israel Institute of TechnologyIndexed by this site · 22 days ago· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose a value-filtered decoding method that makes unsafe responses safer while reducing unnecessary intervention on generations the base model would have produced safely. The method filters tokens at the decoding stage using value-based safety criteria, provides an explicit upper bound on the probability of erroneous intervention, and a single threshold hyperparameter can adjust the trade-off between safety and the rate of unnecessary intervention. Across multiple datasets and experiments, the method outperforms existing baselines, achieving a better trade-off among safety, helpfulness, and similarity to the base model.

Questions
Existing decoding-time safety steering methods make unnecessary interventions on already-safe generations, harming helpfulness, fluency, and style, and the intervention rate has no controllable bound.
Methods
Proposes value-filtered decoding: uses a probe classifier to estimate a value function (the probability that the final generation is safe given a prefix), samples only tokens whose value exceeds a threshold c, and calibrates the threshold with conformal risk control so that the false intervention rate does not exceed a user-specified α.
Experiments and results
On Mistral-7B, Llama-3.1-8B, gemma-4-E4B and three datasets, the authors state that this paper's method outperforms ARGS, Controlled decoding, and CARDS on the safety-similarity and reward-similarity trade-offs; under noise injection it outperforms Controlled decoding in 14 of 15 settings (Table 1).
Limitations and future work
The authors point out that the method requires training a value classifier and assumes a safety calibration set, and handles only binary rewards; the experiments cover 3 models and 3 datasets, with both safety and helpfulness labels produced by Llama-3.1-8B-Instruct acting as judge.

Related papers

Show 3 more papers
Both use: PKU-SafeRLHF
Read originalNeurIPS 2026