Priors, Hierarchy, and Information Asymmetry for Skill Transfer in Reinforcement Learning

Sasha Salter, Kristian Hartikainen, Walter Goodwin, Ingmar Posner

This paper, presented at ICLR 2023 by researchers from the Oxford Robotics Institute, tackles one of the most persistent hurdles in Reinforcement Learning (RL): sample inefficiency. While humans can effortlessly reuse a "grasping" skill across different kitchens, RL agents often have to relearn everything from scratch when the environment shifts.

To address this, the authors introduce APES (Attentive Priors for Expressive and Transferable Skills), a hierarchical RL framework that automatically learns which parts of an agent's history are essential for building transferable skills. By mathematically balancing the trade-off between skill "expressivity" and "transferability," APES significantly outperforms existing methods on complex robotic tasks.

The Expressivity-Transferability Trade-Off

To make RL practical for real-world robotics, agents need to discover and reuse skills. Two popular ways to do this are Hierarchical RL (breaking tasks into high-level goals and low-level motor actions) and KL-regularized RL (forcing a task-specific policy to stay close to a general "prior" skill).

The "secret sauce" in these methods is often Information Asymmetry (IA)—intentionally hiding certain information from the prior. For example, a "walking" prior shouldn't know the final destination; it should only know how to move its legs. Historically, researchers have hand-tuned these asymmetries based on intuition (e.g., "only give the prior the last 5 frames").

However, the authors identify a fundamental trade-off:

  1. Too much information (High Expressivity, Low Transferability): The skill becomes too specialized to the training task and fails when the environment changes.
  2. Too little information (Low Expressivity, High Transferability): The skill is too simple to be useful for complex tasks.

Methods: Automating Information Asymmetry with APES

APES replaces human intuition with a data-driven approach to Information Asymmetry.

APES Architecture: A hierarchical KL-regularized framework combining high-level and low-level policies.
  • Information Gating Functions (IGFs): APES uses soft-attention masks over the entire history of observations and actions.
  • Learned Sparsity: The model is trained with an entropy penalty on these masks. This forces the agent to be "stingy" with information, paying attention only to the specific historical features that are absolutely necessary to represent a skill.
  • Hierarchical KL-Regularization: The architecture consists of a task-conditioned high-level policy and a task-agnostic low-level policy, both regularized against learned priors.
  • Theoretical Grounding: The authors provide theorems proving that while more information improves the ability to distill knowledge (expressivity), it simultaneously increases "covariate shift"—the distributional gap between training and testing—which hurts transfer.

Evaluation Domains

The authors evaluated APES on two challenging domains designed to test skill reuse:

Evaluation Domains: CorridorMaze (left) tests navigation and extrapolation, while Stack (right) tests physical manipulation and long-term dependencies.
  1. CorridorMaze: A navigation task where the agent must traverse corridors in specific sequences. It tests "extrapolation" (performing longer sequences than seen during training) and reward sparsity.
  2. Stack: A modified version of the Gym Robotics FetchPickAndPlace environment. The robot must stack four blocks of different masses in a specific order (lightest on top). This requires understanding physical properties and long-term temporal dependencies.

Key Insights and Results

  • The Trade-off is Real: The paper empirically demonstrates that "naively" giving a prior the entire history actually destroys transfer performance because the prior overfits to the specific trajectories of the source task.
  • Automated History Length: APES automatically discovers the "optimal" history length for a domain. In navigation, it learned to look further back to handle intersections; in block stacking, it focused on more recent actions.
  • Hierarchy + Priors = Success: The results show that hierarchy alone or priors alone aren't enough for complex transfer. Hierarchy provides the structure for multi-modal behavior, while the learned prior provides the "common sense" needed to explore efficiently in new tasks.

APES consistently outperformed state-of-the-art baselines:

  • In CorridorMaze: On the most difficult "sparse" setting, APES achieved a success rate of 0.92, while nearly all other baselines failed completely (0.00).
  • In Stack: In the 4-block extrapolation task, APES achieved a score of 3.36 (out of 4), significantly higher than the next best baseline (2.05).
  • Qualitative Exploration: Visualization of policy rollouts showed that APES was the only method that explored at the "skill level" (e.g., trying different corridors) rather than just jittering at the "motor level."

Limitations and Future Work

The current training regime relies on behavioral cloning from an expert or a scripted policy to discover initial skills. The authors suggest moving toward "advantage-weighted regression" to learn from sub-optimal data in the future. Additionally, the method assumes the low-level skills learned in source tasks are sufficient for the transfer tasks. If the new task requires entirely new motor primitives, APES would need to be extended to fine-tune the low-level policy without "forgetting" old skills. Finally, exploring asymmetry between hierarchical levels (high-level vs. low-level) remains a promising next step.

Summary updated

BibTeX
@inproceedings{salter2023priors,
  author = {Sasha Salter and Kristian Hartikainen and Walter Goodwin and Ingmar Posner},
  title = {{Priors, Hierarchy, and Information Asymmetry for Skill Transfer in Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=0v4VkCSkHNm},
}
Figure