Research Papers 论文研究 5h ago Updated 59m ago 更新于 59分钟前 51

Safety for Whom? Boundary-Aware Self-Distillation for Controlled LLM Safety Refusal 为谁的安全?面向可控LLM安全拒绝的边界感知自蒸馏

The paper introduces "narrow-boundary safety," arguing that safety alignment should be deployment-specific rather than topic-level, as different applications need different refusal boundaries within the same topic An offline self-generated framework combining controlled topic generation, coverage repair, in-distribution compensation data, and harmful-benign pairs is proposed for training and evaluation On Qwen3-8B with political persuasion tasks, escalation-based training increased target-domain 提出"窄边界安全"概念,解决同一主题下不同应用场景需要不同安全边界的精细化对齐问题 设计离线自生成框架,结合受控主题生成、覆盖修复、分布内补偿数据和有害-良性配对进行训练与评估 在Qwen3-8B政治说服任务上,通过escalate重试机制将目标域拒绝率从9.47%提升至84.75% 发现数据组成控制安全与可用性的权衡,安全对齐需在拒绝边界的两侧(有害拒绝与良性合规)同时评估

72
Hot 热度
78
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • The paper introduces "narrow-boundary safety," arguing that safety alignment should be deployment-specific rather than topic-level, as different applications need different refusal boundaries within the same topic
  • An offline self-generated framework combining controlled topic generation, coverage repair, in-distribution compensation data, and harmful-benign pairs is proposed for training and evaluation
  • On Qwen3-8B with political persuasion tasks, escalation-based training increased target-domain refusal from 9.47% to 84.75% while reducing unsafe responses across benchmarks from 26.26% to 0.14%
  • The approach significantly increases XSTest over-refusal (2.00% to 74.00%), highlighting a critical safety-usability trade-off that data composition can control
  • Using verified target-model responses instead of external responses reduces over-refusal from 15.20% to 5.20%, and boundary-pair data reduces comply-side over-refusal from 32.94% to 4.16%

Why It Matters

This work challenges the one-size-fits-all approach to LLM safety alignment by demonstrating that different deployments (e.g., civics tutor vs. public-sector assistant) require distinct refusal boundaries even within the same topic domain. For AI practitioners, it provides a practical self-distillation framework that can be adapted to specific deployment contexts, while also exposing the significant over-refusal risks that come with targeted safety tuning.

Technical Details

  • Narrow-boundary safety formulation: Safety is reframed from topic-level (is this subject harmful?) to boundary-level (what specific behaviors within a topic should be refused), enabling deployment-specific alignment
  • Self-generated training framework: Combines controlled topic generation, coverage repair (escalating retries reduce unaccepted refusal traces from 19.88% to 0.20%), in-distribution compensation data, and harmful-benign pairs
  • Qwen3-8B experiments on political persuasion: Target-domain refusal improved from 9.47% to 84.75%; mean unsafe-response rate across three broader harmfulness benchmarks dropped from 26.26% to 0.14%
  • Over-refusal trade-offs: XSTest over-refusal increased from 2.00% to 74.00% with escalation training; replacing external responses with verified target-model responses reduced over-refusal from 15.20% to 5.20%
  • Boundary-pair data effects: Reduced comply-side over-refusal on held-out pairs from 32.94% to 4.16%, while harmful-side refusal decreased only marginally from 91.88% to 87.72%

Industry Insight

  • Safety evaluation must measure both sides of the refusal boundary—compliance on benign prompts and refusal on harmful ones—since optimizing for one often degrades the other
  • Data composition is the primary lever for controlling the safety-usability trade-off; practitioners should invest in high-quality, deployment-matched refusal data rather than relying on generic safety benchmarks
  • The dramatic over-refusal increase (up to 74%) suggests that current safety alignment methods may be too blunt for production deployments requiring nuanced, context-aware behavior, calling for more refined evaluation metrics beyond standard benchmarks like XSTest

TL;DR

  • 提出"窄边界安全"概念,解决同一主题下不同应用场景需要不同安全边界的精细化对齐问题
  • 设计离线自生成框架,结合受控主题生成、覆盖修复、分布内补偿数据和有害-良性配对进行训练与评估
  • 在Qwen3-8B政治说服任务上,通过escalate重试机制将目标域拒绝率从9.47%提升至84.75%
  • 发现数据组成控制安全与可用性的权衡,安全对齐需在拒绝边界的两侧(有害拒绝与良性合规)同时评估

为什么值得看

本文针对LLM安全对齐的实际部署痛点,提出了从"主题级安全"到"边界级安全"的范式转变,为不同应用场景(如公民导师vs公共部门助手)提供可定制的安全边界方案。研究揭示了过度拒绝(over-refusal)问题的量化影响,为平衡安全性与可用性提供了实证依据和方法论指导。

技术解析

  • 窄边界安全框架:将安全对齐从"主题是否有害"的宽泛判断,细化为特定应用场景下的边界控制,允许同一基础模型在不同部署中采用不同的拒绝策略
  • 自生成数据流水线:采用单轮生成(single-shot)留19.88%提示无拒绝轨迹,而escalate重试机制仅留0.20%,显著提升数据质量
  • 匹配目标模型响应:用验证过的目标模型响应替换外部响应,将过度拒绝率从15.20%降至5.20%
  • 边界配对数据:有害侧拒绝率从91.88%降至87.72%,但合规侧过度拒绝从32.94%大幅降至4.16%,展示数据组成的关键作用

行业启示

  • 安全对齐评估需建立双侧指标体系,同时监控有害内容拒绝率和良性内容过度拒绝率,避免"安全但不可用"的模型
  • 场景化安全边界将成为LLM部署的标配能力,企业应根据具体应用(教育、政务、商业)定制安全策略而非一刀切
  • 数据组成是控制安全-可用性权衡的核心杠杆,建议建立精细化的训练数据配比方法论而非仅依赖模型规模

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Alignment 对齐 Security 安全 Research 科学研究 Fine-tuning 微调