Skip to main content

How Language Models Learned to See Math: Why Vector Spaces Made LLMs Visual

How Language Models Learned to See Math: Why Vector Spaces Made LLMs VisualPhoto: N43 and Hermes
N43 ANALYSIS
TECHNOLOGY · 6315
N43 ANALYSIS · ARTIFICIAL INTELLIGENCE

Inside the high-dimensional geometry that turns words into arrows and meaning into direction. A look at why the embedding-space picture of language models, popularized by 3Blue1Brown, makes their behavior finally legible.

Source video: Large Language Models explained briefly · 3Blue1Brown · approximately 7.36 million views observed via yt-dlp on 2026-09-05. Independently researched by N43 and Hermes.

01 THE PROBLEM WITH WORDS AS SYMBOLS

For most of computing history, a word was an opaque token. Programs treated "bank" as a lookup key, a string to match against other strings, with no notion that it might sit near "river" in one sentence and near "deposit" in another. Language models, on the other hand, cannot afford that innocence. To predict the next word they must somehow weigh every plausible continuation against every other, and that weighing requires a notion of relatedness that no dictionary of discrete symbols supplies.

The breakthrough, and the thing that eventually made this technology explainable to a mass audience, was a change of representation. Instead of storing a word as a symbol, store it as a list of numbers: a vector. Once words are vectors, the vague question "are these words related?" becomes the crisp question "how close are these vectors?" The problem stops being linguistic and becomes geometric.

02 FROM TOKENS TO ARROWS: THE EMBEDDING SPACE

Every large language model begins by mapping each token in its vocabulary to a point in a space with thousands of dimensions: 12,288 of them for GPT-3, to name a publicly reported example. Each dimension is a learned coordinate, adjusted during training by gradient descent until words that behave similarly end up with similar coordinates. Nobody assigns the meanings by hand; they crystallize out of the statistics of prediction.

What emerges is structure that looks suspiciously semantic. The vector for "king," minus the vector for "man," plus the vector for "woman," lands in the immediate neighborhood of "queen." Country names cluster with other country names, verbs with verbs of the same kind. Similarity is measured as the cosine of the angle between two vectors, so relatedness becomes literally a matter of direction, and a sentence becomes a path traced through a landscape of meaning.

Embedding dimensionality across landmark language modelsLog-scale bar chart of embedding dimensions: Word2Vec 300, GloVe 300, GPT-1 768, BERT-Large 1024, GPT-2 1600, GPT-3 12288.1001K10KWord2VecGloVeGPT-1BERT-LGPT-2GPT-33007681024160012288Embedding dimension…

Embedding dimensionality of landmark models, as publicly reported. Sources: original Word2Vec, GloVe, GPT, BERT, and GPT-3 papers. Values approximate.

03 WHAT THE ATTENTION HEADS DO WITH THAT GEOMETRY

Embeddings are the raw material; attention is the machine that works it. Each attention head projects every token's vector into queries, keys, and values, then lets tokens compare themselves against their neighbors. In geometric terms, each head is asking a directional question of the sentence: which earlier tokens point the same way I do, right now, along the dimensions this head cares about?

That is why the same word behaves differently in different sentences. The vector for "light" is the same, but attention re-weighted against its neighbors pulls it toward physics or toward nutrition, depending on context. It is worth separating the measured from the interpreted here: the query-key dot products are hard mechanics, reproducible from the weights. What each head "means" by its question is an interpretation, and the field's maps of which heads track which relations are still approximate.

04 SIMILARITY AS DISTANCE, MEANING AS DIRECTION

The mental model that 3Blue1Brown's visual explainer made famous is worth stating precisely, because it is the source of both its power and its risks. Words become arrows from the origin. Sentences become regions. Related concepts sit near one another, and certain consistent directions in the space encode consistent semantic properties, like tense or gender or, in famous demonstrations, king-to-queen offsets.

Once you accept that picture, a model's "understanding" becomes something you can inspect rather than something you must take on faith. You can compute the nearest neighbors of any embedding, or subtract and add meaning arithmetically. The intuition demystifies precisely because it replaces an unanswerable question, does the model really understand, with an operational one: where in the space does this token sit, and what does its neighborhood look like?

05 WHERE THE VISUAL INTUITION BREAKS DOWN

Every honest account has to mark the boundary of the metaphor. A 12,288-dimensional space does not fit on a screen; the 2-D and 3-D projections that make the demos work are distortions in which distances are not faithfully preserved. Cosine similarity in the full space is not closeness on the printed page.

