Papers › How to Leverage Diverse Demonstrations in Offline Imitation Learning

How to Leverage Diverse Demonstrations in Offline Imitation Learning

24 May 2024arXiv:2405.17476archive 2025-07-28

Sheng Yue, Jiani Liu, Xingyuan Hua, Ju Ren, Sen Lin, Junshan Zhang, Yaoxue Zhang

Offline Imitation Learning (IL) with imperfect demonstrations has garnered increasing attention owing to the scarcity of expert data in many real-world domains. A fundamental problem in this scenario is how to extract positive behaviors from noisy data. In general, current approaches to the problem select data building on state-action similarity to given expert demonstrations, neglecting precious information in (potentially abundant) diverse state-actions that deviate from expert ones. In this paper, we introduce a simple yet effective data selection method that identifies positive behaviors based on their resultant states -- a more informative criterion enabling explicit utilization of dynamics information and effective extraction of both expert and beneficial diverse behaviors. Further, we devise a lightweight behavior cloning algorithm capable of leveraging the expert and selected data correctly. In the experiments, we evaluate our method on a suite of complex and high-dimensional offline IL benchmarks, including continuous-control and vision-based tasks. The results demonstrate that our method achieves state-of-the-art performance, outperforming existing methods on 20/21 benchmarks, typically by 2-5x, while maintaining a comparable runtime to Behavior Cloning (BC).

PaperPDFCodeCode 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="2405.17476")

Code

Syntology Ran 8 of 13 code samples harvested from 3 repositories linked to this paper; 5 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: found in paper text by Syntology: 13 samples from 3 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.

hansenhua/ilid-offline-imitation-learning officialmentioned in paperpytorch 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

13 samples harvested; 8 ran; 0 honoured the contract we drafted; 5 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.

8ran
5unverified

Licence: 8 of the 13 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 3 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.

clamp liziniu/ISWBC/atari/experiments/agents/iswbc_agent.py found in paper text by Syntology ran no licence file found · pointer only · 3336fdca39b09846 · report
concat_trajectories liziniu/ISWBC/mujoco/dataset_utils.py found in paper text by Syntology ran no licence file found · pointer only · cc5f4add4c5cc2b4 · report
get_dataset liziniu/ISWBC/mujoco/dataset_utils.py found in paper text by Syntology ran no licence file found · pointer only · f013924cbc909a48 · report
get_replay_dataset liziniu/ISWBC/mujoco/dataset_utils.py found in paper text by Syntology ran no licence file found · pointer only · ef7fbd2aab415a25 · report
qlearning_dataset ryanxhr/DWBC/get_dataset.py found in paper text by Syntology ran MIT (permissive) · 119b5a0ec83785b2 · report
stable_scaled_log_softmax liziniu/ISWBC/atari/experiments/agents/iswbc_agent.py found in paper text by Syntology ran no licence file found · pointer only · 8ceadd2844bebbfb · report
stable_softmax liziniu/ISWBC/atari/experiments/agents/iswbc_agent.py found in paper text by Syntology ran no licence file found · pointer only · 2de1ae4938d1cdca · report
timeit liziniu/ISWBC/atari/experiments/replay_memory.py found in paper text by Syntology ran no licence file found · pointer only · bde9000f5d0e5e03 · report
dataset_setting1 ryanxhr/DWBC/get_dataset.py found in paper text by Syntology unverified MIT (permissive) · c55b1773d8caec85 · report
dataset_setting2 ryanxhr/DWBC/get_dataset.py found in paper text by Syntology unverified MIT (permissive) · ef7685bff6390ccd · report
eval_policy ryanxhr/DWBC/main_setting_demodice.py found in paper text by Syntology unverified MIT (permissive) · 8205eb63bd6bd52d · report
evaluate liziniu/ISWBC/mujoco/run_iswbc_full_replay.py found in paper text by Syntology unverified no licence file found · pointer only · 83e1823efe8292e6 · report
keep_best_trajectories tinkoff-ai/CORL/algorithms/offline/any_percent_bc.py found in paper text by Syntology unverified Apache-2.0 (permissive) · da056a6fdaccaacf · report

Tasks

Continuous ControlImitation Learningcontinuous-control

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