Unsupervised Zero-Shot Reinforcement Learning via Functional Reward Encodings

Kevin Frans, Seohong Park, Pieter Abbeel, Sergey Levine
2/1/2024

No official code found. Best implementation: kvfrans/fre (57 stars, last commit 2024-03-26).

Abstract

Can we pre-train a generalist agent from a large amount of unlabeled offline trajectories such that it can be immediately adapted to any new downstream tasks in a zero-shot manner? In this work, we present a functional reward encoding (FRE) as a general, scalable solution to this zero-shot RL problem. Our main idea is to learn functional representations of any arbitrary tasks by encoding their state-reward samples using a transformer-based variational auto-encoder. This functional encoding not only enables the pre-training of an agent from a wide diversity of general unsupervised reward functions, but also provides a way to solve any new downstream tasks in a zero-shot manner, given a small number of reward-annotated samples. We empirically show that FRE agents trained on diverse random unsupervised reward functions can generalize to solve novel tasks in a range of simulated robotic benchmarks, often outperforming previous zero-shot RL and offline RL methods. Code for this project is provided at: https://github.com/kvfrans/fre

View on arXivView PDF

Code Implementations(1)

kvfrans/freCommunity100%

Code for "Unsupervised Zero-Shot RL via Functional Reward Representations"

571PythonFeb 26, 20242 years ago

Similar Papers

Cite this paper

@article{frans2024unsupervised,
  title  = {Unsupervised Zero-Shot Reinforcement Learning via Functional Reward Encodings},
  author = {Kevin Frans and Seohong Park and Pieter Abbeel and Sergey Levine},
  year   = {2024},
  eprint = {2402.17135},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.17135},
  journal = {ICML 2024 2024}
}

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

Discussion