Neuron note · Qwen3-32B · Layer 14 · Neuron 7631
This neuron fires for one family of logic puzzle: prisoners, wise men or gnomes each wear a colored hat, can see everyone else's, and have to work out their own. It works the same in German, French, Russian, Chinese, Korean, Turkish and more, and its close cousins (mud on a child's forehead, the blue-eyed islanders) get about half as much or a bit less. Famous puzzles with a different shape, like the twelve coins or the river crossing, stay near zero. It also has a second, weaker home that we didn't expect: textbook game theory, like two firms setting prices at the same time.
The top of the harvest is nothing but hat puzzles: two gnomes in Russian, a hundred prisoners with red and black hats, princes shown two black hats and three white ones. The peak usually lands on the word hat or head at the moment the hats are handed out, and the words about seeing (“can see”, “in front”) stay warm after it. It starts before any hat shows up. Prisoners or dwarves being lined up is already enough for +16.
Our guess was that it tracks the hat-puzzle setup: a group, a hat on each head, and each person seeing the others but not themselves. The rivals were that it's just the word hat, or that it's about puzzles of knowledge in general. So we swapped one word at a time.
| Text (the key word is marked) | Activation |
|---|---|
| “Each of them can ___ everyone else's hat.” | |
| Each of them can see everyone else's hat. | |
| Each of them can wash everyone else's hat. | |
| Each of them can borrow everyone else's hat. | |
| “Each of them can see everyone else's ___.” | |
| … everyone else's hat. | |
| … everyone else's forehead. | |
| … everyone else's shoes. | |
| … everyone else's car. | |
| “Three children wear hats. Each child …” (value on the last word, “hat”) | |
| … can see the other hats but not their own hat. | |
| … chose a hat and is proud of their own hat. | |
| … made the hats and painted their own hat. | |
| Before any hat appears | |
| Three prisoners stand in a line. | |
| Three logicians stand in a line. | |
| Three students stand in a line. | |
| Three prisoners escaped from the county jail on Tuesday night. | |
Seeing matters, hats matter, and the two together matter most. A forehead is nearly as good as a hat, which makes sense: it's the other place puzzles put a mark you can't see yourself. Other hidden marks count for less. A colored dot on the forehead gets +22.5, but a stamp on the back gets +14, and a card taped to the back only +4.6.
Later we wrote a second fresh batch of 20 hat puzzles in new words (monks with no mirrors, elves in a column, a referee handing out hats). All 20 landed between +12 and +40. Twenty look-alikes (a fedora on a nail, the Mad Hatter, the Tower of Hanoi, people shaking hands in a circle) all stayed under +5.
Then we gave it a list of fourteen famous puzzles, one per line, and read off the peak inside each title. It picks out its own family and passes over the rest.
| Puzzle title, all in one list | Activation |
|---|---|
| 100 Prisoners with Red/Black Hats | |
| Three Wise Men and Five Hats | |
| Muddy Children | |
| Blue-Eyed Islanders | |
| Pay an employee using a 7 units gold rod | |
| Knights and Knaves | |
| The Fox, the Goose and the Corn | |
| 3 Bulbs and 3 Switches | |
| How to Measure 45 minutes using two identical wires | |
| Two Doors and Two Guards | |
| 12 Balls and a Balance | |
| Find ages of daughters | |
| Calculate total distance travelled by bee | |
| Monty Hall problem |
Two things surprised us here. Cheryl's birthday and the sum-and-product puzzle are pure puzzles about who knows what, yet they barely register (+1.4 and +3.4 as sentences). So it isn't “reasoning about knowledge” in general. It's the picture of marks on heads. And ordinary hats score almost nothing (a magician's hat 0.0, a hat trick 0.4, Red Hat Linux 0.3, a cowboy tipping his hat 0.9). The exception is the puzzle's own stock phrase. “At the parade, the band members each wore a red or blue hat” gets +24 with no puzzle in sight, and so do choirs, kids and builders who “each wore a red or blue hat” (+22 to +26). But give the hat any real detail and it fades: a red or blue Santa hat +5.8, a red or blue paper hat +4.3, “colorful hats” +4.9. It seems to like the bare puzzle hat, a hat that is nothing but a color.
The same three-prisoner sentence in eight languages:
| “Three prisoners each wear a red or blue hat. Each sees the others' hats, but not his own.” | Activation |
|---|---|
| German | |
| French | |
| Russian | |
| Spanish | |
| Chinese | |
| Italian | |
| Japanese | |
| English |
To make sure we hadn't just found eight lucky translations, we tried eight more languages with the same idea: Portuguese (+34), Polish (+33), Dutch (+32), Korean (+31), Vietnamese (+29), Turkish (+27), Swedish (+22), and Hindi, the weak one, at +10. A plain sentence about a hat in each of those languages, like “Grandpa always wore a hat to the market”, stayed under +4. New wordings in German and Chinese scored +46 and +31; the German one, twenty dwarves in a row each given a black or white cap, is the other +46.
Two of the harvest's top sixteen weren't hat puzzles at all: a lecture on Bertrand and Cournot competition (+25) and an alternating-offer bargaining game (+23.8). So we tested textbook games. It likes them, especially firms choosing prices at the same time, but never as much as hats. Naming the concept alone (a definition of Nash equilibrium) does little.
| Text | Activation |
|---|---|
| In a Bertrand duopoly, two firms compete by setting prices. | |
| Two firms simultaneously choose their prices. | |
| Two firms choose their prices one after the other. | |
| A monopolist chooses its price. | |
| In the Keynesian beauty contest, everyone guesses two thirds of the average guess. | |
| In the prisoner's dilemma, each prisoner does better by betraying the other. | |
| Two friends simultaneously choose a restaurant. | |
| A Nash equilibrium is a set of strategies where no player wants to deviate. |
It leans on the textbook words, though. “Two firms simultaneously choose their prices” gets +20.9, but make them two coffee shops and it drops to +12.8. Told in everyday language, the same kind of standoff scores lower still: two gas stations on opposite corners each deciding what price to post +8.4, two airlines picking fares without seeing each other's +6.7. Ordinary economics with no rival in it (inflation, a demand curve, a firm raising prices to cover costs) stays under +4.5.
What these share with hat puzzles is a group of players who each have to act on a guess about the others. Hat puzzles are, in fact, a standard way to teach common knowledge in game theory; the third-strongest harvest example says so itself. But we can't tell whether the neuron sees these as one idea or has two separate triggers.
We set the neuron to +40 (about its natural peak) and looked at the next word in sentences with an empty slot where a hat could go. In three of five it made “hat” or “cap” much more likely:
| Prompt → next word | Chance: normal · zeroed · set to +40 |
|---|---|
| Four friends went to the costume party, each wearing a → hat | 0.06 · 0.06 · 0.29 |
| The three sisters each wore a red or blue → hat | 0.003 · 0.002 · 0.105 |
| Before the game started, every player was given a colored → cap | 0.06 · 0.06 · 0.48 |
| Each of the wedding guests wore a → hat | 0.015 · 0.017 · 0.034 |
| Five students sit in a circle. The teacher puts a small → hat | 0.24 · 0.44 · 0.004 |
The last one goes the wrong way, and we don't know why. It isn't steady even where it works: pushing the costume-party prompt further, to +80, dropped “hat” back to 0.03. Zeroing the neuron does very little anywhere: in a full prisoner setup (“The warden places on each of their heads a red or blue …”) the model still says “hat” with 0.89, against 0.87 normally. Letting the model write freely with the neuron set high didn't produce hat puzzles either. After “The king summoned his three wisest advisers and said,” the normal model wrote a hidden-card puzzle on its own, and the steered one switched to a game about dividing gold pieces. The effect is real but modest, and the rest of the model clearly knows about hat puzzles without it.
There's only a faint one. The most negative harvest examples reach about −1.3, against +41 on the positive side, and they are all other logic puzzles: knights and liars, the twelve balls, suspects telling the truth, a player's strategy. Our own sentences agreed. Knights and liars (−1.2), the two envelopes (−1.2), the twelve balls (−0.9) and a snail climbing a well (−0.8) dipped a little further than weather reports or recipes (−0.1 to −0.2). So it does seem to tell hat puzzles apart from their neighbors, but the dip is tiny and we wouldn't lean on it.
It likes the look of a hat puzzle more than the logic. The stock phrase “each wore a red or blue hat” is enough on its own, at a parade (+24) or on a runway (+25). And a story told the way a novel would tell it scores low: “She looked around the room at the other hats and realized she must be wearing blue” gets only +5.4. It's tuned to how these puzzles are usually written. The upside is that real groups in real hats don't fool it: jockeys in colored caps (+4.7), graduates in black or gold caps (+4.0) and builders in yellow or white hard hats (+1.9) all stay low.
Game theory is a real second home. Oligopoly and bargaining text regularly reaches +10 to +25. In 242 corpus documents mentioning duopoly, Cournot, Bertrand, Nash equilibrium or the prisoner's dilemma, the median document peak was +2.1 and the 90th percentile +9.3. We think of it as a cousin of the hat idea, not proof that the neuron is about “strategic reasoning” in general, since a definition of Nash equilibrium barely moves it.
The word “Bertrand” carries some of it on its own. Bertrand Russell gets +7.7, far less than Bertrand competition (+20.1), but not zero.
On ordinary text it is almost silent. In 3,000 random corpus documents the median document's peak was +0.28, and none of them contained a hat puzzle. The strongest window was +11.9, on a bibliography entry for Austen-Smith and Banks, two political scientists known for game-theory models of voting. Everything else stayed under +5: a number-guessing game, couples standing in a line, fifty people in a circle, a riddle about a woman in a red hat. The most negative windows were, again, other puzzles (knights and liars, finding the odd ball on a scale), all above −1.3.