Abstract
Large Language Models (LLMs) possess vast general knowledge but often fail as autonomous agents in specific, novel environments due to a "knowledge gap." This gap manifests as poor recall of specific rules, low precision due to hallucinations, and a lack of strategic depth. We present DiVE (Discover, Verify, and Evolve), a framework that enables agents to learn world dynamics from a small set of human demonstrations. By hierarchically discovering rules, verifying them against evidence to filter out pre-training interference, and evolving these rules into high-level strategies, DiVE allows agents to achieve state-of-the-art performance in complex survival games like Crafter.
Introduction: The Knowledge Gap in LLM Agents
While LLMs are powerful reasoning engines, their application as embodied agents is hindered by the discrepancy between their training data and the specific mechanics of a target environment. This "knowledge gap" is three-fold:
- Recall: Missing specific domain rules (e.g., unique crafting recipes).
- Precision: Hallucinating rules based on similar but distinct training data (e.g., assuming all block-based games follow Minecraft physics).
- Depth: Lacking the ability to derive high-level, state-specific strategies from low-level mechanics.
The DiVE Framework
To address these challenges, the DiVE framework introduces a three-stage pipeline to bridge the gap between general knowledge and environment-specific mastery.
1. The Discoverer
The Discoverer employs Hierarchical Curriculum Learning to extract dynamics from human demonstrations ($H$). It begins with low-level interactions (e.g., "hitting a tree yields wood") and progresses to sub-tasks and high-level sub-goals. This structured approach ensures the agent masters fundamental mechanics before attempting complex planning.
2. The Verifier
LLMs often suffer from "memorization interference," where they prioritize pre-trained knowledge over observed evidence. The Verifier acts as a critical filter, cross-referencing discovered rules against multiple demonstration segments. This process ensures that only rules consistent with the actual environment are retained, effectively eliminating hallucinations.
3. The Evolver
Once a set of verified dynamics is established, the Evolver uses deductive reasoning to generate situational strategies. It transforms "world physics" into actionable plans. For example, if a verified rule states that "zombies cannot pass through stone," the Evolver derives the strategy to build stone barriers for protection at night.
Experimental Results
The framework was rigorously tested on two benchmarks: Crafter, an open-world survival game, and MiniHack, a sandbox for skill acquisition.
- Crafter Performance: DiVE achieved a 337.8% relative improvement over the previous leading LLM agent, SPRING. It also outperformed DreamerV3, a state-of-the-art reinforcement learning agent, reaching human-expert reward levels with only 10 demonstrations.
- MiniHack Success: In complex tasks like "Quest," DiVE showed a 30-36% improvement over baselines, demonstrating its ability to handle long-horizon dependencies and multi-step interactions.
Conclusion
The DiVE framework demonstrates that providing LLM agents with a verified model of world dynamics significantly enhances their reasoning and planning capabilities. By shifting the agent's task from "guessing the rules" to "solving puzzles with known rules," DiVE achieves human-level performance in complex environments. Future work will focus on enabling agents to discover dynamics through autonomous exploration, reducing the reliance on human demonstrations.
Summary updated