LIBMoE: A Library for comprehensive benchmarking Mixture of Experts in Large Language Models
On the map: Mixture-of-experts → Expert routing strategies
Abstract (arXiv)
Mixture of experts (MoE) architectures have become a cornerstone for scaling up and are a key component in most large language models such as GPT-OSS, DeepSeek-V3, Llama-4, and Gemini-2.5. However, systematic research on MoE remains severely constrained by the prohibitive computational costs of training and evaluation, restricting large-scale studies accessible to most researchers. We introduce LibMoE, a unified framework for reproducible, efficient, and extensible MoE research that supports both pretraining and sparse-upcycling regimes. Beyond unified implementations, the framework provides transparent analytical tools for probing routing and expert dynamics. Leveraging this foundation, we conduct a comprehensive analysis along three dimensions: (i) routing dynamics, covering expert selection patterns, routing stability and optimality, and how routing entropy reveals task specialization and expert diversity; (ii) the effect of lightweight initialization on load balancing, demonstrating how subtle changes in router initialization shape early expert utilization; and (iii) training regime differences, revealing how sparse upcycling and full pretraining exhibit distinct routing patterns and stability profiles. By lowering the barrier to entry and standardizing evaluation, along with our comprehensive analysis, LibMoE broadens access to MoE research and establishes a reliable benchmark to guide future innovations. GitHub: hrefhttps://github.com/Fsoft-AIC/LibMoEhttps://github.com/Fsoft-AIC/LibMoE.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 97 of its 131 references that are in the map. First posted on arXiv 1 Nov 2024.
Builds on
97 of 131 references.
Closest ancestors · 17
Same direction, newest first
- 2024Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts28 Aug
- 2024Mixture of A Million Experts4 Jul
- 2024AdaMoE: Token-Adaptive Routing with Null Experts for Mixture-of-Experts Language Models19 Jun
- 2024Yuan 2.0-M32: Mixture of Experts with Attention Router28 May
- 2024MoEUT: Mixture-of-Experts Universal Transformers25 May
- 2024Statistical Advantages of Perturbing Cosine Router in Mixture of Experts23 May
- 2024Harder Tasks Need More Experts: Dynamic Routing in MoE Models12 Mar
- 2024Towards an empirical understanding of MoE design choices20 Feb
- 2024FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion5 Feb
- 2024CompeteSMoE -- Effective Training of Sparse Mixture of Experts via Competition4 Feb
- 2023HyperRouter: Towards Efficient Training and Inference of Sparse Mixture of Experts12 Dec
- 2023Soft Merging of Experts with Adaptive Routing6 Jun
5 more
- 2022On the Representation Collapse of Sparse Mixture of Experts20 Apr
- 2022StableMoE: Stable Routing Strategy for Mixture of Experts18 Apr
- 2022Mixture-of-Experts with Expert Choice Routing18 Feb
- 2021Taming Sparsely Activated Transformer with Stochastic Experts8 Oct
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan
Other references · 80
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Visual Instruction Tuningcited by 7,792
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2024LLaVA-OneVision: Easy Visual Task Transfercited by 2,669
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,105
- 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,044
38 more
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2024Mixtral of Expertscited by 1,785
- 2019Towards VQA Models That Can Readcited by 1,696
- 2023Evaluating Object Hallucination in Large Vision-Language Modelscited by 1,696
- 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,624
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,582
- 2022ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoningcited by 1,449
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2024Are We on the Right Way for Evaluating Large Vision-Language Models?cited by 893
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Modelscited by 834
- 2016A Diagram Is Worth A Dozen Imagescited by 793
- 2021Scaling Vision with Sparse Mixture of Expertscited by 740
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2023HallusionBench: An Advanced Diagnostic Suite for Entangled Language Hallucination and Visual Illusion in Large Vision-Language Modelscited by 572
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
- 2023OCRBench: On the Hidden Mystery of OCR in Large Multimodal Modelscited by 466
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 400
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
- 2024LMMs-Eval: Reality Check on the Evaluation of Large Multimodal Modelscited by 344
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2024MoE-LLaVA: Mixture of Experts for Large Vision-Language Modelscited by 298
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2024MME-RealWorld: Could Your Multimodal LLM Challenge High-Resolution Real-World Scenarios that are Difficult for Humans?cited by 284
- 2013Learning Factored Representations in a Deep Mixture of Expertscited by 275
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 207
- 2022MegaBlocks: Efficient Sparse Training with Mixture-of-Expertscited by 204
- 2024ALLaVA: Harnessing GPT4V-Synthesized Data for Lite Vision-Language Modelscited by 204
- 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 199
- 2024OpenMoE: An Early Effort on Open Mixture-of-Experts Language Modelscited by 185
- 2024Aria: An Open Multimodal Native Mixture-of-Experts Modelcited by 136
50 most cited of 80 All 80 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 1.
6 papers.
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 46
- 2025Sub-MoE: Efficient Mixture-of-Expert LLMs Compression via Subspace Expert Mergingcited by 26
- 2025Mixture of Experts in Large Language Modelscited by 15
- 2025Improving Routing in Sparse Mixture of Experts with Graph of Tokenscited by 4
- 2025Modeling Expert Interactions in Sparse Mixture of Experts via Graph Structurescited by 3
- 2026Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Expertscited by 1
- 2026Geometric and Stochastic Analysis of Discontinuities in Sparse Mixture-of-Experts17 Jun 2026
- 2025Modeling Expert Interactions in Sparse Mixture of Experts via Graph Structures18 Oct 2025
- 2025Mixture of Experts in Large Language Models15 Jul 2025
- 2025Sub-MoE: Efficient Mixture-of-Expert LLMs Compression via Subspace Expert Merging29 Jun 2025
- 2025Improving Routing in Sparse Mixture of Experts with Graph of Tokens1 May 2025
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Models18 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2026Slicing and Dicing: Configuring Optimal Mixtures of Experts
- 2026MoE Routing Testbed: Studying Expert Specialization and Routing Behavior at Small Scale
- 2025Latent Prototype Routing: Achieving Near-Perfect Load Balancing in Mixture-of-Experts
- 2026Mixture of Experts for Low-Resource LLMs
- 2024A Closer Look into Mixture-of-Experts in Large Language Models
- 2026Expert Upcycling: Shifting the Compute-Efficient Frontier of Mixture-of-Experts
- 2025Advancing Expert Specialization for Better MoE
- 2026Understanding Multilingualism in Mixture-of-Experts LLMs: Routing Mechanism, Expert Specialization, and Layerwise Steering