cd /news/machine-learning/how-to-win-a-beer-with-high-dimensio… · home › topics › machine-learning › article
[ARTICLE · art-140186] src=jamiesimon.io ↗ pub= topic=machine-learning verified=true sentiment=· neutral

How to win a beer with high-dimensional statistics

Dhruva Karkada's paper on arXiv (2602.15029) showed that LLM embeddings of the 12 months project onto a circle with an approximately circulant Gram matrix, a result the author of the post bet a beer he could reproduce with ten seemingly unrelated words. Using a "looks circular" objective upgraded to matching a target circulant Gram matrix and an iterative search over a 25,000-word vocabulary, he found such a set in an afternoon with a coding agent, though he notes the spurious set's sinusoidal off-diagonal amplitude is smaller than the months' case. The finding suggests spurious geometric patterns can be found in embedding spaces, raising questions about how much representational geometry results reflect genuine structure.

read4 min views1 publishedSep 26, 2026

My longtime labmate-turned-student/friend<sup>1</sup> Dhruva Karkada recently wrote a sick paper on data statistics which deservedly went viral on Twitter, in part because it has one of the prettiest scientific figures I have ever seen:

Say you’ve got a bunch of words that live in a vocabulary $\mathcal{V}$. We’re here studying models $f$ that map $f: \mathcal{V} \rightarrow \mathbb{R}^d$: that is, they map every word to a $d$-dimensional vector. We’re letting ${v_i}_{i=1}^{12} = {\texttt{January}, \texttt{February}, \ldots}$ be the months of the year, taking the 12 associated embedding vectors $\mathbf{w}_i = f(v_i)$, and computing two things:

- a projection onto the top two PCA directions of $\{ \mathbf{w}_i \}$ (left column), and
- the Gram matrix $\mathbf{M} \in \mathbb{R}^{12 \times 12}$ such that $M_{ij} = \mathbf{w}_i^\top \mathbf{w}_j$ (right column).

Reading the rows of this figure from top to bottom,<sup>[2](#fn:2)</sup> they find that:

1. LLM embeddings project down to a circle (as [Engels et al (2024)](https://arxiv.org/abs/2405.14860) also saw), and the Gram matrix is approximately a circulant matrix;
  1. these findings are decently approximated even with primitive word2vec embeddings; and
  2. an analytical theory of the circulant Gram matrix gives a very compelling-looking match.

This is a big deal because it connects data statistics to representational geometry with a really simple mathematical theory.

Finding a needle

After seeing this a bunch of times and staring at it for a while, I was feeling in the mood to poke a hole in this beautiful result, and so I bet Dhruva a beer that I could find a collection of other, seemingly-unrelated words that form a circle + circulant matrix in the same way. He (and most others I told) thought this was crazy, since the circle clearly comes from the special relationship between the words. We settled on the terms of the bet: I had to find ten random-seeming words whose word2vec embeddings, when plotted as the above, made a clear and compelling circle.

Why’d I think this was possible? Well, we have vocabulary of $25000$ words to choose from. That gives you $N = \binom{25000}{10} \approx 3 \times 10^{37}$ sets to select from. I figured that if you threw ten darts at a board that many times, you’d definitely make a circle at least once. Info-theoretically speaking, you have $\log_2 N \approx 124$ bits of information, and surely you can make a decent 10-point circle with that amount of resolving power. The question’s just how you find a set of ten good words in the haystack. Here’s how I did it:

  • From looking at PCA plots of random sets, I guess you’d get a decent circle from a random selection with probability maybe $3^{-10}$, so random guessing could plausibly work.
  • I wrote a “looks circular” objective function, drew tens of thousands of random sets, and chose the best one. It was borderline, but not good enough to utterly obliterate Dhruva.
  • I upgraded it to an iterative search, where at every step, we drop the worst point and choose the best replacement from the vocabulary. That worked pretty well.
  • I also changed the objective from “looks circular on a PCA plot” to “matches a target circulant Gram matrix.” That worked really damn well.

This all took an afternoon with a coding agent.

Here’s what I got:

That’s circular. You can just find other sets of random-looking words that form circles!

Is there any actual significance of this?

This raises certain open questions, including “how can one man be so wrong?”, which I am not qualified to answer.

But seriously: clearly we can find spurious geometric patterns. Should this change our understanding of representation geometry? I’d note a few caveats first:

  1. While the Gram matrix of my spurious-circle-set is indeed beautifully circulant, the amplitude of the (sinusoidal) off-diagonals is less than with the months. I couldn’t get em up to match the months’ Gram matrix, even to within a factor of two.
  2. This works damn well with a set of ten, but I doubt it’d work with a set of, say, 50 (though admittedly I didn’t try very hard), so Dhruva’s other geometric findings (about e.g. all the years from 1700-2020) couldn’t be spoofed in this way.

Nonetheless, it does show that doing a kind of pursuit-matching-style search for a certain low-dim PCA’d geometry will trick you unless you’ve got enough statistical constraints on your target that it won’t happen by random chance! This does rule out certain automatic-feature-finding algorithms, which has implications for research agendas like scalable interpretability.

── more in #machine-learning 4 stories · sorted by recency
── more on @dhruva karkada 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-win-a-beer-wi…] indexed:0 read:4min 2026-09-26 · —