Introduction
Reinforcement learning (RL) often hits a wall in "sparse reward" settings—scenarios where an agent might take thousands of actions before receiving a single positive signal. Standard exploration strategies, such as $\epsilon$-greedy random walks, are statistically unlikely to ever stumble upon the goal in these complex environments. While symbolic planning (using languages like PDDL) can provide high-level guidance, most existing methods assume the agent already has a perfect symbolic map of the world.
This paper introduces a novel framework that learns "optimistic" symbolic models of an environment on the fly. By combining these learned models with fast, diverse automated planners, the authors enable agents to explore sparse-reward environments far more efficiently than standard RL algorithms, effectively bridging the gap between high-level symbolic reasoning and low-level trial-and-error.
Iterative Model Refinement
The authors propose an iterative framework designed to learn and refine symbolic approximations of the underlying world model:
- Start with Maximum Optimism: The agent begins with a "trivially optimistic" model where every action is assumed to have no preconditions and immediately satisfy the goal.
- Diverse Planning: Instead of finding just one path, the agent uses a "Diverse Planner" to generate multiple distinct potential plans to reach the goal based on its current optimistic model.
- Execution and Refinement: The agent tries these plans in the real environment. If an action fails or produces an unexpected result, the agent updates the symbolic model's preconditions and effects. Failure is treated as valuable information—a precise strike that removes "false optimism" from the symbolic model.
- Lifted Generalization: To accelerate learning, the agent uses "lifted representations." If the agent learns how to interact with a specific object (e.g., a red block), it generalizes that knowledge to all similar objects, rather than relearning the physics for every variation.
- Curriculum Learning: The agent can learn a general model in a small, simple environment and transfer that symbolic knowledge to a much larger, more complex one.
Key Results and Insights
The method was evaluated on several classic planning and RL benchmarks, including Blocks, Elevator, Gripper, the Kitchen Domain, and Minigrid variants.
By maintaining an optimistic hypothesis of the transition function, the agent performs "directed exploration." It doesn't just wander; it tries specific sequences of actions it thinks might work. Furthermore, the use of "lifting" (grouping similar actions based on human-provided object types) reduces the number of samples needed by orders of magnitude. In the Blocks domain, lifted generalization reduced the required samples from ~19,000 to just ~600—a 30x improvement.
The framework's superiority over standard RL baselines like $\epsilon$-greedy and R-Max is particularly evident in large maps. In the complex 16x16 Minigrid "DoorKey" task, vanilla Q-learning failed to secure any reward even after 1,000 episodes. In contrast, the proposed Q-learning-planning method successfully found a valid plan and initialized the Q-values to solve the task.
Additionally, the framework demonstrated strong curriculum success: bootstrapping a model from a 5x5 grid allowed the agent to solve an 8x8 grid nearly twice as fast as starting from scratch.
Limitations and Future Work
While highly effective, the current framework is primarily designed for deterministic environments. Although the authors suggest using "all-outcome determinization" for stochastic worlds, this remains to be fully tested. Additionally, the method currently requires a human-in-the-loop to provide the initial "predicates" (the vocabulary the agent uses to describe the world). Finally, the model assumes full observability; adapting this approach to partially observable environments where the agent has a limited line of sight is a promising direction for future research.
Summary updated