Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FusionFactory: Fusing LLM Capabilities with Multi-LLM Log Data

About

The rapid advancement of large language models (LLMs) has created a diverse landscape of models, each excelling at different tasks. This diversity drives researchers to employ multiple LLMs in practice, leaving behind valuable multi-LLM log data. This naturally leads to the question of whether such logs can be fully leveraged to fuse LLMs' complementary capabilities. Although prior work has explored various strategies for integrating multiple LLMs, we argue that practical fusion must meet two essential requirements: (1) compatibility with real-world serving scenarios (e.g., local and API-based serving), and (2) flexibility to operate at different stages of the LLM pipeline to meet varied user needs (e.g., fine-tuning and inference stages). To this end, we introduce LLMFusionBench, a large-scale benchmark for LLM fusion that spans 14 tasks across five domains, with responses from 20 open-source LLMs (8B--671B) totaling 103M tokens. Building on LLMFusionBench, we propose FusionFactory, a systematic framework with three elaborated levels: (1) query-level fusion via tailored LLM routers, (2) thought-level fusion leveraging retrieved abstract reasoning templates, and (3) model-level fusion via distillation from top-ranked responses. Experiments show that FusionFactory consistently outperforms the best individual LLM across all 14 benchmarks, with the optimal fusion configuration varying across benchmarks, highlighting the promise of multi-LLM log data as a practical foundation for fusing diverse LLM capabilities.

Tao Feng, Haozhen Zhang, Zijie Lei, Pengrui Han, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jiaxuan You• 2025

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringChest X-ray VQA (test)
Overall Accuracy41.52
43
Computer-Aided Diagnosis (CAD)VinDr
AUC0.4118
32
Disease DiagnosisOpen-i
Accuracy30.16
30
Visual GroundingChest X-ray Visual Grounding
Aortic Enlargement Score27.42
19
LLM RoutingAlpaca In-Domain
AUROC0.6731
7
LLM RoutingMMLU In-Domain
AUROC0.5489
7
LLM RoutingMagpie Out-of-Domain
AUROC68.97
7
LLM RoutingMATH Out-of-Domain
AUROC56.97
7
LLM RoutingMATH Out-of-Domain
LPM Score63.95
7
LLM RoutingBig Math In-Domain
AUROC0.5618
7
Showing 10 of 17 rows

Other info

Follow for update