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

Zichuan Fu, Xian Wu, Guojing Li, Yejing Wang, Yijun Chen +5 more
4/26/2026
4 citations
cs.AI

Official code: Applied-Machine-Learning-Lab/ACL2026_Tandem (4 stars, Python, GPL-3.0, last commit 2026-04-14).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Tandem: Riding Together with Large and Small Language Models for Efficient Reasoning (ACL 2025 Findings)

40Python, Jupyter NotebookApr 14, 20267 months agoGPL-3.0

Similar Papers

Cite this paper

@article{fu2026tandem,
  title  = {Tandem: Riding Together with Large and Small Language Models for Efficient Reasoning},
  author = {Zichuan Fu and Xian Wu and Guojing Li and Yejing Wang and Yijun Chen and Zihao Zhao and Yixuan Luo and Hanyu Yan and Yefeng Zheng and Xiangyu Zhao},
  year   = {2026},
  eprint = {2604.23623},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.23623v1}
}

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

Discussion