TL;DR
This paper introduces SEADS, a novel hierarchical reinforcement learning agent that learns temporally extended skills for continuous control and a symbolic forward model for planning. SEADS enables agents to solve complex tasks requiring both long-horizon planning and precise manipulation by bridging the gap between symbolic reasoning and low-level control.
What Problem Does This Paper Address?
Reinforcement learning (RL) agents have excelled in tasks with either continuous control or discrete planning, but struggle with problems that demand both. Physically embedded games, where a board game's state must be manipulated by a robotic arm, exemplify this challenge. These tasks require an agent to plan a sequence of high-level moves (e.g., which piece to move on a board) and then execute those moves using continuous low-level control of a robot. Existing RL approaches often fail to effectively combine these capabilities, leading to poor performance in such complex, real-world scenarios.
Methods
SEADS tackles this challenge with a two-layer hierarchical approach:
- Symbolic Abstraction: The environment's continuous state is mapped to a discrete symbolic observation (e.g., the on/off state of lights on a board). This abstraction is assumed to be known.
- Skill Discovery: The agent learns a diverse set of "skills," which are temporally extended, low-level actions that induce changes in the symbolic state. This skill discovery is driven by an intrinsic motivation objective that encourages both skill diversity and predictability of their effects.
- Symbolic Forward Model: Concurrently, SEADS learns a symbolic forward model that predicts the outcome of executing a skill in the symbolic state space. This model allows for planning.
- Hierarchical Planning and Execution: Once trained, the symbolic forward model is used by a planner (e.g., Breadth-First Search) to determine a sequence of skills to reach a goal symbolic state. This plan is then executed by the learned low-level skill policies.
Key novelties include the joint learning of skills and a symbolic forward model, and the use of an information-theoretic objective to drive skill discovery and model learning.
Datasets
The paper evaluates SEADS on several custom-built, physically embedded board game environments:
- LightsOut: A 5x5 grid where pushing a field toggles its state and its neighbors.
- TileSwap: A 3x3 grid where chips are swapped by pushing adjacent fields.
These games are embedded with three robotic manipulators of varying complexity:
- Cursor: A simple 2D navigator.
- Reacher: A 2-link arm.
- Jaco: A 9-DoF robotic arm.
This results in six distinct environments (e.g., LightsOutCursor, TileSwapJaco). The paper also includes experiments on a real robot setup with a uArm Swift Pro.
Key Insights and Ideas
- Bridging the Gap: The core insight is that by learning a symbolic forward model of skill effects on a symbolic state abstraction, we can effectively combine long-horizon symbolic planning with continuous low-level control.
- Intrinsic Motivation for Skills: Using an information-theoretic objective to maximize skill diversity and model predictability is a powerful unsupervised way to discover useful skills without task-specific rewards.
- Transferability to Real Robots: The success of SEADS on a real robotic arm demonstrates the practical applicability of the approach beyond simulation.
- Over-parameterization of Skills is Fine: The experiments show that learning more skills than are strictly necessary does not harm performance, suggesting a robust skill discovery mechanism.
Key Results
- SEADS achieves high success rates (often >95%) across various complex embedded game environments, outperforming flat and hierarchical RL baselines like SAC and HAC, especially on more challenging robotic manipulation tasks.
- The agent successfully learns to push individual fields as distinct skills in the LightsOut game, demonstrating effective skill discovery.
- On the real robot experiment, SEADS solved all tested board configurations after approximately 160k environment interactions.
- Ablation studies confirm the importance of key components like relabelling and the second-best normalization for performance.
Limitations and Future Work
- Known State Abstraction: The approach assumes the state abstraction function is known and provided. Learning this abstraction is a significant future research direction.
- Planner Scalability: The Breadth-First Search planner used for symbolic planning can become computationally expensive for tasks with very long solution depths. More efficient heuristic or probabilistic planners are suggested.
- Skill Execution Costs: The current planner optimizes for the number of skills, not their execution cost. Incorporating skill costs into planning is a potential area for improvement.
- Exploration in Complex Environments: In more complex environments (Reacher, Jaco), the agent sometimes fails to learn all possible skills reliably. Future work could involve integrating additional exploration objectives.
- Generalization to Non-Skill-Based Tasks: The current formulation is tailored to tasks where symbolic actions directly map to skills. Extending this to more general task structures is an open question.
Summary updated