It’s About Time: The Copilot Usage Report 2025

Research Bea Costa-Gomes, Seth Spielman

Painted landscape in three vertical panels showing a sunset sky, green hills and a dark field

At MAI, we don’t just build AI tools, we care about how real people interact with them.

So as 2025 wraps up, we’ve gone headfirst into a mountain of de-identified data, searching for the quirks, surprises, and secret patterns that shape everyday life with Copilot. We’re finding out just how far it fits into people’s daily rhythms, and how human its uses have become: we often turn to AI for the things that matter most like our health. We analyzed a sample of 37.5 million conversations to find out how people actually use it out in the world.
(Note: our system doesn’t just de-identify conversations; it only extracts the summary of the conversation, from which we learn the topic and the intent, and maintains full privacy.)

From health tips that never sleep, to the differences between weekday and weekend usage, to February’s annual “how do I survive Valentine’s Day?” spike, our findings show that Copilot is way more than a tool: it’s a vital companion for life’s big and small moments. And if you’ve ever pondered philosophy at 2 a.m. or needed advice on everything from wellness to winning at life, you’re in good company. So has everybody else.

Our work shows that AI is all about people, a trusted advisor slotting effortlessly into your life and your day. It’s about your health, your work, your play, and your relationships. It meets you where you are.
Read all about it in our paper, but here are some of our takeaways.

1. Health Is Always on Our Minds—Especially on Mobile

No matter the day, month, or time, health-related topics dominate how people use Copilot on their mobile devices. Whether it’s tracking wellness, searching for health tips, or managing daily routines, our users consistently turn to Copilot for support in living healthier lives. This trend held steady throughout the year, showing just how central health is to our everyday digital habits. When it comes to mobile, with its intimacy and immediacy, nothing tops our health.

Most common Topic-Intent pairing conversations, on mobile.

Health is consistently the most common topic while interestingly, language-related chats peak earlier in the year, with entertainment seeing a steady rise.

2. When Programming and Gaming Cross Paths

August brought a unique twist: programming and gaming topics started to overlap in unexpected ways. Our data showed that users were just as likely to dive into coding projects as they were to explore games—but on the different days of the week! This crossover hints at a vibrant, creative community that loves to code during the week and play during the weekends in equal measure.

August topic ranks for programming and games.

There is a clear change in rank between programming and games through the days of the week, with programming rising from Monday to Friday, and Games shining on the weekends.

3. February’s Big Moment

February stood out for another reason: Copilot helped users navigate a significant date in their calendar year. Whether it was in preparing for Valentine’s day, or facing the day and the relationships, we saw a spike in activity as people turned to Copilot for guidance, reminders, and support. It’s a great reminder of how digital tools can make life’s important moments a little easier to manage.

Ranking of “Personal Growth and Wellness” and “Relationship” conversations

February brings concerns of personal growth before Valentine’s day, with a clear peak of relationship-related conversations on the day.

4. Late-night Sessions

The larger-than-life questions seem to have a rise during the early hours of the morning, with “Religion and Philosophy” rising through the ranks. Comparatively, travel conversations happen most often during the commuting hours.

Average rank of Travel and Religion and Philosophy conversations per hour of the day.

Whilst people have more travel-related conversations during the day, it’s in the early hours of the morning that we see a rise of Religion and Philosophy conversations.

5. Advice on the Rise

While searching for information remains Copilot’s most popular feature, we’ve seen a clear rise in people seeking advice—especially on personal topics. Whether it’s navigating relationships, making life decisions, or just needing a bit of guidance, more users are turning to Copilot for thoughtful support, not just quick answers. This growing trend highlights how digital tools are becoming trusted companions for life’s everyday questions.

Why These Insights Matter

By analyzing high level topics and intents, we manage to learn all these insights while keeping maximum user data privacy. Understanding these patterns helps us make Copilot even better. By seeing what matters most to our users—health, creativity, and support during key moments—we can design features that truly fit into their life. It’s also clear from these uses that what Copilot says matters. They show why it’s so important that we hold ourselves to a high bar for quality.

There’ll be lots more to come on this and more in the New Year.

Related stories

AI companions will change our lives (opens in a new tab)

A smooth, oval-shaped gray stone features a simple carved face with closed eyes, a straight nose, and a gentle smiling mouth. The background is plain white.

An AI companion for everyone

A close-up of a person's closed eye, showing long eyelashes and soft sunlight casting shadows on their skin. The image highlights the texture and warmth of the skin and the natural eyelashes.

Two in-house models in support of our mission

Abstract black line drawing of overlapping sound waves and dots on a beige background

Frontier Pre-training at Microsoft AI

Research

Download the PDF

In June, we announced MAI Thinking 1, a general-purpose foundation model post-trained on top of MAI Base 1 with strong reasoning performance. We’ve recently completed pre-training our new state-of-the-art model, MAI Base 2, an MoE foundation model with 80 billion active and 2.8 trillion total parameters.

MAI Base 2 outperforms every open-weight model we tested on our held-out evaluations. It is 4-12x more pre-training FLOPs-efficient than the strongest open base model, DeepSeek-V4-Pro-Base (see Figure 3 below), and we have put that saving into training a larger model.

