atlas

Research map / Large language models / Language, safety and interpretability

How Much is Left? LLMs Linearly Encode Their Remaining Output Length

NeurIPS 2026 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Trains minimal linear probes on frozen hidden states of three 7-8B instruction models to decode remaining output length, finding prompt-end decodability, asymmetric cross-dataset transfer, and qualitative upward shifts at retraction tokens.

Problem

Whether LLMs maintain an internal estimate of how many tokens of their response remain, rather than length being a downstream statistical regularity of decoding.

Approach

Linear probes regress remaining token count r_t = T - t from frozen residual-stream states at every position, compared against a constant-median baseline and an exact-countdown predictor seeded by a prompt-end length probe; cross-dataset matrices test transfer, and per-position updates are inspected at retraction tokens.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Count Countdown GSM8K MATH MMLU-Pro OpenThoughts-1k TriviaQA

Benchmarks: Count Countdown GSM8K MATH MMLU-Pro OpenThoughts-1k TriviaQA

Metrics: per-token MAE prompt-end absolute error Cohen's kappa

Baselines: constant-median statistical baseline exact countdown predictor

Builds on: linear probing linear representation hypothesis s1 budget forcing

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy