ICML 2026poster0 citations

DualCOIL: Offline Imitation Learning from Contrasting Demonstrations

Huy Hoang, Tien Mai, Pradeep Varakantham, Tanvi Verma

Abstract

Offline imitation learning typically learns from expert and unlabeled demonstrations, yet often overlooks the valuable signal in explicitly undesirable behaviors. In this work, we study offline imitation learning from contrasting behaviors, where the dataset contains both expert and undesirable demonstrations along with an unlabeled set of demonstrations. We propose a novel formulation that optimizes a difference of KL divergences over the state-action visitation distributions of expert and undesirable (or bad) data. Although the resulting objective is a DC (Difference-of-Convex) program, we prove that it becomes *convex* when expert demonstrations outweigh undesirable demonstrations, enabling a practical and stable non-adversarial training objective. Our method avoids adversarial training and handles both positive and negative demonstrations in a unified framework. Extensive experiments on standard offline imitation learning benchmarks demonstrate that our approach consistently outperforms state-of-the-art baselines.

RobustnessBenchmark
BibTeX
@inproceedings{
hoang2026dualcoil,
title={Dual{COIL}: Offline Imitation Learning from Contrasting Demonstrations},
author={Huy Hoang and Tien Anh Mai and Pradeep Varakantham and Tanvi Verma},
booktitle={Forty-third International Conference on Machine Learning},
year={2026},
url={https://openreview.net/forum?id=SUyEjfEbHh}
}