Reward Design with Language Models

Minae Kwon, Sang Michael Xie, Kalesha Bullard, Dorsa Sadigh
2/12/2026

No official code found. Best implementation: minaek/reward_design_with_llms (223 stars, last commit 2023-06-06).

Abstract

Reward design in reinforcement learning (RL) is challenging since specifying human notions of desired behavior may be difficult via reward functions or require many expert demonstrations. Can we instead cheaply design rewards using a natural language interface? This paper explores how to simplify reward design by prompting a large language model (LLM) such as GPT-3 as a proxy reward function, where the user provides a textual prompt containing a few examples (few-shot) or a description (zero-shot) of the desired behavior. Our approach leverages this proxy reward function in an RL framework. Specifically, users specify a prompt once at the beginning of training. During training, the LLM evaluates an RL agent's behavior against the desired behavior described by the prompt and outputs a corresponding reward signal. The RL agent then uses this reward to update its behavior. We evaluate whether our approach can train agents aligned with user objectives in the Ultimatum Game, matrix games, and the DealOrNoDeal negotiation task. In all three tasks, we show that RL agents trained with our framework are well-aligned with the user's objectives and outperform RL agents trained with reward functions learned via supervised learning

View on arXivView PDF

Code Implementations(1)

22321Python, Jupyter NotebookJan 23, 20233 years ago

Similar Papers

Cite this paper

@article{kwon2026reward,
  title  = {Reward Design with Language Models},
  author = {Minae Kwon and Sang Michael Xie and Kalesha Bullard and Dorsa Sadigh},
  year   = {2026},
  eprint = {2303.00001},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.00001},
  journal = {ICLR 2023 2023}
}

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

Discussion