CLAILGPFFeb 4, 2025

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

arXiv:2502.01976v628 citationsh-index: 14Has Code
Originality Incremental advance
AI Analysis

This addresses the problem of deploying large language models in resource-constrained applications, offering an incremental improvement in inference efficiency.

The paper tackles the high computational cost of large language model inference by proposing CITER, a framework that routes tokens between small and large models to reduce costs while maintaining generation quality, achieving efficiency gains in experiments on five benchmark datasets.

Large language models have achieved remarkable success in various tasks but suffer from high computational costs during inference, limiting their deployment in resource-constrained applications. To address this issue, we propose a novel Collaborative Inference with Token-lEvel Routing (CITER) framework that enables efficient collaboration between small and large language models (SLMs \& LLMs) through a token-level routing strategy. Specifically, CITER routes non-critical tokens to an SLM for efficiency and routes critical tokens to an LLM for generalization quality. We formulate router training as a policy optimization, where the router receives rewards based on both the quality of predictions and the inference costs of generation. This allows the router to learn to predict token-level routing scores and make routing decisions based on both the current token and the future impact of its decisions. To further accelerate the reward evaluation process, we introduce a shortcut which significantly reduces the costs of the reward estimation and improving the practicality of our approach. Extensive experiments on five benchmark datasets demonstrate that CITER reduces the inference costs while preserving high-quality generation, offering a promising solution for real-time and resource-constrained applications. Our data and code are available at https://github.com/aiming-lab/CITER.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes