TL;DR
Teaching a visual AI agent to navigate a room or solve a puzzle usually requires a mountain of trial-and-error data. This paper shows that you can skip the grind by carefully selecting just four "golden" interaction histories to distill a giant teacher's wisdom into a much smaller student, recovering over 90% of the performance gap without needing a live environment during training.
What Problem Does This Paper Address?
In the world of Large Language Models (LLMs), we’ve gotten quite good at "distillation"—taking a massive, expensive model (the teacher) and teaching a smaller, faster one (the student) to mimic it. But when you move from text to visual agents (AI that looks at a screen and takes actions), things get messy.
The problem is sequential dependency. In a chat, if a student gives a slightly different answer, the conversation can usually continue. In a visual environment—like a robot navigating a house—one wrong turn changes the entire future. The student is suddenly looking at a wall instead of a doorway, and the teacher's original advice for that "trajectory" becomes useless. Traditionally, the fix is "on-policy distillation," where the student interacts with the environment millions of times to get fresh feedback. But interaction is expensive, slow, and sometimes impossible. The authors ask: How little interaction experience do we actually need for effective transfer?
Methods
The researchers introduced a framework to find the most "nutritious" bits of experience from a pool of existing student attempts.
- Skill-Context Inventory: They use an annotation model to label trajectories not just by "success" or "failure," but by the specific skills required in specific contexts (e.g., "interpreting action feedback" when "route evidence is unresolved").
- Coverage-First Selection: Instead of picking random data, they use a greedy algorithm to select a tiny subset of trajectories (K=4) that covers the widest possible variety of these skill-context pairs.
- On-Policy Distillation (OPD):
- Online OPD: The student practices on the selected tasks in a live environment.
- Fixed-History Replay: This is the clever bit. The student is given the start of a historical trajectory (a "prefix") and asked to generate its own next move. The teacher then scores that move. This allows the student to "practice" without actually needing a live simulator during the optimization phase.
Datasets
The team tested their approach across three distinct visual environments:
- Navigation (AI2-THOR): Finding and reaching objects in simulated indoor environments.
- Sokoban: A classic logic puzzle where an agent pushes boxes onto targets.
- SpatialGym: A benchmark for spatial mapping and exploration.
They used a Qwen3.5-27B model as the teacher and distilled its capabilities into 4B and 9B parameter students.
Key Insights and Ideas
- Quality Over Quantity: You don't need a library; you need a curated syllabus. Just four well-chosen trajectories outperformed large random subsets. In fact, four trajectories recovered 77.4% of the teacher gap in SpatialGym mapping.
- The Power of Replay: You don't always need a "live" environment. By replaying fixed histories, the student can explore different "what-if" reasonings for the same visual state. This "history refresh" retained over 91% of the gains seen in full online training.
- Transfer is Real: Training on just one or four tasks actually helped the agent perform better on entirely different, unseen tasks. This suggests the agent is learning general visual-decision logic, not just memorizing paths.
- Repeated Supervision is a Feature: Because the student generates new responses to the same old visual prefixes, it gets multiple "at-bats" to get a difficult decision right, which seems to solidify the learning process.
Key Results
- Navigation: A 4B student’s success rate jumped from 49.17% to 82.08% using just four fixed trajectories, closing nearly the entire gap to the 27B teacher (85%).
- Sokoban: Success rose from 60.16% to 85.55%, again rivaling the teacher’s 88.28%.
- Efficiency: The "K4" (four trajectory) model achieved these results using only a tiny fraction of the available training data (about 3% of the total pool).
Limitations and Future Work
While the results are impressive, there are a few "catches":
- The "Cold Start" Pool: You still need an initial pool of student trajectories to select from. If the student is so bad it never encounters a specific skill, you can't select for it.
- Annotation Overhead: The method relies on a separate, capable model to annotate the "skill-context" pairs, which adds a layer of complexity to the pipeline.
- Long-Horizon Limits: While the agents got much better at standard tasks, "long-horizon" versions (tasks requiring many more steps) remain a significant challenge for smaller models, even after distillation.
The authors suggest that future work could look into how to generate these "golden" trajectories synthetically, potentially removing the need for an initial interaction pool entirely.
Summary updated