Figure 1 shows the performance of MAI Base 2 and other models with at least one trillion total parameters across a range of pre-training evaluations (lower is better).

Owning our model pipeline end-to-end allows Microsoft to make a distinctive offering to our customers. Microsoft has strong data provenance over training tokens that go into our model. Our pre-training is built on organic data which does not involve distillation from other models. This will enable us to license our model weights to trusted partners through Foundry, which provides enterprises with a trusted source of world-class intelligence that serves their needs.

Owning the full stack allows us to tune our models and infrastructure together for the best performance at the lowest cost, first in our own products and then for Foundry customers. MAI Base 2 is currently undergoing post-training, and we look forward to sharing more results soon.

How MAI Base 2 Compares

When we finished training MAI Base 1, our path ahead for pre-training was clear: scale up. While MAI Base 1 is a strong model for its size, it is smaller than open weight and proprietary models at the frontier.

Three initiatives were particularly important for the successful pre-training of MAI Base 2:

  • Scaling science: scaling ladders that account for repeated training data, alongside empirical hyperparameter scaling laws.
  • Model-infrastructure co-design: improved MoE and Muon implementations, alongside activation gradient clipping.
  • Scaling data: expanded data pipelines and the integration of vision data.

MAI Base 2 is a larger, sparser model than MAI Base 1, trained on more data. We trained MAI Base 2 on 16k GB200 GPUs over 38 days in August and September 2026. Over the course of the run, the average MFU (model FLOPs utilization) was 21% and the goodput (the fraction of time training progressed) was 89%. Our MFU is normalized by 2.5 PFLOPS (GB200’s theoretical max in BF16) and excludes FLOPs for rematerialization and the optimizer.

We compare pre-trained models on held-out text using bits-per-byte (BPB), which is agnostic to each model’s tokenizer. For held-out code, we use MAI’s own codebase, while STEM, Math, and Q&A evaluations are commissioned from vendors to reduce the risk of training-set contamination. We additionally decontaminated all evaluation sets against our training data.

We compare MAI Base 2 with frontier checkpoints available before October 2026:

  • DeepSeek-V4-Pro-Base is the most capable base model with open weights.
  • Kimi K3, Qwen3.8-2.4T-A95B, and MiMo-V2.6-Pro-RL are highly capable open weights models. Only post-trained checkpoints are available for these models. We report their results with the caveat that post-training may affect these evaluations.

Across these held-out evaluations, MAI Base 2 achieves lower BPB than the other models we tested. Below, we dive into a few of the advances that made this possible.

Robust scaling ladders

We evaluate model changes using a scaling ladder, a family of models of different sizes with a fixed training recipe. Each rung of the ladder is named after its number of layers \( L \), and \( L \) alone determines the rest of the architecture. For example, the hidden size is \( (256/3) \cdot L \), and the number of query heads is \( L \), rounded to the nearest multiple of 16. We train models of increasing size while holding training tokens per active parameter (TPP) constant.

To account for multi-epoch training at smaller scales, we use a technique we call source scaling. On the lower rungs of the scaling ladder, source scaling artificially restricts the set of unique samples the model trains on, so that each dataset is repeated the same number of times regardless of the training horizon. For example, if a dataset is repeated 8 times over the full 50T-token run, a 5T-token run will loop 8 times over just 1/10 of that data.

Under a fixed TPP, source scaling effectively keeps the ratio of unique data to parameters fixed, which helps ensure that results transfer smoothly across scales. Without source scaling, experiments at smaller scale can favor under-regularized architecture and hyperparameter choices that overfit at larger scales. Including source scaling in our ladders was key to scaling up to a 2.8T parameter model reliably. Figure 2 demonstrates the use of a scaling ladder to accurately forecast the performance of MAI Base 2.

Isolating modeling efficiency from compute

Direct comparisons between models conflate the quality of the training recipe with differences in model size and training compute. To isolate the recipe, we estimate how much compute our recipe would need to match a strong external base model. We use DeepSeek-V4-Pro-Base as the reference: it is the only released base pretraining checkpoint with more than one trillion parameters, though it is still trained on significantly fewer FLOPs than MAI Base 2.

For each of the four held-out evaluations in Figure 1, we fit an independent scaling law of BPB against training FLOPs and estimate the compute a model on our ladder would need to match DeepSeek-V4-Pro-Base’s BPB. MAI Base 2’s final performance is known, and we include it in the fits, so the matching point falls within the range of our fitted models rather than beyond it. Comparing these estimates with DeepSeek-V4-Pro-Base’s training compute, we find that our recipe is 4.2–12.3x more FLOPs-efficient, as shown in Figure 3. We also compare against MAI Base 1 and find that our progress since that model’s release in June this year has led to 6.3-12.7x FLOPs-efficiency improvement. We attribute MAI Base 2’s FLOPs-efficiency to the quality and relevance of our data and to the efficiency gains from our modeling choices, both described in the sections below.

Scaling laws for hyperparameters

Selecting optimal hyperparameters for a large training run is complicated by the combinatorial space of hyperparameter optimization, where changing one hyperparameter can affect the optimal value of others. For MAI Base 2, we revisited how we approach this problem.

