Efficient Dynamic Ensembling for Multiple LLM Experts
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8095-8103.
https://doi.org/10.24963/ijcai.2025/900
Keywords
- Natural Language Processing: NLP: Applications
- Natural Language Processing: NLP: Question answering
- Natural Language Processing: NLP: Language generation
- Natural Language Processing: NLP: Tools
Abstract
LLMs have demonstrated impressive performance across various language tasks. However, the strengths of LLMs can vary due to different architectures, model sizes, areas of training data, etc. Therefore, ensemble reasoning for the strengths of different LLM experts is critical to achieving consistent and satisfactory performance on diverse inputs across a wide range of tasks. However, existing LLM ensemble methods are either computationally intensive or incapable of leveraging complementary knowledge among LLM experts for various inputs. In this paper, we propose an efficient Dynamic Ensemble Reasoning paradigm, called DER to integrate the strengths of multiple LLM experts conditioned on dynamic inputs. Specifically, we model the LLM ensemble reasoning problem as a Markov Decision Process, wherein an agent sequentially takes inputs to request knowledge from an LLM candidate and passes the output to a subsequent LLM candidate. Moreover, we devise a reward function to train a DER-Agent to dynamically select an optimal answering route given the input questions, aiming to achieve the highest performance with as few computational resources as possible. Last, to fully transfer the expert knowledge from the prior LLMs, we develop a Knowledge Transfer Prompt that enables the subsequent LLM candidates to transfer complementary knowledge effectively. Experiments demonstrate that our method uses fewer computational resources to achieve better performance compared to state-of-the-art baselines. Code and appendix are available at https://github.com/Fhujinwu/DER.
@inproceedings{ijcai2025p900,
title = {Efficient Dynamic Ensembling for Multiple LLM Experts},
author = {Hu, Jinwu and Wang, Yufeng and Zhang, Shuhai and Zhou, Kai and Chen, Guohao and Hu, Yu and Xiao, Bin and Tan, Mingkui},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {8095--8103},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/900},
url = {https://doi.org/10.24963/ijcai.2025/900},
}
TY - CPAPER TI - Efficient Dynamic Ensembling for Multiple LLM Experts AU - Hu, Jinwu AU - Wang, Yufeng AU - Zhang, Shuhai AU - Zhou, Kai AU - Chen, Guohao AU - Hu, Yu AU - Xiao, Bin AU - Tan, Mingkui T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 8095 EP - 8103 DO - 10.24963/ijcai.2025/900 UR - https://doi.org/10.24963/ijcai.2025/900 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: