NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

To Mix or To Merge: Toward Multi-Domain Reinforcement Learning for Large Language Models

Haoqing Wang, Xiang Long, Ziheng Li, Yilong Xu, Tingguang Li, Yehui Tang

TL;DR

This paper investigates how to best build "generalist" reasoning models by comparing two strategies: training on multiple domains simultaneously (Mixed Multi-task RL) versus training specialized experts and then combining them (Model Merging). The authors find that while multi-task training is significantly more computationally efficient and fosters synergy between reasoning tasks, model merging is superior for preserving a model's ability to verify its own reasoning steps.

What Problem Does This Paper Address?

Reinforcement Learning with Verifiable Rewards (RLVR)—the technique behind models like DeepSeek-R1 that use objective feedback (like a compiler or a math answer key) to learn—has revolutionized reasoning in specific domains like math and coding. However, creating a single model that excels across all domains remains a challenge.

Researchers typically face a choice: do you mix all your data together and train one giant model (Mixed RL), or do you train a "Math Expert," a "Coding Expert," and a "Science Expert" and then smash them together (Model Merging)? Until now, there hasn't been a rigorous head-to-head comparison of these paradigms. The authors aim to uncover which method is more efficient, which produces better results, and how these training styles affect the model's internal "self-verification" capabilities.

Methods

The researchers used Qwen3-4B-Base as their starting point and applied Group Relative Policy Optimization (GRPO), a popular RL algorithm that eliminates the need for a separate critic model, saving memory.

They compared two main paradigms:

  1. Mixed Multi-task RLVR: Training on math, code, science, instruction following, and agent tasks simultaneously for 1,000 steps.
  2. Separate RLVR + Merging: Training five domain-specific experts for 400 steps each, then combining them using techniques like Ties-merging (which resolves parameter conflicts) or Multi-teacher On-policy Distillation (MT-OPD) (where a student model learns from the specialized experts).

To understand why certain domains play well together, they introduced the concept of Policy Neighborhoods, using Kullback-Leibler (KL) divergence to measure how "close" different domain experts are in the probability space.

Datasets

The study utilized a diverse blend of open-source datasets:

  • Math: DAPO and Skyworks.
  • Coding: CodeContests and Open-R1.
  • Science: OpenScienceReasoning-2.
  • Instruction Following: WildChat-1M and Open-Instruct.
  • Agent Tasks: Nemotron-RL-agent-workplace-assistant.
  • Evaluation: AIME (Math), LiveCodeBench (Code), GPQA (Science), IFEval (Instruction Following), and BFCL (Agent/Tool use).

Key Insights and Ideas

  • Reasoning Synergy: Math, coding, and science are not isolated skills. Training on one often improves performance in the others. The authors found that these "reasoning-intensive" domains exhibit mutually synergistic effects rather than interference.
  • The Efficiency of Mixing: Mixed multi-task RLVR achieved comparable performance to merging while using only 58.3% of the GPU hours.
  • Policy Neighborhoods: Merging works best when models are "neighbors." For example, the coding expert's policy is relatively close to the math expert's policy. Merging "neighboring" experts enhances performance, while merging distant ones (like an agent expert with a math expert) can be less effective.
KL-divergence heatmap showing how close different domain experts are to one another.
  • The "Process Collapse" Warning: A major finding is that multi-task training can cause "process collapse" in self-verification. While the model gets the right answer, its ability to accurately judge the validity of its own step-by-step reasoning (Chain-of-Thought) degrades significantly compared to merged models.
  • Agents are Special: Agentic tasks (multi-turn tool use) are unique. While they don't naturally improve math or coding skills, they are the best at teaching a model how to verify its own process, likely because agentic work requires constant monitoring of environment feedback.

Key Results

  • Performance: Both paradigms significantly outperformed the base SFT model. In many benchmarks, the "Mixed" model and the "Merged" model were neck-and-neck. For instance, on AIME'24 (Math), the Merged model hit 80.57% while the Multi-task model hit 81.20%.
  • Verification Accuracy: The RL-Agent expert achieved the highest process-based judging scores (e.g., 99.4 on coding tasks), proving that interactive training is a catalyst for robust self-monitoring.
  • Emergent Skills: Multi-task training was found to develop "emergent" problem-solving strategies that weren't present in any single-domain expert, whereas merging primarily inherited existing skills.
Accuracy trajectories showing how different tasks improve (or stay flat) during specialized RL training.

Limitations and Future Work

The authors acknowledge that their pipeline is a simplified "SFT then RL" sequence, whereas many production models use multiple alternating stages. Furthermore, while they identified the "Policy Neighborhood" phenomenon, they noted that choosing the exact mathematical threshold ($\epsilon$) to define a neighbor is complex and requires more research.

Future work could explore how to prevent the "process collapse" seen in multi-task models, perhaps by incorporating agentic, multi-turn data into the mix to anchor the model's self-verification skills.

Summary updated

BibTeX
@inproceedings{wang2026mix,
  author = {Haoqing Wang and Xiang Long and Ziheng Li and Yilong Xu and Tingguang Li and Yehui Tang},
  title = {{To Mix or To Merge: Toward Multi-Domain Reinforcement Learning for Large Language Models}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=jP7j5XkG8J},
}
Figure