Towards Full Pipeline FP8 Reinforcement Learning for LLMs

Hugging Face Daily Papers Papers

Summary

The paper proposes Calibrated Clipping to stabilize FP8 quantization in reinforcement learning for LLMs by aligning clipping bounds with high-precision distributions, eliminating entropy surges and restoring performance.

Reinforcement learning (RL) has become a key technique for improving the reasoning and agentic abilities of large language models (LLMs). Although FP8 quantization can accelerate RL training, maintaining stability throughout an FP8 RL pipeline remains challenging. While previous works have focused on resolving train-inference mismatches using correction techniques like TIS, we reveal that full-pipeline FP8 RL still suffers from severe training instability, manifesting as anomalous mid-training entropy surges and garbled outputs. We trace this instability to a previously overlooked cause: compounded FP8 quantization noise distorts the importance ratio, disproportionately pushing negative-advantage tokens outside the trust region and erroneously zeroing out their gradients. As a result, pathological outputs are not properly penalized and accumulate over the course of training. To address this, we propose Calibrated Clipping, a dynamic method that aligns the FP8 clipping bounds with high-precision BF16 distributions by matching the lower-bound clipping quantile and rebalancing the upper bound accordingly. Extensive experiments across GRPO and DAPO algorithms, model scales from 8B to 32B, and multiple FP8 scaling granularities demonstrate that our approach successfully eliminates entropy surges and restores performance comparable to the BF16 baseline.
Original Article
View Cached Full Text

Cached at: 09/22/26, 11:29 PM

Paper page - Towards Full Pipeline FP8 Reinforcement Learning for LLMs

Source: https://huggingface.co/papers/2609.22870

Abstract

Reinforcementlearning(RL)hasbecomeakeytechniqueforimprovingthereasoningandagenticabilitiesoflargelanguagemodels(LLMs).AlthoughFP8quantizationcanaccelerateRLtraining,maintainingstabilitythroughoutanFP8RLpipelineremainschallenging.Whilepreviousworkshavefocusedonresolvingtrain-inferencemismatchesusingcorrectiontechniqueslikeTIS,werevealthatfull-pipelineFP8RLstillsuffersfromseveretraininginstability,manifestingasanomalousmid-trainingentropysurgesandgarbledoutputs.Wetracethisinstabilitytoapreviouslyoverlookedcause:compoundedFP8quantizationnoisedistortstheimportanceratio,disproportionatelypushingnegative-advantagetokensoutsidethetrustregionanderroneouslyzeroingouttheirgradients.Asaresult,pathologicaloutputsarenotproperlypenalizedandaccumulateoverthecourseoftraining.Toaddressthis,weproposeCalibratedClipping,adynamicmethodthatalignstheFP8clippingboundswithhigh-precisionBF16distributionsbymatchingthelower-boundclippingquantileandrebalancingtheupperboundaccordingly.ExtensiveexperimentsacrossGRPOandDAPOalgorithms,modelscalesfrom8Bto32B,andmultipleFP8scalinggranularitiesdemonstratethatourapproachsuccessfullyeliminatesentropysurgesandrestoresperformancecomparabletotheBF16baseline.

View arXiv pageView PDFAdd to collection

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2609.22870 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2609.22870 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2609.22870 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

NebulaExp-8B: An Empirical Post-Training Pipeline via Full-Scale Ablation Research

arXiv cs.AI

This paper presents NebulaExp, a transparent ablation-driven post-training pipeline for 8B-scale LLMs, covering SFT, GRPO RL, and multi-teacher distillation. It identifies key trade-offs between mathematical reasoning and code generation, and demonstrates that data correctness filtering is the first-order optimization factor.