arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.22755cs.CLcs.AIcs.LG
收藏

KALAVAI:预测独立专家融合何时有效——一个事后合作大语言模型训练的定量模型

KALAVAI: Predicting When Independent Specialist Fusion Works -- A Quantitative Model for Post-Hoc Cooperative LLM Training

Murai Labs

Ramchand Kumaresan

AI总结:

KALAVAI提出一个定量模型,通过事后融合独立训练的领域专家,预测协作增益,验证了在不同规模模型上的融合效果及路由精度。

摘要:

独立训练的领域专家可以事后融合成一个超越单个专家的模型,增益可预测:增益=0.82×分歧-2.72(R²=0.856,n=6,3-26%分歧)。这使从业者能在投入计算前估计协作价值。在分歧低于3.3%时,增益接近零。在KALAVAI协议中,贡献者独立微调共享检查点的副本,然后提交给轻量级MoE路由(500步)。增益一致:在410M模型上增益+7.72%(±0.02%,3种子),在1B模型上增益+7.49%(±0.01%,3种子),在6.9B模型上增益+6.53%,均优于最佳专家。路由在<10^{-5} nats内匹配领域-Oracle路由。跨语言融合(泰米尔/约鲁巴/威尔士/代码)实现+21.76%,约鲁巴困惑度从41.9降至7.7。20名贡献者联盟实现+16.71%(±0.07pp,3种子)。三个要求限制了该协议。共享初始化是必要的:检查点不匹配会降低路由性能。冻结层在低于约10,000步时可选,但超过后有益。学习路由是必要的:均匀平均会比最佳专家降低1.2%,而任何训练过的路由都能实现Oracle最优分配。

英文摘要:

Independently trained domain specialists can be fused post-hoc into a single model that outperforms any individual specialist, and the gain is predictable: gain = 0.82 x divergence - 2.72 (R^2 = 0.856, n=6, 3-26% divergence). This enables practitioners to estimate cooperative value before committing compute. Below ~3.3% divergence, gains approach zero.In the KALAVAI protocol, contributors fine-tune copies of a shared checkpoint independently, then submit for lightweight MoE routing (500 steps). Gains are consistent: +7.72% at 410M (+/-0.02%, 3 seeds), +7.49% at 1B (+/-0.01%, 3 seeds), +6.53% at 6.9B, each over the best specialist. The router matches domain-oracle routing within <10^{-5} nats. Cross-lingual fusion (Tamil/Yoruba/Welsh/Code) achieves +21.76%, with Yoruba perplexity falling 41.9 to 7.7. A 20-contributor federation achieves +16.71% (+/-0.07pp, 3 seeds).Three requirements bound the protocol. Shared initialisation is necessary: checkpoint mismatch degrades routing. Frozen layers are optional below ~10,000 steps and beneficial beyond. Learned routing is essential: uniform averaging degrades by -1.2% vs. best specialist, while any trained router achieves oracle-optimal assignment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