PriorZero: Bridging Language Priors and World Models for Decision Making
PriorZero is a unified framework that bridges the gap between static Large Language Model priors and dynamic world models by injecting LLM guidance exclusively at the root of Monte Carlo Tree Search for focused exploration and decoupling world model training from LLM adaptation to enable stable, fine-grained credit assignment, thereby significantly enhancing decision-making efficiency and performance in long-horizon tasks.
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 very smart, well-read librarian (the LLM) how to play a complex, text-based adventure game like Zork or Detective. The librarian knows a lot about the world, stories, and logic, but they have never actually played the game before. They don't know the specific rules, the hidden traps, or how the game world reacts to every single move.
The paper, PriorZero, is a new way to teach this librarian how to play without driving them crazy or making them forget what they already know.
Here is the breakdown of the problem and the solution, using simple analogies:
The Problem: The "Know-Do" Gap
The authors found that existing methods to combine the librarian's knowledge with game-playing fail in two main ways:
- The "Static Guide" Problem: If you just ask the librarian to tell you what to do based on their general knowledge, they might give you a logically sound answer that is actually a trap in the game. They know what a door usually does, but they don't know that this specific door in the game leads to a bottomless pit. They are "blind" to the game's specific rules.
- The "Endless Trial-and-Error" Problem: If you try to teach the librarian by letting them play the game thousands of times and correcting them every time they lose (a method called "fine-tuning"), it's a disaster. The game gives very few rewards (like finding a treasure chest), so the librarian gets confused. They might start guessing randomly, or they might "unlearn" their good general knowledge because the game's specific rules are so weird.
The Solution: PriorZero
PriorZero acts as a bridge between the librarian's general wisdom and a specialized "Game Simulator" (called a World Model). It uses a two-part strategy:
1. The "Root-Prior Injection" (The Smart Start)
Imagine the librarian and the Game Simulator are planning their next move together using a giant decision tree (called MCTS).
- The Old Way: The librarian tries to guess every single step of the future path. This is slow and often wrong because the librarian doesn't know the game's physics.
- The PriorZero Way: The librarian only gives advice at the very first step (the root of the tree). They say, "Based on my knowledge, going North seems like a good idea."
- The Simulator's Job: Once the librarian suggests "North," the Game Simulator takes over. It simulates thousands of possible futures only starting from that suggestion to see if it actually leads to treasure or a trap. The librarian doesn't interfere with the deep simulation; they just help point the search in the right direction so the simulator doesn't waste time looking at obviously bad paths.
Analogy: Think of the librarian as a tour guide who knows the city's history. They point you toward the "Historic District" (the root). Once you are there, a GPS (the World Model) takes over to calculate the exact, fastest route through the streets, avoiding traffic jams the guide doesn't know about.
2. The "Alternating Training" (The Safe Lesson)
This is how they teach the librarian to get better without breaking their brain.
- Phase A (The Simulator Learns): First, the Game Simulator plays the game and learns the rules, the rewards, and the consequences of every action. It becomes very good at predicting the future.
- Phase B (The Librarian Learns): Once the Simulator is smart, it acts as a strict but fair teacher. It tells the librarian, "You suggested 'North,' and here is exactly how much reward that led to." Because the Simulator has already done the hard math, the feedback is clear and not confusing. The librarian learns from this specific feedback.
- The Cycle: They take turns. The Simulator gets smarter, then teaches the Librarian, then the Librarian gets smarter, which helps the Simulator explore better, and so on.
Analogy: Imagine a Chess Coach (the Simulator) who has played millions of games. Instead of letting a Student (the Librarian) play randomly and get frustrated, the Coach simulates the game for the student. The Coach says, "If you move here, you will win in 5 moves." The student learns the value of the move without having to suffer the stress of playing the whole game themselves.
The Results
The authors tested this on two types of games:
- Text Adventures (Jericho): Games where you type commands to explore a world.
- Grid Worlds (BabyAI): Games where you navigate a grid to find objects.
What happened?
- PriorZero learned faster than methods that just used the librarian or just used the simulator.
- It reached higher scores (found more treasure) in the long run.
- It solved the "dead loops" where agents get stuck going back and forth in the same room. The librarian's initial hint helped the simulator break out of these loops.
Summary
PriorZero is a team-up strategy. It lets the LLM (the librarian) do what it's best at: using common sense to suggest a good starting point. It lets the World Model (the simulator) do what it's best at: calculating the complex, long-term consequences of those moves. By keeping them separate but connected, they avoid the mistakes of trying to force the librarian to be a game engine or the game engine to be a philosopher.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.