arXiv:2604.23623cs.AI2026-04ACL被引 2

大模型指导小模型推理,40%降耗还更准

Tandem: Riding Together with Large and Small Language Models for Efficient Reasoning

论文配图:Tandem: Riding Together with Large and Small Language Models for Efficient Reasoning
图 1 · 摘自论文原文
  • 大模型提炼关键思路,小模型据此完成完整推理
  • 计算成本降低约40%,数学与代码任务表现更优
  • 可跨领域迁移的终止判断机制,适合高效部署

近期大型语言模型(LLMs)的发展推动了需要显式分步推理的推断范式,虽提升答案质量与可解释性,但因生成序列过长导致显著计算开销。本文提出Tandem框架,通过协同大模型(LLM)与小模型(SLM)实现高质量推理的同时大幅降低计算成本。具体而言,LLM作为策略协调者,高效生成一组紧凑的关键推理洞察;这些洞察用于引导更高效的SLM完成完整推理并输出最终结果。为平衡效率与可靠性,Tandem引入成本感知终止机制,自适应判断是否已积累足够推理引导信息,从而提前停止LLM生成。在数学推理与代码生成基准上的实验表明,相较于独立使用LLM,Tandem将计算成本降低约40%,同时达到更优或相当的性能。此外,某一领域训练的充分性分类器可无需重新训练即有效迁移到其他领域。代码已公开于:https://github.com/Applied-Machine-Learning-Lab/ACL2026_Tandem。

原文摘要 · Abstract (English)

Recent advancements in large language models (LLMs) have catalyzed the rise of reasoning-intensive inference paradigms, where models perform explicit step-by-step reasoning before generating final answers. While such approaches improve answer quality and interpretability, they incur substantial computational overhead due to the prolonged generation sequences. In this paper, we propose Tandem, a novel collaborative framework that synergizes large and small language models (LLMs and SLMs) to achieve high-quality reasoning with significantly reduced computational cost. Specifically, the LLM serves as a strategic coordinator, efficiently generating a compact set of critical reasoning insights. These insights are then used to guide a smaller, more efficient SLM in executing the full reasoning process and delivering the final response. To balance efficiency and reliability, Tandem introduces a cost-aware termination mechanism that adaptively determines when sufficient reasoning guidance has been accumulated, enabling early stopping of the LLM's generation. Experiments on mathematical reasoning and code generation benchmarks demonstrate that Tandem reduces computational costs by approximately 40% compared to standalone LLM reasoning, while achieving superior or competitive performance. Furthermore, the sufficiency classifier trained on one domain transfers effectively to others without retraining. The code is available at: https://github.com/Applied-Machine-Learning-Lab/ACL2026_Tandem.

大模型小模型推理优化协同架构

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