TL;DR
PEG (Planning Exploratory Goals) is a new framework for unsupervised reinforcement learning that allows agents to "plan" their own training goals. By using a learned world model to simulate potential outcomes, PEG selects goals that specifically lead the agent into high-potential areas for discovery, enabling success in complex tasks like 3-block stacking where traditional exploration methods fail.
What Problem Does This Paper Address?
In Goal-Conditioned Reinforcement Learning (GCRL), we want an agent to learn how to reach any possible state in an environment. To do this without a human teacher, the agent must explore on its own.
The standard approach is to set "frontier goals"—picking states the agent has rarely seen and telling it to go there. However, this has two major flaws:
- The Novice Problem: If an agent is still a "novice," it might not be able to reach a distant frontier goal. It might fail in an uninteresting way, wasting the entire training episode.
- The Dead-End Problem: Even if an agent reaches a rare state, that state might be a "dead end" (like a corner in a maze) where no further exploration is possible.
The authors ask: How should an agent choose goals during training to maximize the value of its exploration time?
Methods
The authors introduce PEG (Planning Exploratory Goals). It builds on the "Go-explore" architecture, which divides a training episode into two parts: a Go-phase (reach a commanded goal $g$) and an Explore-phase (wander around using intrinsic motivation).
The key innovation is how $g$ is chosen. Instead of picking a goal from a memory buffer, PEG plans the goal:
- World Models: PEG uses a learned world model (based on the LEXA/Dreamer framework) to "imagine" trajectories.
- Optimization: It uses a sampling-based planner called MPPI (Model Predictive Path Integral) to search for a goal $g$.
- The Objective: It doesn't look for a goal that is hard to reach. Instead, it looks for a goal that, when followed by the current policy, will land the agent in a state $s_T$ that has the highest exploration value (potential for new discoveries in the subsequent Explore-phase).
In short: PEG chooses goals that act as the best possible "launchpads" for discovery, given what the agent currently knows how to do.
Datasets
The method was evaluated on four continuous-control simulated environments:
- Point Maze: A simple 2D navigation task.
- Walker: A 2D bipedal robot required to reach different standing poses.
- Ant Maze: A complex, 29-dimensional state space where a four-legged robot must navigate a long, multi-turn maze.
- 3-Block Stack: A 14-dimensional state space where a robot arm must learn to manipulate and stack three blocks on a cluttered table. This is considered a "classic and open exploration challenge" in the field.
Key Insights and Ideas
- Capabilities-Aware Exploration: PEG is "cognizant of current shortcomings." It won't set a goal that is too hard if failing to reach it results in zero exploration. It finds the "sweet spot" that the current policy can actually reach to start exploring.
- Imaginary Trials: By planning in a world model, the agent can "test" thousands of potential goals in its "head" before ever taking an action in the real environment.
- Beyond the Frontier: PEG sometimes chooses goals in already visited areas if those areas are the best gateways to unexplored territory. This is a significant shift from "frontier-only" methods.
- Unified Objective: It replaces complex, hand-tuned goal-filtering heuristics with a single, elegant optimization objective: maximize future intrinsic reward.
Key Results
- Breaking the 3-Block Barrier: In the 3-Block Stacking task, PEG achieved a ~30% success rate. All other baselines (including MEGA and Skewfit) failed completely, staying at 0%.
- Deep Maze Penetration: In the Ant Maze, PEG visited the furthest reaches of the maze significantly more often than competitors. It recorded ~68,000 state visitations in the hardest section, while the next best baseline (MEGA) managed only ~3,000.
- Efficiency: Across all tasks, PEG reached higher success rates faster than baselines, proving that "smarter" goal setting leads to much more efficient data collection.
Limitations and Future Work
- Model Reliance: PEG’s performance is capped by the quality of its world model. If the world model fails to accurately simulate long-term consequences, the planned goals will be suboptimal.
- State Space vs. Pixels: While the underlying LEXA framework can handle images, this specific paper focused on state-space representations. Extending PEG to plan goals directly in a latent "visual" space is a logical next step.
- The "Forgetting" Phenomenon: The authors noted that as the agent learned the hardest tasks (stacking 3 blocks), it slightly "forgot" how to do the easiest ones (stacking 1 block). This suggests a need for better "capacity management" in the neural networks used for the policy.
Summary updated