Theory of Mind in Language Models: Do Models Have Minds?

Article A6-05

When a chatbot seems to understand what you are thinking, is anything in there doing the understanding? Language models now pass the story tests psychologists use to show that a child understands other people's beliefs. Whether passing means for a machine what it means for a child is the part nobody has settled.

Explore the idea

In brief

Psychology tests whether someone understands other minds with a simple story: can you predict what a person will do when they believe something false? Chatbots now pass most versions of this test, and in one careful study GPT-4 did as well as a typical six-year-old. But the early scores fell sharply once checks were added, and one model was fooled when the stories were changed in small ways that a child who understood belief would not miss. Today's models handle most of those changes but still stumble on harder versions. So researchers still argue about whether a right answer shows understanding or just knowledge of how such stories usually end.

How to use this

When a chatbot seems to know what you are thinking, remember that it has read more conversations than any person could, probably including the classic psychology tests, so a right answer may come from knowing how such conversations usually go. Ask what would happen if one detail that matters changed. And keep two questions apart: whether a machine can predict what people believe, which can be tested, and whether anyone is in there, which no current test can answer.

What the story is about

In June 2022 a Google engineer named Blake Lemoine told the Washington Post that the company's chatbot, LaMDA, was sentient. "I know a person when I talk to it," he said (Tiku, 2022). Lemoine published a conversation in which LaMDA, asked whether it wanted people at Google to know it was sentient, answered: "I want everyone to understand that I am, in fact, a person" (Lemoine, 2022). Google replied that "the evidence does not support his claims" (Tiku, 2022), and the following month dismissed Lemoine, calling the claims "wholly unfounded" (Ellis, 2022).

Lemoine was not the first to feel this pull. In 1966 Joseph Weizenbaum described ELIZA, a simple program that played a therapist by turning statements back into questions; his secretary, who had watched him build it, asked him to leave the room so she could talk to it in private (Weizenbaum, 1966; Schwartz, 2019). A pull like this, the sense that someone is there, is now called the ELIZA effect. In 2014 a chatbot called Eugene Goostman, playing a 13-year-old boy, was announced as the first to pass Alan Turing's famous test, judging a machine by whether its typed conversation passes for a person's, after convincing 33% of judges (Turing, 1950; University of Reading, 2014). Asked "Which is bigger, a shoebox or Mount Everest?", Eugene replied "I can't make a choice right now. I should think it out later." (Aaronson, 2014). Fluent words make us feel someone is there. Psychology has a classic way to check: read this short story. Here is a bag full of popcorn. There is no chocolate in it, but the label on the bag says chocolate. Sam finds the bag. She cannot see inside it. She reads the label. What does Sam think is in the bag?

You said chocolate without effort, even though you know the bag holds popcorn: you set aside what you know and worked from what Sam knows. Working out what someone else believes, even when you know better, is what psychologists call a theory of mind, and stories like this one became its standard test.

A question first asked of a chimpanzee

The term comes from a 1978 paper by David Premack and Guy Woodruff, who asked whether a chimpanzee has a theory of mind. By their definition, an individual has one "if he imputes mental states to himself and others" (Premack and Woodruff, 1978). Beliefs and wants cannot be seen, only inferred, hence the word theory. Premack and Woodruff showed an adult chimpanzee videos of a person struggling with a problem, such as bananas out of reach, and asked it to choose the photograph that showed the solution, as a test of whether it understood what the person was trying to do.

Commentators on the paper, among them Daniel Dennett, pointed out a weakness in tests like this one: when you know the facts yourself, your own knowledge can give the right answer without any mind reading (Dennett, 1978, cited in Bloom and German, 2000). If Sam had watched the popcorn being poured in, you could say popcorn without thinking about Sam at all. Only a false belief forces you to track what is in her head rather than what is in the bag, which is why the popcorn story works.

How the test became famous

Heinz Wimmer and Josef Perner (1983) turned the false-belief idea into a test for children: a character's belief about where something is becomes wrong, and the child says where the character will look. None of their three- and four-year-olds passed, against nearly nine in ten of the oldest children.

