Harnessing Consistency for Robust Test-Time LLM Ensemble

Zhichen Zeng, Qi Yu, Xiao Lin, Ruizhong Qiu, Xuying Ning +4 more
10/12/2025
cs.CLcs.AI

Official code: zhichenz98/CoRE-EACL26 (3 stars, MIT, last commit 2026-02-24).

Abstract

Different large language models (LLMs) exhibit diverse strengths and weaknesses, and LLM ensemble serves as a promising approach to integrate their complementary capabilities. Despite substantial progress in improving ensemble quality, limited attention has been paid to the robustness of ensembles against potential erroneous signals, which often arise from heterogeneous tokenization schemes and varying model expertise. Our analysis shows that ensemble failures typically arise from both the token level and the model level: the former reflects severe disagreement in token predictions, while the latter involves low confidence and pronounced disparities among models. In light of this, we propose CoRE, a plug-and-play technique that harnesses model consistency for robust LLM ensemble, which can be seamlessly integrated with diverse ensemble methods. *Token-level consistency* captures fine-grained disagreements by applying a low-pass filter to downweight uncertain tokens with high inconsistency, often due to token misalignment, thereby improving robustness at a granular level. *Model-level consistency* models global agreement by promoting model outputs with high self-confidence and minimal divergence from others, enhancing robustness at a coarser level. Extensive experiments across diverse benchmarks, model combinations, and ensemble strategies demonstrate that CoRE consistently improves ensemble performance and robustness. Our code is available at https://github.com/zhichenz98/CoRE-EACL26.

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of "Harnessing Consistency for Robust Test-Time LLM Ensemble" in EACL26

30Shell, PythonJan 13, 20267 months agoMIT

Similar Papers

Cite this paper

@article{zeng2025harnessing,
  title  = {Harnessing Consistency for Robust Test-Time LLM Ensemble},
  author = {Zhichen Zeng and Qi Yu and Xiao Lin and Ruizhong Qiu and Xuying Ning and Tianxin Wei and Yuchen Yan and Jingrui He and Hanghang Tong},
  year   = {2025},
  eprint = {2510.13855},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.13855v2}
}

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

Discussion