Theory of mind in AI (ToM)
Theory of mind is the ability to attribute beliefs, intentions and feelings to others, and in AI it is the open question of whether models can track what other people know and believe.
In psychology, theory of mind is the ability to understand others by attributing mental states to them: beliefs, desires, intentions and emotions that may differ from your own and from the facts. The idea took shape in animal research; a 1978 paper by David Premack and Guy Woodruff asked whether the chimpanzee has a theory of mind. In AI the question is whether a system can keep track of what another person or agent knows, believes or wants, and use that to predict what they will do.
The standard test is the false-belief task. In its best-known form, the Sally-Anne test, a child hears that Sally puts a marble in her basket and leaves the room, and Anne moves the marble to a box. Where will Sally look when she comes back? Answering "the basket" means holding in mind a belief you know to be wrong. Most typically developing children pass from about the age of four.
Large language models made the question pressing. In February 2023 the psychologist Michal Kosinski posted a study, later published in PNAS in 2024, that tested eleven models on 40 false-belief tasks made up of 640 prompts, each task paired with true-belief controls and reversed versions. Older and smaller models solved none. GPT-3-davinci-003 and ChatGPT-3.5-turbo solved 20 per cent, and the June 2023 version of ChatGPT-4 solved 75 per cent, which the paper compares to six-year-old children in earlier studies. Kosinski suggested the ability may have emerged as a by-product of better language skills.
Other researchers were not persuaded. Less than two weeks after the first version appeared, Tomer Ullman published Large Language Models Fail on Trivial Alterations to Theory-of-Mind Tasks, showing that small changes which keep the logic of a test intact could flip a model's answers from right to wrong. He argued that evaluation in this area should start from a sceptical default and give more weight to telling failures than to average scores. There is a further problem: classic tests are widely published, so a model may have met them in its training data. Studies have also found that very simple reflex-based robots have passed some theory-of-mind tests, which suggests the tests do not measure cognition alone.
In practice the question matters for assistants that need to remember what a user already knows, for agents that negotiate or cooperate, and for safety research, since a system that can model beliefs could in principle use that to mislead. It also cuts the other way: people readily attribute minds to chatbots. A fair summary is that current models answer many written theory-of-mind puzzles correctly, and whether that reflects anything like a human grasp of other minds remains disputed.
It is disputed. In Michal Kosinski's study the June 2023 version of ChatGPT-4 solved 75 per cent of a battery of false-belief tasks, a level the paper compares to six-year-old children. Tomer Ullman and others showed that small rewordings can make models fail, so many researchers treat high scores as evidence of skill at the test rather than proof of an underlying ability. It checks whether someone understands that another person can believe something untrue. In the Sally-Anne version, a marble is moved while Sally is out of the room, and the question is where Sally will look for it. The right answer is where she left it, not where it really is. The concept grew out of research on animals. David Premack and Guy Woodruff's 1978 paper, which asked whether the chimpanzee has a theory of mind, is the usual starting point. Developmental psychologists then built false-belief tests for children, which AI researchers later adapted for language models. An assistant that tracks what you know can explain things at the right level and avoid repeating itself, and agents that work with people or other agents need to predict what those others will do. The same ability raises safety questions, because modelling someone's beliefs is also what deception requires.Common questions
Do large language models have theory of mind?
What is a false-belief test?
Who came up with the term theory of mind?
Why does theory of mind matter for AI?
Search for "theory of mind large language models", "false-belief task LLM" or "Sally-Anne test AI" to follow the research. Trust peer-reviewed papers and arXiv preprints that publish their test items, and look for work that varies the wording of classic tests, since results on famous puzzles can reflect memorisation. Be wary of headlines that announce a model "has" or "lacks" a mind on the strength of a single benchmark.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.