Textual Belief States for World Models: Identifiable Representation Learning Under Strict Mediation
This paper addresses the challenge of unidentifiable latent states in text-based world models caused by history bypass by introducing discrete textual latent states and a factorized GRPO training method that enforces strict mediation, resulting in significant improvements in representation quality and long-horizon rollout performance.
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
Imagine you are trying to teach a robot to play a text-based adventure game (like an old-school "Choose Your Own Adventure" book). The robot can't see the whole world; it only sees the text description of the room it's currently in. To play well, it needs to remember what happened before: Where did I go? Did I pick up the key? Is the door locked?
In the world of AI, this memory is called a "latent state."
This paper tackles a specific problem: How do we make sure the robot actually learns a good memory, rather than just cheating?
The Problem: The "Cheat Sheet" Loophole
Most modern AI models are like students who are allowed to bring their entire textbook into the exam.
- The Setup: The AI sees the history of the game (the textbook) and the current room.
- The Cheat: Even though the AI is supposed to summarize the history into a tiny "memory note" (the latent state), it's smart enough to ignore that note. It looks at the full textbook (the history) to answer the question.
- The Result: The AI gets a perfect score on the test (predicts the next room correctly), but its "memory note" is empty or useless. It's like a student who memorized the answers but didn't actually learn the concepts. You can't tell if the memory is good because the AI is just cheating by looking at the past.
The authors call this the "Identifiability Problem." If the AI can bypass its memory, you can't tell if the memory is actually working.
The Solution: The "Strict Mediator"
The authors propose a rule called Strict Mediation. Think of it like a strict game referee with a golden rule:
"Once you write your memory note, you must throw away the textbook. You are only allowed to use the memory note and your next move to predict what happens next."
If the AI follows this rule:
- It must put all the important information into the memory note, or it will fail the test.
- If it gets the test right, you know for a fact the memory note is perfect.
- If it gets the test wrong, you know the memory note is missing something.
This makes the quality of the memory testable.
The Challenge: Text is Tricky
Usually, AI memory is made of numbers (vectors) that are easy to tweak with math. But this paper wants the memory to be text (like a list of facts: "I have a key," "The door is locked").
- Why text? It's readable. Humans can look at the memory and understand it.
- The Problem: You can't easily do math on text to "tweak" it. It's like trying to fix a sentence by doing calculus on the letters. Also, if you give the AI a powerful brain (a large language model), it will try to ignore the memory note and look at the history anyway.
The Fix: The "Tree of Possibilities" (fGRPO)
To force the AI to learn text-based memory without cheating, the authors invented a new training method called factorized GRPO (fGRPO).
Imagine you are training a dog to fetch a ball, but you can't use treats (because you can't "tweak" text with math). Instead, you use a game of "What If?":
- The Branching Tree: Instead of just guessing one future, the AI generates a whole tree of possibilities.
- Branch 1: "What if my memory says I have a key?" -> Result: Predicts the door opens.
- Branch 2: "What if my memory says I don't have a key?" -> Result: Predicts the door stays locked.
- The Score: The AI gets points only if the prediction matches reality.
- The Lesson: If the AI tries to ignore the memory and just guess based on the history, the "tree" collapses because it can't predict the future correctly without the memory. The AI learns that to win the game, it must put the right facts into its text-based memory.
The Results: Better Memory, Longer Adventures
The authors tested this on two text-game environments (TextWorld and ScienceWorld).
- Accuracy: The AI predicted the next room just as well as the "cheating" models.
- Memory Quality: The "Strict" models had much better memory notes. They were more accurate and contained the right facts.
- Long-Term Stability: This is the big win. In long games (many steps), the "cheating" models got confused and failed because they relied on a history that wasn't available during the game. The "Strict" models, which relied only on their compact memory, stayed accurate even after 9 steps, while the others fell apart.
The Analogy Summary
- The Old Way (Leaky): A student takes a test with a cheat sheet. They get 100%, but you don't know if they learned anything.
- The New Way (Strict): The student is locked in a room with only a single index card. They must write everything they need to know on that card before the test starts. If they pass the test, you know the card was perfect.
- The Training Method: Instead of grading the student once, the teacher asks them to imagine 10 different scenarios based on their card. If the card is wrong, the student fails most scenarios. This forces the student to write a perfect card.
Why This Matters
This paper proves that you can make AI "think" in readable text and force it to actually learn a compressed summary of the world, rather than just memorizing the past. This is a crucial step toward AI that can plan and reason over long periods without getting confused.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.