Papers › Generative Adversarial Imitation Learning

Generative Adversarial Imitation Learning

10 Jun 2016NeurIPS 2016 12arXiv:1606.03476archive 2025-07-28

Jonathan Ho, Stefano Ermon

Consider learning a policy from example expert behavior, without interaction with the expert or access to reinforcement signal. One approach is to recover the expert's cost function with inverse reinforcement learning, then extract a policy from that cost function with reinforcement learning. This approach is indirect and can be slow. We propose a new general framework for directly extracting a policy from data, as if it were obtained by reinforcement learning following inverse reinforcement learning. We show that a certain instantiation of our framework draws an analogy between imitation learning and generative adversarial networks, from which we derive a model-free imitation learning algorithm that obtains significant performance gains over existing model-free methods in imitating complex behaviors in large, high-dimensional environments.

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="1606.03476")

Code

Syntology Ran 12 of 36 code samples harvested from 9 repositories linked to this paper; 24 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 7 ran with no contract checked.

By repository: community (archive-listed): 36 samples from 9 repositories, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

18 repositories listed; official and paper-mentioned ones first.

Div99/IQ-Learn mentioned on GitHubpytorch report
HumanCompatibleAI/deep-rlsp mentioned on GitHubtfMIT report
Kaixhin/imitation-learning mentioned on GitHubpytorch report
Khrylx/PyTorch-RL mentioned on GitHubpytorch report
Techget/gail-tf-sc2 mentioned on GitHubtfMIT report
bukysun/gail-traj-eb mentioned on GitHubtfMIT report
morikatron/GAIL_PPO mentioned on GitHubtf report
nav74neet/gail-tf-gym mentioned on GitHubtf report
ran-weii/cleanil mentioned on GitHubpytorch report
rohitrango/Reward-bias-in-GAIL mentioned on GitHubtfMIT report
sisl/ngsim_env mentioned on GitHubtfMIT report
twni2016/f-IRL mentioned on GitHubpytorch 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

36 samples harvested; 12 ran; 2 honoured the contract we drafted; 24 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.

2ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
7ran
24unverified

Licence: 11 of the 36 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 9 repositories linked to this paper, official or community; each sample names its own and says which. “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.

