Bench-CoE: a Framework for Collaboration of Experts from Benchmark

Yuanshuai Wang, Xingjian Zhang, Jinkun Zhao, Siwei Wen, Peilin Feng +3 more
12/5/2024
cs.AI

Official code: ZhangXJ199/Bench-CoE (13 stars, Apache-2.0, last commit 2025-04-27).

Abstract

Large Language Models (LLMs) are key technologies driving intelligent systems to handle multiple tasks. To meet the demands of various tasks, an increasing number of LLMs-driven experts with diverse capabilities have been developed, accompanied by corresponding benchmarks to evaluate their performance. This paper proposes the Bench-CoE framework, which enables Collaboration of Experts (CoE) by effectively leveraging benchmark evaluations to achieve optimal performance across various tasks. Bench-CoE includes a set of expert models, a router for assigning tasks to corresponding experts, and a benchmark dataset for training the router. Moreover, we formulate Query-Level and Subject-Level approaches based on our framework, and analyze the merits and drawbacks of these two approaches. Finally, we conduct a series of experiments with vary data distributions on both language and multimodal tasks to validate that our proposed Bench-CoE outperforms any single model in terms of overall performance. We hope this method serves as a baseline for further research in this area. The code is available at \url{https://github.com/ZhangXJ199/Bench-CoE}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A Framework for Collaboration of Experts from Benchmark

131Shell, PythonDec 1, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2024benchcoe,
  title  = {Bench-CoE: a Framework for Collaboration of Experts from Benchmark},
  author = {Yuanshuai Wang and Xingjian Zhang and Jinkun Zhao and Siwei Wen and Peilin Feng and Shuhao Liao and Lei Huang and Wenjun Wu},
  year   = {2024},
  eprint = {2412.04167},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.04167v1}
}

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/2412.04167.svg)](https://codeofpaper.com/paper/2412.04167)

Discussion