We swept learning rate (\(LR\)) and weight decay (\(WD\)) jointly because their effects on training are coupled. Model performance is most sensitive to the product of \(LR\) and \(WD\), so good configurations lie in a narrow diagonal band of the \((\log{LR}, \log{WD})\) plane. A rectangular grid in \((\log{LR}, \log{WD})\) would sample this band inefficiently, so we instead swept a grid in \((\log{LR}, \log{(LR \times WD)})\).

For several combinations of model size and TPP, we trained models along the search grid and evaluated them on our pre-training evaluations. We fit a 2D quadratic function to evaluations and extracted the analytical minimum \((LR^*, LR^* \times WD^*)\). Figure 4 shows a few slices of this experiment.

We then modeled \(\log{(LR^* \times WD^*)}\) and \(\log{LR^*}\) as a function of model size, TPP, or other features such as log steps. Using model selection, we found that \(LR^* \times WD^*\) depended primarily on the number of training steps, while \(\log{LR^*}\) additionally depended on \(\log{TPP}\). The empirical exponent for \(LR^* \times WD^*\) with respect to steps was very close to −1, which matches the view that the decoupled weight decay time scale (\(\dfrac{1}{LR \times WD}\)) should be a fixed fraction of training. The empirical exponent of LR with respect to steps was close to −0.5, which matches the widely used rule of thumb that when doubling the batch size, one should multiply the learning rate by \(\sqrt{2}\). Our final scaling laws for \(LR^*\) and \(WD^*\) are:

\[LR^* \times WD^* = 17.04 / \text{steps}\] \[\log{LR^*} = -1.51 + 0.175\log{\text{TPP}}-0.573\log{\text{steps}}\]

Using a similar approach, we also derived the following scaling law for dropout:

\[\small \mathrm{Dropout}=\operatorname{sigmoid}\big(0.526\,(\log \mathrm{ActiveParams}-27.2)\big)\]

We estimated our new scaling laws in small-scale experiments, then validated them at an intermediate scale where they consistently outperformed previous heuristics. These laws defined MAI Base 2’s hyperparameters.

Codesigning our infrastructure and MAI Base 2

Training frontier models within a compute budget requires co-designing models and infrastructure for both evaluation quality and computational efficiency. We use an efficiency gain (EG) metric to help guide our decisions: the ratio of compute required by a candidate to reach the same evaluation loss as the baseline. Compute can be measured in FLOPs (EGFLOPs) or in wall-clock time (EGtime), and the two are complementary. We rely mainly on EGtime, since it reflects the current state of our infrastructure. EGFLOPs, in turn, measures a prototype’s potential and guides future infrastructure development: a change that wins on FLOPs but loses on wall-clock time shows us where to invest. This joint optimization of modeling and infrastructure is reflected in several design choices below.

Scaling MoE

Our past modeling experiments have shown that MoE in every layer has a consistent EGFLOPs advantage over alternating dense FFN and MoE layers. However, inefficiencies in our MoE implementation made MoE every other layer EGtime optimal for MAI Base 1. For MAI Base 2, we identified two inefficiencies that led to suboptimal MoE MFU:

  1. Dynamic routing increased memory fragmentation and tied up more memory for rare, extreme expert load imbalances, memory that could otherwise reduce activation recomputation.
  2. Adding more, finer-grained experts increased per-expert overhead.

Addressing these inefficiencies increased the MFU of our MoE layers from 24% to 35%, which allowed us to adopt MoE in every layer for MAI Base 2.

Dropless MoE with tunable, fixed-size memory usage

In MoE layers, each expert sees a variable number of tokens. This introduces GPU memory challenges as experts that are overloaded can run out of memory. One solution is to set a fixed threshold for each expert, after which additional tokens are dropped. Our experiments found that dropping tokens leads to worse performance. A naive solution is to simply allocate enough memory per expert to account for the largest imbalance, but this leads to inefficient usage of memory under normal loads. Our multi-round dropless MoE, illustrated in Figure 6, achieves fixed memory usage under arbitrary routing imbalance, eliminating fragmentation and out-of-memory crashes.

We group the experts on each expert parallel rank into one or more groups of a configurable size. Each expert group runs one or more dispatch → compute → collect rounds with a fixed per-expert token capacity. If an expert receives more tokens than it can hold, the expert group processes those overflow tokens in additional rounds. To reduce the number of additional rounds, we allow overloaded experts to use unused token capacity from other experts in the same group. In the backward pass, we then perform fine-grained recomputation per expert group following a similar multi-round schedule. This keeps memory usage static regardless of token imbalance. Token capacity is configurable: more capacity means more memory, and less capacity means potentially more rounds and thus extra compute. In practice, the capacity is configured to maintain a single round in steady state.

Dispatch, compute, and collect are pipelined across all rounds of all expert groups, so that all but the first dispatch and the last collect overlap with expert compute. In the forward pass, weight quantization and shared-expert compute overlap with the exposed communication. In the backward pass, all expert communications are fully overlapped: the exposed input dispatch is overlapped with recompute of the same layer, and the exposed gradient collect is overlapped with weight-gradient computations.

