arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.13855cs.CLcs.AI
收藏

利用一致性提升鲁棒性测试时LLM集成

Harnessing Consistency for Robust Test-Time LLM Ensemble

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Zhichen Zeng, Qi Yu, Xiao Lin, Ruizhong Qiu, Xuying Ning, Tianxin Wei, Yuchen Yan, Jingrui He, Hanghang Tong

AI总结:

CoRE通过利用模型一致性提升LLM集成的鲁棒性,通过token和model级别的一致性改进集成性能。

摘要:

不同的大型语言模型(LLMs)表现出多样的优势和劣势,LLM集成作为一种整合其互补能力的有前景方法。尽管在提高集成质量方面取得了显著进展,但对集成在潜在错误信号下的鲁棒性关注有限,这些错误信号通常来自异构的分词方案和不同的模型专长。我们的分析表明,集成失败通常源于token级别和模型级别:前者反映token预测中的严重分歧,后者涉及低置信度和模型间的显著差异。为此,我们提出了CoRE,一种即插即用的技术,利用模型一致性提升LLM集成的鲁棒性,可以无缝整合到各种集成方法中。*token级别一致性*通过应用低通滤波器来捕捉细粒度的分歧,以降低具有高不一致性的不确定token的权重,通常由于token对齐问题,从而在细粒度上提高鲁棒性。*model级别一致性*通过促进具有高自信心和最小分歧的模型输出来建模全局一致性,从而在更粗粒度上增强鲁棒性。在多样化的基准测试、模型组合和集成策略上进行的广泛实验表明,CoRE一致提高了集成性能和鲁棒性。我们的代码可在https://github.com/zhichenz98/CoRE-EACL26上获得。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