TLDR: A new reinforcement learning algorithm, Dense and Diverse Goal Coverage (DDGC), is proposed to address the challenge of learning policies that not only maximize rewards but also visit a diverse set of goal states. Unlike traditional methods that might exploit a few reward sources, DDGC uses a custom reward function to encourage exploration of less-frequently visited goal states, leading to more robust and comprehensive multi-goal policies. The algorithm, which uses an offline RL subroutine, demonstrates superior performance in both return and goal state diversity across synthetic and standard robotics environments.
Reinforcement Learning (RL) has achieved remarkable success in various fields, from mastering complex games to controlling robots. Typically, RL algorithms focus on training an agent to maximize its expected reward, often leading to a policy that exploits one or a few highly rewarding paths. However, in many real-world scenarios, simply reaching a goal isn’t enough; it’s also crucial to ensure that the agent explores and utilizes a diverse range of available goal states.
Imagine a robotic arm tasked with placing tools. If it only learns one way to place a specific tool, it might fail if that particular method becomes unavailable. Similarly, in drug discovery, an agent might find only a single stable molecular structure, missing out on many other potentially valuable ones. The challenge lies in developing an RL approach that encourages both high returns and broad coverage of desirable outcomes, especially when the full list of goal states isn’t known in advance.
The Problem with Existing Approaches
Current RL techniques often fall short in addressing this dual objective. Methods like entropy regularization, which promote stochasticity in policies, don’t guarantee that the agent will visit a diverse set of *goal* states. They might encourage exploration, but not necessarily towards a wide array of rewarding outcomes. Other algorithms that aim to match a target distribution of states require this target distribution to be known beforehand, which is often impractical in large, complex systems where goal states are only identified upon being reached.
Introducing Dense and Diverse Goal Coverage (DDGC)
Researchers from Google DeepMind have introduced a novel algorithm called Dense and Diverse Goal Coverage (DDGC) to tackle this very problem. Their work, detailed in the paper “Dense and Diverse Goal Coverage in Multi Goal Reinforcement Learning”, formalizes the challenge as Multi Goal RL. In this setup, an ‘oracle classifier’ can identify goal states when the agent reaches them, but the agent doesn’t know all goal states upfront.
DDGC aims to learn a ‘policy mixture’ – essentially a collection of policies – that not only achieves high returns but also ensures the agent’s visits are well-dispersed across all available goal states. The core idea is to optimize a custom reward function that is dynamically computed at each iteration. This reward encourages the agent to visit goal states that have been less frequently explored by the current policy mixture, while still prioritizing goal states over non-goal states.
How DDGC Works
The algorithm operates iteratively, building up a policy mixture. At each step, it samples trajectories (sequences of actions and states) using the current policy mixture. Based on these sampled trajectories, it estimates how frequently different goal states are being visited. A custom reward is then calculated: goal states that are visited less often receive a higher reward, incentivizing further exploration of those areas. This custom reward is then used in an offline RL algorithm (specifically, Fitted-Q Iteration or FQI) to train a new policy. This new policy is then added to the existing policy mixture, gradually shifting the agent’s behavior towards more diverse goal coverage.
The researchers also incorporated practical extensions to the algorithm, such as ‘exploratory sampling’ to ensure continuous discovery of new goal states, and a ‘goal buffer’ to prevent the agent from ‘forgetting’ previously discovered goal states. These modifications help bridge the gap between theoretical guarantees and real-world application, especially in continuous state-action spaces.
Empirical Validation and Results
To demonstrate DDGC’s effectiveness, experiments were conducted on two types of environments. First, synthetic, discrete environments were used to clearly illustrate how DDGC encourages a uniform distribution of visits across goal states, unlike traditional Q-learning which might exploit a single path, or other methods that might visit non-goal states unnecessarily.
Second, the algorithm was tested on standard robotics environments like Reacher, Pusher, Ant, and Half Cheetah, adapted for multi-goal settings without explicit goal conditioning. Here, DDGC was benchmarked against popular baselines like Soft Actor-Critic (SAC), Pseudo Counts, and State Marginal Matching (SMM). The results were compelling: DDGC consistently matched the best-performing algorithms in terms of overall return (how densely goals are covered) while significantly outperforming them in terms of diversity metrics, such as “partial entropy” and “modified partial Gini criterion,” which measure the spread of visits across goal states.
Also Read:
- Combining Deep Learning for Smarter Robot Navigation
- New Method Enhances Reinforcement Learning Exploration by Generating Critical Experiences
Conclusion
The DDGC algorithm offers a robust solution for Multi Goal Reinforcement Learning, addressing the critical need for both high returns and diverse goal coverage. By dynamically adjusting rewards to encourage exploration of under-visited goal states, it ensures that agents learn more resilient and comprehensive strategies. While the iterative nature of the algorithm, involving multiple calls to an RL subroutine, can be computationally intensive, this work lays a strong foundation for future advancements in learning diverse and effective multi-goal policies.


