mlsanityData to 7 Oct 2026

BAM! Just Like That: Simple and Efficient Parameter Upcycling for Mixture of Experts

arXiv 2408.08274 ↗First posted 15 Aug 2024cs.LGcited by 16

On the map: Mixture-of-experts → MoE large language models

Abstract (arXiv)

The Mixture of Experts (MoE) framework has become a popular architecture for large language models due to its superior performance over dense models. However, training MoEs from scratch in a large-scale regime is prohibitively expensive. Existing methods mitigate this by pre-training multiple dense expert models independently and using them to initialize an MoE. This is done by using experts' feed-forward network (FFN) to initialize the MoE's experts while merging other parameters. However, this method limits the reuse of dense model parameters to only the FFN layers, thereby constraining the advantages when "upcycling" these models into MoEs. We propose BAM (Branch-Attend-Mix), a simple yet effective method that addresses this shortcoming. BAM makes full use of specialized dense models by not only using their FFN to initialize the MoE layers but also leveraging experts' attention parameters fully by initializing them into a soft-variant of Mixture of Attention (MoA) layers. We explore two methods for upcycling attention parameters: 1) initializing separate attention experts from dense models including all attention parameters for the best model performance; and 2) sharing key and value parameters across all experts to facilitate for better inference efficiency. To further improve efficiency, we adopt a parallel attention transformer architecture to MoEs, which allows the attention experts and FFN experts to be computed concurrently. Our experiments on seed models ranging from 590 million to 2 billion parameters demonstrate that BAM surpasses baselines in both perplexity and downstream task performance, within the same computational and data constraints.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 41 of its 50 references that are in the map. First posted on arXiv 15 Aug 2024.

Builds on

41 of 50 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model7 May
  2. 2024JetMoE: Reaching Llama2 Performance with 0.1M Dollars11 Apr
  3. 2024Branch-Train-MiX: Mixing Expert LLMs into a Mixture-of-Experts LLM12 Mar
  4. 2024Scaling Laws for Fine-Grained Mixture of Experts12 Feb
  5. 2024Mixtral of Experts8 Jan
  6. 2023ModuleFormer: Modularity Emerges from Mixture-of-Experts7 Jun
  7. 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints9 Dec
  8. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Models17 Feb
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan

Other references · 32

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2021Program Synthesis with Large Language Modelscited by 3,509
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  12. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
20 more
  1. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  2. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  4. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  5. 2023Llemma: An Open Language Model For Mathematicscited by 385
  6. 2018QuAC : Question Answering in Contextcited by 379
  7. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
  8. 2022MegaBlocks: Efficient Sparse Training with Mixture-of-Expertscited by 204
  9. 2024Evolutionary Optimization of Model Merging Recipescited by 204
  10. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
  11. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  12. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
  13. 2023GPT Can Solve Mathematical Problems Without a Calculatorcited by 68
  14. 2023MathPile: A Billion-Token-Scale Pretraining Corpus for Mathcited by 67
  15. 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 58
  16. 2024SEER-MoE: Sparse Expert Efficiency through Regularization for Mixture-of-Expertscited by 40
  17. 2023SwitchHead: Accelerating Transformers with Mixture-of-Experts Attentioncited by 34
  18. 2022The Harvard USPTO Patent Dataset: A Large-Scale, Well-Structured, and Multi-Purpose Corpus of Patent Applicationscited by 32
  19. 2020A Mixture of h-1 Heads is Better than h Headscited by 22
  20. 2023Dissecting the Runtime Performance of the Training, Fine-tuning, and Inference of Large Language Modelscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 8; 2026: 3.

16 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024A Closer Look into Mixture-of-Experts in Large Language Models
  2. 2026Training-Free Dynamic Upcycling of Expert Language Models
  3. 2024Upcycling Instruction Tuning from Dense to Mixture-of-Experts via Parameter Merging
  4. 2025Mixture of Experts in Large Language Models
  5. 2024A Survey on Mixture of Experts in Large Language Models
  6. 2026Pruning and Distilling Mixture-of-Experts into Dense Language Models
  7. 2024Toward Inference-optimal Mixture-of-Expert Large Language Models
  8. 2021Efficient Large Scale Language Modeling with Mixtures of Experts