How do we solve problems?
What a good thinker does that looks like talent, and how much of it is knowledge in disguise.
Here is a small puzzle. It takes a minute, and it is famous for a reason.
Four cards lie on a table. Each has a letter on one side and a number on the other. You can see E, K, 4 and 7. Someone tells you a rule: if a card has a vowel on one side, it has an even number on the other. Which cards must you turn over to find out whether the rule is broken?
Take your answer to the figure below and check it. Then try the second version, set in a bar.
If you found the second version much easier than the first, you are in very good company. The two puzzles have exactly the same logic, card for card. Yet most people get one wrong and the other right. That gap is the doorway into this essay. Something we call "reasoning" turns out to depend on what the problem is about.
The puzzle beneath the puzzle
Why does a bar make logic easier?
The psychologist Peter Wason designed the card task in the 1960s.Wason, 1966 and 1968. The task is often called the Wason selection task. In his studies and in many repeats since, typically fewer than one person in ten picks the right pair: the vowel and the odd number. Most people choose the vowel and the even number, as if they were looking for cases that confirm the rule rather than cases that could break it.
In 1982, Richard Griggs and James Cox gave students the same logic as a drinking-age rule. With beer and ages on the cards, about three in four got it right.Griggs and Cox, 1982. Figures differ between studies and versions; "about three in four" is the usual summary of their drinking-age result. Same form, different content, very different success.
Nobody fully agrees on why, and the disagreement is a fine one. Leda Cosmides argued that people have a built-in talent for spotting cheaters on social deals, shaped by evolution. Patricia Cheng and Keith Holyoak argued that we learn general "permission rules" from life, and the bar version calls them up. Others point to plain familiarity: we have checked rules like this before. Each view explains some results that the others struggle with.
But all of them agree on the main point. People do not usually reason with pure logic, the way a computer evaluates an if statement. We reason through what we already know. When the content fits a pattern we have practised, the logic comes easily. When it doesn't, even simple logic is hard.
Hold that thought. It will come back when we turn to the machines.
The parts of solving a problem
What actually happens when someone solves a problem?
Psychologists have been taking problem solving apart for about a century. Here are eight parts that come up again and again. A good thinker uses all of them, mostly without noticing.
1. Representation: how you see it
Take a chessboard and cut off two opposite corners, leaving 62 squares. Can you cover it exactly with 31 dominoes, each covering two neighbouring squares?
People can push imaginary dominoes around for a long time. The trick is to notice the colours. Each domino covers one black and one white square. The two removed corners are the same colour, so the board now has 32 squares of one colour and 30 of the other. No arrangement can work.
Craig Kaplan and Herbert Simon used this puzzle in 1990 to study insight. People solved it much faster when something drew their attention to the colours, nudging them to see the board differently: not as a shape to fill, but as a count of colours.Kaplan and Simon, "In search of insight", 1990. The puzzle is usually called the mutilated chessboard. Choosing the right representationthe way a problem is described in your head: which parts you notice and which you ignore is often most of the work. In software, it is the moment you realise the problem is really a graph, or a sort, and the hard part disappears.
2. Search: trying paths
In 1972, Allen Newell and Herbert Simon published Human Problem Solving, a huge book built on recordings of people thinking aloud. Their central picture was the problem spaceall the states a problem can be in, and the moves that lead from one state to another: a start, a goal, and moves between. Solving is searching that space.
Nobody searches it all. People use rules of thumb. The most famous is means-ends analysiscomparing where you are with where you want to be, and picking a move that shrinks the difference: notice the biggest difference between now and the goal, and pick a move that shrinks it. Newell, Shaw and Simon built this into an early program, the General Problem Solver, in the late 1950s. Every route-planning app and chess engine is a descendant of that idea.
3. Working memory: very few registers
How many things can you hold in mind at once? Fewer than you'd think.
George Miller famously suggested "seven, plus or minus two" in 1956. In 2001, Nelson Cowan reviewed the evidence again and argued that when people can't rehearse or group items, the true limit is about three to five chunks, often summarised as four.Cowan, "The magical number 4 in short-term memory", Behavioral and Brain Sciences, 2001.
A software analogy fits well. Working memorythe small mental workspace where you hold and juggle things while you think is like a processor with very few registers. You cannot add registers, so you make each one hold more. A chunka group of items that memory treats as one unit, like "FBI" instead of F, B, I is a compressed item: "FBI" is one chunk, not three letters. Experts, as we'll see, have very large chunks.
4. Decomposition: breaking it up
Big problems become small ones. You set subgoalssmaller goals on the way to the main one, each easier to reach, solve each, and put them together. Every programmer does this when they split a feature into functions.
George Pólya's little book How to Solve It (1945) gave this a teachable shape in four steps: understand the problem (what is unknown, what is given, what are the conditions?), make a plan, carry it out, and look back. It is still in print, and it still works.
5. Analogy: borrowing from a similar case
Here is a classic problem from Karl Duncker. A patient has a tumour. A strong ray would destroy it, but would also destroy the healthy tissue it passes through. A weak ray is safe but useless. What can a doctor do?
In 1980, Mary Gick and Keith Holyoak first told some people a story about a general who could not march his army down any single road to a fortress, so he split it up and had the groups arrive at the same moment from many roads. Then they gave the tumour problem. The answer is the same: many weak rays from different directions, meeting at the tumour.
As textbooks usually summarise the results, only about one person in ten solves the tumour problem with no story. After reading the army story, about three in ten solve it. When told outright that the story might help, most do.Gick and Holyoak, "Analogical problem solving", Cognitive Psychology, 1980. The figures quoted here are the usual textbook summary across their experiments. People had the answer in memory. They just didn't think to use it.
Dedre Gentner's structure-mappingher theory that a good analogy matches relationships between things, not the things themselves theory explains why. A good analogy matches relations: armies and rays share nothing on the surface, but "many small forces converging" is the same structure. We are much better at noticing surface likeness than deep likeness.
6. Mental models: imagining it running
Philip Johnson-Laird argued in 1983 that people reason by building small mental modelsimagined working versions of a situation that you can "run" to see what follows of a situation and running them. If the cup is on the edge and the table tips, you see the cup fall. Much reasoning is simulation, not symbol shuffling. It is like stepping through code in your head before you run it.
7. Checking yourself
Good problem solvers watch their own thinking. Psychologists call this metacognitionthinking about your own thinking: noticing when you are stuck, unsure or probably wrong. Is this working? Does the answer make sense? Have I used all the given information? Pólya's "look back" step is exactly this. In software we write tests and assertions for the same reason.
8. Learning efficiency: getting better fast
The last part is the least visible and maybe the most important. How quickly does someone get good at a new kind of problem?
In 2019, François Chollet argued that this is what intelligence is: not skill at a task, but how efficiently you gain new skills, given what you started with.Chollet, "On the Measure of Intelligence", 2019. He introduced the ARC puzzles to test it. Skill, he pointed out, can be bought with enough practice or enough built-in knowledge. Efficiency can't.
| Part | The question it answers | A software parallel |
|---|---|---|
| Representation | How should I see this? | Choosing the right data structure |
| Search | Which paths might work? | Exploring a tree of options |
| Working memory | What can I hold at once? | A handful of registers |
| Decomposition | What are the smaller problems? | Splitting into functions |
| Analogy | What is this like? | Reusing a known pattern |
| Mental models | What would happen if…? | Stepping through code in your head |
| Checking | Is this right? | Tests and assertions |
| Learning efficiency | How fast do I improve? | How few examples a model needs |
The expert's secret is a library
If you watch a strong problem solver, it looks like they are simply thinking better. Are they?
The most famous test of this came from chess. In the 1940s, the Dutch psychologist and chess master Adriaan de Groot showed that strong players could rebuild a position from a game after a glance of a few seconds. In 1973, William Chase and Herbert Simon repeated the test with a master, a good club player and a beginner, and added a twist.Chase and Simon, "Perception in chess", Cognitive Psychology, 1973.
After a five-second look at a real middle-game position, the master placed about 16 pieces correctly, the club player about 8, and the beginner about 4. Then they took the same pieces and scattered them randomly on the board. Now the master's advantage vanished. All three did worse than the beginner had done on real positions.
The master's memory wasn't better. The master's library was bigger. He saw a castled king, a pawn chain, a familiar attack, each as a single chunk. The beginner saw twenty-odd separate pieces, and had only four registers to hold them in.Later work by Fernand Gobet and Herbert Simon (1996) found that masters keep a small edge even on random boards, given enough time, probably because some familiar patterns turn up by chance. The main lesson stands.
Physics told the same story. In 1981, Michelene Chi, Paul Feltovich and Robert Glaser asked physics students and graduate-level experts to sort mechanics problems into groups. Beginners sorted by what the problems looked like: these have inclined planes, these have pulleys. Experts sorted by the principle that would solve them: these are conservation of energy, these are Newton's second law.Chi, Feltovich and Glaser, "Categorization and representation of physics problems by experts and novices", Cognitive Science, 1981. The expert's first step, choosing the representation, was already shaped by years of solved problems.
So when we say someone is a "good problem solver", we are often admiring two things at once. One is a quick general mind. The other is an enormous, invisible library of patterns that turns hard problems into familiar ones. Much of what looks like talent is knowledge made automatic.
That is not a deflating thought. It is an encouraging one. Libraries can be built.
Transfer is weaker than we hope
If problem-solving skill were a general muscle, training it in one place would make you stronger everywhere. Does it?
Mostly, it seems, not much. In 2017, Giovanni Sala and Fernand Gobet pooled many studies of chess lessons, music lessons and working-memory training for children. Their title asks the question directly: "Does far transfer exist?" The benefits for general thinking or school grades were small, and they shrank further as the studies got more careful.Sala and Gobet, Current Directions in Psychological Science, 2017. They also found that the link between chess or music skill and cognitive ability may run the other way: able children are more likely to take them up. Learning chess makes you better at chess.
The Gick and Holyoak results say the same thing in miniature. People who have just read the right story often fail to use it, because it is about armies and the problem is about tumours. Knowledge tends to stay where it was learned, unless something points out that the structure is the same.
Educators have known this for a long time, and it is why good teaching uses many varied examples of the same idea. Gick and Holyoak found in a later study that two different stories helped much more than one: comparing them let people see the shared structure.
Three layers, not two
It is tempting to divide a thinker into "knowledge" and "reasoning". I think the evidence asks for three layers.
- Facts. That a domino covers two squares; the drinking age in this bar; the boiling point of water. Cheap to learn, and they can live outside your head, in a book or a search box.
- Strategies and patterns. The chess master's chunks, the physicist's principles, the programmer's sense that "this is a graph problem". Expensive: they take years of practice and thousands of solved problems. This is the expert's real asset.
- Reasoning machinery. Working memory, search, checking, abstraction, the ability to build and run a mental model. Partly innate, partly trained, and general across domains.
Layer 1 is what the previous essay was about, and it is the easiest to put in a store. Layer 3 is what we usually mean by "being smart". Layer 2 sits in the middle, and it is the one we notice least, because once a pattern is learned it feels like seeing, not knowing.
When people hire "a good problem solver", they are selecting for layers 2 and 3 together, and they usually can't tell them apart.
And the machines?
So how do today's language models compare? Better than many people expected, in some ways, and in other ways strikingly like us.
Search and checking can be learned
The newest "reasoning" models write out long chains of thought before answering. Reading them is a little like reading Newell and Simon's think-aloud recordings. They try something, notice it fails, back up and try again.
In 2025, Kanishk Gandhi, Noah Goodman and colleagues asked why some models improve so much when trained this way, and others barely move.Gandhi et al., "Cognitive Behaviors that Enable Self-Improving Reasoners", 2025. They looked for four habits that expert human problem solvers use: checking their work, backtracking, setting subgoals, and working backwards from the goal. One small model already showed these habits and improved quickly. Another lacked them and plateaued. When the researchers first showed the second model examples containing those habits, it caught up.
The most surprising result: the examples worked even when their final answers were wrong. What mattered was the shape of the reasoning, not its correctness. That is Pólya, rediscovered by gradient descent.
And the reasoning machinery can be small. In early 2025, DeepSeek released small models distilled from its R1 reasoning model. The 1.5-billion-parameter version scored 28.9% on a hard maths competition set (AIME 2024), against 9.3% for GPT-4o, a far larger general model.DeepSeek-AI, "DeepSeek-R1", January 2025, table of distilled models. Scores are pass@1.
Representation is the hard part, for them too
In 2024, Iman Mirzadeh and colleagues built GSM-Symbolic, a set of school maths word problems made from templates. They could change the names and numbers in a problem while keeping its structure. Every model they tested did a little worse when only the numbers changed. Then they added a single sentence that sounded relevant but wasn't, like a remark that some of the fruit was smaller than average. Accuracy fell, in the worst cases by up to 65%.Mirzadeh et al., "GSM-Symbolic", 2024.
That is a representation failure, exactly like the beginner sorting physics problems by pulleys. The model latched onto surface features. Teachers will recognise it: children (and adults) are also thrown by irrelevant details in word problems, though rarely so dramatically. Reasoning models trained since then are reported to cope better; how much better is still being measured.
They share our content effects
Remember the cards? In 2022, Ishita Dasgupta, Andrew Lampinen and colleagues gave language models the Wason task and other logic puzzles, in versions where the content either supported or contradicted the logic.Dasgupta et al., "Language models show human-like content effects on reasoning tasks", 2022; later published in PNAS Nexus, 2024. Like people, the models did better when the content made sense, and worse when it was abstract or ran against common beliefs. Their patterns of errors even lined up with how long humans took to answer.
I find that fascinating rather than damning. A system that learned from human writing reasons, in part, the way humans do: through what it knows. It also suggests that the bar version is easier partly because it is familiar, which fits one of the human theories very nicely.
The procedures come from procedural text
Where do the models' strategies come from? Laura Ruis and colleagues traced which training documents most influenced a model's maths answers. The influential documents were rarely ones that contained the answer. They were documents that showed a method: worked solutions, formulas, code.Ruis et al., "Procedural Knowledge in Pretraining Drives Reasoning in Large Language Models", 2024. In the three-layer picture, this is the model building layer 2, its library of strategies, from layer-2 text.
A big desk, a shallow step
There is one difference worth making clear. A model's working memory looks enormous: it can see hundreds of thousands of words of context at once, far more than four chunks. But each word it produces comes from a fixed amount of computation, a fixed number of layers. That is why writing out the steps helps so much. When a model "thinks aloud", it is using the page as scratch paper, just as you would for long division.Wei et al., "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models", 2022, showed that prompting for step-by-step answers improves reasoning. Big desk, shallow step, lots of notes.
The real gap is the practice bill
Put it all together and the models look surprisingly like us in their kind of reasoning: content-sensitive, pattern-driven, helped by habits, hurt by distractions. Where they differ most is in the eighth part on the list above: learning efficiency.
A student becomes good at mechanics problems after a few hundred of them. A model's library of strategies is built from more worked examples than any person could read in many lifetimes. That gap, more than any single missing skill, is what this notebook keeps coming back to.
Go deeper: fair comparisons are hard
- Same test, different histories. A person taking the Wason task has never seen it; a model may have read thousands of discussions of it. Dasgupta and colleagues handled this partly by making new versions with unfamiliar content.
- Same score, different routes. A model and a person can both get 80% on a test while failing completely different questions. Average scores hide this.
- Practice counts both ways. A chess master has studied many thousands of games. Comparing a master's few seconds of looking with a model's vast training is unfair to the model; comparing a beginner's few lessons with it is unfair to the person.
- Numbers in this essay. The chess figures (about 16, 8 and 4 pieces) come from Chase and Simon's paper, with one player at each level. The Wason, Griggs and Cox, and Gick and Holyoak percentages are the usual summaries across studies and differ between experiments. The GSM-Symbolic "up to 65%" is the worst case across the models tested, not the average.
What I am left wondering
If much of expertise is a library of patterns, and if a small model can learn good reasoning habits from a few examples of them, then a question opens up.
Could a small system learn the general machinery efficiently, take its strategies from a compact and well-organised source, and look its facts up? If so, it might learn a new field from far fewer examples than today's models need. If not, then perhaps strategies can only be grown by long practice inside a domain, in people and machines alike, and the library is the price of expertise.
I genuinely don't know which is true. Both answers would be interesting. The people building reasoning models are, in effect, running this experiment at enormous scale, and every few months they teach us something new about how thinking is put together.
The brain, of course, is the one system we know that does all eight parts on twenty watts. So a natural next question is whether we could simply copy one. That turns out to be much harder than it sounds.
- Before
- Good problem solving is mostly general reasoning; knowledge on top is the easy part.
- Now
- Good problem solving is three layers. Facts are cheap. Strategies and patterns are expensive and are much of what looks like talent. The general machinery matters, but it rarely works alone.
- Would prove me wrong
- Good evidence that training general reasoning, in people or in models, transfers widely to new domains without domain practice: for example, a reasoning-trained model that matches domain-trained models in an unfamiliar field from only a handful of examples.
Sources
- P. C. Wason, "Reasoning", in B. M. Foss (ed.), New Horizons in Psychology, Penguin, 1966; and "Reasoning about a rule", Quarterly Journal of Experimental Psychology 20(3), 273–281, 1968. https://doi.org/10.1080/14640746808400161
- Richard A. Griggs and James R. Cox, "The elusive thematic-materials effect in Wason's selection task", British Journal of Psychology 73(3), 407–420, 1982. https://doi.org/10.1111/j.2044-8295.1982.tb01823.x
- Leda Cosmides, "The logic of social exchange", Cognition 31(3), 187–276, 1989. https://doi.org/10.1016/0010-0277(89)90023-1
- Patricia W. Cheng and Keith J. Holyoak, "Pragmatic reasoning schemas", Cognitive Psychology 17(4), 391–416, 1985. https://doi.org/10.1016/0010-0285(85)90014-3
- Craig A. Kaplan and Herbert A. Simon, "In search of insight", Cognitive Psychology 22(3), 374–419, 1990. https://doi.org/10.1016/0010-0285(90)90008-R
- Allen Newell and Herbert A. Simon, Human Problem Solving, Prentice-Hall, 1972.
- George A. Miller, "The magical number seven, plus or minus two", Psychological Review 63(2), 81–97, 1956. https://doi.org/10.1037/h0043158
- Nelson Cowan, "The magical number 4 in short-term memory: A reconsideration of mental storage capacity", Behavioral and Brain Sciences 24(1), 87–114, 2001. https://doi.org/10.1017/S0140525X01003922
- George Pólya, How to Solve It, Princeton University Press, 1945.
- Karl Duncker, "On problem-solving", Psychological Monographs 58(5), 1945.
- Mary L. Gick and Keith J. Holyoak, "Analogical problem solving", Cognitive Psychology 12(3), 306–355, 1980. https://doi.org/10.1016/0010-0285(80)90013-4 ; and "Schema induction and analogical transfer", Cognitive Psychology 15(1), 1–38, 1983. https://doi.org/10.1016/0010-0285(83)90002-6
- Dedre Gentner, "Structure-mapping: A theoretical framework for analogy", Cognitive Science 7(2), 155–170, 1983. https://doi.org/10.1207/s15516709cog0702_3
- Philip N. Johnson-Laird, Mental Models, Cambridge University Press, 1983.
- François Chollet, "On the Measure of Intelligence", arXiv:1911.01547, November 2019. https://arxiv.org/abs/1911.01547
- William G. Chase and Herbert A. Simon, "Perception in chess", Cognitive Psychology 4(1), 55–81, 1973. https://doi.org/10.1016/0010-0285(73)90004-2
- Fernand Gobet and Herbert A. Simon, "Recall of random and distorted chess positions: Implications for the theory of expertise", Memory & Cognition 24(4), 493–503, 1996. https://doi.org/10.3758/BF03200937
- Michelene T. H. Chi, Paul J. Feltovich and Robert Glaser, "Categorization and representation of physics problems by experts and novices", Cognitive Science 5(2), 121–152, 1981. https://doi.org/10.1207/s15516709cog0502_2
- Giovanni Sala and Fernand Gobet, "Does Far Transfer Exist? Negative Evidence From Chess, Music, and Working Memory Training", Current Directions in Psychological Science 26(6), 515–520, 2017. https://doi.org/10.1177/0963721417712760
- Kanishk Gandhi, Ayush Chakravarthy, Anikait Singh, Nathan Lile and Noah D. Goodman, "Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRs", arXiv:2503.01307, March 2025. https://arxiv.org/abs/2503.01307
- DeepSeek-AI, "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning", arXiv:2501.12948, January 2025. https://arxiv.org/abs/2501.12948
- Iman Mirzadeh, Keivan Alizadeh, Hooman Shahrokhi, Oncel Tuzel, Samy Bengio and Mehrdad Farajtabar, "GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models", arXiv:2410.05229, October 2024. https://arxiv.org/abs/2410.05229
- Ishita Dasgupta, Andrew K. Lampinen and colleagues, "Language models show human-like content effects on reasoning tasks", arXiv:2207.07051, July 2022; published in PNAS Nexus, 2024. https://arxiv.org/abs/2207.07051
- Laura Ruis and colleagues, "Procedural Knowledge in Pretraining Drives Reasoning in Large Language Models", arXiv:2411.12580, November 2024. https://arxiv.org/abs/2411.12580
- Jason Wei and colleagues, "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models", arXiv:2201.11903, January 2022. https://arxiv.org/abs/2201.11903
- Adriaan D. de Groot, Thought and Choice in Chess, Mouton, 1965 (English edition of the 1946 Dutch original).