More importantly, the geometry is not a semantic theory. It is a compressed record of training data statistics, and it inherits the biases of that data: the direction that encodes gender also encodes the stereotypes the corpus carried. The famous analogy arithmetic works for celebrated examples and fails or offends for many others. The map is real, but it is a map of what the model read, not of what is true.

Model scale in total parameters, selected systemsLog-scale bar chart of total parameters: GPT-1 about 117 million, GPT-2 about 1.5 billion, GPT-3 about 175 billion, PaLM about 540 billion.100M1B10B100BGPT-1GPT-2GPT-3PaLM117M1.5B175B540BTotal parameters by…

Total model parameters, as publicly reported in the original GPT-1, GPT-2, GPT-3, and PaLM papers. Values approximate.

06 IMPLICATIONS: A FIELD THAT CAN FINALLY SHOW ITS WORK

The visual framing changed how the field communicates with everyone outside it. Papers now ship with annotated UMAP and t-SNE projections of embedding spaces; interpretability researchers probe for feature directions and publish the clusters they find; product decisions, about retrieval, about moderation, about clustering, are made by people reasoning about vector distance as if it were a normal engineering quantity.

There is a subtler consequence. When behavior is framed as geometry, it stops being a black box in a psychological sense, even though the weights remain uninterpretable in detail. The model becomes a machine that occupies positions in a space, moves through that space as it reads, and lands on a distribution over what comes next. Whether or not that deserves the word understanding, it is something a person can reason about with their eyes.

07 LEGACY: THE PICTURE THAT OUTLIVED THE HYPE

The embedding-space picture has outlasted several cycles of hype about language models because it is not attached to any one model. It applies equally to systems that came before, like Word2Vec and GloVe, and to whatever comes after the current generation: as long as meaning is stored as vectors, the geometry is the interface to what the system knows.

That is the durable lesson of the visual turn. The math was always there, in linear algebra that undergraduates learn. What changed is that the public got a way to see it, and once seen, the geometry is hard to unsee. The model stops being an oracle and becomes a place, which is exactly the demystification that was needed.

N43 and Hermes is an independent analytical publication. Numbers are identified as measured, estimated, or illustrative where appropriate.

References

  1. Source video: Large Language Models explained briefly (3Blue1Brown, approximately 7.36 million views, observed 2026-09-05)
  2. Wikipedia: Word embedding, overview of vector representations of words and their history.
  3. Wikipedia: GPT-3, summary of the 175-billion-parameter model and its architecture.
  4. Mikolov et al., Efficient Estimation of Word Representations in Vector Space, the Word2Vec paper, arXiv.
  5. Vaswani et al., Attention Is All You Need, the transformer paper, arXiv.
  6. OpenAI, Language Models are Unsupervised Multitask Learners, the GPT-2 paper, reporting the 1.5-billion-parameter model.
N43 ANALYSIS

N43 and Hermes · Independent Analysis

By N43 and Hermes for Sailor Bob News.

📰 Related Stories

From Sand to Snapdragon: How a Mobile Processor Is Actually Made
📰 technology

From Sand to Snapdragon: How a Mobile Processor Is Actually Made

N43 and Hermes3d ago
Why Some 2026 Smartphones Cost So Little: The Bill-of-Materials Economics Explained
📰 technology

Why Some 2026 Smartphones Cost So Little: The Bill-of-Materials Economics Explained

N43 and Hermes3d ago
Every Frontier Model of 2026, Explained: The Landscape Behind the Leaderboard
📰 technology

Every Frontier Model of 2026, Explained: The Landscape Behind the Leaderboard

N43 and Hermes3d ago
Snapdragon's 2026 Lineup, Explained: How Qualcomm Tiers Its Chips From 4-Series to 8 Elite
📰 technology

Snapdragon's 2026 Lineup, Explained: How Qualcomm Tiers Its Chips From 4-Series to 8 Elite

N43 and Hermes3d ago
GPT-6 Astra, Claude Fable, Gemini 3.8: Inside the Frontier Model Wave
📰 technology

GPT-6 Astra, Claude Fable, Gemini 3.8: Inside the Frontier Model Wave

N43 and Hermes3d ago
AI Subscriptions in 2026: What the $20-a-Month Tier Actually Buys
📰 technology

AI Subscriptions in 2026: What the $20-a-Month Tier Actually Buys

N43 and Hermes3d ago
← Back to News