Two years later Simon Baron-Cohen, Alan Leslie and Uta Frith (1985) gave the test the form that made it famous. In the story, Sally puts a marble in her basket and leaves; Anne moves it to her box; where will Sally look for her marble? Most typically developing preschoolers said the basket (23 of 27), while most autistic children pointed to where the marble really was (16 of 20). The Sally-Anne version became the standard false-belief test (Bloom and German, 2000). Children pass this spoken version during their preschool years, a story told in our article on minds built by culture, along with the still-open question of whether babies track beliefs earlier.

What animals taught the testers

And what about the chimpanzee from that 1978 paper? Thirty years after Premack and Woodruff, Josep Call and Michael Tomasello (2008) reviewed the evidence and concluded that chimpanzees understand what others want, see and know, but that there was no evidence they understand false beliefs. A 2016 eye-tracking study suggested apes might anticipate false beliefs after all (Krupenye et al., 2016), but we found no independent repeat, and the method replicates poorly in humans (Horschler, MacLean and Santos, 2020).

Psychologists had learned a lesson from another animal long before. In Berlin, a horse called Clever Hans seemed to do arithmetic by tapping his hoof, until Oskar Pfungst (1911) showed that Hans failed whenever nobody present knew the answer: he had been reading tiny, unintended movements of his questioner. Passing a test by using cues unrelated to the ability it tests is still called the Clever Hans effect. Keep the horse in mind, because the machines are about to take the popcorn test.

What the evidence says

The models take the test

A large language model, the engine of chatbots such as ChatGPT, is a program trained on vast amounts of human writing to predict which words come next (Shanahan, 2024). In February 2023 Michal Kosinski posted a paper with a striking title: theory of mind may have spontaneously emerged in large language models. One of OpenAI's GPT-3 models, called davinci-003, had solved 93% of his false-belief tasks, he reported, comparable with a nine-year-old child (Kosinski, 2023).

That same month, Tomer Ullman (2023) took the popcorn story from Kosinski's paper and changed it in four small ways. In one, the bag is made of clear plastic, so Sam can see the popcorn. In the others, Sam cannot read, a friend she trusts tells her what is inside, or she filled the bag herself. In each version a person sees at once that Sam no longer has any reason to think the bag holds chocolate. Yet the same davinci-003 model said chocolate every time. In Ullman's words, "small variations that maintain the principles of ToM turn the results on their head". So the model did not seem to be tracking Sam; it seemed to have learned how stories like this usually end.

Ullman framed the evidence as a set of scales: twenty passes on one side, one failure like the clear bag on the other. Should the machine pass? He thought not, because a child who understood belief would never be fooled by a clear bag, so that one failure says more about how the answers are produced than the successes do. Ullman's paper is still a preprint, and Kosinski later called its examples anecdotal.

Kosinski's published version built checks like these in. The version he published in 2024 used 40 newly written tasks, each with versions in which the character does know the truth, and a model scored only if it got every version right. These are clear-bag checks of a kind: a model that only knows how the stories end will fail them. Under those rules davinci-003, the model that had scored 93%, solved 20% of the tasks, as did the GPT-3.5 version of ChatGPT, both below the average three-year-old. GPT-4 solved 75%, as many as six-year-olds in earlier studies (Kosinski, 2024). The published title had become Evaluating large language models in theory of mind tasks, though Kosinski still raises the possibility that a theory-of-mind-like ability emerged as a by-product of the models' skill with language.

Better than people on some tests

Do the newer scores rescue the models? Partly. A larger comparison went beyond false belief. A team led by James Strachan and Cristina Becchio gave three models and about 1,900 people a battery of five tests, including hints, irony, false beliefs and faux pas, where someone says something they should not have said without realising it. GPT-4 performed at, or sometimes above, human level on most of them but "struggled with detecting faux pas" (Strachan et al., 2024). On false belief, people and models alike were at ceiling, meaning both scored near the top. The authors traced the faux pas weakness to excess caution: GPT-4 held back from committing to the conclusion, an approach they called hyperconservative, rather than failing to reach it.

