Predictive Divergence Masks for LLM RL

Xiangxin Zhou, Jiarui Yao, Penghui Qi, Bowen Ping, Jiaqi Tang, Haonan Wang, Tianyu Pang

arXiv:2607.10848 · 2026-07-25 공개 · arXiv · PDF

reinforcement-learning trust-region policy-gradient llm-rl dp-po importance-ratio predictive-divergence softmax-policies

Abstract

Reinforcement learning for large language models (LLMs) typically relies on trust-region masks to stabilize off-policy updates. The dominant PPO-style approach uses the sampled-token importance ratio for two criteria: a proximity criterion, which asks whether the policy has moved too far from the behavior policy, and a direction criterion, which asks whether the update pushes it farther away. Recent work DPPO improves the proximity criterion by replacing PPO's ratio-based test with a probability divergence between the behavior and training policies. However, its direction criterion is still inherited from PPO. A token can be masked only when the sampled-token importance ratio moves away from one. We observe that this ratio-based direction criterion is a single-sample proxy that can disagree in sign with the change of the divergence that defines the proximity criterion. We therefore propose the predictive divergence mask, which asks whether the next policy-gradient step will increase or decrease the same divergence used by the trust region. For the discrete softmax policies used in LLM RL, we derive this prediction in closed form. Because production rollout engines expose only a truncated (top-K) view of the vocabulary, we develop two lightweight top-K estimators for this prediction. Detailed analysis shows the divergence-based direction is better aligned with the realized change of the divergence than the sampled ratio, and the resulting masks improve RL training across model scales and precision settings.

한국어 요약

한 줄 요약

PPO 기반 방향 기준의 한계를 보완한 predictive divergence mask를 제안하여 LLM RL의 훈련 안정성과 효과성을 개선한다.

핵심 기여도

핵심 아이디어

PPO는 trust region 안정화를 위해 단일 샘플 기반의 importance ratio를 사용하지만, 이는 전체 분포 변화를 반영하지 못한다. DPPO는 proximity 기준을 divergence로 대체했으나, 방향 기준은 여전히 PPO의 ratio 기반을 따르고 있다. 이는 두 기준 간 일관성을 해친다. 본 연구는 방향 기준을 divergence의 1차 변화량을 예측하는 방식으로 재설계하여, 실제 divergence 변화와의 일치도를 높였다. 이는 softmax 정책에서 닫힌 형태로 유도 가능하며, top-K 기반 rollout 엔진에 맞춰 가벼운 추정기를 제안함으로써 실용성을 확보했다.

기술적 접근법

주요 결과

의의 및 한계

실용적 활용

LLM의 off-policy RL 훈련에서 trust region 안정화가 필요한 상황, 특히 rollout 엔진이 top-K만 제공하는 실제 배포 환경에서 유용. 대규모 모델의 정밀도 저하를 방지하면서 훈련 효과성을 유지할 수 있음.