← All topics

causal attention

1 capture, 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