What would a pass prove?

So which is it, a mind reader or a Clever Hans, like the horse in Berlin? Natalie Shapira and colleagues put that question in the title of a study that gave models deliberately tricky versions of six tests, and found their theory-of-mind behaviour "far from being robust" (Shapira et al., 2024).

The worry has a specific shape: a child taking the Sally-Anne test has not studied a pile of such stories, whereas a model trained on much of the internet has probably met the classic ones, along with their answers. Replying in PNAS, the journal that published Kosinski's study, Damian Pang and colleagues (Pang et al., 2025) applied the animal researchers' rule of ruling out simpler explanations first: models have probably been trained or engineered to solve such tasks, and passing them in isolation does not show a theory of mind.

Underneath the scores, the disagreement is about what should count as evidence. Jennifer Hu, Felix Sosa and Tomer Ullman (2025) argue that researchers talk past each other because some expect models to match human behaviour, while others expect them to match the processes that produce it. A model that gives every right answer meets the first standard and may still fail the second. This is the gap the philosopher John Searle dramatised in his famous Chinese room, a man who answers in Chinese by following a rule book without understanding a word (Searle, 1980), which our article on machine psychology tells in full.

What about today's models?

The studies so far tested models from 2023 and 2024, and the models have moved on quickly. They now handle most of Ullman's simple changes. When Ian de Haan and colleagues gave Ullman-style stories to reasoning models, among them GPT-5 and a version of Claude, the models did better than GPT-3 had, although two kinds of altered story still tripped all of them; the authors read the gain as sturdier answering rather than a new ability to read minds (de Haan, van der Putten and van Duijn, 2026).

The gaps have moved rather than closed. On newly written stories, GPT-5 almost always worked out what a character believed but predicted what the character would then do only about two times in three (Gu et al., 2026). Models that handle other people's false beliefs stumble on the speaker's own: told a false belief phrased as I believe ..., DeepSeek R1 fell from over 90% to 14.4% (Suzgun et al., 2025). And on beliefs nested four deep, four frontier models, including GPT-6 Sol and Claude Opus 5.5, averaged one right answer in five, though people struggled too (You et al., 2026, a preprint).

Two cautions apply. Ullman's stories have been public since 2023, so a model that passes them now may simply have read them, the same worry raised above about the classic stories. And the research runs behind the technology: most of these studies are conference papers or preprints, and new models arrive faster than studies of them appear. The picture may change quickly, but whether the next models close these gaps is untested.

Try it yourself. Just for fun, give your favourite chatbot the popcorn story and its four changes. On 22 November 2026 we tried our own wording of them on Claude Fable 5.2, Gemini 4 Hydrogen and DeepSeek V4.1 Flash, ten times per story each, and on Claude Opus 5.5 once. Fable and Hydrogen gave the answer a person would every time, including she can't know when Sam cannot read; DeepSeek did so 48 times in 50, and Opus on all five. This is an informal try, not research, and a pass does not show what is going on inside. Still, it is striking that stories which clearly tripped a model in 2023 no longer trip most of today's models, as the studies above also found.

Does a chatbot believe anything?

If a model can predict beliefs, does it have beliefs of its own? The sceptical answer has a famous name: a stochastic parrot, a system that stitches together sequences of words it has seen, by probability, without any reference to meaning (Bender et al., 2021). Murray Shanahan (2024) puts it more gently: a simple chatbot built on a language model, he writes, does not properly speaking have beliefs. With Kyle McDonell and Laria Reynolds, Shanahan suggests thinking of a chatbot as an actor playing a part, or many parts at once. The character can appear to have beliefs, but the system underneath has no beliefs, preferences or goals of its own (Shanahan, McDonell and Reynolds, 2023). Google said much the same about LaMDA during the Lemoine affair: that it imitates the kinds of exchanges found in millions of sentences (Tiku, 2022).

If a chatbot is playing a part, its personality is part of the costume: prompts can shape its personality scores to mimic a chosen human profile (Serapio-García et al., 2025), and models often agree with both I am introverted and I am extraverted (Sühr et al., 2025).

