Introduction
In model-based Reinforcement Learning (RL), an agent's ability to plan depends on its "transition model"—a representation of how actions modify the environment. In relational domains, where the world is described by objects and their relationships (e.g., "Block A is on Block B"), learning a generalizable model is essential. A relational model allows a robot that learns to stack two specific blocks to immediately understand how to stack any pair of blocks.
However, the primary bottleneck in learning these models is exploration. Standard approaches, such as "action babbling" (taking random actions), are often too slow to discover complex behaviors. More sophisticated methods frequently suffer from "myopia," exploring locally and failing to reach distant but informative states, such as unlocking a door that requires first finding a key.
Goal-Literal Babbling (GLIB)
To address these challenges, we introduce Goal-Literal Babbling (GLIB). Rather than selecting random actions, the agent sets random "playful" goals for itself and attempts to achieve them using its current understanding of the world.
The GLIB process consists of four main steps:
- Babbling Goals: The agent samples a random conjunction of "literals" (relationships). This can be "grounded" (specific objects, e.g.,
holding(blue_block)) or "lifted" (abstract variables, e.g.,on(X, Y) AND on(Y, Z)). - Novelty Filtering: The agent only pursues goals that represent previously unseen states to maximize information gain.
- Planning to Learn: The agent uses its current (potentially incorrect) model to plan a path to the goal. If the plan succeeds, the agent reaches a novel state. If it fails, the resulting "unexpected transition" provides the exact data needed to refine the model.
- Refinement: The system filters out static goals (unchangeable properties) and "mutex" goals (logically impossible states) to focus on reachable, informative configurations.
Experimental Evaluation
GLIB was evaluated across six diverse environments, ranging from classical PDDL benchmarks (Blocks, Gripper) to complex robotic simulations in PyBullet. Notably, the Keys and Doors environment presents a significant challenge due to "bottleneck" transitions, where a specific sequence of actions (finding a key, then unlocking a door) is required to access new areas.
Results and Key Insights
The experimental results demonstrate that GLIB significantly outperforms existing state-of-the-art exploration methods like REX, ILM, and EXPO.
Key findings include:
- Efficiency: In the Keys and Doors domain, GLIB achieved high planning success rates with up to 100x fewer environment interactions than the next best baseline.
- Relational Generalization: By using "lifted" goals (GLIB-L), the agent discovers high-level concepts that apply across the entire environment, regardless of the number of objects present.
- Overcoming Bottlenecks: GLIB's goal-oriented nature allows it to navigate complex sequences that random exploration would likely never encounter.
- Robustness: The method proved effective in stochastic environments and realistic physics simulations, confirming that "playful" goal-setting is a viable strategy for complex real-world robotics.
Conclusion and Future Work
GLIB demonstrates that even a flawed model can serve as a powerful engine for exploration. By attempting to reach novel goals, an agent quickly identifies and corrects gaps in its knowledge. Future research will focus on improving fallback strategies when goals are unreachable and scaling the approach to environments with massive object counts where goal sampling becomes computationally intensive. Additionally, integrating safety constraints will be crucial for applying GLIB to physical robots in sensitive environments.
Summary updated