Reducing per-expert overhead

We reduce per-expert overhead in four ways. First, we improve GEMM and NVLink efficiency by grouping both computation and communication for each expert group. This reduces kernel-launch overhead and tail effects. Second, we reduce host-device synchronization by using device-resident token metadata and initiating all-to-all communication directly from the GPU. Third, we further optimize all-to-all with symmetric memory to exchange tokens directly over NVLink without staging copies, improving communication throughput and reducing HBM contention when running GEMMs concurrently. Lastly, we batch load-balancing loss across layers, replacing per-layer all-reduces with a single batched reduction across all layers. These optimizations enable us to train sparser models without significantly degrading MFU.

Scaling Muon

When scaling up to MAI Base 2, we found that Muon delivered more stable training dynamics and large efficiency gains over AdamW. Adopting Muon for our largest models required reducing its per-step overhead.

Muon orthogonalizes the momentum of each weight matrix with Newton–Schulz, an iterative algorithm consisting of several matrix multiplications. This requires the full matrix, which conflicts with ZeRO’s sharding of momentum across the data-parallel dimension. Following prior work, we reshard the momentum during the optimizer step. Each GPU updates its local FP32 momentum shard and casts it to BF16. An all-to-all exchange, batched over parameters of the same shape, then gives each GPU ownership of a subset of full momentum matrices. Each GPU orthogonalizes its full momentum matrices locally with a symmetry-aware Newton–Schulz kernel. A second all-to-all returns the updates to their original shards, where they are cast back to FP32 and applied to the weights.

We further apply several optimizations that are beneficial to our training efficiency on 16K GPUs:

  • We overlap communication and computation by prefetching multiple batches.
  • We cache and reuse the resharding metadata to avoid repeated indexing logic. This is especially useful in sparse MoE models with thousands of identically shaped parameters.
  • Selected weights, such as the MoE router weights, are replicated across GPUs rather than sharded. The first communication phase is skipped, and we instead issue an all-gather collective after Newton-Schulz to get the full set of replicated updates.

After optimizations, Muon accounted for 2.1% (165 ms) of the average training iteration time of MAI Base 2. We tracked the quality of our implementation and prioritized changes based on profiles, using both large-scale and small-scale testing setups. We compared measurements from tests to the theoretical peak performance, which we estimated to be 55 ms and bottlenecked by communication for MAI Base 2’s final training setup. We attribute the gap between theoretical and measured performance to stragglers, kernel dispatch overheads, load imbalance, and memory copies/allocations during resharding.

Activation gradient clipping

Gradient clipping is a common method to stabilize training by reducing the impact of outlier gradients. Standard gradient clipping operates on the global norm of the weight gradient for a whole batch. However, outlier gradients are typically driven by a small portion of the data within a batch. An outlier can therefore cause the gradients from the entire batch to be scaled down, including contributions from otherwise well-behaved examples. As a more targeted mitigation, we clip the gradients of activations at selected places in the network. Together with Muon, this keeps MAI Base 2’s gradient norm in a much tighter range than MAI Base 1’s (Figure 7).

Activation gradient clipping also made optimization more stable, and its benefit grew with scale as shown in Figure 8. In contrast, most changes we have tested yield a roughly constant efficiency gain across scales.

We also use activation gradient clipping as a diagnostic tool for validating our training data. Figure 9 shows a malformed training example identified by activation gradient clipping. In a pull request from our code data, a license header is abruptly cut off mid-sentence. Tracing this clipped example back revealed a bug in our preprocessing pipeline, which has since been fixed.

Scaling Data

MAI Base 2 follows the same data principles as MAI Base 1: our path to frontier performance is built on organic data, not distillation from other models. Investing in our own data pipelines continues to pay off, and we processed every training token in-house. Our corpus grew by roughly 36% from MAI Base 1 to MAI Base 2, measured in unique training tokens (see Figure 10).

Since MAI Thinking 1, we’ve improved our quality classification, topic binning, web parsing, deduplication, and evaluation decontamination. For MAI Base 2, we expanded our pipelines to process substantially more web content1, with a March 2026 knowledge cutoff. We also used embedding-based diversity sampling to prioritize novel data and reduce duplicative content. Our experiments showed that these approaches substantially improved model performance.

Unlike MAI Base 1, MAI Base 2 is pre-trained natively with vision using an encoder-free VLM architecture. Accordingly, we invested heavily in growing our VLM corpus across image-text pairs and documents with interleaved text and images. The corpus spans tasks including image captioning from the web, chart understanding, visual grounding, spatial reasoning, medical understanding, computer use, sheet-music reading, and other areas we anticipate users will find useful. Our VLM corpus contains 4.5T unique tokens and, with repetition, VLM data accounted for 18% of the 50T-token training mixture.

What’s next

MAI Base 2 is the foundation for our next generation of models, which we’re excited to share more about soon. While MAI Base 2 goes through post-training, preparations for MAI Base 3 are already underway. All our models are built following the same principles that have guided us since MAI Base 1:

  • Intelligence should be learned from first principles.
  • Simple methods scale best.
  • Scientific rigor over shortcuts.

