Answering While You Type: Optimizing Time-to-Answer with Streaming Generation
Abstract
Work on efficient large-language-model inference has concentrated almost entirely on reducing the cost of decoding once a request is complete. The quantity a user experiences, however, is the interval between submitting a request and receiving a usable response, and that interval can be shortened without making decoding itself faster. While a request is being composed it is already partially specified, yet conventional deployments begin no computation until submission. We propose and study streaming generation, a decoding regime in which the model begins producing a response from an incomplete request and revises it as the remaining input arrives, so that only a small residue of the answer remains to be computed once the request is submitted. We evaluate the regime on autoregressive and diffusion language models, characterise the conditions under which it reduces user-visible latency, and analyse the mechanism responsible.
Create a lesson
Related papers
MedCoast: Semantic Abstraction of Reasoning Trajectories for Test-Time Biomedical Question Answering
Shared title terminologycs.CLYishan Zhong, Jieru Li, Xuanzhe Ding et al.
The Bottleneck Is Retrieval, Not Reading: Diagnosing Evidence-Based Generation with RAG for Long Context Question Answering
Shared title terminologycs.CLDebopriyo Banerjee, Owais Aijaz, Ahmer Tabassum et al.
Faithful Persona Steering under Incongruity via Dual-Stream Refinement
Shared title terminologycs.CLYu-An Chu, Jen-Ren Pong, Chia-Yao Yeh et al.
SPARQL-Planned Single-Hop Traversal over a Live Knowledge Graph for Multi-Hop Question Answering
Shared title terminologycs.CLPriyesh Vakharia, Masud Moshtaghi, Pratyay Banerjee et al.
ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
Shared title terminologycs.CLRui Sun, Junhua Huang, Luca Zancato et al.
DKnown-Jev-2: Article-Level Answer-Evidence Classification and Efficient Inference with a Pre-trained Language Model
Shared title terminologycs.CLQi Li, Jianjun Xu, Jiu Li et al.