Preference Transformer: Modeling Human Preferences using Transformers for RL

Changyeon Kim, Jongjin Park, Jinwoo Shin, Honglak Lee, P. Abbeel +1 more
2/12/2026

No official code found. Best implementation: csmile-1006/PreferenceTransformer (168 stars, MIT, last commit 2023-10-15).

Abstract

Preference-based reinforcement learning (RL) provides a framework to train agents using human preferences between two behaviors. However, preference-based RL has been challenging to scale since it requires a large amount of human feedback to learn a reward function aligned with human intent. In this paper, we present Preference Transformer, a neural architecture that models human preferences using transformers. Unlike prior approaches assuming human judgment is based on the Markovian rewards which contribute to the decision equally, we introduce a new preference model based on the weighted sum of non-Markovian rewards. We then design the proposed preference model using a transformer architecture that stacks causal and bidirectional self-attention layers. We demonstrate that Preference Transformer can solve a variety of control tasks using real human preferences, while prior approaches fail to work. We also show that Preference Transformer can induce a well-specified reward and attend to critical events in the trajectory by automatically capturing the temporal dependencies in human decision-making. Code is available on the project website: https://sites.google.com/view/preference-transformer.

View on arXivView PDF

Code Implementations(1)

MIT

Preference Transformer: Modeling Human Preferences using Transformers for RL (ICLR2023 Accepted)

16819CSS, HTMLSep 29, 20223 years agoMIT
rlrlhfrobotics

Similar Papers

Cite this paper

@article{kim2026preference,
  title  = {Preference Transformer: Modeling Human Preferences using Transformers for RL},
  author = {Changyeon Kim and Jongjin Park and Jinwoo Shin and Honglak Lee and P. Abbeel and Kimin Lee},
  year   = {2026},
  eprint = {2303.00957},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.00957},
  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.00957.svg)](https://codeofpaper.com/paper/2303.00957)

Discussion