论文
arxiv:2610.07767
复制 Markdown
TRACE:用于混合专家语言模型 FP4 强化学习的 rollout 引导量化感知训练
发布于 10月6日
·
提交者
Daniel Wang
于 10月7日
·
Qwen
作者:
Xin Wang
,
Hao Yu
,
Zhengyang Zhuge
,
Bochao Mao
,
Zheng Li
,
Junda Feng
,
Yuyan Luo
,
Yi Zhang
,
Yizhong Cao
,
Mi Zhang
,
Dayiheng Liu
,
Jianwei Zhang
摘要
对大型语言模型(LLM)进行后训练强化学习(RL)在 rollout 生成过程中会产生巨大的计算和内存开销,这促使人们采用低精度 rollout 以实现高效的 RL 训练。然而,现有的 FP4 RL 方法存在一个关键局限:它们主要在训练路径和 rollout 路径上独立优化量化精度,而不是直接减少两个量化执行路径之间的差异。在本工作中,我们提出了 TRACE(Train-Rollout Quantization Alignment via Compact GuidancE),这是一个用于混合专家(MoE)语言模型 RL 训练的 FP4 量化框架,旨在解决现有 FP4 RL 方法的局限性。TRACE 结合了 rollout 引导的量化感知训练,利用 rollout 侧的量化结果来指导训练侧的 FP4 舍入决策,从而直接减少训练与 rollout 之间的差异。此外,TRACE 采用了一种高效的量化信息缓存方案,有选择地保留来自更深层数的尾数和缩放信息,以减少由 rollout 引导引入的存储和通信开销。我们在推理、编码和长视界 RL 任务上的四个大规模 MoE 语言模型上评估了 TRACE。我们的结果表明,TRACE 实现了联合 FP4 权重/激活和 FP4 KV-cache rollout,其 RL 性能与 BF16 rollout 相当,同时相比对 BF16 训练策略进行事后 FP4 量化,实现了高达 5.4 倍的 rollout 加速以及强大的最终 FP4 性能。
查看 arXiv 页面
查看 PDF
添加到收藏
社区
tuidan
论文作者
论文提交者
大约 19 小时前
对大型语言模型(LLM)进行后训练强化学习(RL)在 rollout 生成过程中会产生巨大的计算和内存开销,这促使人们采用低精度 rollout 以实现高效的 RL 训练。然而,现有的 FP4 RL 方法存在一个关键局限:它们主要在训练路径和 rollout 路径上独立优化量化精度,而不是直接减少两个量化执行路径之间的差异。在本工作中,我们提出了 TRACE(Train-Rollout Quantization Alignment via Compact GuidancE),这是一个用于混合专家(MoE)语言模型 RL 训练的 FP4 量化框架,旨在解决现有 FP4 RL 方法的局限性。TRACE 结合了 rollout 引导的量化感知训练,利用 rollout 侧的量化结果来指导训练侧的 FP4 舍入决策,从而直接减少训练与 rollout 之间的差异。此外,TRACE 采用了一种高效的量化信息缓存方案,有选择地保留来自更深层数的尾数和缩放信息,以减少由 rollout 引导引入的存储和通信开销。我们在推理、编码和长视界 RL 任务上的四个大规模 MoE 语言模型上评估了 TRACE。我们的结果表明,TRACE 实现了联合 FP4 权重/激活和 FP4 KV-cache rollout,其 RL 性能与 BF16 rollout 相当,同时相比对 BF16 训练策略进行事后 FP4 量化,实现了高达 5.4 倍的 rollout 加速以及强大的最终 FP4 性能。
查看翻译
回复
编辑
预览
通过在文本输入中拖放、粘贴或点击此处来上传图片、音频和视频。
评论
· 注册或登录以发表评论
赞成
70
+58
在您的代理中获取此论文:
hf papers read 2610.07767
没有最新的 CLI?
引用此论文的模型
0
无链接此论文的模型
在模型 README.md 中引用 arxiv.org/abs/2610.07767 以从本页链接它。
引用此论文的数据集
0
无数据集链接此论文
在数据集的 README.md 中引用 arxiv.org/abs/2610.07767,以便从本页面链接到该论文。
引用此论文的 Spaces
1
📄
tardellirs/paper-pulse
包含此论文的 Collections
0
无包含此论文的 Collection
将此论文添加到某个 Collection 中,以便从本页面链接到它。
Papers
arxiv:2610.07767
Copy markdown
TRACE: Rollout-Guided Quantization-Aware Training for FP4 Reinforcement Learning of MoE Language Models
Published on Oct 6
·
Submitted by
Daniel Wang
on Oct 7
·
Qwen
Authors:
Xin Wang
,
Hao Yu
,
Zhengyang Zhuge
,
Bochao Mao
,
Zheng Li
,
Junda Feng
,
Yuyan Luo
,
Yi Zhang
,
Yizhong Cao
,
Mi Zhang
,
Dayiheng Liu
,
Jianwei Zhang
Abstract
Reinforcement learning (RL) for post-training large language models (LLMs) incurs substantial computation and memory overhead during rollout generation, which motivates low-precision rollout for efficient RL training. However, existing FP4 RL methods suffer from a key limitation: they primarily optimize quantization accuracy on the training and rollout paths independently rather than directly reducing the discrepancy between the two quantized execution paths. In this work, we propose TRACE (Train-Rollout Quantization Alignment via Compact GuidancE), an FP4 quantization framework for RL training of Mixture-of-Experts (MoE) language models that addresses the limitation of existing FP4 RL methods. TRACE incorporates rollout-guided quantization-aware training that uses rollout-side quantization outcomes to guide training-side FP4 rounding decisions, directly reducing train-rollout discrepancy. Moreover, TRACE adopts an efficient quantization-information caching scheme that selectively retains mantissa and scale information from deeper layers to reduce the storage and communication overhead introduced by rollout guidance. We evaluate TRACE on four large-scale MoE language models across reasoning, coding, and long-horizon RL tasks. Our results demonstrate that TRACE enables joint FP4 weight/activation and FP4 KV-cache rollout with RL performance comparable to BF16 rollout, while achieving up to 5.4xrollout speedup and strong final FP4 performance compared with post-hoc FP4 quantization of BF16-trained policies.
View arXiv page
View PDF
Add to collection
Community
tuidan
Paper author
Paper submitter
about 19 hours ago
Reinforcement learning (RL) for post-training large language models (LLMs) incurs substantial computation and memory overhead during rollout generation, which motivates low-precision rollout for efficient RL training. However, existing FP4 RL methods suffer from a key limitation: they primarily optimize quantization accuracy on the training and rollout paths independently rather than directly reducing the discrepancy between the two quantized execution paths. In this work, we propose TRACE (Train-Rollout Quantization Alignment via Compact GuidancE), an FP4 quantization framework for RL training of Mixture-of-Experts (MoE) language models that addresses the limitation of existing FP4 RL methods. TRACE incorporates rollout-guided quantization-aware training that uses rollout-side quantization outcomes to guide training-side FP4 rounding decisions, directly reducing train-rollout discrepancy. Moreover, TRACE adopts an efficient quantization-information caching scheme that selectively retains mantissa and scale information from deeper layers to reduce the storage and communication overhead introduced by rollout guidance. We evaluate TRACE on four large-scale MoE language models across reasoning, coding, and long-horizon RL tasks. Our results demonstrate that TRACE enables joint FP4 weight/activation and FP4 KV-cache rollout with RL performance comparable to BF16 rollout, while achieving up to 5.4xrollout speedup and strong final FP4 performance compared with post-hoc FP4 quantization of BF16-trained policies.
See translation
Reply
Edit
Preview
Upload images, audio, and videos by dragging in the text input, pasting, or clicking here.
Comment
· Sign up or log in to comment
Upvote
70
+58
Get this paper in your agent:
hf papers read 2610.07767
Don't have the latest CLI?
Models citing this paper
0
No model linking this paper
Cite arxiv.org/abs/2610.07767 in a model README.md to link it from this page.
Datasets citing this paper
0
No dataset linking this paper
Cite arxiv.org/abs/2610.07767 in a dataset README.md to link it from this page.
Spaces citing this paper
1
📄
tardellirs/paper-pulse
Collections including this paper
0
No Collection including this paper
Add this paper to a collection to link it from this page.
首次收录 · 2026-10-08 · 10.95 分