Yijing Ke, Tianle Cai, Ruosong Wang
Aligning rounding locations in key components—RoPE, SwiGLU, and residual RMSNorm—between inference and training stabilizes BF16 reinforcement learning in LLMs without altering the learning algorithm or core kernels. This simple fix prevents training collapse observed in default BF16 setups, with RoPE alignment alone proving sufficient in tested scenarios.
This work demonstrates that minor implementation differences in rounding can destabilize RLHF training, even with identical weights and precision. By focusing on specific rounding locations, it offers a low-cost, plug-and-play solution to stabilize training without requiring full stack alignment or precision changes.
Thank you to arXiv for use of its open access interoperability. arxiv.org. aibrief.ai is not affiliated with or endorsed by arXiv.