Where Rounding Happens Matters: Rounding-Location Alignment Stabilizes LLM Reinforcement Learning
Addresses critical numerical stability issues in LLM RL training pipelines through targeted precision alignment.
AI Summary
Researchers demonstrate that aligning rounding locations in RoPE, SwiGLU, and residual RMSNorm operations stabilizes BF16 reinforcement learning for LLMs, preventing collapse in Qwen-family models.
Excerpt
Reinforcement learning for large language models often uses separate systems for inference and training. Even with identical weights and BF16 tensors, implementation differences can make an intended on-policy update off-policy and destabilize training. Existing remedies align the entire inference and training stacks, change global precision, or modify the learning algorithm. We ask whether aligning selected parts of the execution stack can stabilize BF16 RL while other implementation differences
