SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.09395 · 2020

Energy-Based Imitation Learning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
apexrl/EBIL-torch canonical 4 of 5
FunctionStatusWhere it lives
concat_trajs Ran apexrl/EBIL-torch/rlkit/torch/ebil/bc.py
code served (permissive licence) · get_code("c22a3eb163c4e832")
reward_func Ran apexrl/EBIL-torch/rlkit/torch/ebil/ebil.py
code served (permissive licence) · get_code("f97c59ae63058414")
sum_aggregator Ran apexrl/EBIL-torch/rlkit/torch/ebil/encoders/aggregators.py
code served (permissive licence) · get_code("2fcee7ba769344dd")
tanh_sum_aggregator Ran apexrl/EBIL-torch/rlkit/torch/ebil/encoders/aggregators.py
code served (permissive licence) · get_code("c82c1656a9e07512")
mean_aggregator Not yet run apexrl/EBIL-torch/rlkit/torch/ebil/encoders/aggregators.py
code served (permissive licence) · get_code("1a2244e58b6aae79")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We tackle a common scenario in imitation learning (IL), where agents try to recover the optimal policy from expert demonstrations without further access to the expert or environment reward signals. Except the simple Behavior Cloning (BC) that adopts supervised learning followed by the problem of compounding error, previous solutions like inverse reinforcement learning (IRL) and recent generative adversarial methods involve a bi-level or alternating optimization for updating the reward function and the policy, suffering from high computational cost and training instability. Inspired by recent progress in energy-based model (EBM), in this paper, we propose a simplified IL framework named Energy-Based Imitation Learning (EBIL). Instead of updating the reward and policy iteratively, EBIL breaks out of the traditional IRL paradigm by a simple and flexible two-stage solution: first estimating the expert energy as the surrogate reward function through score matching, then utilizing such a reward for learning the policy by reinforcement learning algorithms. EBIL combines the idea of both EBM and occupancy measure matching, and via theoretic analysis we reveal that EBIL and Max-Entropy IRL (MaxEnt IRL) approaches are two sides of the same coin, and thus EBIL could be an alternative of adversarial IRL methods. Extensive experiments on qualitative and quantitative evaluations indicate that EBIL is able to recover meaningful and interpretative reward signals while achieving effective and comparable performance against existing algorithms on IL benchmarks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2004.09395")
get_code_for_paper("2004.09395")
have("2004.09395")

Connect an agent — have() is free.