NeMo-DCR: 조 단위 파라미터 규모의 에이전트 강화학습을 위한 비트 단위 정확 델타 압축 가중치 동기화
NeMo-DCR: Bit-Exact Delta-Compressed Refit for Scalable Agentic RL at Trillion-Parameter Scale
에이전트 강화학습에서는 정책이 갱신될 때마다 가중치를 롤아웃 클러스터에 보내야 하는데, 1T 모델 전체를 옮기면 두 AWS 리전 사이에서 87.5분이 걸립니다. NeMo-DCR는 바뀐 값만 보내면서도 전체 전송과 비트 단위로 같은 결과를 보장하는 방식입니다. 초록에 따르면 1T 모델의 릴레이 트리 동기화가 3% 변화율에서 150초로 줄었습니다.
논문 초록을 바탕으로 정리했습니다. 논문 전체의 실험 조건과 한계까지 검토한 심층 리뷰는 아닙니다.
논문 원문 읽기 ↗연구 문제
에이전트 강화학습은 학습과 롤아웃을 분리해 운영합니다. 그래서 정책이 갱신될 때마다 새 가중치가 다음 배치 전에 롤아웃 클러스터에 도착해야 하며, 이 과정을 리핏(refit)이라 부릅니다. 1T 체크포인트 전체를 두 AWS 리전 사이에서 옮기면 87.5분이 걸립니다.
BF16 학습을 측정해 보면 한 단계마다 저장된 값이 바뀌는 가중치는 약 1%입니다. 기존 시스템도 이 희소성을 활용했지만, 배치 규칙을 다시 구현하거나, 전체 텐서를 조립하거나, 값을 산술로 복원하거나, 클러스터 간 집합 통신을 쓰는 등 배치·정확성·효율 면에서 한계가 있었다고 합니다. 리핏 도중 장애에서 완전히 복구하는 시스템도 없었다고 초록은 말합니다.
제안 방법
NeMo-DCR는 변경분만 보내면서도 수신 측이 전체 전송과 같은 파라미터·버퍼 비트를 얻도록 설계되었습니다. 배치 단계에서는 고정된 아핀 매핑으로 학습 샤드의 변경을 체크포인트의 표준 좌표로 옮기고, 나머지는 잔차 변환으로 처리하며, 서빙 런타임의 기본 로더가 수신 저장소에 값을 놓습니다.
정확성을 위해 로더와 투영이 저장 비트를 보존하는 아핀 변경은 압축 가능한 XOR 마스크로, 그 밖의 변경은 덮어쓰기 값으로 보냅니다. 수신자는 둘을 제자리에서 적용하고, 재시도는 부분 기록을 덮어쓰며, 공동 커밋이 정책과 다음 델타의 기준본을 묶습니다. 효율을 위해 델타를 만드는 동안 객체 저장소나 릴레이 트리로 페이로드를 스트리밍하며, 클러스터 간 집합 통신은 쓰지 않습니다.
결과
변화율이 3%와 5%인 경우에도 30B~1T 모델의 리핏은 전송만 측정한 전체 체크포인트 기준보다 12~40배 빠릅니다. 1T 모델을 릴레이 트리로 3% 변화율에서 리핏하면 87.5분 대신 150초가 걸립니다.
초록은 이를 바탕으로 조 단위 파라미터 규모의 클러스터 간 에이전트 강화학습에서 리핏이 실용적이 된다고 주장합니다. 다만 비교 대상 시스템별 상세 수치, 실험 구성, 학습 품질에 대한 영향은 초록에 나와 있지 않습니다.
근거로 읽은 영문 초록
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.