TOP-ERL: Transformer-based Off-Policy Episodic Reinforcement Learning
Ge Li, Dong Tian, Hongyi Zhou, Xinkai Jiang, Rudolf Lioutikov, Gerhard Neumann
TL;DR
TOP-ERL addresses the sample inefficiency of Episodic Reinforcement Learning by introducing a Transformer-based critic that values action sequences. The method partitions long trajectories, trains the Transformer with N-step targets, and updates a Gaussian MP-parameter policy via SAC-style optimization with trust-region enforcement. Empirical results on challenging robotic tasks and the Meta-World MT50 benchmark show improved sample efficiency and robust performance, with ablations highlighting the importance of random segment lengths, initial-condition enforcement, and stable updates. This work broadens the applicability of ERL to off-policy settings and demonstrates the potential of Transformer architectures for sequence-valued policy evaluation in online RL.
Abstract
This work introduces Transformer-based Off-Policy Episodic Reinforcement Learning (TOP-ERL), a novel algorithm that enables off-policy updates in the ERL framework. In ERL, policies predict entire action trajectories over multiple time steps instead of single actions at every time step. These trajectories are typically parameterized by trajectory generators such as Movement Primitives (MP), allowing for smooth and efficient exploration over long horizons while capturing high-level temporal correlations. However, ERL methods are often constrained to on-policy frameworks due to the difficulty of evaluating state-action values for entire action sequences, limiting their sample efficiency and preventing the use of more efficient off-policy architectures. TOP-ERL addresses this shortcoming by segmenting long action sequences and estimating the state-action values for each segment using a transformer-based critic architecture alongside an n-step return estimation. These contributions result in efficient and stable training that is reflected in the empirical results conducted on sophisticated robot learning environments. TOP-ERL significantly outperforms state-of-the-art RL methods. Thorough ablation studies additionally show the impact of key design choices on the model performance.
