Optimal Transport for Offline Imitation Learning

Yicheng Luo, Zhengyao Jiang, Samuel Cohen, Edward Grefenstette, Marc Peter Deisenroth
3/24/2023
cs.LG

No official code found. Best implementation: ethanluoyc/optimal_transport_reward (18 stars, MIT, last commit 2024-04-11).

Abstract

With the advent of large datasets, offline reinforcement learning (RL) is a promising framework for learning good decision-making policies without the need to interact with the real environment. However, offline RL requires the dataset to be reward-annotated, which presents practical challenges when reward engineering is difficult or when obtaining reward annotations is labor-intensive. In this paper, we introduce Optimal Transport Reward labeling (OTR), an algorithm that assigns rewards to offline trajectories, with a few high-quality demonstrations. OTR's key idea is to use optimal transport to compute an optimal alignment between an unlabeled trajectory in the dataset and an expert demonstration to obtain a similarity measure that can be interpreted as a reward, which can then be used by an offline RL algorithm to learn the policy. OTR is easy to implement and computationally efficient. On D4RL benchmarks, we show that OTR with a single demonstration can consistently match the performance of offline RL with ground-truth rewards.

View on arXivView PDF

Code Implementations(1)

MIT
184PythonNov 5, 20222 years agoMIT

Similar Papers

Cite this paper

@article{luo2023optimal,
  title  = {Optimal Transport for Offline Imitation Learning},
  author = {Yicheng Luo and Zhengyao Jiang and Samuel Cohen and Edward Grefenstette and Marc Peter Deisenroth},
  year   = {2023},
  eprint = {2303.13971},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.13971v1},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.13971.svg)](https://codeofpaper.com/paper/2303.13971)

Discussion