Skip to content
AI.info

The Pulse

Microsoft details Rocket framework training MAI Base 2

Microsoft is using its in-house Rocket reinforcement learning framework to post-train MAI Base 2 without distillation from third-party models. The system is designed for training runs that can span weeks to months across thousands of GPUs.

Microsoft details Rocket framework training MAI Base 2

Microsoft is using its in-house Rocket reinforcement learning framework to post-train MAI Base 2 without distillation from third-party models. In a November 23 research post, Microsoft AI described a system designed for runs lasting weeks to months and spanning many thousands of training steps on thousands of GPUs.

The three-trillion-parameter base model is being developed through reinforcement learning from its base capabilities, rather than starting from a model distilled from a stronger teacher. The work is separate from the MAI Code 2 models.

From base model to reasoning

Rocket previously post-trained MAI Base 1 into the reasoning model MAI Thinking 1. The framework has since been improved for the larger scale required by MAI Base 2.

Microsoft AI says its approach differs from using reinforcement learning as a short refinement phase after distillation. A distilled model starts reinforcement learning close to its ceiling, the company says, while its own approach aims to increase capabilities from the base model through reinforcement learning itself.

That choice shapes the infrastructure requirements. Over long runs, small numerical mismatches and system inefficiencies can accumulate, while hardware failures and changes in the training configuration must be handled without restarting the entire job.

How Rocket trains

Rocket runs an asynchronous training loop. Its training approach uses Group Relative Policy Optimization, or GRPO, which compares rewards across attempts to solve the same problem; each attempt is known as a rollout.

A controller selects a problem from the curriculum and sends it to a problem worker, which dispatches requests to a pool of rollout workers. Each problem worker and rollout worker handles multiple requests concurrently.

One challenge is that agentic rollouts can take hours while the learner continues updating the policy. Because GRPO compares rollouts for the same problem, a slow or failed attempt holds back its group, allowing training to drift further off-policy.

Keeping the system consistent

A larger model and longer contexts require lower-precision storage in the sampler. Differences in precision, kernels and parallelism between the sampler and learner can slow learning and destabilize training.

The framework also has to recover from failures and accommodate changes in the data mixture and runtime configuration. Microsoft AI says restarting the whole job for each failure or reconfiguration would waste GPU time, so components need to recover and be reconfigured while the run continues.

Built on existing tools

Microsoft AI operates the learner and training framework, Rocket, and an inference engine based on a fork of SGLang that it maintains. The company says control of those systems lets it design their interfaces together, although maintaining the integrations carries a cost.

Rocket uses Kubernetes or Slurm to allocate nodes to a job. Its components run as actors on Ray. The company adopted SGLang as its inference foundation and adapted it for its models and long-running agentic reinforcement learning workloads.

Microsoft AI also points to open-source frameworks verl and slime, which provide distributed execution, customizable agent workflows and asynchronous sampling. The company says it built Rocket around the particular demands of its own models and long training runs.

Sources

  1. Original source Microsoft AI “RL infrastructure at Microsoft AI” microsoft.ai

In the tracker

Related stories

Explore

More articles