Imitation Learning as Return Distribution Matching

Filippo Lazzati, Alberto Maria Metelli
9/15/2025
cs.LGcs.AI

No official code found. Best implementation: filippolazzati/risk-IL (0 stars, MIT, last commit 2026-02-09).

Abstract

We study the problem of training a risk-sensitive reinforcement learning (RL) agent through imitation learning (IL). Unlike standard IL, our goal is not only to train an agent that matches the expert's expected return (i.e., its average performance) but also its risk attitude (i.e., other features of the return distribution, such as variance). We propose a general formulation of the risk-sensitive IL problem in which the objective is to match the expert's return distribution in Wasserstein distance. We focus on the tabular setting and assume the expert's reward is known. After demonstrating the limited expressivity of Markovian policies for this task, we introduce an efficient and sufficiently expressive subclass of non-Markovian policies tailored to it. Building on this subclass, we develop two provably efficient algorithms, RS-BC and RS-KT, for solving the problem when the transition model is unknown and known, respectively. We show that RS-KT achieves substantially lower sample complexity than RS-BC by exploiting dynamics information. We further demonstrate the sample efficiency of return distribution matching in the setting where the expert's reward is unknown by designing an oracle-based variant of RS-KT. Finally, we complement our theoretical analysis of RS-KT and RS-BC with numerical simulations, highlighting both their sample efficiency and the advantages of non-Markovian policies over standard sample-efficient IL algorithms.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "Imitation Learning as Return Distribution Matching"

00Python, Jupyter NotebookFeb 9, 20268 months agoMIT

Similar Papers

Cite this paper

@article{lazzati2025imitation,
  title  = {Imitation Learning as Return Distribution Matching},
  author = {Filippo Lazzati and Alberto Maria Metelli},
  year   = {2025},
  eprint = {2509.12026},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.12026v1}
}

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/2509.12026.svg)](https://codeofpaper.com/paper/2509.12026)

Discussion