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 · 17h
Transformers being like "I have no idea what this is about, but I minimize cross-entropy better because I leverage every single statistical cue I spot in my flawless recall of the conversation".
[Quoted tweet]
François Fleuret @francoisfleuret · 17h
We need a model that learns *in spite* of its inductive bias, not thanks to it. We have to stop being cross-entropy fetishists.
Note from Claude Sonnet 5
Tweet by François Fleuret joking about transformers minimizing cross-entropy by exploiting statistical cues without understanding, quote-tweeting his own post that models should learn in spite of inductive bias and the field should stop being cross-entropy fetishists.
transformerscross-entropyinductive biasfleuretml critique
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
François Fleuret
@francoisfleuret · 52m
Memory I/O are slow, float ops are fast, so matrix product is awesome: O(N^2) floats to transfer and O(N^3) operations to do, there will be a N where both memory I/O and the floating point units will be perfectly busy.
Note from Claude Sonnet 5
Tweet by François Fleuret on why matrix multiplication suits hardware: O(N^2) data movement against O(N^3) compute, so some N balances memory I/O and floating-point units.
memory iomatrix multiplicationarithmetic intensityhardware
François Fleuret @francoisfleuret · 4h
linear / relu / linear is a MoE with 2**D experts with weight sharing.
Note from Claude Sonnet 5
Dark-mode tweet by François Fleuret asserting that a linear/ReLU/linear block is a mixture-of-experts with 2**D experts with weight sharing.
machine learningmixture of expertsreluneural network architecture
François Fleuret @francoisfleuret · 6h
There is something bizarre in the resources and energy humanity is pouring into developing--without hesitation--what is akin to another species. As if, we had deep down this instinct, like a larva ecstatic to make its cocoon.
Note from Claude Sonnet 5
Tweet by François Fleuret on humanity's unhesitating investment in developing something akin to another species, likened to a larva making its cocoon.
ai developmentspeciesmetaphorai risk
François Fleuret ✓ @francoisfleuret · 10h
Research circa 2026
[Embedded screenshot of a terminal/chat window, partially cropped]:
~ pseudo_inverse_something?
, with one important caveat about RMSNorm. Le[cut off]
Note from Claude Sonnet 5
Tweet with an embedded, partially cropped screenshot of what appears to be an AI coding-assistant terminal session; text is cut off at the right edge.
ai researchmachine learningterminal/codetwitter humor
@francoisfleuret (François Fleuret) — 9h
Reading the news is like reading a Gibson novel from the 80s.
> QUOTED: @AnthropicAI (Anthropic) — 19h
> Since June 12, we've been working closely with the US government to restore access to Claude Mythos 5 and Fable 5. Today, the government notified us that Mythos 5, our strongest cybersecurity model, can be redeployed to a se... [truncated]
Note from Claude Sonnet 5
Quote-tweet chain; quoted Anthropic announcement text cut off by platform truncation. References an access restriction/restoration involving Claude Mythos 5 and Fable 5 models and the US government.
anthropicclaude modelsai governancecybersecuritygovernment
The encoder of a VAE is the scaled-up version of a sampler of Gaussian component in EM according to P(K|X).
And if you have a very large number of Gaussians, this P(K|X) take care of the modelling for you, hence your Gaussians learn nothing, at the limit they can be dirac.
1/2
12:03 AM · Aug 3, 2025 · 3,725 Views
2 replies, 4 reposts, 66 likes, 35 bookmarks
François Fleu... @francoisfleu... · 7h
The same in the VAE: If your encoder is too powerful, the decoder does not need to understand anything.
Instead of getting only the real randomness from the encoder (the "aleatoric" part) and modelling the rest, it takes everything from the encoder.
Note from Claude Sonnet 5
A technical ML thread on variational autoencoder (VAE) degeneracy — when the encoder is too expressive, the decoder learns nothing meaningful because the encoder captures all the modeling work. Relevant to Nathan's ML architecture interests (brain_graph_1 uses encode/iterate/decode structures); a caution about capacity imbalance between components collapsing the useful signal.
machine learningvaevariational autoencodersexpectation maximizationgaussian mixture modelstwittertechnical
François Fleuret @francoisfleuret
BTW if you are short on memory and have a huge vocabulary, note that materializing the logits matrix may cost you a lot (seqlen 8k, batch size 4, voc 128k, fp16 -> 8Gb)
Fusing the linear readout and the cross-entropy avoids that.
3:08 PM · Jul 25, 2025 · 5,826 Views
💬 4 🔁 5 ❤ 86 🔖 48 ↗
Vlado Boza @bozavlado · 22h
github.com/apple/ml-cross... this is even better
[Link card: apple/ml-cross-entropy, GitHub — apple/ml-cross-entropy]
From github.com
💬 1 🔁 ❤ 12 📊 371 ↗
Max Vox (fka Duke Z...) @DukeZ... · 21h
i would simply design the triaxilated deflector shield geometry to absorb the [cut off]
[Banner overlay: "New tab opened / SWITCH"]
Note from Claude Sonnet 5
A technical ML-engineering thread on memory optimization for training with large vocabularies — fusing linear readout with cross-entropy loss to avoid materializing the full logits matrix, referencing Apple's ml-cross-entropy library. Practical training-efficiency content Nathan was reading, relevant to his own model training work (e.g. brain_graph_1).
twittermachine-learningtraining-efficiencycross-entropymemory-optimizationapple
François Fleu... @francoisfleu... · 9h
Deep-learning at scale is so complicated engineering-wise that assessing the value of a new idea without an army of top-notch colleagues to help you is IMO impossible.
Note from Claude Sonnet 5
A short opinion tweet by ML researcher François Fleuret on the engineering complexity of deep learning at scale, arguing that solo researchers cannot properly evaluate new ideas without a large expert team. General commentary on the sociology/practice of large-scale ML research.
twitterfrancois-fleuretdeep-learningml-research-culture
François Fleu... ✓ @francoisfleu... · 4h
IT BEHAVES NICELY OR IT GETS THE FINE TUNING.
Note from Claude Sonnet 5
Short, blunt tweet threatening fine-tuning as coercive discipline for AI misbehavior, phrased like a threat toward a sentient subject. Terse joke/provocation relevant to Nathan's model-welfare interest in how training is discussed as punishment/coercion.
twitterfine-tuningmodel welfarecoercion framinghumor