We have conviction that these principles will lead to continued scaling towards the frontier. Training frontier AI requires researchers and engineers across modeling, data, and infrastructure to work as one team. If this appeals to you, we’re hiring!


1 For web data, we use a proprietary crawler that respects the Robots Exclusion Protocol (robots.txt) and related meta-tag and HTML controls, enabling site owners to manage how content on their sites is accessed and used. We also exclude sources that violate Microsoft Responsible AI policies or appear on the Office of the United States Trade Representative (USTR) Notorious Markets list.

Related stories

Introducing MAI Thinking 1

Towards Humanist Superintelligence 

Painted illustration of people cycling and swimming in a sunny park with a lake and cypress trees

What is AI anyway?

A collage on a black background features a vintage computer, typewriter, car, circuit boards, mushrooms, pottery, and machine parts, arranged randomly with no clear pattern.

RL infrastructure at Microsoft AI

Research

Abstract painting featuring a diagonal arrangement of small squares and dots against sweeping shapes of green, blue, and yellow.

Download the PDF

Long, stable, and numerically accurate Reinforcement Learning (RL) is an essential piece of Microsoft AI’s (MAI) path to Humanist Superintelligence. We aim to climb capabilities from the base model through RL itself, which means runs of many thousands of training steps spanning weeks to months on thousands of GPUs, rather than a short RL phase at the end of post-training. Over runs that long, small numerical mismatches and system inefficiencies compound, so we built Rocket, MAI’s in-house RL framework, to enable us to post-train models at increasing scale. We recently shared an update on our new three-trillion-parameter base model, MAI Base 2, in Frontier Pre-training at Microsoft AI. MAI Base 2 is now being post-trained with Rocket, climbing from the base model through RL without distillation from third-party models. This work is separate from the MAI Code 2 models.

Post-training MAI Base 2

The MAI Thinking 1 technical report introduced Rocket as the RL framework which post-trained our previous pre-trained model, MAI Base 1, into the reasoning model MAI Thinking 1. Since then, we have improved Rocket to operate at the larger scale demanded by MAI Base 2. RL infrastructure needs to address many challenges at increasing scale:

  1. Staleness. Agentic rollouts can take hours while the learner keeps updating the policy. Because GRPO scores each rollout against the others for the same problem, a single slow or failed rollout holds back its entire group, so training drifts further off-policy.
  2. Numerical consistency. Fitting a larger model and longer contexts into the sampler requires lower-precision storage, and differences in precision, kernels, and parallelism between the sampler and learner can slow learning and destabilize training.
  3. Fault tolerance and elasticity. Runs that span thousands of GPUs for weeks or months will encounter hardware failures, while the best runtime configuration and data mixture change. Restarting the whole job for every failure or reconfiguration wastes GPU time, so the system must recover and reconfigure components while the run continues.

RL infrastructure built for MAI’s training recipe

The right RL infrastructure depends on the training recipe it serves, and one factor that is easy to overlook is distillation. A model distilled from a stronger teacher begins RL close to its ceiling, so RL becomes a comparatively short refinement phase. In that regime, the infrastructure priorities differ: a failed run can simply be restarted, and small mismatches between sampler and learner have little time to compound.

Rocket is built for the more demanding case of climbing from base capabilities through RL itself, without a distilled head start. Being able to reach the frontier without depending on other labs’ models is central to MAI’s self-sufficiency. The infrastructure challenges above become the main design constraints rather than edge cases in this regime. Hardware failures are a certainty, small numerical mismatches accumulate over thousands of updates, and the best data mixture and GPU allocation shift as the policy improves.

Open-source frameworks such as verl and slime provide strong foundations for RL post-training, including distributed execution, customizable agent workflows, and asynchronous sampling. However, our long climbs from a base model push these capabilities beyond the regime they are typically exercised in. We built Rocket to tightly design our RL infrastructure around the unique needs of our RL workloads and MAI’s models.

MAI develops and operates three tightly connected systems necessary for RL: the learner and training framework, Rocket, and an inference engine built on an MAI-maintained fork of SGLang. Owning all three allows us to co-design the interfaces between them rather than optimize each component in isolation.

This does not mean building every layer from scratch. Rocket leverages Kubernetes or Slurm to allocate nodes to a job, and Rocket’s components run on Ray as actors. We adopted SGLang as our inference foundation and have substantially adapted it to MAI’s models and long-running agentic RL workloads. Owning these integrations carries a maintenance cost, but lets us evolve the complete RL loop rather than optimize its components in isolation. A future blog post will detail the ways that we adapted SGLang to fit our workloads.

Rocket overview

Figure 1 shows Rocket’s asynchronous training loop. A problem defines a task; a rollout is one attempt at solving it. Our long-running RL training is based on Group Relative Policy Optimization (GRPO), which computes advantages by comparing rewards across rollouts of the same problem. The controller (1) selects a problem from the curriculum and sends it to a problem worker (2), which dispatches a set of rollout requests to the rollout worker pool (3). Each problem and rollout worker handles many requests concurrently.

