Next Token or Vector? Learning How Far to Decode
We propose CADENCE (Context-Adaptive DEcoding), a generation method that learns both what to draft and how far to draft.
ProofPaper ↗
Key points
- Standard autoregressive decoding advances one token at a time, even when several upcoming tokens can be predicted together.
- 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.
- 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.
Sources (1)
- [1]Next Token or Vector? Learning How Far to DecodearXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 16, 01:00 AM
We propose CADENCE (Context-Adaptive DEcoding), a generation method that learns both what to draft and how far to draft.
Standard autoregressive decoding advances one token at a time, even when several upcoming tokens can be predicted together.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 16, 2026How employment is changing at Anthropic
- Oct 15, 2026Granite Switch 4.1: Chat, Decisions, and Speech from One Endpoint
- Oct 15, 2026PriorityFEC: Deadline-Aware Streaming FEC for KV-Cache Handoff in Edge Multi-Agent Systems
- Oct 15, 2026The Density of Thought: Predicting and Steering Reasoning in Large Language Models
- Oct 15, 2026Compression Does Not End at Selection: Post-Selection Positional Geometry for Sparse KV Caches
- Oct 15, 2026Has GPT-6-Astra Achieved Embodied Intelligence?