Language Model Cascades: Token-Level Uncertainty And Beyond
Neha Gupta, Harikrishna Narasimhan, Wittawat Jitkrittum, Ankit Singh Rawat, Aditya Krishna Menon, Sanjiv Kumar
摘要
Recent advances in language models (LMs) have led to significant improvements in quality on complex NLP tasks, but at the expense of increased inference costs. Cascading offers a simple strategy to achieve more favorable cost-quality tradeoffs: here, a small model is invoked for most"easy"instances, while a few"hard"instances are deferred to the large model. While the principles underpinning cascading are well-studied for classification tasks - with deferral based on predicted class uncertainty favored theoretically and practically - a similar understanding is lacking for generative LM tasks. In this work, we initiate a systematic study of deferral rules for LM cascades. We begin by examining the natural extension of predicted class uncertainty to generative LM tasks, namely, the predicted sequence uncertainty. We show that this measure suffers from the length bias problem, either over- or under-emphasizing outputs based on their lengths. This is because LMs produce a sequence of uncertainty values, one for each output token; and moreover, the number of output tokens is variable across examples. To mitigate this issue, we propose to exploit the richer token-level uncertainty information implicit in generative LMs. We argue that naive predicted sequence uncertainty corresponds to a simple aggregation of these uncertainties. By contrast, we show that incorporating token-level uncertainty through learned post-hoc deferral rules can significantly outperform such simple aggregation strategies, via experiments on a range of natural language benchmarks with FLAN-T5 models. We further show that incorporating embeddings from the smaller model and intermediate layers of the larger model can give an additional boost in the overall cost-quality tradeoff.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 33 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Language Models are Few-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
- Universal Model Routing for Efficient LLM Inference 引用了 Language Models are Few-Shot Learners
- Universal Model Routing for Efficient LLM Inference 引用了 RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Models
- Universal Model Routing for Efficient LLM Inference 引用了 The Curious Case of Neural Text Degeneration
- Finetuned Language Models are Zero-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Finetuned Language Models are Zero-Shot Learners 引用了 Language Models are Few-Shot Learners
- Beyond Binary Rewards: Training LMs to Reason About Their Uncertainty 引用了 Reasoning Models Better Express Their Confidence
- Calibrate Before Use: Improving Few-shot Performance of Language Models 引用了 Language Models are Few-Shot Learners
- Calibrate Before Use: Improving Few-shot Performance of Language Models 引用了 The Curious Case of Neural Text Degeneration
引用它的顶会 Paper33
- Beyond Binary Rewards: Training LMs to Reason About Their UncertaintyMehul Damani, Isha Puri, Stewart Slocum, Idan Shenfeld 等ICLR 2026 · 116 次引用
- RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language ModelsShuhao Chen, Weisen Jiang, Baijiong Lin, James T. Kwok 等NeurIPS 2024 · 113 次引用
- Universal Model Routing for Efficient LLM InferenceWittawat Jitkrittum, Harikrishna Narasimhan, Ankit Singh Rawat, Jeevesh Juneja 等ICLR 2026 · 99 次引用
- Reasoning Models Better Express Their ConfidenceDongkeun Yoon, Seungone Kim, Sohee Yang, Sunkyoung Kim 等NeurIPS 2025 · 77 次引用
- BREAD: Branched Rollouts from Expert Anchors Bridge SFT & RL for ReasoningXuechen Zhang, Zijian Huang, Yingcong Li, Chenshun Ni 等NeurIPS 2025 · 66 次引用
它引用的 Paper25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
- Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用
相关 Paper
- Faster Cascades via Speculative DecodingHarikrishna Narasimhan, Wittawat Jitkrittum, Ankit Singh Rawat, Seungyeon Kim 等ICLR 2025
- Online Cascade Learning for Efficient Inference over StreamsLunyiu Nie, Zhimin Ding, Erdong Hu, Christopher M. Jermaine 等ICML 2024 · 20 次引用
- Translate Smart, not Hard: Cascaded Translation Systems with Quality-Aware DeferralAntónio Farinhas, Nuno Miguel Guerreiro, Sweta Agrawal, Ricardo Rei 等EMNLP 2025 · 2 次引用
- Gatekeeper: Improving Model Cascades Through Confidence TuningStephan Rabanser, Nathalie Rauschmayr, Achin Kulshrestha, Petra Poklukar 等NeurIPS 2025 · 10 次引用
- AdaptEvolve: Improving Efficiency of Evolutionary AI Agents through Adaptive Model SelectionPretam Ray, Pratik Prabhanjan Brahma, Zicheng Liu, Emad BarsoumACL Findings 2026
