Manuscript Offprint

arXiv:2610.21682

Router Drift Control: Mitigating Off-Policy Degradation in Mixture-of-Experts Reinforcement Learning

Liangyao Jin, Zhixin Wang, Liming Liu, Mingjun Zhang, Zhengzhou Zhu, Fangcheng Fu, Jinlong Hou, Yuan Cheng, Xiaohe Hu, Ping Zhang, Siyuan Feng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Reinforcement learning (RL) can become off-policy due to training-inference mismatch, mini-batch updates, and asynchronous training. The resulting mismatch is especially harmful in Mixture-of-Experts (MoE) models, where rollout-training discrepancies can change routing decisions and lead to router drift. Rollout Routing Replay (R3) mitigates this mismatch by reusing expert selections from the rollout stage during training. Our analysis shows that routing replay introduces gradient bias by losing contributions from experts selected by the training router but not the rollout router. To address this, we propose Router Drift Control (RDC), which uses routing disagreement between rollout and training as a signal of off-policy staleness and selectively rejects high-drift responses. The sequence-level filtering avoids gradient bias introduced by replay while preserving native expert selection and the associated learning signals for retained responses. Experiments show that RDC achieves larger gains as policy staleness increases and remains effective in asynchronous RL. In asynchronous training, RDC combined with Truncated Importance Sampling (TIS) improves the average peak validation accuracy across AIME 2024 and AIME 2025 by 5.5 points over TIS and 4.5 points over R3.

1 INTRODUCTION

Reinforcement learning with verifiable rewards is widely used to improve the reasoning abilities of large language models (Shao et al., 2024; Guo et al., 2025; Yu et al., 2026). In practical Reinforcement learning (RL) systems, rollout generation and policy optimization are often handled by separate inference and training engines (Wang et al., 2026). Consequently, the policy used to generate responses can differ from the current training policy, making nominally on-policy training effectively off-policy. As illustrated in Figure 1, off-policy mismatch can arise from three common sources:

• Training-Inference Mismatch. Rollout and training engines may use different numerical precision, computational kernels, and parallel execution strategies (Liu et al., 2025; Wasti et al., 2025; He & Lab, 2025; Zhang et al., 2025). As a result, even with identical model parameters and inputs, the rollout and training engines can produce different token probabilities.

• Mini-Batch Updates. Large rollout batches are often used to improve hardware utilization and are partitioned into multiple mini-batches for sequential policy updates (Zheng et al., 2025b). Because the policy is updated after each mini-batch, later mini-batches become increasingly stale relative to the current policy.

∗^{*}Equal contribution; †\daggerCorresponding author.

Figure

Figure 1: Three common sources of off-policy mismatch in LLM reinforcement learning. Training and inference discrepancy, sequential mini-batch updates, and asynchronous policy lag can cause the policy used for generation to diverge from the policy used for optimization.

• Asynchronous Training. To improve system throughput by overlapping rollout generation with policy optimization, asynchronous RL decouples the two stages. As a result, training may use trajectories generated by earlier policy versions, introducing policy staleness (Espeholt et al., 2018; Zhang et al., 2026b; Yao et al., 2025).

Mixture-of-Experts (MoE) model architectures scale model capacity by activating only a subset of experts for each token, with a router determining which experts participate in the computation (Shazeer et al., 2017; Lepikhin et al., 2021; Fedus et al., 2022). As a result, routing decisions directly determine the computation path and the experts that receive learning signals. Under off-policy conditions, even small differences between the rollout and training policies can change routing decisions, causing the same token to be assigned to different experts during rollout and training (Ma et al., 2025; Zhang et al., 2026a). We refer to this rollout-training routing mismatch as router drift. As illustrated in Figure 2, router drift changes the computation path of a response and the expert-level learning signals during training.

Existing methods mitigate off-policy effects from different perspectives (Zheng et al., 2025a; Li et al., 2025; Ma et al., 2025). Probability-based methods, such as truncated importance sampling (TIS), reweight token-level updates using truncated likelihood ratios between the training and rollout policies (Yao et al., 2025; Zheng et al., 2025a). These ratios capture differences in token probabilities but do not directly reveal changes in expert assignments. Rollout Routing Replay (R3) addresses routing drift by reusing expert selections from the rollout stage during training (Ma et al., 2025). While this enforces routing consistency between rollout and training, our analysis shows that replay alters gradient attribution relative to native routing, omitting contributions from experts that would otherwise be selected by the current training router.

We further observe that the degree of routing disagreement varies across responses. Motivated by this insight, we propose Router Drift Control (RDC), which selectively filters high-drift responses while preserving the native routing of the remaining responses. RDC quantifies routing disagreement between rollout and training. It uses this signal to exclude a small fraction of responses from each policy update. For retained responses, the training router remains free to select experts and receive the associated learning signals. Our main contributions are summarized as follows.

• We analyze the role of routing in MoE reinforcement learning and show that routing decisions determine expert-level gradient attribution beyond what token probabilities can cap-

Figure

Figure 2: Router drift in MoE reinforcement learning. The same response can activate different experts during rollout and training, resulting in different computation paths and expert-level gradient attribution.

ture. We further show that routing replay alters this gradient attribution and can introduce bias relative to native routing.

• We propose RDC, which quantifies rollout–training routing disagreement at the response level and uses it to identify high-drift responses. RDC selectively filters these responses while preserving the native training routes of retained responses, providing a routing-aware correction without route replay.

• We evaluate RDC under both synchronous and fully asynchronous RL, showing that its gains become more pronounced as policy staleness increases. In asynchronous training, RDC combined with TIS improves the average peak validation accuracy on AIME 2024 and AIME 2025 by 5.5 points over TIS and 4.5 points over R3, while maintaining stable training dynamics.

References (40)