paper-with-me

홈 › Papers

Language Model Cascades: Token-level uncertainty and beyond

2024-04-15 · 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.

📄 PDF Abstract BibTeX arXiv:2404.10136

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage Modellingmodel

Methods 이 논문이 사용한 방법론

Flan-T5 Flan-T5 is the instruction fine-tuned version of T5 or Text-to-Text Transfer Transformer Language Model.

Similar Papers 제목 키워드 기반

On the Expressivity of Recurrent Neural Cascades with Identity

2024-05-19 · Nadezda Alexandrovna Knorozova, Alessandro Ronca

Recurrent Neural Cascades (RNC) are the class of recurrent neural networks with no cyclic dependencies among recurrent neurons. Their subclass RNC+ with positive recurrent weights has been shown to be closely connected t…

Beyond Self-Knowledge: Propagating Uncertainty Across Reasoning and Retrieval in LLMs

2026-07-28 · Chandan Kumar Sah, Xiaoli Lian, Li Zhang arxiv

Retrieval-augmented generation improves knowledge-intensive question answering, but indiscriminate retrieval can introduce irrelevant evidence and unnecessary computation. We investigate whether verbalized confidence fro…

Question Answering

How Language Models Fail: Token-Level Signatures of Committed and Persistent Reasoning Failures

2026-06-04 · Tanvi Thoria, Kiana Jafari, Marc R. Schlichting, Mykel J. Kochenderfer arxiv

Failures in language model reasoning emerge through distinct processes that leave identifiable signatures in the reasoning trace. We characterize these failures using token-level uncertainty signals, finding they arise t…

From Bits to Rounds: Parallel Decoding with Exploration for Diffusion Language Models

2025-11-26 · Hengyu Fu, Baihe Huang, Virginia Adams, Charles Wang 외 arxiv

Diffusion Language Models (DLMs) have recently emerged as a strong alternative to autoregressive language models (LMs). DLMs offer comparable accuracy with faster inference speed via parallel decoding. However, standard …

Semantic Self-Distillation for Language Model Uncertainty

2026-02-04 · Edward Phillips, Sean Wu, Fredrik K. Gustafsson, Boyan Gao 외 arxiv

Large language models present challenges for principled uncertainty quantification, in part due to their complexity and the diversity of their outputs. Semantic dispersion, or the variance in the meaning of sampled answe…

Answer Selection