REvolve: Reward Evolution with Large Language Models using Human Feedback

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Hazra, Rishi, Sygkounas, Alkis, Persson, Andreas, Loutfi, Amy, Martires, Pedro Zuidberg Dos
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913853588111360
author Hazra, Rishi
Sygkounas, Alkis
Persson, Andreas
Loutfi, Amy
Martires, Pedro Zuidberg Dos
author_facet Hazra, Rishi
Sygkounas, Alkis
Persson, Andreas
Loutfi, Amy
Martires, Pedro Zuidberg Dos
contents Designing effective reward functions is crucial to training reinforcement learning (RL) algorithms. However, this design is non-trivial, even for domain experts, due to the subjective nature of certain tasks that are hard to quantify explicitly. In recent works, large language models (LLMs) have been used for reward generation from natural language task descriptions, leveraging their extensive instruction tuning and commonsense understanding of human behavior. In this work, we hypothesize that LLMs, guided by human feedback, can be used to formulate reward functions that reflect human implicit knowledge. We study this in three challenging settings -- autonomous driving, humanoid locomotion, and dexterous manipulation -- wherein notions of ``good" behavior are tacit and hard to quantify. To this end, we introduce REvolve, a truly evolutionary framework that uses LLMs for reward design in RL. REvolve generates and refines reward functions by utilizing human feedback to guide the evolution process, effectively translating implicit human knowledge into explicit reward functions for training (deep) RL agents. Experimentally, we demonstrate that agents trained on REvolve-designed rewards outperform other state-of-the-art baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2406_01309
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle REvolve: Reward Evolution with Large Language Models using Human Feedback
Hazra, Rishi
Sygkounas, Alkis
Persson, Andreas
Loutfi, Amy
Martires, Pedro Zuidberg Dos
Neural and Evolutionary Computing
Artificial Intelligence
Designing effective reward functions is crucial to training reinforcement learning (RL) algorithms. However, this design is non-trivial, even for domain experts, due to the subjective nature of certain tasks that are hard to quantify explicitly. In recent works, large language models (LLMs) have been used for reward generation from natural language task descriptions, leveraging their extensive instruction tuning and commonsense understanding of human behavior. In this work, we hypothesize that LLMs, guided by human feedback, can be used to formulate reward functions that reflect human implicit knowledge. We study this in three challenging settings -- autonomous driving, humanoid locomotion, and dexterous manipulation -- wherein notions of ``good" behavior are tacit and hard to quantify. To this end, we introduce REvolve, a truly evolutionary framework that uses LLMs for reward design in RL. REvolve generates and refines reward functions by utilizing human feedback to guide the evolution process, effectively translating implicit human knowledge into explicit reward functions for training (deep) RL agents. Experimentally, we demonstrate that agents trained on REvolve-designed rewards outperform other state-of-the-art baselines.
title REvolve: Reward Evolution with Large Language Models using Human Feedback
topic Neural and Evolutionary Computing
Artificial Intelligence
url https://arxiv.org/abs/2406.01309