English

CEIL: Generalized Contextual Imitation Learning

Machine Learning 2023-10-27 v2

Abstract

In this paper, we present \textbf{C}ont\textbf{E}xtual \textbf{I}mitation \textbf{L}earning~(CEIL), a general and broadly applicable algorithm for imitation learning (IL). Inspired by the formulation of hindsight information matching, we derive CEIL by explicitly learning a hindsight embedding function together with a contextual policy using the hindsight embeddings. To achieve the expert matching objective for IL, we advocate for optimizing a contextual variable such that it biases the contextual policy towards mimicking expert behaviors. Beyond the typical learning from demonstrations (LfD) setting, CEIL is a generalist that can be effectively applied to multiple settings including: 1)~learning from observations (LfO), 2)~offline IL, 3)~cross-domain IL (mismatched experts), and 4) one-shot IL settings. Empirically, we evaluate CEIL on the popular MuJoCo tasks (online) and the D4RL dataset (offline). Compared to prior state-of-the-art baselines, we show that CEIL is more sample-efficient in most online IL tasks and achieves better or competitive performances in offline tasks.

Keywords

Cite

@article{arxiv.2306.14534,
  title  = {CEIL: Generalized Contextual Imitation Learning},
  author = {Jinxin Liu and Li He and Yachen Kang and Zifeng Zhuang and Donglin Wang and Huazhe Xu},
  journal= {arXiv preprint arXiv:2306.14534},
  year   = {2023}
}

Comments

NeurIPS 2023

R2 v1 2026-06-28T11:14:17.851Z