[Paper Review] Adversarial Intrinsic Motivation for Reinforcement Learning
This paper proposes Adversarial Intrinsic Motivation (AIM), a novel intrinsic reward mechanism for goal-conditioned reinforcement learning that uses the Wasserstein-1 distance between the agent's state visitation distribution and a target distribution concentrated at the goal. By estimating this distance via a dual objective with a MDP-specific quasimetric (the time-step metric), AIM generates a smooth, informative reward that minimizes the expected steps to reach the goal, significantly accelerating learning when combined with Hindsight Experience Replay (HER).
Learning with an objective to minimize the mismatch with a reference distribution has been shown to be useful for generative modeling and imitation learning. In this paper, we investigate whether one such objective, the Wasserstein-1 distance between a policy's state visitation distribution and a target distribution, can be utilized effectively for reinforcement learning (RL) tasks. Specifically, this paper focuses on goal-conditioned reinforcement learning where the idealized (unachievable) target distribution has full measure at the goal. This paper introduces a quasimetric specific to Markov Decision Processes (MDPs) and uses this quasimetric to estimate the above Wasserstein-1 distance. It further shows that the policy that minimizes this Wasserstein-1 distance is the policy that reaches the goal in as few steps as possible. Our approach, termed Adversarial Intrinsic Motivation (AIM), estimates this Wasserstein-1 distance through its dual objective and uses it to compute a supplemental reward function. Our experiments show that this reward function changes smoothly with respect to transitions in the MDP and directs the agent's exploration to find the goal efficiently. Additionally, we combine AIM with Hindsight Experience Replay (HER) and show that the resulting algorithm accelerates learning significantly on several simulated robotics tasks when compared to other rewards that encourage exploration or accelerate learning.
Motivation & Objective
- Address the challenge of sparse rewards in goal-conditioned reinforcement learning, where agents require extensive random exploration to receive any learning signal.
- Develop a task-specific intrinsic reward that guides exploration without distorting the optimal policy, by minimizing distributional mismatch between the agent’s behavior and a target distribution.
- Introduce a quasimetric tailored to Markov Decision Processes (MDPs), the time-step metric, to measure Wasserstein-1 distance in non-Euclidean state spaces.
- Design a dual-objective optimization framework to estimate the Wasserstein-1 distance via sampled transitions, enabling scalable and stable training.
- Integrate the resulting intrinsic reward with Hindsight Experience Replay (HER) to accelerate learning in complex robotic environments without modifying the task reward.
Proposed method
- Define a quasimetric specific to MDPs—the time-step metric—based on the minimal number of steps required to transition between states, enabling meaningful Wasserstein-1 distance computation in non-Euclidean environments.
- Use the dual formulation of the Wasserstein-1 distance to estimate the distributional mismatch between the agent’s state visitation distribution and the ideal target distribution (delta measure at the goal).
- Train a critic network to maximize the difference in potentials under the dual objective, with regularization derived from the time-step metric to ensure generalization and stability.
- Construct an intrinsic reward function from the estimated Wasserstein-1 distance, which encourages the agent to minimize the expected number of steps to reach the goal.
- Integrate the AIM intrinsic reward with Hindsight Experience Replay (HER), allowing the agent to relabel transitions and learn efficiently even from sparse task rewards.
- Optimize the policy using off-policy deep RL algorithms (e.g., TD3) with the combined task reward and AIM intrinsic reward, using standard hyperparameters and regularization techniques such as action clipping and Huber loss.
Experimental results
Research questions
- RQ1Can minimizing the Wasserstein-1 distance between the agent’s state visitation distribution and a goal-targeted distribution lead to faster and more efficient goal-reaching in reinforcement learning?
- RQ2Does the use of a MDP-specific quasimetric (the time-step metric) enable a more meaningful and stable estimation of distributional discrepancy in non-Euclidean state spaces compared to Euclidean metrics?
- RQ3Can the dual formulation of the Wasserstein-1 distance be effectively optimized using sampled transitions to yield a smooth, informative intrinsic reward signal?
- RQ4How does the combination of AIM with Hindsight Experience Replay (HER) compare to using HER with sparse or dense extrinsic rewards in terms of learning speed and final performance?
- RQ5Does minimizing the Wasserstein-1 distance with the time-step metric lead to a policy that minimizes the expected number of steps to reach the goal, especially in deterministic environments?
Key findings
- The policy that minimizes the Wasserstein-1 distance using the time-step metric is the one that reaches the goal in the minimum expected number of steps, and is optimal in deterministic environments.
- AIM generates a smooth intrinsic reward that changes continuously with environmental transitions, avoiding abrupt reward signals that can destabilize learning.
- When combined with Hindsight Experience Replay (HER), AIM accelerates learning on simulated robotic tasks (Fetch environment) to a degree comparable to using the actual distance to the goal as a dense reward.
- The AIM+HER algorithm achieves faster convergence and higher sample efficiency than HER with only the sparse task reward, significantly reducing the number of timesteps required to reach high performance.
- Experiments on the Fetch robot environment (Reach, Push, Slide, Pick and Place tasks) show that AIM+HER outperforms both HER with sparse rewards and HER with dense rewards in terms of learning speed and final success rate.
- The method is robust to stochastic dynamics and generalizes well across diverse goal-conditioned control tasks, demonstrating consistent performance improvements without requiring task-specific reward shaping.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.