Train separately, merge together: Modular post-training with mixture-of-experts

· Source: Ai2 Blog · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, medium

Summary

Released on April 20, 2026, by Ai2 researchers Jacob Morrison, Sanjay Adhikesaven, Akshita Bhagia, Matei Zaharia, Noah A. Smith, and Sewon Min, BAR (Branch-Adapt-Route) is a novel recipe for modular post-training of language models. It addresses the challenges of updating or extending models after initial post-training stages, which typically involve expensive full retraining or risk losing existing capabilities. BAR sidesteps these issues by training independent domain experts—such as for math, code, tool use, and safety—each through its own complete pipeline, then composing them into a unified Mixture-of-Experts (MoE) architecture. A key technical contribution is a progressive unfreezing schedule for shared parameters across mid-training, supervised fine-tuning (SFT), and reinforcement learning with verified rewards (RLVR) stages. BAR achieves strong performance, outperforming baselines that don't require rerunning mid-training from scratch (49.1 vs. 47.8 overall) and enabling independent expert upgrades with linear cost scaling, such as a +16.5 point improvement in code performance by replacing an expert.

Key takeaway

For Machine Learning Engineers iterating on large language model capabilities, BAR provides a robust solution to update specific domains without costly full retraining. If you are struggling with catastrophic forgetting or the quadratic cost of monolithic updates, consider adopting this modular MoE approach. It allows you to upgrade individual experts, like improving code performance by +16.5 points, with linear cost scaling and minimal impact on other domains.

Key insights

Modular post-training with progressive unfreezing and MoE architecture enables flexible, cost-effective language model updates.

Principles

Method

BAR trains independent domain experts with progressive unfreezing, merges them by averaging shared parameters, then trains a lightweight router on a 5% SFT data sample.

In practice

Topics

Code references

Best for: Research Scientist, AI Architect, AI Engineer, AI Scientist, Machine Learning Engineer, Director of AI/ML

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Ai2 Blog.