MOSAIC Framework Optimizes MoE Models for Cluster Efficiency

Soumajyoti Sarkar, Yuxin Tang, Sheng Zha· August 12, 2026 View original

Key takeaways

  • Traditional model scaling often separates architecture design from systems optimization.
  • MOSAIC unifies model architecture and systems co-design for sparse MoE models.
  • Compute-optimal MoE configurations are not always optimal for real-world clusters.
  • Optimal sparsity emerges when considering system constraints like MFU and communication costs.

Who benefits

AI ResearchCloud ComputingHyperscale Data CentersEnterprise AISoftware Development

Summary

This paper introduces MOSAIC, a framework for co-designing model architecture and systems for sparse Mixture-of-Experts (MoE) language models. MOSAIC integrates predictive scaling laws with a calibrated performance model to optimize MoE dimensions under cluster constraints, demonstrating that compute-optimal models are not necessarily cluster-optimal and highlighting the emergence of optimal sparsity under systems constraints.

In the development of large-scale language models, particularly sparse Mixture-of-Experts (MoE) architectures, decisions about algorithms, architecture, and underlying systems are often made in isolation. This disconnected approach typically involves first optimizing for loss under compute constraints, followed by a separate stage to optimize implementation for hardware efficiency. This research argues for a unified approach, introducing MOSAIC (Model Architecture and Systems Co-design as an Optimization Problem). MOSAIC integrates a predictive scaling law with a calibrated performance model that estimates key system metrics like Model FLOPs Utilization (MFU), communication costs, and memory footprint, alongside identifying the best parallel layout. The framework is instantiated for sparse MoE language models, where factors like expert count and routing sparsity significantly influence both model loss and system efficiency. Through extensive scaling law sweeps on MoE models, the study reveals a critical insight: an efficiency-agnostic compute budget often suggests that sparser models are always better, pushing the optimum to the boundary of data support. However, when systems constraints of a cluster are factored in via MOSAIC, an optimal sparsity factor emerges. This demonstrates that what is "compute-optimal" in isolation is not necessarily "cluster-optimal" in a real-world deployment, advocating for a paradigm shift towards integrated architecture and systems co-design for frontier language model training.

Why it matters

AI engineers and leaders involved in large-scale model training can make more informed decisions about MoE architecture and deployment, optimizing for real-world cluster efficiency and cost-effectiveness rather than just theoretical compute limits.

How to implement this in your domain

  1. 1Adopt a co-design approach for large-scale model development, integrating architecture and systems considerations from the outset.
  2. 2Utilize performance modeling tools to estimate MFU, communication costs, and memory footprints for different MoE configurations.
  3. 3Develop or leverage scaling laws that incorporate system-level metrics alongside traditional loss functions.
  4. 4Experiment with varying MoE parameters (expert count, sparsity) within the MOSAIC framework to find cluster-optimal configurations.
  5. 5Train engineering teams on the principles of systems-aware scaling to bridge the gap between model design and hardware efficiency.

Original post by Soumajyoti Sarkar, Yuxin Tang, Sheng Zha

"arXiv:2608.10605v1 Announce Type: new Abstract: In large-scale pretraining, the algorithm, architecture, and systems decisions are conventionally made in disconnected stages. A scaling law stage selects an architecture and training recipe, optimizing loss under compute constraint…"

View on X

Originally posted by Soumajyoti Sarkar, Yuxin Tang, Sheng Zha on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses