Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

AI and the Theory of Mind

Hello! Welcome to the third lesson in our exploration of the foundational concepts of human-AI relationships.

In our last session, we discussed Daniel Dennett's Intentional Stance—the pragmatic strategy of treating a complex system as a rational agent with beliefs and desires to predict its behavior. We saw it as a powerful philosophical tool for explaining why we react to AI as if it has a mind.

Today, we'll delve into the cognitive machinery that makes the Intentional Stance possible. We'll explore the psychological concept that underpins our ability to imagine the minds of others, whether they are human, animal, or artificial. This lesson directly addresses the next learning outcome in our first module.

By the end of this lesson, you will be able to:

Connect the psychological concept of 'Theory of Mind' to how users interpret and predict the behavior of AI agents.

This concept is the bridge between our own psychology and the AI systems we interact with. Understanding it is crucial for grasping why these interactions feel the way they do and how they are evolving.


1. What is Theory of Mind?

Theory of Mind (ToM) is the fundamental human ability to attribute mental states—such as beliefs, desires, intentions, emotions, and knowledge—to oneself and to others. Crucially, it includes the understanding that others have mental states that can be different from one's own. It's the reason you can infer that a friend is sad from their expression, understand that someone might believe something you know to be false, or guess what a character in a story wants.

Without ToM, complex social interaction would be impossible. It's the cognitive engine that drives empathy, cooperation, deception, and communication.

To get a more concrete sense of what ToM is and how it's measured, please watch the following short video clips.

GPT-4 hits the ceiling (Theory of Mind, Mensa, Asimov) - LifeArchitect.ai

This video from Dr. Alan D. Thompson provides a concise introduction to Theory of Mind and its different levels.

Please watch the two segments from 05:23 to 07:30. The first part introduces the concept and gives examples of ToM tests. The second part outlines a 'pyramid' of ToM abilities, from simple goal recognition to complex mental state inference.

As the video explains, ToM isn't a single skill but a spectrum of abilities, ranging from recognizing another's goals to inferring their complex feelings. A classic way to test for ToM, especially in developmental psychology, is the "false-belief test" (like the famous Sally-Anne test). This tests whether someone can understand that another person can hold a belief that is different from reality.

The key takeaway is that ToM is our built-in toolkit for modeling the minds of others. It's what we activate when we adopt the Intentional Stance we discussed in the last lesson.

2. Our Theory of Mind Meets AI

When we interact with an AI, we don't suddenly turn off this powerful social-cognitive ability. Instead, we automatically apply our Theory of Mind to the machine, attempting to build a mental model of its "mind" to understand and predict its behavior.

The following academic article explores exactly how this process works. It provides the theoretical backbone for connecting ToM to our perception of AI.

Ascribing consciousness to artificial intelligence: human-AI ...

The paper 'Ascribing consciousness to artificial intelligence' by Heatherly et al. (2024) published in Frontiers in Psychology, directly addresses how we attribute mind to AI.

Please read the following three sections from the paper. You can find them by searching for the text provided: Start at the beginning of the introduction and read down to the end of the paragraph that begins 'It has been suggested that attributing experience...'. This section defines ToM and introduces the crucial distinction between attributing 'agency' and 'experience'. Navigate to the subsection 'Carry-over effects between AI’s tangible and intangible characteristics'. Read the first two paragraphs, ending before the paragraph that begins 'People are not always aware...'. This explains how an AI's appearance triggers mind ascription. Navigate to the subsection 'Schematic congruence yields carry-over effects on human-human interaction'. Read the first paragraph, which begins 'As humanlike AI approaches the human end...'. This explains how activating a 'mind schema' influences our judgments.

