Goal Exploration via Adaptive Skill Distribution for Goal-Conditioned Reinforcement Learning

Ke Chen, Lisheng Wu, Ke Chen 0001arXiv 2024 · DOI

Abstract

Goal-Conditioned Reinforcement Learning (GCRL) faces significant challenges in long-horizon, sparse-reward environments. While skill-based exploration offers a promising alternative to primitive action selection, traditional methods often rely on uniform skill distributions that ignore environmental structures. We present Goal Exploration via Adaptive Skill Distribution (GEASD), a framework that learns an adaptive distribution of skills to maximize the local entropy of achieved goals. By prioritizing skills that lead to deeper exploration and recognizing structural patterns, GEASD significantly improves sample efficiency and zero-shot generalization in complex navigation tasks.

Introduction

In GCRL, agents must reach diverse goals, often receiving feedback only upon success. This sparsity makes exploration difficult. Current state-of-the-art approaches typically employ goal-setting or skill-based exploration. However, existing skill-based methods often select skills uniformly at random, which is inefficient in structured environments. For instance, an agent in a corridor should prioritize skills that move it along the path rather than into walls.

Comparison of uniform (a) vs. adaptive (b) skill distributions in structured environments, illustrating how GEASD prioritizes productive movement.

GEASD addresses this by making skill selection "structure-aware," allowing agents to recognize and exploit the geometry of their environment to solve long-horizon tasks more effectively.

Methodology

The core of GEASD is the Skill-based Local Entropy-Maximization Pattern (SLEMP). Instead of standard reward-based value functions, GEASD utilizes skill value functions ($Q$) that estimate the expected change in local entropy. This encourages the agent to select skills that maximize the spread of visited goals within a recent contextual horizon.

Adaptive Skill Selection

Skills are selected via an adaptive Boltzmann distribution derived from these value functions. To balance exploration and exploitation, GEASD employs a dynamic temperature ($T_{dyna}$). When local entropy is high, indicating effective movement, the temperature is lowered to exploit successful skills. Conversely, if the agent becomes stuck (low entropy), the temperature increases to broaden exploration.

Learning Variants

The framework includes two variants: GEASD-H, which learns from high-level skill transitions, and GEASD-L, which utilizes low-level, step-by-step transitions. GEASD-L leverages importance sampling to learn more efficiently from all data in the replay buffer, facilitating a faster understanding of environmental structures.

Experimental Evaluation

GEASD was evaluated on challenging environments including PointMaze-Spiral, a 10x10 maze requiring precise navigation, and AntMaze-U, a 3D environment involving a quadruped robot. To test generalization, agents were also evaluated on unseen variants: Spiral-C (reversed direction) and Serpentine (novel U-turn patterns).

Results and Discussion

GEASD-L demonstrated superior efficiency, reaching a 100% success rate in PointMaze-Spiral 24% faster than previous skill-based baselines like GEAPS. In the complex AntMaze-U task, GEASD-L was the only method to consistently achieve a 100% success rate.

A key finding was the framework's zero-shot generalization capability. While standard goal-conditioned policies failed on unseen mazes, GEASD-L achieved a 90% success rate on the reversed spiral and explored 96% of the serpentine maze. This suggests that the agent learns fundamental navigation principles rather than just memorizing paths.

Limitations and Future Work

Currently, the skill horizon ($k$) is a fixed hyperparameter. Future work could explore context-dependent skill lengths—for example, using shorter skills for intricate maneuvers and longer skills for open corridors. Additionally, extending GEASD to vision-based scenarios would require integrating embedding-based novelty detection to handle raw pixel data.

Summary updated

Abstract

