arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.23928cs.LGcs.AIstat.ML
收藏

miniTE:诊断并弥合原生NVFP4强化学习中的执行差距

miniTE: Diagnosing and Bridging the Execution Gap in Native NVFP4 Reinforcement Learning

Zhen Li, Mingfa Feng, Yiming Zhang, Yang Yu, Changhai Zhou, Pengxiang Li, Dongkuan Wu, Congkai Xie, Hongxia Yang

AI总结:

miniTE是轻量框架,通过执行诊断、跨引擎数值对齐等技术,解决原生NVFP4在LLM强化学习中的执行差距问题,提升性能并发布相关资源。

摘要:

原生NVFP4有望加速大型语言模型(LLM)的强化学习(RL),但在独立的训练与采样引擎间实现稳定学习仍具挑战性。研究表明,匹配模型权重与数值格式不足以确保策略评估的一致性,凸显了跨引擎数值执行的重要性。本文提出miniTE,这一轻量框架整合了执行诊断、跨引擎数值对齐及高效原生W4A4(4位权重与激活)通用矩阵乘(GEMM)计算,用于LLM的RL。该框架在不修改RL目标的前提下提升了数值执行一致性,同时降低了实现开销,以发挥原生低位计算的优势。在Qwen3-30B-A3B上开展的长时序RL实验显示,其训练稳定,基准性能接近BF16,评估质量优于原生Transformer Engine(TE)NVFP4。在单NVIDIA B300 GPU节点上,优化后的学习器达到33540 token/s的速度,完整学习器更新的吞吐量分别是BF16和TE NVFP4的1.39倍与1.47倍。研究团队已发布该框架、内核、诊断工具及训练配置,以简化原生低位RL的应用。

英文摘要:

Native NVFP4 promises to accelerate reinforcement learning (RL) for large language models (LLMs), but achieving stable learning across separate training and sampling engines remains challenging. We show that matching model weights and numerical formats is insufficient to ensure consistent policy evaluation, highlighting the importance of cross-engine numerical execution. We introduce miniTE, a lightweight framework that combines execution diagnostics, cross-engine numerical alignment, and efficient native W4A4 (4-bit weights and activations) GEMM computation for LLM RL. It improves numerical execution consistency without modifying the RL objective, while reducing implementation overhead to realize the benefits of native low-bit computation. Long-horizon RL experiments on Qwen3-30B-A3B demonstrate stable training and benchmark performance close to BF16, outperforming naive Transformer Engine (TE) NVFP4 in evaluation quality. On single NVIDIA B300 GPU node, the optimized learner reaches 33,540 tokens/s, yielding 1.39x and 1.47x the throughput of BF16 and TE NVFP4, respectively, for complete learner updates. We released the framework, kernels, diagnostics, and training configurations to make native low-bit RL easier.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