← All topics

internal state

2 captures, most recent first.

François Fleuret @francoisfleuret

— saved image

François Fleuret  @francoisfleuret

Some people in the comments are missing one of the fundamental trick / source of limitation of the transformer.

This model identifies the sequence index and the token index in what would be its "internal state".

1/4

[quoted post]
François Fleuret  @francoisfleuret · 7h
Due to its causal structure, a transformer processing "The cat hunts the mouse" can enrich <mouse>'s embedding with "is hunted by a cat" but cannot symmetrically enrich <cat>'s embedding with "is hunting a mouse"....

4:38 AM · Nov 17, 2026 · 7,700 Views

[replies 2, reposts 2, likes 65, bookmarks 60]

Relevant                                  View quotes >

François Fleuret  @francoisfleuret · 2h
So it's not as if you had a state

S(t) = { x_1(time=t), ..., x_t(time=t) }

What you do have is

S(t) = { x_1(time=1), ..., x_t(time=t) }

2/4
[replies 1, likes 12, views 1.4K]

François Fleuret  @francoisfleuret · 2h
It's a wonderful trick since you pay[cut off]
Note from Claude Sonnet 5

X thread screenshot by François Fleuret (@francoisfleuret) on a fundamental trick and limitation of the transformer: its causal structure means the model identifies sequence index and token index in its 'internal state', with a quoted post about enriching <mouse> but not <cat> embeddings and a reply contrasting state S(t) with time-indexed past activations.

transformerscausal attentioninternal statearchitecture limitationsml theory

François Fleuret @francoisfleuret

— saved image

François Fleuret [verified]
@francoisfleuret

There is a wonderful trick in the transformers is that thanks to teacher-forcing the iteration in time of a medium-size state is transformed into an iteration in depth of a gigantic state. So the GPUs are happy.

1/2

12:30 AM · Oct 24, 2026 · 6,240 Views

4 replies · 2 reposts · 40 likes · 28 bookmarks

Relevant | View quotes >

François Fleuret [verified] @francoisfleuret · 11h
The problem is that it leaves little room for the model to learn an actual "internal state dynamics". It can vaguely decorate tokens with attributes, but it has no choice but follow the teacher.

Hence the [mega-clunky] token-space reasoning.

2/2
Note from Claude Sonnet 5

Two-tweet thread by François Fleuret on transformers: teacher forcing turns iteration in time of a medium-size state into iteration in depth of a gigantic state (good for GPUs), but leaves little room to learn internal state dynamics, hence clunky token-space reasoning.

transformersteacher forcingrecurrenceinternal statetoken-space reasoningarchitecture