Papers › Strictly Batch Imitation Learning by Energy-based Distribution Matching

Strictly Batch Imitation Learning by Energy-based Distribution Matching

25 Jun 2020NeurIPS 2020 12arXiv:2006.14154archive 2025-07-28

Daniel Jarrett, Ioana Bica, Mihaela van der Schaar

Consider learning a policy purely on the basis of demonstrated behavior -- that is, with no access to reinforcement signals, no knowledge of transition dynamics, and no further interaction with the environment. This *strictly batch imitation learning* problem arises wherever live experimentation is costly, such as in healthcare. One solution is simply to retrofit existing algorithms for apprenticeship learning to work in the offline setting. But such an approach leans heavily on off-policy evaluation or offline model estimation, and can be indirect and inefficient. We argue that a good solution should be able to explicitly parameterize a policy (i.e. respecting action conditionals), implicitly learn from rollout dynamics (i.e. leveraging state marginals), and -- crucially -- operate in an entirely offline fashion. To address this challenge, we propose a novel technique by *energy-based distribution matching* (EDM): By identifying parameterizations of the (discriminative) model of a policy with the (generative) energy function for state distributions, EDM yields a simple but effective solution that equivalently minimizes a divergence between the occupancy measure for the demonstrator and a model thereof for the imitator. Through experiments with application to control and healthcare settings, we illustrate consistent performance gains over existing algorithms for strictly batch imitation 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="2006.14154")

Code

Syntology Ran 8 of 17 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 6 ran with no contract checked.

By repository: found in paper text by Syntology: 17 samples from 2 repositories, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

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

17 samples harvested; 8 ran; 0 honoured the contract we drafted; 9 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 · our draft was wrong
6ran
9unverified

Licence: 0 of the 17 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 2 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.

ActNorm wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · c22f2d08409192a0 · report
F wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 4985cbdb3ad39e8c · report
Identity wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · fdbb7a963e661fb1 · report
Wide_ResNet wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 84de817b353f7c2c · report
conv3x3 wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · bf19b9ba510a9e4a · report
get_norm wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 54752d9ecb18a6fb · report
shape_el dtak/batch-apprenticeship-learning/src/core/distributions.py found in paper text by Syntology ran Apache-2.0 (permissive) · aad5113d0b095522 · report
wide_basic wgrathwohl/JEM/train_wrn_ebm.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 8ecb413d596ba546 · report
f_eq dtak/batch-apprenticeship-learning/src/contrib/scirl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7e084b093f24aee5 · report
f_geq dtak/batch-apprenticeship-learning/src/contrib/scirl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7613cdbabed93897 · report
get_linear_basis dtak/batch-apprenticeship-learning/src/core/basis.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 01397f68828e5085 · report
get_next_observation dtak/batch-apprenticeship-learning/main_sepsis.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2fdd9847cb765877 · report
make_pdtype dtak/batch-apprenticeship-learning/src/core/distributions.py found in paper text by Syntology unverified Apache-2.0 (permissive) · e86b3e45a52de298 · report
new_reset dtak/batch-apprenticeship-learning/src/core/gym_env.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 72780861907b8bdd · report
new_timelimit_reset dtak/batch-apprenticeship-learning/src/core/gym_env.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 634baa09ecda13c4 · report
non_scalar_vectorize dtak/batch-apprenticeship-learning/src/contrib/scirl.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 59357864346147ca · report
stack_observation dtak/batch-apprenticeship-learning/main_sepsis.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c415e5b34587ae0f · report

Tasks

Imitation LearningOff-policy evaluation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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