ActorCritic emunaran/stochastic-human-driving-policies-drl/model/algorithm/gail.py community (archive-listed) ran no licence file found · pointer only · cb3f4da86ee1b680 · report
Discriminator emunaran/stochastic-human-driving-policies-drl/model/algorithm/gail.py community (archive-listed) ran no licence file found · pointer only · 86a2d590f55ea39d · report
Discriminator morikatron/GAIL_PPO/algo/discriminator.py community (archive-listed) ran · metamorphic tier: invariant MIT (permissive) · c30fb27c55c474d2 · report
GAILDiscriminator Kaixhin/imitation-learning/training.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 58c499108eff7753 · report
QuarterSizeSigmoid emunaran/stochastic-human-driving-policies-drl/model/algorithm/gail.py community (archive-listed) ran fingerprinted no licence file found · pointer only · be4ed3c2e906962c · report
ResNetAIRLDisc twni2016/f-IRL/firl/models/discrim.py community (archive-listed) ran MIT (permissive) · 93ab130e938732f0 · report
SoftActor Kaixhin/imitation-learning/training.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · d0f9a51097534c31 · report
_create_fcnn Kaixhin/imitation-learning/training.py community (archive-listed) ran · our draft was wrong MIT (permissive) · ee98cbfd5f8b7c6d · report
_join_state_action Kaixhin/imitation-learning/training.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · e374e2ee3dbb3f45 · report
_mix_vars Kaixhin/imitation-learning/training.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · df69a6d635ac78ad · report
flatten_lists bukysun/gail-traj-eb/gailtf/algo/trpo_mpi.py community (archive-listed) ran · honoured contract MIT (permissive) · 0173e4280d9a9884 · report
iq_loss Div99/IQ-Learn/iq_learn/iq.py community (archive-listed) ran · our draft was wrong licence not identified · pointer only · cf7c0b7b5de1e98b · report
Discriminator nav74neet/gail-tf-gym/gail-ppo-tf-gym/network_models/discriminator.py community (archive-listed) unverified no licence file found · pointer only · 40b17d8ecf42cfe6 · report
GAIL emunaran/stochastic-human-driving-policies-drl/model/algorithm/gail.py community (archive-listed) unverified no licence file found · pointer only · 654066a3d6f0d55b · report
RaggedArray KAIST-AILab/deeprl_practice_colab/day3/gail/policyopt/rl.py community (archive-listed) unverified no licence file found · pointer only · 0654ba2a385cf2c4 · report
SamplingPolicyOptimizer KAIST-AILab/deeprl_practice_colab/day3/gail/policyopt/rl.py community (archive-listed) unverified no licence file found · pointer only · 4117e20071c70a04 · report
adversarial_imitation_update Kaixhin/imitation-learning/training.py community (archive-listed) unverified MIT (permissive) · 75e9f2f5049574cb · report
compute_advantage KAIST-AILab/deeprl_practice_colab/day3/gail/policyopt/rl.py community (archive-listed) unverified no licence file found · pointer only · 12a65e5d7d9e912d · report
compute_qvals KAIST-AILab/deeprl_practice_colab/day3/gail/policyopt/rl.py community (archive-listed) unverified no licence file found · pointer only · 5ce9c8b1227054f5 · report
find_task_for_env_id_in_any_benchmark Techget/gail-tf-sc2/gailtf/baselines/bench/benchmarks.py community (archive-listed) unverified MIT (permissive) · 71bdb8bae1ed81f7 · report
flatten_param Techget/gail-tf-sc2/gailtf/algo/trpo_mpi.py community (archive-listed) unverified MIT (permissive) · c45e54fc5355bc2d · report
get_benchmark Techget/gail-tf-sc2/gailtf/baselines/bench/benchmarks.py community (archive-listed) unverified MIT (permissive) · 7bd934aa47da390a · report
get_cur_ep_rewards bukysun/gail-traj-eb/gailtf/algo/trpo_traj_mpi.py community (archive-listed) unverified MIT (permissive) · 8bb63d18cbda13c3 · report
get_monitor_files Techget/gail-tf-sc2/gailtf/baselines/bench/monitor.py community (archive-listed) unverified MIT (permissive) · af3d493bdc17ad51 · report
get_task Techget/gail-tf-sc2/gailtf/baselines/bench/benchmarks.py community (archive-listed) unverified MIT (permissive) · 3e82b9de30b1625f · report
get_task_name bukysun/gail-traj-eb/main_traj_eb.py community (archive-listed) unverified MIT (permissive) · 7d3ce86ca78ceba8 · report
load_results Techget/gail-tf-sc2/gailtf/baselines/bench/monitor.py community (archive-listed) unverified MIT (permissive) · 0c09148efe18bf06 · report
logit_bernoulli_entropy Techget/gail-tf-sc2/gailtf/common/tf_util.py community (archive-listed) unverified MIT (permissive) · 2e4f14f2d4a888ff · report
logsigmoid Techget/gail-tf-sc2/gailtf/common/tf_util.py community (archive-listed) unverified MIT (permissive) · 3032d5dbb694f8ba · report
make_gail_input Kaixhin/imitation-learning/training.py community (archive-listed) unverified MIT (permissive) · 6782b3c2166c0b4f · report
make_output_format Techget/gail-tf-sc2/gailtf/baselines/logger.py community (archive-listed) unverified MIT (permissive) · 071e746ec3f03d74 · report
process_coordinates_param_nn_output Techget/gail-tf-sc2/gailtf/algo/trpo_mpi.py community (archive-listed) unverified MIT (permissive) · a9fed3a61f50d4f0 · report
raggedstack KAIST-AILab/deeprl_practice_colab/day3/gail/policyopt/rl.py community (archive-listed) unverified no licence file found · pointer only · 343ea6d8bbc7b6dc · report
traj2trans bukysun/gail-traj-eb/gailtf/algo/trpo_traj_mpi.py community (archive-listed) unverified MIT (permissive) · ae6c5ba444e45a52 · report
wrap_deepmind Techget/gail-tf-sc2/gailtf/baselines/common/atari_wrappers.py community (archive-listed) unverified MIT (permissive) · 6ad2196300b77d83 · report
wrap_dqn Techget/gail-tf-sc2/gailtf/baselines/common/atari_wrappers_deprecated.py community (archive-listed) unverified MIT (permissive) · 7e4f579c2aabd9b5 · report

Tasks

Imitation LearningReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: GAIL

GAIL

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