Abstract
Reinforcement Learning (RL) often struggles in environments with sparse rewards, where agents receive feedback only upon task completion. Hyper-Meta Reinforcement Learning (HMRL) addresses this by sharing knowledge across heterogeneous environments. By mapping diverse observations into a shared meta-state space and employing an auxiliary reward-shaping function, HMRL enables effective knowledge transfer from information-rich environments to those with limited visibility, significantly improving learning efficiency and success rates in sparse-reward tasks.
Introduction
While Reinforcement Learning has seen success in controlled settings, sparse rewards remain a significant hurdle. In many real-world scenarios, an agent may encounter the same task across vastly different environmental contexts—varying lighting, perspectives, or physical constraints. Standard Meta-RL algorithms typically assume a consistent environment across tasks, failing to leverage complementary information from related but distinct settings. For instance, a "god-view" perspective can provide global context that is missing in a first-person view, yet most current methods cannot bridge this gap. HMRL is designed to solve this "needle-in-a-haystack" problem by facilitating cross-environment knowledge transfer.
Methodology
The HMRL framework utilizes a three-module architecture to create a robust meta-learner capable of handling environmental heterogeneity.
- Cross-Environment Meta State Embedding (Meta-SE): This module serves as a universal translator, mapping raw observations from disparate environments (e.g., RGB images vs. coordinate data) into a unified meta-state space. This ensures that the core task logic remains consistent regardless of the specific environmental view.
- Environment-Specific Meta Reward Shaping (Meta-RS): To guide exploration in sparse-reward settings, HMRL learns a potential function based on meta-states. This function provides "shaped rewards"—intermediate signals that nudge the agent toward the goal without compromising policy optimality.
- Meta Policy Learning (Meta-PC): Built upon Model-Agnostic Meta-Learning (MAML), this module learns a generalized policy initialization. This initialization can be rapidly adapted to specific tasks using the enriched signals from the Meta-SE and Meta-RS modules.
Experimental Setup
The framework was evaluated using the gym-miniworld suite on two primary navigation benchmarks:
- Hallway: An agent must locate a target at the end of a corridor, with environments alternating between partially observed (1st-person) and fully observed (3rd-person) views.
- Maze: A complex task involving various room configurations and sizes, testing the agent's ability to transfer learned spatial logic to novel map layouts.
Results and Discussion
HMRL demonstrates superior performance compared to state-of-the-art baselines such as MAML, NoRML, and variBAD.
- Efficiency and Transfer: In the Hallway task, HMRL achieved peak performance in approximately half the iterations required by competing methods. Furthermore, it showed high success rates when evaluated on entirely new maps, proving its strong generalization capabilities.
- Knowledge Complementarity: A key finding is that high-information environments (like 3rd-person views) can effectively "subsidize" the learning of agents in low-information environments (like 1st-person views). By filtering out environmental noise through meta-states, the agent focuses on the underlying structural logic of the task.
- Guided Exploration: Heatmap analysis of the learned potential functions confirms that the reward-shaping module correctly identifies goal locations, effectively pulling the agent through reward-free regions of the state space.
Conclusion and Future Work
HMRL represents a significant advancement in meta-RL for sparse-reward scenarios. However, challenges remain. Currently, defining the "meta-state" often requires domain-specific knowledge (e.g., coordinates). Future research will explore unsupervised methods for learning these embeddings. Additionally, extending the framework to handle heterogeneous action spaces and more complex, non-simulated environments will be critical for real-world robotics applications.
Summary updated