arXiv:2506.15721cs.LG2025-06NeurIPS被引 3

用合成数据自动融合多模型知识,动态调整学习重点

Bohdi: Heterogeneous LLM Fusion with Automatic Data Exploration

  • 构建知识树结构,通过多模型协作生成跨领域合成数据
  • 基于性能反馈动态调节各领域数据比例,解决能力不平衡问题
  • 适合需要高效融合多源大模型知识的开发者和研究者

异构大语言模型融合旨在以低计算开销整合多个不同架构源模型的优势。现有方法存在两大局限:一是在有限领域真实数据上进行知识融合,难以覆盖多样化领域;二是固定的数据分配比例,无法根据目标模型在各领域的表现动态调整,导致能力失衡。为此,我们提出Bohdi,一种仅使用合成数据的异构大模型融合框架。通过将知识领域组织为分层树结构,Bohdi实现自动领域探索与多领域数据生成。将领域扩展与数据采样比例分配建模为分层多臂老虎机问题,利用设计的DynaBranches机制,依据目标模型在各领域的性能反馈自适应调整采样比例。结合提出的内省-重生(IR)机制,DynaBranches通过滑动窗口二项式似然比检验(SWBLRT)动态追踪目标模型更新过程中的能力变化,进一步提升在线适应能力。在多个基准测试上的对比实验表明,Bohdi显著优于现有基线,在多种目标模型上表现更优,数据效率更高,几乎消除目标模型的能力不平衡。代码已开源:https://github.com/gjq100/Bohdi.git。

原文摘要 · Abstract (English)

Heterogeneous Large Language Model (LLM) fusion integrates the strengths of multiple source LLMs with different architectures into a target LLM with low computational overhead. While promising, existing methods suffer from two major limitations: 1) reliance on real data from limited domain for knowledge fusion, preventing the target LLM from fully acquiring knowledge across diverse domains, and 2) fixed data allocation proportions across domains, failing to dynamically adjust according to the target LLM's varying capabilities across domains, leading to a capability imbalance. To overcome these limitations, we propose Bohdi, a synthetic-data-only heterogeneous LLM fusion framework. Through the organization of knowledge domains into a hierarchical tree structure, Bohdi enables automatic domain exploration and multi-domain data generation through multi-model collaboration, thereby comprehensively extracting knowledge from source LLMs. By formalizing domain expansion and data sampling proportion allocation on the knowledge tree as a Hierarchical Multi-Armed Bandit problem, Bohdi leverages the designed DynaBranches mechanism to adaptively adjust sampling proportions based on the target LLM's performance feedback across domains. Integrated with our proposed Introspection-Rebirth (IR) mechanism, DynaBranches dynamically tracks capability shifts during target LLM's updates via Sliding Window Binomial Likelihood Ratio Testing (SWBLRT), further enhancing its online adaptation capability. Comparative experimental results on a comprehensive suite of benchmarks demonstrate that Bohdi significantly outperforms existing baselines on multiple target LLMs, exhibits higher data efficiency, and virtually eliminates the imbalance in the target LLM's capabilities. Our code is available at https://github.com/gjq100/Bohdi.git.

大模型融合合成数据自适应学习知识蒸馏

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