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

Determine-Then-Ensemble: Necessity of Top-k Union for Large Language Model Ensembling

About

Large language models (LLMs) exhibit varying strengths and weaknesses across different tasks, prompting recent studies to explore the benefits of ensembling models to leverage their complementary advantages. However, existing LLM ensembling methods often overlook model compatibility and struggle with inefficient alignment of probabilities across the entire vocabulary. In this study, we empirically investigate the factors influencing ensemble performance, identifying model performance, vocabulary size, and response style as key determinants, revealing that compatibility among models is essential for effective ensembling. This analysis leads to the development of a simple yet effective model selection strategy that identifies compatible models. Additionally, we introduce the \textsc{Uni}on \textsc{T}op-$k$ \textsc{E}nsembling (\textsc{UniTE}), a novel approach that efficiently combines models by focusing on the union of the top-k tokens from each model, thereby avoiding the need for full vocabulary alignment and reducing computational overhead. Extensive evaluations across multiple benchmarks demonstrate that \textsc{UniTE} significantly enhances performance compared to existing methods, offering a more efficient framework for LLM ensembling.

Yuxuan Yao, Han Wu, Mingyang Liu, Sichun Luo, Xiongwei Han, Jie Liu, Zhijiang Guo, Linqi Song• 2024

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningMATH
Accuracy19.57
535
Arithmetic ReasoningGSM8K (test)
Accuracy77.8
129
Mathematical ReasoningMAWPS (test)
Accuracy92.8
87
Fingerprint RemovalLLM Fingerprinting Evaluation Alpaca-GPT4-52k
ASR Error Rate0.00e+0
66
Arithmetic ReasoningAQuA (test)
Accuracy60.9
58
Arithmetic ReasoningSVAMP (test)
Accuracy86.4
54
Commonsense ReasoningCommonsense Reasoning (PIQA, WinoG., HellaS., BoolQ, SIQA, OBQA) (test)
PIQA Accuracy86.9
32
FingerprintingCTCC fingerprinting
ASR (%)0.00e+0
20
Multi-task Language UnderstandingMMLU-Pro
Accuracy1.93
14
Knowledge-intensive QANaturalQuestions (NQ) 5-shot
EM Accuracy38.95
10
Showing 10 of 24 rows

Other info

Follow for update