Matryoshka Language Model Suites· 套娃语言模型套件
Training a language model suite classically requires training each model separately and serving them independently. We improve both training and inference efficiency by stacking sub-models of increasing size into a single nested architecture trained end-to-end. This Matryoshka training framework reduces the total parameter count of the suite, enables low-cost distillation from the largest to all smaller sub-models at every training step, and is well-suited for speculative decoding as the draft model is contained within the verifier. We validate our approach by training a Matryoshka suite comprising 500M, 1.5B, and 3B sub-models. Our suite is on par with independently trained baselines on benchmark performance and validation and out-of-domain perplexities, while using 36% less training comp
多模型嵌套训练,提升效率与性能
- 核心方法
- 提出 Matryoshka 训练框架,将不同大小的子模型嵌套成单一架构,端到端训练,并支持低成本蒸馏和推测解码
- 适合谁读
- 研究者 / 工程师
- 要解决的问题
- 解决语言模型套件中各个模型需要独立训练和部署的问题
- 关键实验
- 训练包含 500M、1.5B 和 3B 参数的子模型套件,验证其在基准测试和域外困惑度上的表现
- 主要贡献
- 减少模型套件的总参数量,提高训练和推理效率,性能与独立训练基线相当
- 意义与局限
- 提升语言模型训练效率,减少计算资源消耗,但可能受限于模型嵌套结构的复杂度