Hacker News new | ask | show | jobs
by derefr 22 days ago
I'm confused on how/why that would ever work for a regular feed-forward transformer model, given that the "more computation" that happens per output token in a transformer, just gets discarded after that token is emitted. The only thing the iteration-loop-step after the dot sees is a context that now has a dot in it.
3 comments

I think the caveat is that the amount of computation involved in producing a token actually increases with the prefix size (linearly assuming KV caching) so a large enough meaningless CoT can still result in some extra "work" done. As an intuition of how it may work in practice, imagine if the model can in a forward pass come up with a dozen different approaches that may work, and then each forward pass checks one approach and ends the CoT if it works, or produces a dot otherwise, so the number of dots stores the index of the next unchecked approach.

Note also that the paper in question involves training tiny 30M-parameter models from scratch to solve narrow tasks while reasoning this way, so there's not that much applicability to LLMs.

Nope, it sees the KV cache of tokens coming before it for every layer
Is it? I thought the intermediate attention layers cross-fed.