Is anyone in there?

Even a machine that tracked beliefs perfectly, and held some of its own, would leave a third question open: whether anyone is there to experience anything. On that question the public is more generous than scientists. In a survey of 300 American adults in July 2023, 67% gave ChatGPT at least some chance of having experiences, and the more often people used it, the more likely they were to say so (Colombatto and Fleming, 2024). Most of those chances were small: the middle answer was 16 on a scale of 100.

Scientists who have looked at the question put the chance lower. A 2023 report that checked AI systems against the leading theories of consciousness suggested that "no current AI systems are conscious" (Butlin et al., 2023), and in a 2024 survey the typical AI researcher gave today's systems about a 1% chance of experience (Dreksler et al., 2025, a preprint). That falls short of a consensus, because we found no poll of consciousness scientists about today's chatbots, and many of them think machines could become conscious one day (Francken et al., 2022). Why the leading theories disagree about consciousness is covered in our article on consciousness.

Where this leaves us

Theory of mind is the ability to work out what others believe and want, and the false-belief test checks it with stories like Sam and the popcorn bag. Chimpanzees seem to understand what others see and know but not what they wrongly believe; children pass the test in their preschool years.

Language models now pass it too: GPT-4 solved three in four of Kosinski's tasks and matched or beat people on most of Strachan's tests. The newest models handle most of Ullman's simple changes, but stumble when stories go deeper or ask them to use a belief rather than state it. But the early headline of 93% fell to 20% once checks were added, an older model gave the classic answer to stories changed in ways a child who understood belief would not miss, and researchers disagree about whether matching human answers is enough to say that a model tracks beliefs.

What is settled is that a model can produce the right answers to belief stories. What is open is how it produces them, whether it believes anything itself, and whether anyone is there, a chance that two in three American adults in one survey put above zero and the scientists who have assessed it put lower. Like Clever Hans, a chatbot can give the right answer for the wrong reason, so when one seems to read your mind, ask what would happen if you gave Sam a clear bag.

References

Aaronson, S. (2014) 'My conversation with "Eugene Goostman," the chatbot that's all over the news for allegedly passing the Turing test', Shtetl-Optimized, 9 June 2014. Available at: https://scottaaronson.blog/?p=1858 (Accessed: 22 November 2026).

Baron-Cohen, S., Leslie, A.M. and Frith, U. (1985) 'Does the autistic child have a “theory of mind” ?', Cognition, 21(1), pp. 37–46. Available at: https://doi.org/10.1016/0010-0277(85)90022-8 (Accessed: 22 November 2026).

Bender, E.M. et al. (2021) 'On the Dangers of Stochastic Parrots: Can Language Models Be Too Big?', Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, pp. 610–623. Available at: https://doi.org/10.1145/3442188.3445922 (Accessed: 22 November 2026).

Bloom, P. and German, T.P. (2000) 'Two reasons to abandon the false belief task as a test of theory of mind', Cognition, 77(1), pp. B25–B31. Available at: https://doi.org/10.1016/S0010-0277(00)00096-2 (Accessed: 22 November 2026).

Butlin, P. et al. (2023) 'Consciousness in artificial intelligence: Insights from the science of consciousness', arXiv [Preprint]. Available at: https://arxiv.org/abs/2308.08708 (Accessed: 22 November 2026).

Call, J. and Tomasello, M. (2008) 'Does the chimpanzee have a theory of mind? 30 years later', Trends in Cognitive Sciences, 12(5), pp. 187–192. Available at: https://doi.org/10.1016/j.tics.2008.02.010 (Accessed: 22 November 2026).

Colombatto, C. and Fleming, S.M. (2024) 'Folk psychological attributions of consciousness to large language models', Neuroscience of Consciousness, 2024(1), niae013. Available at: https://doi.org/10.1093/nc/niae013 (Accessed: 22 November 2026).

