Next Token or Vector? Learning How Far to Decode

Sai Sreenivas Chintha, Chidera Biringa, Rishab Sharma, Anusha Agrawal, Prachi Badarayani +4 more
10/16/2026
cs.LGcs.AIcs.ET

No confident code implementation found for this paper.

Abstract

Standard autoregressive decoding advances one token at a time, even when several upcoming tokens can be predicted together. We propose CADENCE (Context-Adaptive DEcoding), a generation method that learns both what to draft and how far to draft.

Show full abstract

Gaussian prediction heads represent future spans as continuous latent vectors, and a shared decoder converts the selected vector into token predictions in parallel. A learned router selects the prediction length from the model's own hidden states and predicted Gaussian parameters, adapting generation granularity to the current context with single-token generation as a fallback. The backbone verifies each proposed continuation and retains the prefix that matches its greedy predictions. Experiments with Llama-3.1-8B-Instruct on Alpaca, GSM8K, and HumanEval show that router-selected positions yield higher draft acceptance than applying the corresponding prediction length everywhere. CADENCE achieves up to 1.3x higher generation throughput than standard greedy decoding.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chintha2026next,
  title  = {Next Token or Vector? Learning How Far to Decode},
  author = {Sai Sreenivas Chintha and Chidera Biringa and Rishab Sharma and Anusha Agrawal and Prachi Badarayani and Gemma Zhang and Nigel Boachie Kumankumah and Marco Ayala and Sulaiman Vesal},
  year   = {2026},
  eprint = {2610.22788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.22788v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.22788.svg)](https://codeofpaper.com/paper/2610.22788)

Discussion