Hugging Face Daily PapersFanchao Chen, Ziheng Jiang, Ziyun Wei1 min readpaperadvanced
Towards Full Pipeline FP8 Reinforcement Learning for LLMs
Summary
FP8 quantization of RL pipelines for LLMs causes training instability because quantization noise skews importance ratios, zeroing gradients for negative‑advantage tokens and leading to entropy spikes. The authors introduce Calibrated Clipping, a dynamic adjustment of FP8 clipping bounds that matches BF16 quantile statistics, restoring stable training across GRPO and DAPO methods for 8‑32 B models…
- FP8 quantization introduces bias in the importance ratio, pushing negative‑advantage tokens out of the trust region and nullifying their gradients.
- Resulting instability manifests as mid‑training entropy surges and nonsensical model outputs.
- Calibrated Clipping aligns FP8 clipping bounds with high‑precision BF16 distributions by matching the lower‑quantile and rebalancing the upper bound.
- Experiments on GRPO and DAPO across 8B‑32B LLMs and various FP8 scaling granularities show the method eliminates entropy spikes and matches BF16 baselines.
Stable low‑precision training is critical for scaling RL‑based LLM fine‑tuning cost‑effectively. By fixing a previously hidden source of FP8 instability, the paper enables faster, cheaper RL training without sacrificing model quality.
8/10