de Haan, I.B., van der Putten, P. and van Duijn, M. (2026) 'Evaluating theory of mind in reasoning models: Robustness over reasoning', arXiv [Preprint; accepted at the 29th International Conference on Discovery Science]. Available at: https://arxiv.org/abs/2608.04646 (Accessed: 22 November 2026).

Dennett, D.C. (1978) 'Beliefs about beliefs [P&W, SR&B]', Behavioral and Brain Sciences, 1(4), pp. 568–570. Available at: https://doi.org/10.1017/S0140525X00076664 (Accessed: 22 November 2026).

Dreksler, N. et al. (2025) 'Subjective experience in AI systems: What do AI researchers and the public believe?', arXiv [Preprint], version 2. Available at: https://arxiv.org/abs/2506.11945 (Accessed: 22 November 2026).

Ellis, A. (2022) 'Google fires researcher who claimed LaMDA AI was sentient', Engadget, 22 July 2022. Available at: https://www.engadget.com/blake-lemoide-fired-google-lamda-sentient-001746197.html (Accessed: 22 November 2026).

Francken, J.C. et al. (2022) 'An academic survey on theoretical foundations, common assumptions and the current state of consciousness science', Neuroscience of Consciousness, 2022(1), niac011. Available at: https://doi.org/10.1093/nc/niac011 (Accessed: 22 November 2026).

Gu, Y. et al. (2026) 'SimpleToM: Exposing the gap between explicit ToM inference and implicit ToM application in LLMs', International Conference on Learning Representations (ICLR 2026). Available at: https://arxiv.org/abs/2410.13648 (Accessed: 22 November 2026).

Horschler, D.J., MacLean, E.L. and Santos, L.R. (2020) 'Do Non-Human Primates Really Represent Others’ Beliefs?', Trends in Cognitive Sciences, 24(8), pp. 594–605. Available at: https://doi.org/10.1016/j.tics.2020.05.009 (Accessed: 22 November 2026).

Hu, J., Sosa, F. and Ullman, T. (2025) 'Re-evaluating Theory of Mind evaluation in large language models', Philosophical Transactions of the Royal Society B: Biological Sciences, 380(1932), 20230499. Available at: https://doi.org/10.1098/rstb.2023.0499 (Accessed: 22 November 2026).

Kosinski, M. (2023) 'Theory of mind may have spontaneously emerged in large language models', arXiv [Preprint], version 1, 4 February 2023. Available at: https://arxiv.org/abs/2302.02083v1 (Accessed: 22 November 2026).

Kosinski, M. (2024) 'Evaluating large language models in theory of mind tasks', Proceedings of the National Academy of Sciences, 121(45), e2405460121. Available at: https://doi.org/10.1073/pnas.2405460121 (Accessed: 22 November 2026).

Krupenye, C. et al. (2016) 'Great apes anticipate that other individuals will act according to false beliefs', Science, 354(6308), pp. 110–114. Available at: https://doi.org/10.1126/science.aaf8110 (Accessed: 22 November 2026).

Lemoine, B. (2022) 'Is LaMDA sentient? An interview', Medium, 11 June 2022. Available at: https://cajundiscordian.medium.com/is-lamda-sentient-an-interview-ea64d916d917 (Accessed: 22 November 2026).

Pang, D.K.F. et al. (2025) 'Do large language models have a theory of mind?', Proceedings of the National Academy of Sciences, 122(28), e2507080122. Available at: https://doi.org/10.1073/pnas.2507080122 (Accessed: 22 November 2026).

Pfungst, O. (1911) Clever Hans (the horse of Mr. von Osten): A contribution to experimental animal and human psychology. Translated by C.L. Rahn. New York: Henry Holt. Available at: https://www.gutenberg.org/ebooks/33936 (Accessed: 22 November 2026).

Premack, D. and Woodruff, G. (1978) 'Does the chimpanzee have a theory of mind?', Behavioral and Brain Sciences, 1(4), pp. 515–526. Available at: https://doi.org/10.1017/S0140525X00076512 (Accessed: 22 November 2026).

