Reinformer: Max-Return Sequence Modeling for Offline RL

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhuang, Zifeng, Peng, Dengyun, Liu, Jinxin, Zhang, Ziqi, Wang, Donglin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909214467686400
author Zhuang, Zifeng
Peng, Dengyun
Liu, Jinxin
Zhang, Ziqi
Wang, Donglin
author_facet Zhuang, Zifeng
Peng, Dengyun
Liu, Jinxin
Zhang, Ziqi
Wang, Donglin
contents As a data-driven paradigm, offline reinforcement learning (RL) has been formulated as sequence modeling that conditions on the hindsight information including returns, goal or future trajectory. Although promising, this supervised paradigm overlooks the core objective of RL that maximizes the return. This overlook directly leads to the lack of trajectory stitching capability that affects the sequence model learning from sub-optimal data. In this work, we introduce the concept of max-return sequence modeling which integrates the goal of maximizing returns into existing sequence models. We propose Reinforced Transformer (Reinformer), indicating the sequence model is reinforced by the RL objective. Reinformer additionally incorporates the objective of maximizing returns in the training phase, aiming to predict the maximum future return within the distribution. During inference, this in-distribution maximum return will guide the selection of optimal actions. Empirically, Reinformer is competitive with classical RL methods on the D4RL benchmark and outperforms state-of-the-art sequence model particularly in trajectory stitching ability. Code is public at https://github.com/Dragon-Zhuang/Reinformer.
format Preprint
id arxiv_https___arxiv_org_abs_2405_08740
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reinformer: Max-Return Sequence Modeling for Offline RL
Zhuang, Zifeng
Peng, Dengyun
Liu, Jinxin
Zhang, Ziqi
Wang, Donglin
Machine Learning
As a data-driven paradigm, offline reinforcement learning (RL) has been formulated as sequence modeling that conditions on the hindsight information including returns, goal or future trajectory. Although promising, this supervised paradigm overlooks the core objective of RL that maximizes the return. This overlook directly leads to the lack of trajectory stitching capability that affects the sequence model learning from sub-optimal data. In this work, we introduce the concept of max-return sequence modeling which integrates the goal of maximizing returns into existing sequence models. We propose Reinforced Transformer (Reinformer), indicating the sequence model is reinforced by the RL objective. Reinformer additionally incorporates the objective of maximizing returns in the training phase, aiming to predict the maximum future return within the distribution. During inference, this in-distribution maximum return will guide the selection of optimal actions. Empirically, Reinformer is competitive with classical RL methods on the D4RL benchmark and outperforms state-of-the-art sequence model particularly in trajectory stitching ability. Code is public at https://github.com/Dragon-Zhuang/Reinformer.
title Reinformer: Max-Return Sequence Modeling for Offline RL
topic Machine Learning
url https://arxiv.org/abs/2405.08740