Zero-Shot Reinforcement Learning via Function Encoders

Tyler Ingebrand, Amy Zhang, Ufuk Topcu
1/30/2024
cs.LGcs.AI

No official code found. Best implementation: tyler-ingebrand/FunctionEncoderRL (9 stars, last commit 2025-03-20).

Abstract

Although reinforcement learning (RL) can solve many challenging sequential decision making problems, achieving zero-shot transfer across related tasks remains a challenge. The difficulty lies in finding a good representation for the current task so that the agent understands how it relates to previously seen tasks. To achieve zero-shot transfer, we introduce the function encoder, a representation learning algorithm which represents a function as a weighted combination of learned, non-linear basis functions. By using a function encoder to represent the reward function or the transition function, the agent has information on how the current task relates to previously seen tasks via a coherent vector representation. Thus, the agent is able to achieve transfer between related tasks at run time with no additional training. We demonstrate state-of-the-art data efficiency, asymptotic performance, and training stability in three RL fields by augmenting basic RL algorithms with a function encoder task representation.

View on arXivView PDF

Code Implementations(1)

This repo is the official source code for the paper "Zero-Shot Reinforcement Learning via Function Encoders", ICML 2024

90Shell, PythonMay 7, 20241 years ago

Similar Papers

Cite this paper

@article{ingebrand2024zeroshot,
  title  = {Zero-Shot Reinforcement Learning via Function Encoders},
  author = {Tyler Ingebrand and Amy Zhang and Ufuk Topcu},
  year   = {2024},
  eprint = {2401.17173},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.17173v3},
  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/2401.17173.svg)](https://codeofpaper.com/paper/2401.17173)

Discussion