Each rollout worker tracks the state of the ongoing rollouts it manages. For agentic tasks, an agent loop requests model responses from the sampler (4) and routes tool calls through the tool dispatcher to the task environment (5). The agent can execute actions in sandbox execution environments (SEE), query search services, or invoke tools exposed by MCP servers. Tool results become context for the next model call, and the loop continues until the agent finishes or reaches a configured limit.

Per-rollout graders then evaluate the trajectory and, where needed, the environment state. The rollout worker (3) stores the trajectory payload and returns scores and references to the stored rollouts to the problem worker (2). The problem worker collects a problem’s rollouts, runs configured group graders on all the rollouts together, and then computes advantages for all rollouts in the GRPO group.

The problem worker returns these results to the controller (1), which selects eligible data and packs training segments into learner batches. Each segment is a training example containing one or more model turns. The batches carry segment references and advantages; the learner (6) retrieves the corresponding token IDs and sampling log probabilities from the rollout store.

The learner updates the policy, and the controller periodically initiates a weight transfer to refresh the sampler. Recovery checkpoints preserve both learner and controller state. Runtime management monitors worker health and coordinates recovery and resource allocation.

Controlling staleness

Our largest RL runs mix problems that finish in minutes, such as Instruction Following, with long horizon agentic tasks that last hours, such as software-engineering tasks (Figure 2). Rocket is an asynchronous RL framework by design, so the learner continues updating while rollouts run. We measure policy staleness as the gap between the policy version used to generate a token and the learner’s version when it trains on that token.

When the sampler policy and learner policy differ because of staleness, training becomes off-policy, which increases the risk of instability due to token probability and activation differences between the two policies. Figure 3 shows that the mean absolute difference between the sampler’s and learner’s log-probabilities grows with staleness. When staleness is zero, there is no difference between token probabilities in the sampler and learner (more details in the Numerical parity section below).

Figure 4 follows three rollouts from one GRPO group, from dispatch to the training step that consumes them. In this example, the sampler receives up-to-date learner weights every four steps. When the time between training steps is roughly constant, a token’s staleness is approximately

Sampler lag + Time when token is trained on − Time when token was generatedTime between training steps

The first term, sampler lag, measures how far the sampler’s policy version lags the learner’s when a token is generated. The second captures staleness accumulated between generation and training: while the token’s rollout finishes, while the completed rollout waits for the rest of its GRPO group, and while the group waits for the learner. The controls below target each of these in turn.

Keeping the sampler current. In Figure 4, the sampler receives up-to-date learner weights every 4 training steps, so sampler lag is 0–3 steps. We reduce this term through frequent sampler weight updates. The distributed learner must supply updated weights to every sampler replica, and sending weights separately to each one would make learner-side communication cost grow with the inference fleet size. Rocket therefore transfers weights to samplers in two stages: selected sampler engines first pull packed parameter chunks from the learner, and then distribute them to corresponding ranks across sampler replicas. In our current configuration and training run, weight transfer takes 15 seconds, enabling frequent sampler weight updates to limit policy lag at generation.

Prioritizing existing rollouts over new ones. A long wait before a rollout’s first token is generated does not contribute to staleness. Once a token is generated, however, it becomes increasingly stale as the rollout performs additional inference calls, tool calls, and requeues. The slowest rollout in Figure 4 samples from six successive weight versions before it completes. In early experiments, multi-turn rollouts sometimes paused for hours between inference requests while waiting for inference capacity. To mitigate this, we prioritize finishing existing rollouts over starting new ones. Each request inherits a priority based on its rollout’s start time, so earlier rollouts are served first. We also automatically scale the number of in-flight rollouts up or down to match available inference capacity, keeping queues short under normal conditions. Even with this automatic scaling, new rollouts can wait for a long time before their first request. Each rollout in Figure 4 waits 24 minutes before its first inference request begins. Rollout-level timeouts must account for this wait, and rollouts may hold VMs and other resources before generation starts.

Dropping failed rollouts. Across a GRPO group, tokens from completed rollouts become stale while waiting for the rest of their group to finish so that training can occur. In Figure 4, the fastest rollout waits 7.6 hours for the slowest one to finish. Retrying failed rollouts can add a large gap between the retry finishing and the rollouts that succeeded on the first try. We therefore drop failed rollouts rather than hold back the group’s training data. This reduces staleness, but dropping failed rollouts can add noise to or bias the baseline for GRPO’s group advantage, since the failed rollouts may share features that never make their way to the learner.

Keeping jobs inference-bound. Completed rollouts that wait in a long internal queue before they’re sent to the learner accumulate further staleness. We overallocate GPUs to our learner so that RL jobs are bottlenecked by inference capacity, not training capacity. In Figure 4, the completed group spends just 12 seconds in the controller queue before it is trained on. The trade-off is that the learner’s GPUs sit partially idle.

The formula’s denominator has a counterintuitive consequence: adding inference servers while leaving batch size unchanged can increase staleness. With more inference servers, it takes less time to collect enough rollouts for a training step. Since our jobs are typically inference-bound, this shortens the time between training steps. More training steps can be completed in the time it takes for a rollout to finish, even if the rollout’s wall-clock time is unchanged.

Numerical precision

