arXiv:2502.19385cs.LGcs.DC2025-02被引 3

让小模型按领域差异分大小和训练量,效果比大模型更好

HDEE: Heterogeneous Domain Expert Ensemble

  • 不同领域用不同大小和训练步数的小模型组成异构专家集
  • 在21个领域中,异构模型在20个上达到最低困惑度
  • 适合资源有限但需多领域性能的部署场景

训练密集型大模型需要海量数据和集中式算力,带来根本性瓶颈与持续增长的成本。已有研究试图通过降低训练通信开销来缓解这一问题。本文将此思路推向极致:训练可并行的、由多个小型独立专家组成的集成模型,已证明其性能优于传统集中式训练的大模型。然而,现有工作未考虑数据领域间的差异,将它们视为同质整体,忽略其复杂度、规模或分布差异。本文探索在专家集成中引入异构性的影响,具体为允许模型在大小上变化,并根据训练数据所属领域的特性调整训练步数。在相同算力预算下,对比异构集成与同质基线。实验表明,异构集成在21个评估领域中的20个上取得了最低困惑度。代码开源于https://github.com/gensyn-ai/hdee。

原文摘要 · Abstract (English)

Training dense LLMs requires enormous amounts of data and centralized compute, which introduces fundamental bottlenecks and ever-growing costs for large models. Several studies aim to reduce this dependency on centralization by reducing the communication overhead of training dense models. Taking this idea of reducing communication overhead to a natural extreme, by training embarrassingly parallelizable ensembles of small independent experts, has been shown to outperform large dense models trained in traditional centralized settings. However, existing studies do not take into account underlying differences amongst data domains and treat them as monolithic, regardless of their underlying complexity, size, or distribution. In this paper, we explore the effects of introducing heterogeneity to these ensembles of domain expert models. Specifically, by allowing models within the ensemble to vary in size--as well as the number of training steps taken depending on the training data's domain--we study the effect heterogeneity has on these ensembles when evaluated against domains included in, and excluded from, the training set. We use the same compute budget to train heterogeneous ensembles and homogeneous baselines for comparison. We show that the heterogeneous ensembles achieve the lowest perplexity scores in $20$ out of the $21$ data domains used in the evaluation. Our code is available at https://github.com/gensyn-ai/hdee.

大模型异构集成低通信

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。