跳到正文
arXiv cs.AI· Chao Chen, Pengyang Shao, Wei Qin, Shijie Hao, Fei Shen, Richang Hong·· 14 小时前AI 评分31

重新审视安全对齐大语言模型的过度拒答:表征与优化视角

Revisiting Over-refusal in Safety-aligned Large Language Models: A Representation and Optimization Perspective

AI 导读

研究从表征与优化角度分析安全对齐 LLM 的过度拒答问题,发现有害样本与过度拒答样本的表征在深层逐渐重叠,且有害样本梯度集中于低秩子空间、与拒答目标梯度耦合更强。为此提出 GOAL 框架,通过将过度拒答梯度对有害梯度提取的低秩拒答子空间做正交化,并引入对比学习目标增强两类表征分离。多模型多基准实验显示,GOAL 在缓解过度拒答的同时保持了安全性能与通用能力。

正文 · 原文

View PDF HTML (experimental)

Abstract:Over-refusal is a critical side effect of safety alignment in large language models (LLMs), causing harmless but superficially risky queries to be mistakenly rejected. Despite the effectiveness of existing mitigation methods, why safety-aligned LLMs may still reject harmless queries under correct safety supervision remains insufficiently understood. To address this gap, we analyze over-refusal through the lens of representation and optimization. We make two observations: 1) the representations of harmful and over-refusal samples are visually distinguishable at certain intermediate layers but increasingly overlap in deeper layers; and 2) harmful-sample gradients exhibit high intra-class similarity and concentrate in a low-rank subspace. Moreover, they are more strongly aligned with refusal-target gradients than with correct helpful-target gradients on over-refusal prompts. This imbalanced gradient coupling can bias over-refusal samples toward refusal, while the reduced apparent representational separation in deeper layers may make it more difficult for the model to maintain a clear boundary between harmful and over-refusal samples. To this end, we propose GOAL (Gradient Orthogonalization with contrAstive Learning), a safety-alignment framework for mitigating over-refusal. Specifically, GOAL consists of two components: 1) to prevent imbalanced gradient coupling from biasing the optimization of over-refusal samples toward refusal, we orthogonalize over-refusal gradients against the low-rank refusal subspace extracted from harmful gradients; and 2) to explicitly enhance the separation between harmful and over-refusal representations, we introduce a contrastive learning objective. Extensive experiments across multiple models and benchmarks demonstrate that GOAL effectively mitigates over-refusal while preserving safety performance and general capabilities.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.39802 [cs.AI]
  (or arXiv:2610.39802v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.39802

arXiv-issued DOI via DataCite

Submission history

From: Pengyang Shao [view email]
[v1] Thu, 29 Oct 2026 10:47:57 UTC (4,014 KB)

来源:arXiv cs.AI · arxiv.org