Language Reward Modulation for Pretraining Reinforcement Learning

Ademi Adeniji, Amber Xie, Carmelo Sferrazza, Younggyo Seo, Stephen James +1 more
8/23/2023
cs.LGcs.AI

No official code found. Best implementation: ademiadeniji/lamp (47 stars, MIT, last commit 2024-01-29).

Abstract

Using learned reward functions (LRFs) as a means to solve sparse-reward reinforcement learning (RL) tasks has yielded some steady progress in task-complexity through the years. In this work, we question whether today's LRFs are best-suited as a direct replacement for task rewards. Instead, we propose leveraging the capabilities of LRFs as a pretraining signal for RL. Concretely, we propose $\textbf{LA}$nguage Reward $\textbf{M}$odulated $\textbf{P}$retraining (LAMP) which leverages the zero-shot capabilities of Vision-Language Models (VLMs) as a $\textit{pretraining}$ utility for RL as opposed to a downstream task reward. LAMP uses a frozen, pretrained VLM to scalably generate noisy, albeit shaped exploration rewards by computing the contrastive alignment between a highly diverse collection of language instructions and the image observations of an agent in its pretraining environment. LAMP optimizes these rewards in conjunction with standard novelty-seeking exploration rewards with reinforcement learning to acquire a language-conditioned, pretrained policy. Our VLM pretraining approach, which is a departure from previous attempts to use LRFs, can warmstart sample-efficient learning on robot manipulation tasks in RLBench.

View on arXivView PDF

Code Implementations(1)

ademiadeniji/lampCommunity100%
MIT
471PythonAug 22, 20232 years agoMIT

Similar Papers

Cite this paper

@article{adeniji2023language,
  title  = {Language Reward Modulation for Pretraining Reinforcement Learning},
  author = {Ademi Adeniji and Amber Xie and Carmelo Sferrazza and Younggyo Seo and Stephen James and Pieter Abbeel},
  year   = {2023},
  eprint = {2308.12270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.12270v1}
}

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

Discussion