On a Connection Between Imitation Learning and RLHF

Teng Xiao, Yige Yuan, Mingxiao Li, Zhengyu Chen, V.G. Honavar
2/12/2026

No official code found. Best implementation: tengxiao1/DIL (14 stars, last commit 2025-04-22).

Abstract

This work studies the alignment of large language models with preference data from an imitation learning perspective. We establish a close theoretical connection between reinforcement learning from human feedback RLHF and imitation learning (IL), revealing that RLHF implicitly performs imitation learning on the preference data distribution. Building on this connection, we propose DIL, a principled framework that directly optimizes the imitation learning objective. DIL provides a unified imitation learning perspective on alignment, encompassing existing alignment algorithms as special cases while naturally introducing new variants. By bridging IL and RLHF, DIL offers new insights into alignment with RLHF. Extensive experiments demonstrate that DIL outperforms existing methods on various challenging benchmarks.

View on arXivView PDF

Code Implementations(1)

tengxiao1/DILCommunity100%

On a Connection Between Imitation Learning and RLHF (ICLR 2025)

140Shell, PythonFeb 28, 20251 years ago

Similar Papers

Cite this paper

@article{xiao2026connection,
  title  = {On a Connection Between Imitation Learning and RLHF},
  author = {Teng Xiao and Yige Yuan and Mingxiao Li and Zhengyu Chen and V.G. Honavar},
  year   = {2026},
  eprint = {2503.05079},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.05079},
  journal = {ICLR 2025 2025}
}

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

Discussion