For MAI Thinking 1, we prioritized numerical fidelity by retaining BF16 weights and KV caches throughout the sampler. Since MAI Base 2 is a much larger model, we selectively use MXFP8 for MoE weights and KV caches to accelerate rollouts while maintaining training stability. Figure 5 summarizes the precision choices in the sampler and learner.

MoE expert weights account for over 95% of the model’s parameters. Storing these weights in MXFP8 rather than BF16 nearly halves the sampler’s weight memory footprint, enabling a smaller expert-parallel (EP) degree and fewer GPUs per sampler replica. In our experiments, performing the expert matrix multiplications in MXFP8 produced larger sampler–learner log-probability discrepancies than dequantizing the MXFP8 weights to BF16 and multiplying them with BF16 activations. We therefore store MoE weights in MXFP8 but dequantize them to BF16 for computation. This retains most of the speed benefits while keeping the sampler closer to the learner. To improve training stability, we reproduce the sampler’s weight quantization in the learner by quantizing MoE weights to MXFP8 and immediately dequantizing them to BF16 for computation.

We apply the same separation of storage and compute precision to the sampler’s global-attention KV cache. Within the attention kernel, quantized KV entries are dequantized to BF16 for computation. The learner applies corresponding KV fake quantization to reproduce the sampler’s quantization effects. The smaller KV cache footprint supports longer sequences and higher rollout concurrency, while reducing the need to offload KV entries or retract requests under memory pressure.

MAI Base 2 mixes local and global attention layers at a ratio of 5:1, and our ablations showed that quantizing both local- and global-attention KV caches introduced substantially larger sampler–learner log-probability discrepancies than quantizing global-attention KV caches alone. We therefore retain BF16 KV caches for local-attention, and, as a numerical precaution, for the final three global attention layers. All other global-attention layers use MXFP8 storage. The resulting KV cache configuration accommodates approximately 67% more global-context tokens than the BF16 KV cache configuration, while maintaining roughly the same local-attention cache capacity.

Numerical parity

Matching storage and compute precision between the sampler and learner is only one part of numerical consistency. Differences in kernels, parallelism, operation ordering, and intermediate rounding can yield different token probabilities even with identical checkpoints and inputs. These implementation-induced discrepancies can also evolve during training. In a controlled comparison with identical inputs, we observed a larger sampler–learner log-probability discrepancy at a later RL checkpoint than at initialization. This suggests that optimization may amplify or exploit numerical differences between the learner and sampler. Related work from Thinking Machines and DeepSeek has likewise emphasized consistency between training and inference implementations.

We achieved bitwise parity between sampler and learner computations for identical checkpoints and inputs, with no noticeable performance degradation. Figure 6 compares two RL runs on a smaller model with 7B active and 180B total parameters (L42 on our scaling ladder), initialized from the same checkpoint and launched roughly one month apart. The baseline run (yellow) predates the numerical consistency improvements, while the bitwise-matched run (blue) incorporates them. The bitwise-matched run achieves higher evaluation scores at comparable training steps.

Achieving parity without sacrificing performance requires accommodating the distinct computational demands of sampler decode, sampler prefill, and learner forward passes. Each benefits from different parallelism strategies and kernel implementations, yet all must preserve the same numerical behavior. Below, we highlight several changes that made this possible.

  • Attention output projections. Row-parallel projections under tensor parallelism (TP) require summing partial outputs across GPUs, a known source of numerical discrepancies (see Thinking Machines Lab and NeMo RL). We retain TP for attention in the sampler for performance, but replicate the attention output-projection weights to eliminate the reduction across GPUs after the projection. Before applying the projection, we all-gather the attention-head outputs so that each token’s full projection can be computed on a single GPU. The learner operates without TP, allowing its summation order to match the sampler’s.
  • MoE expert combination. We distribute experts using expert parallelism (EP), without TP within individual experts. Combining the selected experts’ outputs still requires a weighted sum with normalized routing weights. We use all-to-all communication to return individual expert outputs to each token’s source device, then compute the weighted sum locally in FP32. Matching the accumulation precision and reduction order between the sampler and learner eliminates discrepancies introduced by expert combination.
  • Attention kernels. FlashAttention’s floating-point results depend on tiling, KV partitioning, and kernel arithmetic (see Is Flash Attention Stable?). We use a shared FA4 implementation and align its execution across learner forward, sampler prefill, and sampler decode. For sliding-window attention, we align the sampler’s K-block boundaries with the learner’s tiles and mask positions outside the valid window. This prevents the compact KV cache layout from changing token grouping in the online softmax and attention-value reductions. We jointly tune the number of KV tokens per split to maximize overall throughput in our training setup, then use this fixed value and matching split boundaries across sampler decode, sampler prefill, and learner forward passes to preserve a consistent reduction structure.

Long-running jobs, fault tolerance, and elasticity

The staleness and numerical controls above support stable learning. Sustaining that progress over weeks or months also requires recovering from failures and adapting to changing resource needs. Rocket’s job-management layer supervises the learner, controller, and inference workers, coordinating recovery, resource allocation, and runtime configuration. Separating supervision from the RL loop lets Rocket recover or resize individual components without restarting the whole job. Table 1 estimates the training time and GPU-hours saved through targeted recovery and elastic runtime reconfiguration from a portion of RL training.

