English

Pre-Trained Image Encoder for Generalizable Visual Reinforcement Learning

Machine Learning 2022-12-20 v1

Abstract

Learning generalizable policies that can adapt to unseen environments remains challenging in visual Reinforcement Learning (RL). Existing approaches try to acquire a robust representation via diversifying the appearances of in-domain observations for better generalization. Limited by the specific observations of the environment, these methods ignore the possibility of exploring diverse real-world image datasets. In this paper, we investigate how a visual RL agent would benefit from the off-the-shelf visual representations. Surprisingly, we find that the early layers in an ImageNet pre-trained ResNet model could provide rather generalizable representations for visual RL. Hence, we propose Pre-trained Image Encoder for Generalizable visual reinforcement learning (PIE-G), a simple yet effective framework that can generalize to the unseen visual scenarios in a zero-shot manner. Extensive experiments are conducted on DMControl Generalization Benchmark, DMControl Manipulation Tasks, Drawer World, and CARLA to verify the effectiveness of PIE-G. Empirical evidence suggests PIE-G improves sample efficiency and significantly outperforms previous state-of-the-art methods in terms of generalization performance. In particular, PIE-G boasts a 55% generalization performance gain on average in the challenging video background setting. Project Page: https://sites.google.com/view/pie-g/home.

Keywords

Cite

@article{arxiv.2212.08860,
  title  = {Pre-Trained Image Encoder for Generalizable Visual Reinforcement Learning},
  author = {Zhecheng Yuan and Zhengrong Xue and Bo Yuan and Xueqian Wang and Yi Wu and Yang Gao and Huazhe Xu},
  journal= {arXiv preprint arXiv:2212.08860},
  year   = {2022}
}
R2 v1 2026-06-28T07:40:09.833Z