SATER: A Self-Aware and Token-Efficient Approach to Routing and Cascading
Yuanzhe Shen, Yide Liu, Zisu Huang, Ruicheng Yin, Xiaoqing Zheng, Xuanjing Huang
TL;DR
SATER addresses the efficiency bottleneck in routing between small and large language models by introducing a two-stage training approach: Stage I optimizes for shortest responses to cut redundant tokens, and Stage II enables confidence-based refusals to reduce wasted computation. The framework supports both pre-generation and cascade routing, delivering substantial improvements in cost and latency while maintaining or enhancing accuracy across diverse datasets and models. A robust evaluation framework with ToA/ToGR and AGL/AROL metrics demonstrates SATER’s ability to adapt to task difficulty and distribution shifts, highlighting the value of refusal-aware and vote-based aggregation strategies. Practically, SATER enables cost-effective deployment of mixed-model inference at scale, with guidelines on when to favor pre-generation versus cascade routing depending on cost ratios and task type.
Abstract
Large language models (LLMs) demonstrate remarkable performance across diverse tasks, yet their effectiveness frequently depends on costly commercial APIs or cloud services. Model selection thus entails a critical trade-off between performance and cost: high-performing LLMs typically incur substantial expenses, whereas budget-friendly small language models (SLMs) are constrained by limited capabilities. Current research primarily proposes two routing strategies: pre-generation routing and cascade routing. Both approaches have distinct characteristics, with cascade routing typically offering superior cost-effectiveness and accuracy despite its higher latency. To further address the limitations of both approaches, we introduce SATER, a dual-mode compatible approach that fine-tunes models through shortest-response preference optimization and a confidence-aware rejection mechanism. SATER significantly reduces redundant outputs and response times, while improving both the performance of pre-generation routing and the efficiency of cascade routing. Experiments across three SLMs and six datasets, varying in type and complexity, demonstrate that SATER achieves comparable performance while consistently reducing computational costs by over 50\% and cascade latency by over 80\%.