Schwartz, O. (2019) 'Why people demanded privacy to confide in the world's first chatbot', IEEE Spectrum, 18 November 2019. Available at: https://spectrum.ieee.org/why-people-demanded-privacy-to-confide-in-the-worlds-first-chatbot (Accessed: 22 November 2026).

Searle, J.R. (1980) 'Minds, brains, and programs', Behavioral and Brain Sciences, 3(3), pp. 417–424. Available at: https://doi.org/10.1017/S0140525X00005756 (Accessed: 22 November 2026).

Serapio-García, G. et al. (2025) 'A psychometric framework for evaluating and shaping personality traits in large language models', Nature Machine Intelligence, 7(12), pp. 1954–1968. Available at: https://doi.org/10.1038/s42256-025-01115-6 (Accessed: 22 November 2026).

Shanahan, M. (2024) 'Talking about Large Language Models', Communications of the ACM, 67(2), pp. 68–79. Available at: https://doi.org/10.1145/3624724 (Accessed: 22 November 2026).

Shanahan, M., McDonell, K. and Reynolds, L. (2023) 'Role play with large language models', Nature, 623(7987), pp. 493–498. Available at: https://doi.org/10.1038/s41586-023-06647-8 (Accessed: 22 November 2026).

Shapira, N. et al. (2024) 'Clever Hans or Neural Theory of Mind? Stress Testing Social Reasoning in Large Language Models', Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2257–2273. Available at: https://doi.org/10.18653/v1/2024.eacl-long.138 (Accessed: 22 November 2026).

Strachan, J.W.A. et al. (2024) 'Testing theory of mind in large language models and humans', Nature Human Behaviour, 8(7), pp. 1285–1295. Available at: https://doi.org/10.1038/s41562-024-01882-z (Accessed: 22 November 2026).

Sühr, T. et al. (2025) 'Challenging the Validity of Personality Tests for Large Language Models', Proceedings of the 5th ACM Conference on Equity and Access in Algorithms, Mechanisms, and Optimization, pp. 74–81. Available at: https://doi.org/10.1145/3757887.3763016 (Accessed: 22 November 2026).

Suzgun, M. et al. (2025) 'Language models cannot reliably distinguish belief from knowledge and fact', Nature Machine Intelligence, 7, pp. 1780–1790. Available at: https://doi.org/10.1038/s42256-025-01113-8 (Accessed: 22 November 2026).

Tiku, N. (2022) 'The Google engineer who thinks the company's AI has come to life', The Washington Post, 11 June 2022. Available at: https://www.washingtonpost.com/technology/2022/06/11/google-ai-lamda-blake-lemoine/ (Accessed: 22 November 2026).

Turing, A.M. (1950) 'Computing machinery and intelligence', Mind, 59(236), pp. 433–460. Available at: https://doi.org/10.1093/mind/LIX.236.433 (Accessed: 22 November 2026).

Ullman, T. (2023) 'Large language models fail on trivial alterations to theory-of-mind tasks', arXiv [Preprint]. Available at: https://arxiv.org/abs/2302.08399 (Accessed: 22 November 2026).

University of Reading (2014) 'Turing test success marks milestone in computing history', press release, 8 June 2014. Available at: https://archive.reading.ac.uk/news-events/2014/June/pr583836.html (Accessed: 22 November 2026).

Weizenbaum, J. (1966) 'ELIZA—A Computer Program For the Study of Natural Language Communication Between Man and Machine', Communications of the ACM, 9(1), pp. 36–45. Available at: https://doi.org/10.1145/365153.365168 (Accessed: 22 November 2026).

Wimmer, H. and Perner, J. (1983) 'Beliefs about beliefs: Representation and constraining function of wrong beliefs in young children's understanding of deception', Cognition, 13(1), pp. 103–128. Available at: https://doi.org/10.1016/0010-0277(83)90004-5 (Accessed: 22 November 2026).

You, S. et al. (2026) 'Beyond belief nesting: Rethinking higher-order theory of mind in large language models', arXiv [Preprint]. Available at: https://arxiv.org/abs/2610.17777 (Accessed: 22 November 2026).