Abstract
We introduce the Adaptive Skills, Adaptive Partitions (ASAP) framework that (1) learns skills (i.e., temporally extended actions or options) as well as (2) where to apply them. We believe that both (1) and (2) are necessary for a truly general skill learning framework, which is a key building block needed to scale up to lifelong learning agents. The ASAP framework can also solve related new tasks simply by adapting where it applies its existing learned skills. We prove that ASAP converges to a local optimum under natural conditions. Finally, our experimental results, which include a RoboCup domain, demonstrate the ability of ASAP to learn where to reuse skills as well as solve multiple tasks with considerably less experience than solving each task from scratch.
Introduction
Standard Reinforcement Learning (RL) often struggles to scale because agents typically learn at the level of "primitive actions" (e.g., "move left one millimeter"). Humans, by contrast, operate using "skills" or Temporally Extended Actions (TEAs)—high-level behaviors like "walk to the door" that span multiple time steps. While the RL community has embraced "options" or skills to speed up learning, two major hurdles remain: the "Where" problem (knowing which regions of the state space a skill is appropriate for) and model misspecification (starting with sub-optimal or "broken" skills).
The Adaptive Skills, Adaptive Partitions (ASAP) framework addresses these challenges by simultaneously learning what to do (skills) and where to do it (state-space partitions). By optimizing both levels of the hierarchy at once, ASAP can correct sub-optimal initial setups and solve new, related tasks with significantly less experience than learning from scratch.
Methodology: Simultaneous Learning of Skills and Partitions
The core of ASAP is a hierarchical policy that combines two learned components: an Intra-Skill Policy ($\sigma_\theta$), defining behavior within a specific skill, and Skill Partitions (Inter-Skill Policy $p_\beta$), defining the boundaries in the state space where a specific skill should be active.
ASAP uses geometric hyperplanes to carve up the state space. The intersection of these hyperplanes creates "Skill Partitions," providing a flexible way to define where one behavior ends and another begins. To train the system, the authors extend the standard RL trajectory to include "skill indices," allowing for the derivation of a Generalized Policy Gradient. Unlike methods that alternate between learning skills and learning where to use them, ASAP updates both sets of parameters ($\theta$ and $\beta$) on a single time scale using stochastic gradient descent.
Experimental Evaluation
The authors evaluated ASAP on several continuous state-space environments:
- Two-Room (2R) & Flipped 2R: Navigation tasks where an agent must reach a goal. The "Flipped" version tests the agent's ability to adapt to a mirrored environment.
- Three-Room (3R): A complex navigation task designed to test if the agent can reuse the same skill in different parts of the map.
- RoboCup 2D Soccer: A high-dimensional, dynamic environment including 1-on-1, 2-on-1, and 2-on-2 scenarios.
Key Insights and Results
ASAP demonstrated several key capabilities:
- Correcting "Broken" Starts: ASAP refines "misspecified models"—sets of bad skills and partitions—into near-optimal solutions.
- Emergent Skill Reuse: In the 3R domain, the agent learned that one specific skill was useful in two different rooms, automatically discovering reusability.
- Symmetry and Transfer Learning: In the "Flipped 2R" task, by simply adapting the hyperplane parameters (the "where"), the agent solved a mirrored task almost instantly. Learning the first task took ~35,000 episodes, while the flipped task reached near-optimal performance in just 5,000 episodes.
- Dynamic Partitioning: In RoboCup, learned partitions adapted to the presence of defenders, "squashing" to account for their positions.
The authors provide a theoretical proof that ASAP is guaranteed to converge to a local optimum under natural conditions. In complex soccer scenarios, degree-two polynomial hyperplanes allowed the agent to outperform simpler linear representations.
Conclusion and Future Work
While ASAP is a powerful framework for hierarchical RL, it is susceptible to local optima if the initial model is extremely far from a viable solution. Additionally, managing the exponential growth of potential skills ($2^K$ for $K$ hyperplanes) remains a challenge. Future work involves integrating Deep Neural Networks to represent both skills and partitions, enabling the framework to handle complex, raw-pixel inputs.
Summary updated