how-much-is-left-llms-linearly-encode-their-remaining-output-length-236b420e·1 events·first seen Aliases: How Much is Left? LLMs Linearly Encode Their Remaining Output Length
Researchers trained minimal linear probes on frozen hidden states of three open-weight 7-8B models and found that total response length is linearly decodable from the prompt's final hidden state before any output is generated. The probe directions transfer across natural-language and synthetic datasets, and per-position estimates shift upward when models retract and restart partial solutions. The authors interpret this as evidence that LLMs maintain a plan-like internal representation of remaining generation length, distinct from exact-counting, though causality is not established.