Visual Imitation Learning with Patch Rewards

Minghuan Liu, Tairan He, Weinan Zhang, Shuicheng Yan, Zhongwen Xu
2/12/2026

No official code found. Best implementation: sail-sg/PatchAIL (14 stars, Apache-2.0, last commit 2023-02-15).

Abstract

Visual imitation learning enables reinforcement learning agents to learn to behave from expert visual demonstrations such as videos or image sequences, without explicit, well-defined rewards. Previous research either adopted supervised learning techniques or induce simple and coarse scalar rewards from pixels, neglecting the dense information contained in the image demonstrations. In this work, we propose to measure the expertise of various local regions of image samples, or called \textit{patches}, and recover multi-dimensional \textit{patch rewards} accordingly. Patch reward is a more precise rewarding characterization that serves as a fine-grained expertise measurement and visual explainability tool. Specifically, we present Adversarial Imitation Learning with Patch Rewards (PatchAIL), which employs a patch-based discriminator to measure the expertise of different local parts from given images and provide patch rewards. The patch-based knowledge is also used to regularize the aggregated reward and stabilize the training. We evaluate our method on DeepMind Control Suite and Atari tasks. The experiment results have demonstrated that PatchAIL outperforms baseline methods and provides valuable interpretations for visual demonstrations.

View on arXivView PDF

Code Implementations(1)

sail-sg/PatchAILCommunity100%
Apache-2.0

Implementation of PatchAIL in the ICLR 2023 paper <Visual Imitation with Patch Rewards>

145PythonJan 13, 20233 years agoApache-2.0
imitation-learningreinforcement-learningrobotics

Similar Papers

Cite this paper

@article{liu2026visual,
  title  = {Visual Imitation Learning with Patch Rewards},
  author = {Minghuan Liu and Tairan He and Weinan Zhang and Shuicheng Yan and Zhongwen Xu},
  year   = {2026},
  eprint = {2302.00965},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2302.00965},
  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/2302.00965.svg)](https://codeofpaper.com/paper/2302.00965)

Discussion