Exploration efficiency poses a significant challenge in goal-conditioned reinforcement learning (GCRL) tasks, particularly those with long horizons and sparse rewards. A primary limitation to exploration efficiency is the agent's inability to leverage environmental structural patterns. In this study, we introduce a novel framework, GEASD, designed to capture these patterns through an adaptive skill distribution during the learning process. This distribution optimizes the local entropy of achieved goals within a contextual horizon, enhancing goal-spreading behaviors and facilitating deep exploration in states containing familiar structural patterns. Our experiments reveal marked improvements in exploration efficiency using the adaptive skill distribution compared to a uniform skill distribution. Additionally, the learned skill distribution demonstrates robust generalization capabilities, achieving substantial exploration progress in unseen tasks containing similar local structures.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Spiral-CGEASD-Hsuccess in reaching the desired grid54%Maze Exploration
Source quote
L344: In contrast, both GEASD-L and GEASD-H are capable of achieving significant exploration progress in both environments. Unlike the zero success of GC policies on \texttt{Spiral-C}, GEASD-H and GEASD-L achieve 54% and 90% success in reaching the desired grid, respectively. They both reach 100% Max Occ and over 94% Avg Occ, providing valuable data for the agent to learn goal-conditioned behaviors. In \texttt{Serpentine}, though they do not achieve any success, GEASD-H and GEASD-L reach 70% and 96% Max Occ, respectively, which are improvements of over 535% and 770% over the learned GC policies. Their Avg Occ also improves the best statistics of GC policies by 210% and 350%, respectively. Although the uniform skill policy performs better than the uniform GC policy given the occupancy metrics, it falls behind GEASD-H and GEASD-L by a large margin. From this comparison, the significant advantages of the GEASD methods are not solely attributed to the introduction of skills, which underscores the effectiveness of our learned skill distribution in leveraging the structural information.
Spiral-CGEASD-Lsuccess in reaching the desired grid90%Maze Exploration
Source quote
L344: In contrast, both GEASD-L and GEASD-H are capable of achieving significant exploration progress in both environments. Unlike the zero success of GC policies on \texttt{Spiral-C}, GEASD-H and GEASD-L achieve 54% and 90% success in reaching the desired grid, respectively. They both reach 100% Max Occ and over 94% Avg Occ, providing valuable data for the agent to learn goal-conditioned behaviors. In \texttt{Serpentine}, though they do not achieve any success, GEASD-H and GEASD-L reach 70% and 96% Max Occ, respectively, which are improvements of over 535% and 770% over the learned GC policies. Their Avg Occ also improves the best statistics of GC policies by 210% and 350%, respectively. Although the uniform skill policy performs better than the uniform GC policy given the occupancy metrics, it falls behind GEASD-H and GEASD-L by a large margin. From this comparison, the significant advantages of the GEASD methods are not solely attributed to the introduction of skills, which underscores the effectiveness of our learned skill distribution in leveraging the structural information.
Spiral-CGEASD-HMax Occ100%Maze Exploration
Source quote
L344: In contrast, both GEASD-L and GEASD-H are capable of achieving significant exploration progress in both environments. Unlike the zero success of GC policies on \texttt{Spiral-C}, GEASD-H and GEASD-L achieve 54% and 90% success in reaching the desired grid, respectively. They both reach 100% Max Occ and over 94% Avg Occ, providing valuable data for the agent to learn goal-conditioned behaviors. In \texttt{Serpentine}, though they do not achieve any success, GEASD-H and GEASD-L reach 70% and 96% Max Occ, respectively, which are improvements of over 535% and 770% over the learned GC policies. Their Avg Occ also improves the best statistics of GC policies by 210% and 350%, respectively. Although the uniform skill policy performs better than the uniform GC policy given the occupancy metrics, it falls behind GEASD-H and GEASD-L by a large margin. From this comparison, the significant advantages of the GEASD methods are not solely attributed to the introduction of skills, which underscores the effectiveness of our learned skill distribution in leveraging the structural information.
Spiral-CGEASD-LMax Occ100%Maze Exploration
Source quote
L344: In contrast, both GEASD-L and GEASD-H are capable of achieving significant exploration progress in both environments. Unlike the zero success of GC policies on \texttt{Spiral-C}, GEASD-H and GEASD-L achieve 54% and 90% success in reaching the desired grid, respectively. They both reach 100% Max Occ and over 94% Avg Occ, providing valuable data for the agent to learn goal-conditioned behaviors. In \texttt{Serpentine}, though they do not achieve any success, GEASD-H and GEASD-L reach 70% and 96% Max Occ, respectively, which are improvements of over 535% and 770% over the learned GC policies. Their Avg Occ also improves the best statistics of GC policies by 210% and 350%, respectively. Although the uniform skill policy performs better than the uniform GC policy given the occupancy metrics, it falls behind GEASD-H and GEASD-L by a large margin. From this comparison, the significant advantages of the GEASD methods are not solely attributed to the introduction of skills, which underscores the effectiveness of our learned skill distribution in leveraging the structural information.
SerpentineGEASD-HMax Occ70%Maze Exploration
Source quote
L344: In contrast, both GEASD-L and GEASD-H are capable of achieving significant exploration progress in both environments. Unlike the zero success of GC policies on \texttt{Spiral-C}, GEASD-H and GEASD-L achieve 54% and 90% success in reaching the desired grid, respectively. They both reach 100% Max Occ and over 94% Avg Occ, providing valuable data for the agent to learn goal-conditioned behaviors. In \texttt{Serpentine}, though they do not achieve any success, GEASD-H and GEASD-L reach 70% and 96% Max Occ, respectively, which are improvements of over 535% and 770% over the learned GC policies. Their Avg Occ also improves the best statistics of GC policies by 210% and 350%, respectively. Although the uniform skill policy performs better than the uniform GC policy given the occupancy metrics, it falls behind GEASD-H and GEASD-L by a large margin. From this comparison, the significant advantages of the GEASD methods are not solely attributed to the introduction of skills, which underscores the effectiveness of our learned skill distribution in leveraging the structural information.
SerpentineGEASD-LMax Occ96%Maze Exploration
Source quote
L344: In contrast, both GEASD-L and GEASD-H are capable of achieving significant exploration progress in both environments. Unlike the zero success of GC policies on \texttt{Spiral-C}, GEASD-H and GEASD-L achieve 54% and 90% success in reaching the desired grid, respectively. They both reach 100% Max Occ and over 94% Avg Occ, providing valuable data for the agent to learn goal-conditioned behaviors. In \texttt{Serpentine}, though they do not achieve any success, GEASD-H and GEASD-L reach 70% and 96% Max Occ, respectively, which are improvements of over 535% and 770% over the learned GC policies. Their Avg Occ also improves the best statistics of GC policies by 210% and 350%, respectively. Although the uniform skill policy performs better than the uniform GC policy given the occupancy metrics, it falls behind GEASD-H and GEASD-L by a large margin. From this comparison, the significant advantages of the GEASD methods are not solely attributed to the introduction of skills, which underscores the effectiveness of our learned skill distribution in leveraging the structural information.
BibTeX
@misc{chen2024goal,
  author = {Ke Chen and Lisheng Wu and Ke Chen},
  title = {{Goal Exploration via Adaptive Skill Distribution for Goal-Conditioned Reinforcement Learning}},
  year = {2024},
  eprint = {2404.12999},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.12999},
}
Figure