Enabling Flexible Multi-LLM Integration for Scalable Knowledge Aggregation

Zhenglun Kong, Zheng Zhan, Shiyue Hou, Yifan Gong, Xin Meng +8 more
5/28/2025
cs.CL

Official code: ZLKong/LLM_Integration (2 stars, last commit 2025-06-05).

Abstract

Large language models (LLMs) have shown remarkable promise but remain challenging to continually improve through traditional finetuning, particularly when integrating capabilities from other specialized LLMs. Popular methods like ensemble and weight merging require substantial memory and struggle to adapt to changing data environments. Recent efforts have transferred knowledge from multiple LLMs into a single target model; however, they suffer from interference and degraded performance among tasks, largely due to limited flexibility in candidate selection and training pipelines. To address these issues, we propose a framework that adaptively selects and aggregates knowledge from diverse LLMs to build a single, stronger model, avoiding the high memory overhead of ensemble and inflexible weight merging. Specifically, we design an adaptive selection network that identifies the most relevant source LLMs based on their scores, thereby reducing knowledge interference. We further propose a dynamic weighted fusion strategy that accounts for the inherent strengths of candidate LLMs, along with a feedback-driven loss function that prevents the selector from converging on a single subset of sources. Experimental results demonstrate that our method can enable a more stable and scalable knowledge aggregation process while reducing knowledge interference by up to 50% compared to existing approaches. Code is avaliable at https://github.com/ZLKong/LLM_Integration

View on arXivView PDF

Code Implementations(1)

Enabling Flexible Multi-LLM Integration for Scalable Knowledge Aggregation

20Shell, PythonJan 29, 20251 years ago

Similar Papers

Cite this paper

@article{kong2025enabling,
  title  = {Enabling Flexible Multi-LLM Integration for Scalable Knowledge Aggregation},
  author = {Zhenglun Kong and Zheng Zhan and Shiyue Hou and Yifan Gong and Xin Meng and Pengwei Sui and Peiyan Dong and Xuan Shen and Zifeng Wang and Pu Zhao and Hao Tang and Stratis Ioannidis and Yanzhi Wang},
  year   = {2025},
  eprint = {2505.23844},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23844v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23844.svg)](https://codeofpaper.com/paper/2505.23844)

Discussion