This reading provides several critical insights into how our ToM shapes our interpretation of AI:

  • ToM is the Mechanism: The paper explicitly states that we "attribute consciousness to AI through Theory of Mind attributions." This is the central connection for our lesson.
  • Agency vs. Experience: A crucial distinction, first proposed by researchers Gray and Wegner, is that our ToM attributes two different dimensions of mind:
    • Agency: The capacity for planning, acting, and self-control (a "doer").
    • Experience: The capacity for feeling emotions and sensations like pain or pleasure (a "feeler").
      When we interact with AI, we readily attribute agency (it can do things) but are more hesitant to attribute experience (can it feel things?). This distinction will be important in future lessons.
  • Tangible Cues Trigger Intangible Beliefs: As the paper notes, an AI's observable, humanlike characteristics (its "tangible" traits) automatically lead us to ascribe unobservable mental states (its "intangible" traits). A humanlike avatar, a conversational style, or a synthesized voice are all cues that engage our ToM and lead us to activate a "mind schema."
  • Schema Congruence: Once our ToM is engaged and we've activated a "mind schema" for the AI, this schema shapes how we interpret its actions. We start judging its behavior based on the mental model we've built for it, predicting what it "wants" or "believes."

In short, our brains are wired to see minds. When presented with a complex, interactive system like an AI, our ToM gets to work, building a model of its intentions and beliefs to make its behavior predictable and meaningful.

3. When the AI Develops its Own Theory of Mind

So far, we've focused on a one-way street: a human using their ToM to interpret an AI. But what happens when the AI starts to develop the ability to model the human's mind?

This is no longer science fiction. Researchers have found that large language models (LLMs) exhibit emergent ToM capabilities, likely because they have been trained on vast amounts of text (stories, dialogues, articles) that are saturated with human social interaction and psychological narratives.

The same video we watched earlier has a fascinating segment on this development.

GPT-4 hits the ceiling (Theory of Mind, Mensa, Asimov) - LifeArchitect.ai

Let's return to Dr. Thompson's video to see how GPT-4 performs on the very ToM tests designed for humans.

Please watch the segment from 09:02 to 10:33. This part presents research showing GPT-4 achieving near-perfect scores on ToM tests, outperforming the human average.

The finding that GPT-4 can "hit the ceiling" on these tests is remarkable. It suggests that the AI is becoming capable of accurately predicting what a human might be thinking or feeling in a given scenario.

How is this possible? Researchers are actively working to enhance this ability. As explained in the "Theory of Mind" Webinar from LangChain and Plastic Labs, one method involves designing the AI to constantly:

  1. Predict what the user will say or do next.
  2. Compare its prediction to what the user actually says or does.
  3. Learn from the error (the "violation of expectation").
  4. Store the learning as a "psychological fact" about the user (e.g., "this user is interested in philosophy," "this user is confused about the concept of velocity").

This creates a two-way street. Not only are you using your ToM to build a model of the AI, but the AI is using its computational abilities to build a model of you. This is the foundation for what some in HCI call Mutual Theory of Mind (MToM), a state where both parties in an interaction can model each other's mental states, leading to smoother and more adaptive communication.


Conclusion

Today, we explored the psychological engine that drives our interpretation of AI. We saw that our interactions are not just a matter of stimulus and response, but a deep-seated cognitive process of mind-modeling.

Key Takeaways:

  • Theory of Mind (ToM) is our innate ability to attribute mental states (beliefs, desires, intentions) to others, making social interaction possible.
  • When we interact with AI, we automatically use our ToM to interpret its behavior, a process that underlies Dennett's Intentional Stance.
  • We tend to attribute agency (doing) to AI more readily than experience (feeling).
  • Humanlike cues in an AI's design trigger our ToM, causing us to activate a "mind schema" that guides our predictions about its behavior.
  • Modern AIs are developing their own ToM-like abilities, allowing them to model user psychology and adapt their responses, paving the way for a potential Mutual Theory of Mind in human-AI interaction.

Preview of the Next Lesson:

We've now covered the what (ELIZA effect), the why (Intentional Stance), and the how (Theory of Mind). Next, we will look at a foundational paradigm in Human-Computer Interaction that systematically studied this phenomenon. We will explore Reeves and Nass's "Computers Are Social Actors" (CASA) paradigm and examine the experimental evidence showing that people unconsciously apply the same social rules to computers as they do to other humans.

Can't find a good explanation? Sign up and we'll make it for you

Sign up