arXiv Machine Learning By Mohamed Amine Merzouk, Dmitri Carpov, Mirko Bronzi, Damiano Fornasiere, Adam Oberman

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

Read the original on arXiv Machine Learning →

arXiv:2607. 05316v1 Announce Type: cross Abstract: Large language models generate one token at a time, yet their responses show remarkably consistent length structure: step-by-step solutions converge in predictable token counts, retrievals stop after a few sentences, retractions extend responses by measurable amounts.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

Hugging Face Trending Papers
Jul 6

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

Large language models generate one token at a time, yet their responses show remarkably consistent length structure: step-by-step solutions converge in predictable token counts, retrievals stop after a few sentences, retractions extend responses by measurable amounts. We ask whether the model carries an internal estimate of how much response remains.

arXiv AI
Nov 14

Goal Encoding in LLMs

The paper explores how large language models (LLMs) encode goals—internal representations that guide action and can be realized via multiple execution paths. By designing a multi‑sub‑task coding setting, the authors locate the next sub‑goal within a sparse set of attention heads and show that these heads also decode future natural‑language actions. They demonstrate that this goal encoding is causal for the next action, plastic across environments, and persists throughout execution, proposing a non‑recurrent goal‑seeking account to explain this behavior.

By Arnab Sen Sharma, Eric Todd, Sheridan Feucht, Andy Arditi, Rohit Gandikota, Natalie Shapira, Gabriele Sarti, Constanza Fierro, Lisa Schut, David Bau