超越过度拒绝:基于场景的诊断与事后缓解措施以应对大语言模型中的夸大拒绝
Beyond Over-Refusal: Scenario-Based Diagnostics and Post-Hoc Mitigation for Exaggerated Refusals in LLMs
AI总结:
本文提出基于场景的诊断与事后缓解方法,以减少大语言模型中的夸大拒绝问题,通过两个基准测试和三种轻量级策略提升合规性与安全性。
摘要:
大型语言模型(LLMs)经常会产生虚假拒绝,即拒绝那些包含类似不安全查询术语的良性请求。我们通过引入两个全面的基准测试来解决这一挑战:用于单轮提示的夸大安全基准(XSB),其标注了
英文摘要:
Large language models (LLMs) frequently produce false refusals, declining benign requests that contain terms resembling unsafe queries. We address this challenge by introducing two comprehensive benchmarks: the Exaggerated Safety Benchmark (XSB) for single-turn prompts, annotated with "Focus" keywords that identify refusal-inducing triggers, and the Multi-turn Scenario-based Exaggerated Safety Benchmark (MS-XSB), which systematically evaluates refusal calibration in realistic, context-rich dialog settings. Our benchmarks reveal that exaggerated refusals persist across diverse recent LLMs and are especially pronounced in complex, multi-turn scenarios. To mitigate these failures, we leverage post-hoc explanation methods to identify refusal triggers and deploy three lightweight, model-agnostic approaches, ignore-word instructions, prompt rephrasing, and attention steering, at inference time, all without retraining or parameter access. Experiments on four instruction-tuned Llama models demonstrate that these strategies substantially improve compliance on safe prompts while maintaining robust safety protections. Our findings establish a reproducible framework for diagnosing and mitigating exaggerated refusals, highlighting practical pathways to safer and more helpful LLM deployments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。