Head n. (Understanding. Science of machines. Attention.)
HEAD is the name given by the artisans of these machines to the smallest part of a model that can be caught at a single trade. A model reads a line as a row of pieces, and at every layer each piece is permitted to consult the pieces before it. The head is the organ of that consultation. It has one rule for deciding which earlier pieces deserve a look, and a second for deciding what to carry back from them. A small model has a few dozen heads and a large one has thousands. Nobody appoints a head to its office: each begins as a table of numbers set by chance, and is found after the training to have taken up a trade, much as an apprentice left alone in a workshop is found some months later to have become a locksmith or a thief.
We must warn the reader about the names. The philosophers of this art christen a head on the day they first see it move, and a name given in haste outlives the observation that excused it. A head is to be known as any workman is known: not by asking it, nor by watching where it looks, but by taking it out of the shop and seeing what stops. A head may be very busy and of no use whatever. The classes below rest on published experiments of that kind, and where their authors disagree we have said so; an encyclopaedia is a record of the state of knowledge and not a cure for it.
Chancellor Bacon sorted all that men know under three faculties, and the Encyclopédie followed him: MEMORY, which keeps what has been; REASON, which judges what it is; IMAGINATION, which brings forth what is not yet there. The heads sort the same way, and by what they are found to do rather than by how deep in the machine they sit. This article treats chiefly of two kinds: the INDUCTION HEAD, which belongs to Memory, and the FUNCTION-VECTOR HEAD, which belongs to Reason. The heads of Imagination are noted at the end, and the whole is drawn up in the figured system that follows the text.
I. Of Memory: the induction head
The induction head is a copyist, and its whole philosophy is that what followed a thing before will follow it again. Suppose the page has said Ned Kelly once. Meeting Ned a second time, the copyist looks back for the earlier Ned, notes that Kelly came next, and proposes Kelly. It cannot do this alone. It needs an assistant in an earlier layer, the PREVIOUS-PIECE HEAD, whose only labour is to write upon each piece the name of the piece before it, so that the copyist has something to search for. The mechanism was first set out by Elhage and colleagues in 2021. See PREVIOUS PIECE; DUPLICATE.
Olsson and colleagues (2022) observed that these heads do not grow by degrees. They appear nearly all at once, early in a model’s schooling, and in the same hours the model’s power to learn from the page in front of it rises sharply. The authors take the one for the cause of the other. In small models the evidence is good; in large ones it is now disputed, as the third section relates.
Three species are distinguished. The copyist of pieces reproduces the very next piece, letter for letter; Feucht and colleagues (2025) report that when it is removed a model paraphrases where it would have quoted. The copyist of words works beside the first and carries a whole word, which may be several pieces long, by its meaning rather than its spelling; the same authors find that what it carries does not depend on the language, so that it serves translation. The loose copyist, noticed by Olsson, completes a pattern by resemblance where the others demand identity. The first two are established by removal. The third is an observation, and we class it with them provisionally.
II. Of Reason: the function-vector head
The function-vector head does not carry a word. It carries an errand. Show a model three examples, hot: cold, tall: short, wet: dry, and a small number of heads in its middle layers will be found to hold, in compact form, the instruction give the opposite. Todd and colleagues (2023) found them by replacing the output of one head at a time and measuring what changed in the answer. Hendel and colleagues (2023) arrived at the same thing from the other side, finding the errand written in the running record that every layer reads and adds to, rather than in particular heads.
The proof is a singular one. Add together what these few heads say, carry the sum to a page on which no examples appear at all, and set it down there: the model performs the errand regardless. That sum is the function vector, and the heads are its bearers. Todd tried it upon more than forty errands, among them opposites, capitals and translation.
Of species we can say less, and we prefer to say so. The authors distinguish these heads by their office, which is to transport the task, and not by kinds. Whether there are as many bearers as there are errands, or a few bearers who will carry anything, the published accounts do not settle. Beside the bearers, under Reason, stand two other families. The INHIBITION HEADS, found by Wang and colleagues (2022), tell the later heads which word is not wanted. And Hong and colleagues (2024), studying machines at work on if-then problems, found four families that take the steps in order: one finds the rule in question, one carries it forward, one attends to the facts, and one decides. See LOGIC.
III. Of the passage from the one to the other
It was taught for some years that the copyist was the whole secret of learning from examples. Yin and Steinhardt (2025) put the doctrine to the proof by removing each kind in turn. Without its copyists a large model learnt from examples scarcely worse than with a like number of heads removed at random; without its bearers of errands it learnt much worse. Stranger still, in following the heads through training they found many that began as copyists and ended as bearers, and none that went the other way.
They offer a conjecture, and mark it as one: that copying is the school in which the higher office is learnt. The reader may draw the moral concerning apprenticeships. We remark only that the finding is strongest in the larger models, and that in a machine of a few dozen heads the copyist may still be doing most of the work.
IV. Of Imagination, briefly: the movers
Memory finds and Reason judges, but something must still put the word on the page. The MOVER HEADS, late in the machine, look back at the piece that has been chosen and carry it to the place where the next word is written. Behind them stand the BACKUP MOVERS, which do nothing at all until a mover is taken away, and then do its work. Both were found by Wang, who needed twenty-six heads in seven classes to explain how one small model finishes one kind of sentence. The backups are the reason we speak here of families, and distrust any account that rests on a single head.
V. What is not known
It is not known that these classes are natures: they are offices held in a particular task, and the same head has been caught holding two. Nor is it known that they hold in every machine: nearly all of this was seen in models far larger than the ones built here, answering unaided. Of the heads that serve a model when it writes out a call to a tool and reads the result, we can find nothing published. And the arrangement under three faculties is this article’s, not the cited authors’. We print the system as it stands so that it may be corrected.
The figured system of heads
Memory what has been written
- Previous-piece headwrites on each piece the name of the piece before it
- Duplicate headmarks a piece that has appeared before
- Induction headfinds the earlier occurrence and proposes what followed it
- the copyist of pieces
- the copyist of words
- the loose copyist
Reason what is being asked
- Function-vector headcarries the errand the examples set
- Inhibition headtells later heads which word is not wanted
- Heads of logictake an if-then problem in order
- the rule-finder
- the rule-mover
- the fact-reader
- the decider
Imagination what is to be written
- Mover headcarries the chosen piece to where the next word is written
- Backup moveridle until a mover is removed, then does its work
Authorities
- Elhage et al., A Mathematical Framework for Transformer Circuits (2021)
- Olsson et al., In-context Learning and Induction Heads (2022)
- Feucht, Todd, Wallace and Bau, The Dual-Route Model of Induction (2025)
- Todd et al., Function Vectors in Large Language Models (2023)
- Hendel, Geva and Globerson, In-Context Learning Creates Task Vectors (2023)
- Wang et al., Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 Small (2022)
- Hong et al., How Transformers Solve Propositional Logic Problems: A Mechanistic Analysis (2024)
- Yin and Steinhardt, Which Attention Heads Matter for In-Context Learning? (2025)