arXiv:2601.06022cs.CLcs.AI2026-01被引 6

让大模型生成时动态调整融合策略,提升问答和翻译准确率。

AdaFuse: Adaptive Ensemble Decoding with Test-Time Scaling for LLMs

  • 根据生成不确定性动态决定是否融合多个模型输出
  • 在开放域问答等任务上平均提升6.88%性能
  • 适合需要高可靠性的生成场景,如智能客服、内容创作

大型语言模型(LLMs)因预训练数据、架构和解码行为差异,展现出互补优势。推理时集成是一种无需重训练即可结合这些能力的有效方法。然而,现有集成方法存在根本性局限:大多采用固定融合粒度,缺乏对生成过程的灵活适应能力,且无法根据不同任务特性动态调整。为此,我们提出AdaFuse,一种自适应集成解码框架,在生成过程中动态选择语义合适的融合单元。不同于固定粒度,AdaFuse基于解码上下文实时调整融合策略,以词为基本对齐单元。具体而言,引入基于不确定性的判断准则,决定每一步是否进行集成。在高置信状态时直接继续生成;在低置信状态时,启用多样性感知的测试时缩放策略,探索候选延续并辅助集成决策。该设计实现了自适应集成与测试时缩放的协同作用:集成决策引导针对性探索,而生成多样性反过来增强集成质量。在开放域问答、算术推理和机器翻译任务上的实验表明,AdaFuse持续优于强基线,平均相对提升6.88%。代码已开源:https://github.com/CCM0111/AdaFuse。

原文摘要 · Abstract (English)

Large language models (LLMs) exhibit complementary strengths arising from differences in pretraining data, model architectures, and decoding behaviors. Inference-time ensembling provides a practical way to combine these capabilities without retraining. However, existing ensemble approaches suffer from fundamental limitations. Most rely on fixed fusion granularity, which lacks the flexibility required for mid-generation adaptation and fails to adapt to different generation characteristics across tasks. To address these challenges, we propose AdaFuse, an adaptive ensemble decoding framework that dynamically selects semantically appropriate fusion units during generation. Rather than committing to a fixed granularity, AdaFuse adjusts fusion behavior on the fly based on the decoding context, with words serving as basic building blocks for alignment. To be specific, we introduce an uncertainty-based criterion to decide whether to apply ensembling at each decoding step. Under confident decoding states, the model continues generation directly. In less certain states, AdaFuse invokes a diversity-aware scaling strategy to explore alternative candidate continuations and inform ensemble decisions. This design establishes a synergistic interaction between adaptive ensembling and test-time scaling, where ensemble decisions guide targeted exploration, and the resulting diversity in turn strengthens ensemble quality. Experiments on open-domain question answering, arithmetic reasoning, and machine translation demonstrate that AdaFuse consistently outperforms strong ensemble baselines, achieving an average relative improvement of 6.88%. The code is available at https://github.com/CCM0111/AdaFuse.

大模型推理自适应集成测试时缩放

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。