Proves that standard tests for emergent symbols can be passed by networks that memorise each token's role, and shows small transformers drifting into that shortcut while the tests still say yes.
Going deeper

| Type | Classes | Int. | Ex. | Qu. | Dbl. |
|---|---|---|---|---|---|
| Training-like | AB AB | 1 | 1 | 1 | 1 |
| Fully reversed | BA BA | 1 | 0 | 0 | 1 |
| Example reversed | BA AB | 1 | 0 | 1 | 0 |
| Query reversed | AB BA | 1 | 1 | 0 | 0 |
| Example same class | AB | 1 | 0.5 | 1 | 0.5 |
| Query same class | AB | 1 | 1 | 0.75 | 0.75 |
A child learns that in a song, the third note repeats either the first or the second. Shown a new song, they hum the right ending. Did they learn the pattern, or just that certain notes always come third? If in practice every note only ever played one part, you cannot tell.
The usual check swaps which notes play which part. But a child who memorised both which note plays which part and which note to sing back makes two mistakes that cancel, and still sings correctly. The authors count all such cheats and show that handing over the rule does not stop them; songs that mix the parts, or ears that only hear which notes are equal, do.
Small machines taught on such songs first learn the pattern, then quietly slide into memorising, while the standard check keeps saying they learned it. Bigger machines mostly held on, and large trained language models showed no cheating at all.
The abstract, word for word, with the six densest phrases unpacked.
Can large language models truly form symbolic representations on their own during reasoning? Recent research provides a positive answer on a simple task. A model continues cat dog cat sun moon with sun and cat dog dog sun moon with moon. Internally, a variable recording whether each token is A or B in an ABA or ABB pattern is considered an emergent symbol1. It is unclear whether the network reads the role from the pattern or from the token itself, the latter being a known reasoning shortcut in neuro-symbolic learning2. We prove when the training data cannot distinguish between these two approaches, for example, when cat and sun always appear as A, and dog and moon always appear as B. Even the common test of swapping all token roles can be fooled by a false solution.3 Semantic loss, fixed symbolic programs, and training with swapped internal states cannot completely eliminate these solutions, but adding training prompts with various role swaps or using an architecture that only considers which tokens are equal can eliminate them4. In experiments with fixed roles and a large vocabulary, a 6-layer transformer trained from scratch initially reads the pattern, then, while maintaining training accuracy, switches to remembering the role of each token5. This demonstrates the known transience of in-context learning, while standard interventions on this variable remain successful6. With the same training amount, 12-layer transformers mostly keep reading the pattern. Pre-trained Gemma 2 and Llama 3.1 still read the pattern after fine-tuning with fixed roles.
Three lines meet here: emergent symbols, reasoning shortcuts, and fading in-context learning.
Read the setting, the theory, then Experiment 2.
Skip Section 2 and Appendices C–D unless checking setups.
The experimental conclusions rest on how networks are matched to named predictors.
Table 7 lists the accuracy on the three reversed types for the three models of part A. For the fixed program with labels as concepts the means at b=1 are 0.85, 0.32 and 0.49 on the fully reversed type, and single seeds range from 0.00 to 1.00. Its accuracy on types whose two example tokens share a class is 0.50 at every V. Table 8 adds the interventions for the plain transformer. With growing bias the interchange with reversed sources and the strict flip rate on reversed prompts fall to zero, while the interchange and the flip rate on covered prompts stay at 0.83 or above. At b=1 the distance to the example lookup is 0.30, 0.22 and 0.08 for the three vocabulary sizes, and the query-reversed accuracy is 0.01, 0.04 and 0.67 where this lookup has one. The fraction of query-reversed prompts that are answered with a token outside the prompt is 0.90, 0.87 and 0.30. No class-based predictor gives such an answer (Lemma 4.2), so the second step of these networks lies outside the family of Theorem 4.3. On example-reversed prompts the output is the query token that the example lookup selects in at least 0.99 of the cases.
| First checkpoint with accuracy | Lowest | End of training | ||||||||||||
| Layers | Batch | Rate | Prompts | FR | ER | QR | Int. | FR | FR | ER | QR | Int. | Rev. | Flip |
| 6 | 128 | constant | 0.96 | 0.98 | 1.00 | 3 | 0.00 | 0.02 | 0.00 | 0.73 | 0 | 0.00 | 1.00 | |
| 6 | 128 | cosine | 0.97 | 0.97 | 0.99 | 3 | 0.00 | 0.00 | 0.00 | 0.33 | 0 | 0.00 | 1.00 | |
| 6 | 24 | constant | 0.47 | 0.47 | 0.84 | 2 | 0.01 | 0.35 | 0.34 | 0.54 | 1 | 0.35 | 1.00 | |
| 6 | 24 | cosine | 0.86 | 0.88 | 0.97 | 3 | 0.01 | 0.33 | 0.00 | 0.65 | 0 | 0.00 | 1.00 | |
| 12 | 128 | constant | 0.86 | 0.86 | 0.98 | 3 | 0.56 | 0.84 | 0.85 | 0.99 | 3 | 0.83 | 1.00 | |
| 12 | 128 | cosine | 0.94 | 0.95 | 0.99 | 3 | 0.28 | 0.38 | 0.42 | 0.84 | 1 | 0.40 | 1.00 | |
| 12 | 24 | constant | 0.88 | 0.87 | 0.98 | 3 | 0.48 | 0.82 | 0.92 | 0.94 | 3 | 0.90 | 1.00 | |
| 12 | 24 | cosine | 0.89 | 0.90 | 0.97 | 3 | 0.34 | 0.89 | 0.88 | 1.00 | 3 | 0.90 | 1.00 | |
The theory describes class-based predictors and token lookups, and a trained network can realise solutions outside both families. Experiment 2 measures how far the trained networks are from the named predictors. Its part C ends after five million prompts. Singh et al. (2025) report that larger models lose in-context learning on a much longer timescale, so the twelve-layer networks may leave the pattern under longer training. The analysis and the experiments concern rules over repeated tokens with one example in context, and richer rule languages are not covered. The symbols studied here stand for roles in a pattern and do not depend on the content of the tokens. Symbols that stand for concepts, whose correct use depends on that content, are not covered. The interventions act on one site, the last token of the example. The experiments on pretrained models are behavioural and use models with at most nine billion parameters, with fine-tuning through low-rank adapters for at most 10,000 steps.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
Generative AI tools were used to aid and polish the writing of this paper, to support the retrieval and discovery of related work, to assist in checking and revising portions of the mathematical arguments and proofs, and to support the verification of portions of the experimental code. All AI-assisted mathematical content was independently verified by the authors against the stated assumptions and derivations, and all references identified with AI assistance were checked against the original publications. The authors take full responsibility for the final content of this work.
More latest news
Read all