Skip to content
WeChat · Weijiqi Lixin·Indexed by this site · Originally published· Defenses →

Zhejiang University and Ant Group propose the safety alignment method EOPSA, updating only 2% of tokens to balance safety and reasoning

浙大 & 蚂蚁提出高效大模型安全对齐方案 EOPSA,更新 2% 的 token,兼顾安全与推理!

AI summary

Zhejiang University and Ant Group propose the safety alignment method EOPSA, which backpropagates gradients only to about 2% of safety-critical tokens, improving jailbreak defense and mitigating reasoning capability loss on Qwen3-1.7B/4B/14B/32B and DeepSeek-R1-7B. The study points out two problems with online policy self-distillation OPSD: supervision fails once the generation length exceeds the range recoverable by the teacher rescue rate (TRR); about 8% of tokens contribute 80% of the KL loss, of which more than 70% are merely stylistic differences. EOPSA uses adaptive rolling scheduling ARS to dynamically truncate generation length according to a TRR threshold of 0.75, reducing rollout computation by about 50%; selective distillation updates gradients only for three types of tokens: transitions, intent, and risk. The paper reports that compared with the OPSA baseline, rollout generation time decreases by 94% and training time by 97%; after alignment, DeepSeek-R1-7B's average reasoning score slightly exceeds the unaligned base model; in the ablation, removing selective distillation reduces safety by 5 points.

Read originalmp.weixin.qq.com