Bam Just Like That Simple And Efficient Parameter Upcycling For Mixture Of Experts 2024 08 15
- Source
- cohere.com
- Publisher
- Cohere
- Author
- Cohere
- Date

Context
BAM is a method for building a , which routes each input to specialized sub-networks, out of several dense models that were already trained separately. Cohere's research page for the paper says such models from scratch at large scale is prohibitively expensive, and that earlier "upcycling" reused only each dense model's feed-forward layers while merging the other parameters. BAM also reuses the parameters of each specialist, initializing them into a soft mixture-of-attention layer.
The abstract reports that, on starting models from 590 million to 2 billion parameters, BAM surpasses baselines in both perplexity (how well the model predicts text) and downstream task performance, within the same computational and data constraints. The evidence is the abstract only, at those small scales; full-paper methods and larger-scale results are not covered here. The practical point is a way to reuse existing training work when assembling a mixture-of-experts model, not a demonstrated large-scale deployment.
- mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.
- Model — A computational system that uses learned patterns to produce an output from information supplied to it.
- Training — The process that adjusts a model using examples and a measure of how well it performs.
- attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
articleSwitch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient SparsityWilliam Fedus et al.
articlePushing Mixture Of Experts To The Limit Extremely Parameter Efficient Moe For Instruction Tuning 2023 09 11Cohere
articleGlobal-batch load balance almost free lunch to improve your MoE LLM trainingQwen Team


