Papers › Adversarial Intrinsic Motivation for Reinforcement Learning

Adversarial Intrinsic Motivation for Reinforcement Learning

27 May 2021NeurIPS 2021 12arXiv:2105.13345archive 2025-07-28

Ishan Durugkar, Mauricio Tec, Scott Niekum, Peter Stone

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2105.13345")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: official repository: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

iDurugkar/adversarial-intrinsic-motivation officialmentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from iDurugkar/adversarial-intrinsic-motivation. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv iDurugkar/adversarial-intrinsic-motivation/stable_baselines/common/tf_layers.py official repository unverified MIT (permissive) · 5260262d19bd2712 · report
make_output_format iDurugkar/adversarial-intrinsic-motivation/stable_baselines/logger.py official repository unverified MIT (permissive) · 7bbab22bcf0e48c2 · report
millions iDurugkar/adversarial-intrinsic-motivation/utils/plot.py official repository unverified MIT (permissive) · dcefde30166a3545 · report
mlp iDurugkar/adversarial-intrinsic-motivation/stable_baselines/common/tf_layers.py official repository unverified MIT (permissive) · b1b0b13946e3393b · report
moving_average iDurugkar/adversarial-intrinsic-motivation/utils/plot.py official repository unverified MIT (permissive) · 3c1cd91be28d7d5b · report
ortho_init iDurugkar/adversarial-intrinsic-motivation/stable_baselines/common/tf_layers.py official repository unverified MIT (permissive) · 90935b4a6d887717 · report
rolling_window iDurugkar/adversarial-intrinsic-motivation/stable_baselines/results_plotter.py official repository unverified MIT (permissive) · a3fd9c3a978a7624 · report
sample_a2c_params iDurugkar/adversarial-intrinsic-motivation/utils/hyperparams_opt.py official repository unverified MIT (permissive) · 7e5d730cf74c95f1 · report
sample_ppo2_params iDurugkar/adversarial-intrinsic-motivation/utils/hyperparams_opt.py official repository unverified MIT (permissive) · 5f55ba48a52ae1f2 · report
smooth iDurugkar/adversarial-intrinsic-motivation/utils/plot.py official repository unverified MIT (permissive) · 7bebd2fb30fb4073 · report
summary_val iDurugkar/adversarial-intrinsic-motivation/stable_baselines/logger.py official repository unverified MIT (permissive) · 75fb406b970614d4 · report
ts2xy iDurugkar/adversarial-intrinsic-motivation/stable_baselines/results_plotter.py official repository unverified MIT (permissive) · 9cc2d7b8e6215c80 · report
valid_float_value iDurugkar/adversarial-intrinsic-motivation/stable_baselines/logger.py official repository unverified MIT (permissive) · dbdf57c6ccdd4893 · report
window_func iDurugkar/adversarial-intrinsic-motivation/stable_baselines/results_plotter.py official repository unverified MIT (permissive) · 0680d6189aa0a2ff · report

Tasks

Multi-Goal Reinforcement LearningReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Experience Replay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections