NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routing

Wenhao Zheng, Yixiao Chen, Weitong Zhang, Souvik Kundu, Yun Li, Zhengzhong Liu, Eric P. Xing, Hongyi Wang, Huaxiu Yao

TL;DR

This paper introduces CITER, a novel framework that significantly speeds up large language model (LLM) inference by intelligently routing tokens to either a smaller, faster model (SLM) or the larger, more capable LLM. By training a "router" to decide which model handles each token based on its criticality and future impact, CITER achieves substantial cost reductions while maintaining high generation quality, making LLMs more practical for real-time applications.

What Problem Does This Paper Address?

Large language models (LLMs) have become incredibly powerful, revolutionizing fields from translation to question answering. However, their impressive capabilities come at a steep price: high computational costs during inference. This makes deploying LLMs in resource-constrained environments or for real-time applications a significant challenge. Existing methods often route entire queries to either a small language model (SLM) or an LLM, which is inefficient because many parts of a response might not require the full power of an LLM. The paper aims to solve this by enabling fine-grained, token-level collaboration between SLMs and LLMs.

Methods

CITER introduces a token-level router that decides, for each token being generated, whether to use a smaller, faster language model (SLM) or a larger, more powerful language model (LLM).

  • Collaborative Inference: The core idea is to leverage the strengths of both SLMs and LLMs. Non-critical tokens, which don't significantly impact the final output quality, are routed to the SLM for faster, cheaper generation. Critical tokens, essential for accuracy and generalization, are routed to the LLM.
  • Token-Level Routing: Unlike previous methods that route entire queries, CITER makes decisions at the individual token level. This allows for more dynamic and efficient allocation of resources.
  • Reinforcement Learning for Router Training: The router is trained using reinforcement learning. The objective is to minimize inference costs while preserving generation quality. The router receives rewards based on both the accuracy of its predictions and the associated inference costs.
  • Policy Optimization: The router is trained as a policy that learns to predict token-level routing scores. Crucially, it considers not only the current token but also the future impact of its routing decisions.
  • Reward Estimation Shortcut: To accelerate training, CITER employs a shortcut for reward estimation. Instead of waiting for the entire generation to complete, it uses predictions from both the SLM and LLM to estimate the reward, significantly speeding up the process.
  • Iterative Training: The router is trained iteratively to refine its decision-making and mitigate potential inconsistencies.

Datasets

The paper evaluates CITER on five widely-used academic benchmark datasets:

  • Commonsense QA: A large-scale dataset for commonsense reasoning.
  • ARC-Challenge: A collection of difficult grade-school science questions.
  • MMLU-Professional Psychology: A subset of the MMLU benchmark focusing on psychology.
  • GSM8k: A dataset of grade-school math word problems.
  • MATH: A dataset of intricate mathematical problems from competitions.

No new benchmarks were introduced.

Key Insights and Ideas

  • Token-level routing is more flexible than query-level routing: By making decisions at each token, CITER can adapt more dynamically to the needs of the generation process, leading to better cost-quality trade-offs.
  • Considering the long-term impact of routing decisions is crucial: The router's ability to look ahead and understand how a current decision affects future tokens significantly boosts performance. This is a key differentiator from methods that only consider immediate gains.
  • A shortcut for reward estimation dramatically speeds up training: The proposed method for estimating rewards without full generation makes the training process much more practical.
  • LLM inference is memory-bound: The paper highlights that the bottleneck in LLM decoding is often memory bandwidth rather than computational power, reinforcing the value of reducing data movement through efficient routing.

Key Results

CITER demonstrates significant improvements in inference efficiency while maintaining high generation quality:

  • Reduced Inference Costs: CITER achieves up to 30% fewer inference costs compared to query-level routing methods like RouteLLM, and up to 27% fewer costs than the token-level routing method Co-LLM, while maintaining comparable accuracy.
  • Improved Accuracy: In some cases, CITER can deliver up to a 25% improvement in accuracy with the same inference cost compared to Co-LLM.
  • Scalability: The framework shows good scalability, with performance improvements observed when using larger SLMs.
  • Flexibility: CITER offers a flexible trade-off between latency and accuracy, outperforming Speculative Decoding in terms of achieving a desired accuracy at a lower latency. For example, CITER achieved 80.8% accuracy with a 4-second latency, while Speculative Decoding needed 10.9 seconds for 87.0% accuracy.
  • Qualitative Analysis: Case studies show that CITER's router accurately identifies critical tokens (e.g., specific answers or key phrases) and routes them to the LLM, while offloading non-critical tokens to the SLM.

Limitations and Future Work

  • Limitations:
    • The paper notes that while Speculative Decoding can reduce costs on some multiple-choice datasets, its strict verification mechanism limits its effectiveness on complex mathematical problems where the SLM's proposed tokens are often incorrect.
  • The performance gap between CITER and LLM-only inference diminishes as more tokens are routed to the LLM, indicating that the SLM's capacity is a limiting factor.
  • Future Work:
    • The paper suggests that further exploration of the balance between efficiency and precision through hyperparameters like 't' (in Remark 2.1) could be beneficial.
  • The authors implicitly suggest that exploring different SLM/LLM combinations and further optimizing the router training process could lead to even greater gains.

Summary updated

BibTeX
@inproceedings{zheng2025citer,
  author = {Wenhao Zheng and Yixiao Chen and Weitong Zhang and Souvik Kundu and Yun Li and Zhengzhong Liu and Eric P. Xing and Hongyi Wang and Huaxiu Yao},
  title = {{CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routing}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=nqX9UYW9Af},
}
Figure