Abhishek S.
Shipping in public. Listening in private.

Abhishek

I lead women’s Indo-Western & Premium at Max Fashion. I also wrote the AI that runs the buying floor.

Rare profile. Category operator who ships production code.

Senior Buying Leader · Max Fashion Women’s Indo-Western & Premium · 530+ India stores NIFT ’12 · Twelve years on the floor

abhishek@bengaluru ~ %
>role: senior buying lead
>dept: women’s indo-western + premium
>floor: 530+ stores india

Thalamo-cortical Attention — The Brain Invented Transformer Architecture

The uncomfortable claim is not that transformers resemble brains. It is that a 2025 preprint maps transformer attention onto named cortical cell layers and thalamic pathways. Arno Granier and Walter Senn argue that superficial pyramidal cells carry a key-value memory, deep pyramidal cells carry the query, and thalamo-cortical routing performs something close to multihead self-attention. If that holds, the 2017 transformer paper did not only solve machine translation. It found a computation biology may already use.

The mechanism

Transformer attention is one line of math:

Attention(Q, K, V) = softmax(QK^T / sqrt(d_k)) V

Q asks, K indexes, V returns content. Granier and Senn's 2025 mapping changes the anatomy from metaphor to testable mechanism: superficial cortical pyramidal cells maintain key-value memory; deep pyramidal cells encode current queries; thalamic core and matrix projections route the result between cortical areas.

The sharp detail is the separation. In a standard transformer, Q, K, and V usually come from learned projections of the same token representation. In cortex, the proposed computation is split across cell classes, layers, and relay loops. The title of this page is deliberately too strong; the careful claim is narrower: one anatomical circuit may implement an unnormalized, linear cousin of self-attention.

The pulvinar is not a passive relay

The pulvinar is the largest thalamic nucleus in primates, and attention researchers have been circling it since the 1970s. A 2025 macaque preprint by Boshra, Harris, Dougherty, Berg, Morea, Alitto, Rodriguez, Usrey, and Kastner gives the cleanest causal version of the story: pulvinar bursts predicted performance in a covert attention task, were more common for non-cued targets, and electrical microstimulation triggered bursts that improved target detection.

That matters because it flips the old textbook picture. The thalamus is not just a switchboard passing cortical messages onward. In this account, it helps decide which cortical population gets amplified now.

Component Artificial transformer Proposed thalamo-cortical role
Query current token state deep pyramidal activity
Key-value memory learned projections superficial cortical memory
Head attention subspace cortical area or circuit module
Routing weighted sum thalamo-cortico-thalamic loop
Reallocation attention weights pulvinar burst control

What's contested

The hard question is whether "attention" here is a true computational equivalence or a useful analogy with matching pieces. Granier and Senn use a linear, unnormalized attention block, not the full softmax machinery used in Vaswani et al. 2017. That difference matters: softmax normalization is not a decorative trick; it changes competition, scale, and stability.

The second dispute is causal depth. Pulvinar stimulation changing detection is strong evidence that thalamic bursts can shape attention. It does not prove the cortex is literally running transformer-style QKV code. Biology may be doing a family of routing computations that machine learning happened to name with cleaner algebra.

Why this has to do with other realms

This page sits between concept transformer architecture and concept consciousness because both fields fight over the same verb: attend. In AI, attention is a differentiable routing operation. In neuroscience, attention is a behavioral and neural control process. The bridge is not poetry; it is the possibility that routing, selection, and broadcast are one mechanism seen through different instruments.

It also touches tech neuromorphic computing. If thalamic loops matter, then copying neurons without copying routing may miss the part that makes cortical computation cheap. The brain runs on roughly 20 watts; the relevant lesson may be wiring and gating, not neuron count.

An open question

If cortical attention needs a thalamic routing stage, what is the machine-learning equivalent of the pulvinar: a learned router, a burst-triggered sparse gate, or something that only makes sense in an embodied agent?

Key Sources

Further Reading

See Also

Abhishek's take

What grabs me here is the split between query and memory living in different tissue. Most AI diagrams make attention look like clean matrix algebra; the biology version looks like routing under pressure, with a relay nucleus deciding what gets amplified. I do not buy the strong consciousness jump, but I do buy the design prompt: maybe the missing piece in long-context AI is not a bigger window, but a better thalamus. What would an artificial pulvinar choose to ignore?

Tags: #thalamus #pulvinar #attention #transformer #qkv #cortex #neuromorphic