arXiv:2610.26296cs.CLOct 2026

Manuscript Offprint

arXiv:2610.26296

Answering While You Type: Optimizing Time-to-Answer with Streaming Generation

Nikita Dragunov, Matvey Mikhalchuk, Anton Razzhigaev

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Research on efficient large-language-model inference optimizes the cost of producing a response once the request is known, and identifies that cost with the user's waiting time. This identification is valid only under the convention that decoding begins at submission. Composing a request takes several seconds, during which the request is already partially specified and the model performs no work. Streaming generation uses that interval: the model drafts a response from the partial request and revises the draft as the remainder arrives, so that little work remains once the user submits.

The regime changes the quantity to be measured. Total decoding cost ceases to be the appropriate objective, because computation performed before the user finishes composing is not part of the observed latency. We therefore measure the residual cost: the forward passes and wall-clock time required after the final token of the request becomes available.

References (14)