NeMo-DCR:面向万亿参数规模可扩展智能体强化学习的位精确增量压缩重拟合

·

研究论文 · 2026/10/07

Agentic强化学习将训练与rollout解耦,因此每次策略更新必须在下个批次前到达rollout集群。在AWS两个区域间传输完整的1T检查点进行权重同步(refit)需要87.5分钟。BF16训练测量显示每步约1%的权重改变其存储值。近期系统利用这种稀疏性,但在放置、精确性或效率上存在不足:它们重新实现放置规则、组装完整张量、算术重建值或使用跨集群集合通信,且均无法从refit中途失败中完全恢复。我们提出NeMo-DCR(Delta-Compressed Refit),仅发送变化且比特精确:接收方获得与稠密refit相同的参数和缓冲区比特。对于放置,固定仿射映射将变化从训练分片投影到检查点的规范坐标,残差转换覆盖其他变化,服务运行时的原生加载器将所有变化放入接收方存储。对于精确性,可压缩XOR掩码携带仿射变化,其投影和加载器保留存储比特,覆写携带其他变化。接收方原地应用两者,重试覆写部分写入,联合提交将策略绑定到基线以进行下一个delta。对于效率,对象存储或中继树在delta构建期间流式传输负载,无需跨集群集合通信。即使在3%和5%变化率下,30B-1T模型的NeMo-DCR refit比仅传输完整检查点的参考快12-40倍。1T中继树refit在3%变化率下耗时150秒而非87.5分钟,使refit在万亿参数规模的跨集群agentic RL中变得实用。

该工作解决了万亿参数规模下跨集群agentic强化学习中权重同步的瓶颈,通过比特精确的增量压缩refit大幅提升效率,使实用化成为可能。

Agentic reinforcement learning (RL) disaggregates training from rollout, so each policy update must reach the rollout clusters before the next batch. Transferring a full 1T checkpoint for such weight synchronization (refit) takes 87.5 min between two AWS regions. Measurements of BF16 training show that about 1% of weights change their stored values per step. Recent systems exploit this sparsity but fall short on placement, exactness, or efficiency: they reimplement placement rules, assemble full tensors, rebuild values arithmetically, or use a cross-cluster collective, and none fully recovers from mid-refit failures. We present NeMo-DCR (Delta-Compressed Refit), which sends only changes yet is bit-exact: receivers obtain the same parameter and buffer bits as a dense refit. For placement, fixed affine mappings project changes from training shards into the checkpoint's canonical coordinates, residual conversion covers the other changes, and the serving runtime's native loader places all changes in receiver storage. For exactness, compressible XOR masks carry affine changes whose projection and loader preserve stored bits, and overwrites carry the others. Receivers apply both in place, retries overwrite partial writes, and a joint commit binds the policy to the baseline for the next delta. For efficiency, object storage or a relay tree streams payloads during delta construction, without a cross-cluster collective. Even at 3% and 5% change rates, NeMo-DCR refits of 30B-1T models are 12-40times faster than a transport-only full-checkpoint reference. A 1T relay-tree refit at 3% takes 150 s instead of 87.5 min, making refits practical for cross-cluster agentic RL at trillion-parameter scale.

阅读原文

参与讨论