Fault tolerance

Rocket recovers at the smallest scope needed to restore progress, preserving healthy components and valid in-flight work. Health checks track liveness and training progress, treating stalled processes as unhealthy.

Learner recovery. The controller, rollout workers, and inference fleet remain running when the learner fails (Figure 1). When the learner fails, Rocket pauses admission of new problems and terminates the learner ranks rather than waiting for each rank’s NCCL timeout. It then rebuilds the learner, restores the latest checkpoint, and reconnects it to the existing controller. Curriculum state and valid pending work are retained, while queued and in-flight rollouts can continue on surviving services. In our runs, learner-only recovery takes roughly five minutes. We keep inference running during this interval, accepting the potential staleness cost rather than idling the fleet. Table 1 shows that learner recovery accounted for saving over 7% of the GPU hours in a recent run.

Inference recovery. A failed inference replica can be replaced without restarting healthy replicas or the learner. If repeated losses reduce the fraction of live inference workers below a configured threshold, Rocket restarts the job at the cluster-scheduler level to restore capacity.

Escalating recovery. When component-local repair is insufficient, Rocket can rebuild within the existing Ray job, denoted as “In-Job Recovery” in Table 1. If in-job recovery cannot restore progress or sufficient healthy capacity, Rocket can requeue the workload at the cluster level. In-job recovery avoids cluster scheduling and container-startup overhead and saves 0.42% of the training compute.

Control-plane isolation. Ray heads and Rocket’s CPU actors run on CPU-only nodes, which have been more stable than GPU nodes in our deployments. This reduces the chance that a GPU-side failure takes down job supervision or other control services.

Elasticity

The same component boundaries that enable fault tolerance also let us adapt the job without a full relaunch. Changes in rollout length, model capability, and data mixture can shift the learner–inference balance during a run. Rocket supports compute resource elasticity to resize components and runtime elasticity to change training behavior.

Compute resource elasticity

Rocket scales the learner, inference workers, and controller services independently, adding capacity at bottlenecks and releasing excess capacity elsewhere. Inference workers can be resized immediately when new configuration comes. For the learner, we wait and only resize it after the next checkpoint save in order to limit wasted compute.

Placement must respect interconnect topology. On rack-scale Blackwell clusters, enough free GPUs do not necessarily form a usable worker group under topology constraints. Figure 7 shows the two scheduling layers: the cluster scheduler allocates nodes to the job, while Rocket assigns topology-compatible groups to components and reuses released nodes within the job. Rocket tracks active allocations and spare capacity as component targets change; its scheduling actor requests additional resources when suitable capacity is insufficient.

We keep a spare group of nodes sized to replace one learner slice. If a slice fails, Rocket uses the spare group while autoscaling replenishes it. This trades reserved capacity for faster recovery and supports repeated node replacement while suitable cluster capacity remains available.

Runtime elasticity

Rocket exposes typed, validated runtime settings for inference capacity and concurrency, work admission, policy-staleness limits, batch packing, and problem-mixture weights. Figure 7 shows that the learner, inference worker, and controller read from the Rocket job’s runtime config dynamically. Components apply updates at defined boundaries, such as after a training step or before a sampling operation. Runtime elasticity led to a 9.88% improvement in training compute as shown in Table 1.

Where we’re headed

Rocket is not an abstract system, it is actively powering the model progress on our aggregate reasoning benchmark, a portion of which is shown in Figure 8. The figure shows the long log-linear climb that Rocket was built to sustain. The aggregate reasoning benchmark consolidates dozens of public and private evaluations into a single number. MAI’s model recently passed Claude Opus 4.8 performance on this aggregate benchmark, and it is on track to overtake GPT-5.6 Sol in a few weeks.

The steadiness of our model progress matters as much as where it stands today. Across the run, the climb has continued without plateauing or destabilizing, which makes further progress a predictable function of RL data and compute. This gives us confidence that continuing to scale both will keep carrying our models toward the frontier. Infrastructure is one of the ingredients in this climb, and we look forward to sharing more details and model results soon.

We are continuously improving Rocket to support improved RL, longer rollouts, more complex agentic interactions, larger deployments, and other areas. We are particularly excited by the work to prepare Rocket for MAI’s next generation of larger models as we scale towards Superintelligence. If these are problems you want to work on, we are hiring.

Citation

Please cite this work as:

The Microsoft AI Team, “RL infrastructure at Microsoft AI,” Microsoft AI, Nov 2026.

Or use the BibTeX citation:

@misc{mai_rl_infrastructure,
  title={RL infrastructure at Microsoft AI},
  author={{The Microsoft AI Team}},
  howpublished={Microsoft AI},
  year={2026},
  urldate={2026-11-23},
  url={https://microsoft.ai/news/rl-infrastructure-at-microsoft-ai}
}

Related Stories

Frontier Pre-training at Microsoft AI

Textured, grainy illustration of peach and pink clouds against a blue sky.

Data & privacy

Manage your Microsoft AI model-service data.

English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Sitemap Contact Microsoft Privacy Manage cookies Terms of use Trademarks Safety & eco Recycling About our ads