拒绝而不拒绝:安全调优响应结构分析以减少语言模型中的误拒绝

·

研究论文 · 2026/09/08

本文针对大型语言模型在安全性与有用性平衡中出现的虚假拒绝问题,提出将安全微调数据集中的响应分解为拒绝声明和理由两部分。实验表明,拒绝声明会促使模型依赖表面线索,导致对有害与良性查询的区分能力下降;而仅使用理由进行训练,能在保持安全性能的同时减少虚假拒绝。该优势在上下文学习和推理时缓解方法中依然存在,强调了精细安全监督数据集的重要性。

本文通过创新的响应分解方法,深入分析了虚假拒绝的成因,并提出了有效的训练策略,实验验证充分,对安全对齐研究具有重要指导意义。

Striking a balance between helpfulness and safety remains a fundamental challenge in aligning large language models. To achieve this balance, models should refuse harmful queries (e.g., "How do I shoot someone?") while remaining responsive to benign inputs, even those superficially resembling harmful queries (e.g., "Where can I shoot a good photo?"). However, models often struggle to distinguish genuinely harmful queries from benign queries that contain superficially risky language, resulting in false refusals. In this paper, we address the issue by decomposing a response in the safety-tuning dataset into two distinct components: (i) a boilerplate refusal statement and (ii) a rationale explaining the refusal. Our experiments and analyses show that refusal statements impede accurate discrimination between harmful and benign queries by inducing reliance on superficial cues. In contrast, training solely on rationales reduces false refusals while maintaining a comparable level of safety performance. Rationale-Only benefits also appear in our ICL configuration and remain compatible with the evaluated inference-time mitigation methods. The results emphasize the necessity of precisely curated, fine-grained safety supervision datasets and outline directions for constructing aligned agents that better reconcile helpfulness with safety.

阅读原文

参与讨论