Molt: A Scalable PyTorch-Native Training Framework for Agentic Reinforcement Learning

Jian Hu, Huiying Li, Hao Zhang, Binfeng Xu, Yifan Zhang, Shaokun Zhang, Hemil Desai, Michael Demoret, Pavlo Molchanov, Jan Kautz, Yi Dong

arXiv:2607.21653 · 2026-07-27 공개 · arXiv · PDF

mixture-of-experts open-source asynchronous-training scalable-framework multimodal-policies nvidia-nemo pytorch-native agentic-reinforcement-learning

Abstract

Agentic reinforcement learning research is constant algorithm modification, new estimators, new pipeline stages, new rollout schemes, and in mainstream frameworks each change threads through layers of trainer, distributed backend, and rollout glue: the cost lands on the researcher at every iteration. Molt is a PyTorch-native training framework built to keep that cost small: a codebase compact and clean enough for a researcher to hold in their head, and for an AI coding assistant to read and reason about in its entirety, so the algorithm flow can be traced and changed end to end. The agent is an ordinary program, and one asynchronous loop trains multimodal and mixture-of-experts policies while never training on a token it did not generate, consistent in tokens, policy versions, and model semantics. Leanness does not cost performance: under a matched, fully asynchronous protocol, Molt is statistically comparable to a state-of-the-art Megatron-based stack. Molt is open source and provides recipes and containers at https://github.com/NVIDIA-NeMo/labs-molt.

한국어 요약

한 줄 요약

Molt는 PyTorch 기반의 가벼운 강화학습 학습 프레임워크로, 연구자와 AI 코드 어시스턴트가 알고리즘 흐름을 직관적으로 추적하고 수정할 수 있도록 설계되었다.

핵심 기여도

핵심 아이디어

Molt는 기존 강화학습 연구에서 알고리즘 변경이 여러 계층(트레이너, 분산 백엔드, 롤아웃 엔진)을 거쳐야 하는 복잡성을 줄이기 위해 설계되었다. 연구자는 알고리즘 흐름을 단일 루프에서 추적하고 수정할 수 있어야 한다는 통찰에서 출발했다. Molt는 PyTorch 기반의 단일 루프를 통해 비동기식 학습을 수행하며, 토큰 ID, 정책 버전, 모델 의미론을 일관되게 유지한다. 이는 실험의 신뢰성을 높이고, AI 코드 어시스턴트가 코드를 전체적으로 추적할 수 있도록 한다.

기술적 접근법

주요 결과

의의 및 한계

Molt는 연구자와 AI 코드 어시스턴트가 알고리즘 흐름을 전체적으로 이해하고 수정할 수 있도록 설계된 **가독성 중심의 강화학습 인프라**로, 기존의 복잡한 분산 학습 스택 대비 **코드 크기와 유지 관리 복잡도를 크게 줄였다**. 그러나 Molt는 **하이퍼스케일 학습 환경에 최적화된 기존 스택과 동일한 성능을 보장**하는 데 초점을 맞추고 있어, **초대규모 모델 학습에 대한 확장성 검증은 추가 연구가 필요**하다. 또한, **복잡한 환경에서의 실험 안정성 검증**도 향후 연구 주제로 제시된다.

실용적 활용

Molt는 **강화학습 알고리즘 연구**, **멀티모달 및 MoE 정책 학습**, **AI 코드 어시스턴트와 협업하는 연구 환경**에 적합하다. 특히, **PyTorch 기반의 연구자와 엔지니어가 빠르게 알고리즘을 프로토타이핑하고 실험할 수 있는 도구**로 활용될 수 있다.