ML engineer corrects antirez: last-token residual state isn't optimized only for next-token prediction

mlpowered · x · 2026-11-06

Responding to antirez's claim that the last token's residual state is optimized solely for next-token prediction, mlpowered explains that during training, next-token prediction gradients at every position flow back through attention to all prior residual states — meaning these states can encode information useful many tokens ahead, as supported by cited papers. antirez had argued the last-token state lacks embedding-style information without pooling; this exchange is a notable technical debate on whether LLM hidden states can serve as embeddings directly.

Related event: antirez debates ML engineers on whether LLM hidden states work as encoders(9 posts)→

Original post →

More from Models

Models channel →