PDDL-Mind: Large Language Models are Capable on Belief Reasoning with Reliable State Tracking
The paper introduces PDDL-Mind, a neuro-symbolic framework that enhances Large Language Models' Theory of Mind reasoning by decoupling belief inference from environment state tracking through explicit Planning Domain Definition Language (PDDL) representations, thereby achieving significant accuracy improvements over existing state-of-the-art methods.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Problem: LLMs Are Great Storytellers, But Terrible Note-Takers
Imagine you are watching a complex magic trick or a chaotic sitcom episode. You have a brilliant friend (a Large Language Model, or LLM) who is amazing at explaining why the magician did something or why the character is angry. They understand human psychology perfectly.
But here's the catch: Your friend has terrible short-term memory. As the story gets longer, they start forgetting who is holding the key, which room the cat is in, or who heard the secret conversation. Because they lose track of the basic facts, their brilliant psychological reasoning falls apart. They guess the wrong answer not because they are "stupid," but because they are working with the wrong facts.
The authors of this paper argue that this is exactly what is happening with AI on "Theory of Mind" (ToM) tests. ToM is the ability to understand what others are thinking, knowing, or believing. Current AI fails these tests not because it can't reason, but because it can't reliably keep a mental "scorecard" of the story's events.
The Solution: PDDL-MIND (The "Scriptwriter" Approach)
The team created a new system called PDDL-MIND. Instead of asking the AI to just "read and guess," they force the AI to act like a scriptwriter for a video game.
Here is how it works, using a simple analogy:
1. The Blueprint (The PDDL Domain)
Imagine you are building a house. You don't just tell the builder, "Put up a wall." You give them a strict blueprint with rules: Walls must be 10 feet high; doors must be 3 feet wide.
In the paper, this is the PDDL Domain. It's a pre-written rulebook that defines:
- What objects exist (chairs, keys, people).
- What actions are possible (move, open, grab, talk).
- The strict rules of physics (if you open a box, you can see what's inside; if you close it, you can't).
2. The Translation (Parsing the Story)
The AI reads the messy, natural language story (e.g., "Mary walked into the kitchen and peeked inside the fridge").
Instead of just "reading" it, the AI translates this story into a strict, logical code based on the blueprint.
- Story: "Mary walked to the kitchen."
- Code:
MOVE(Mary, Kitchen) - Story: "Mary opened the fridge."
- Code:
OPEN(Mary, Fridge)
3. The Fact-Checker (Verification)
This is the secret sauce. Before the AI tries to answer a question, a "Fact-Checker" (a computer program) runs the code.
- It asks: "Did Mary actually have the key to the fridge?"
- If the story didn't say she had the key, the Fact-Checker says: "ERROR. This action is impossible."
- It throws out the mistake and fixes the "state" of the world.
Now, the AI has a perfect, verified timeline of exactly what happened, who saw what, and who knows what.
4. The Final Answer
Finally, the AI looks at this perfect timeline and answers the question: "Does Mary think the cookies are in the jar?"
Because the AI isn't guessing the facts anymore, it can use its natural intelligence to give the correct answer.
Why This Matters: The "Puzzle vs. Math" Analogy
Think of solving a Theory of Mind problem like solving a Jigsaw Puzzle.
- Old AI Approach: The AI tries to solve the puzzle by looking at the picture on the box and guessing where the pieces go. It's good at guessing the picture, but it keeps dropping pieces or putting them in the wrong spot.
- PDDL-MIND Approach: The AI first sorts every single piece into the correct pile (State Tracking). Once the pieces are sorted perfectly, it easily sees the picture (Reasoning).
The paper proves that sorting the pieces is the hard part, not seeing the picture. Once you fix the sorting (state tracking), the AI suddenly becomes a genius at the puzzle.
The Results: A Massive Win
The researchers tested this on three difficult tests (MMToM-QA, MuMa-ToM, and FanToM).
- The Result: PDDL-MIND got 88%+ accuracy, beating the previous best AI by a huge margin (over 5%).
- The Efficiency: It did this using fewer computer "calls" than other methods. While other AIs were frantically re-reading the story 27 times to try to remember, PDDL-MIND just read it once, wrote down the facts, and solved it.
The Takeaway
The paper concludes that AI isn't "bad" at understanding human minds. It's just bad at keeping a notebook.
By forcing the AI to translate stories into a strict, logical language (PDDL) and checking that language against the rules, we unlock its true potential. It's like giving a brilliant but forgetful detective a reliable assistant to take notes. Suddenly, the detective can solve the case.
In short: Don't blame the AI's brain; fix its memory. Once the memory is reliable, the reasoning follows.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.