Reproduce “Reducing the Safety Tax in LLM Safety Alignment with On-Policy Self-Distillation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yu Fu, Longxuan Yu, Haz Sameen Shahgir, Zhipeng Wei, Hui Liu, N.Benjamin Erichson, Yue Dong

This research introduces On-Policy Self-Distillation for Safety Alignment (OPSA), an on-policy framework that reduces the 'safety tax' in Large Language Models by applying dense, token-level supervision on the model's own generated trajectories. OPSA improves composite safety scores by an average of +4.00 points and aggregate reasoning by +3.04 points compared to off-policy self-distillation methods, particularly enhancing robustness against specific adaptive jailbreak attacks.

Key insights

  • Off-policy training mismatch is identified as a distinct and significant source of the 'safety tax,' complementing previously understood data distribution mismatch.
  • Safety decisions in LLMs are structurally concentrated, occurring primarily within a 'narrow early-token window' and associated with specific lexical units.
  • Concentrating on-policy, token-level updates specifically on these early, safety-critical tokens can effectively improve safety alignment while better preserving the model's broader reasoning skills.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.