QT-TDM: planning with transformer dynamics model and autoregressive Q-learning
QT-TDM: planning with transformer dynamics model and autoregressive Q-learning
Inspired by the success of the Transformer architecture in natural language processing and computer vision, we investigate the use of Transformers in Reinforcement Learning (RL), specifically in modeling the environment's dynamics using Transformer Dynamics Models (TDMs). We evaluate the capabilities of TDMs for continuous control in real-time planning scenarios with Model Predictive Control (MPC). While Transformers excel in long-horizon prediction, their tokenization mechanism and autoregressive nature lead to costly planning over long horizons, especially as the environment's dimensionality increases. To alleviate this issue, we use a TDM for short-term planning, and learn an autoregressive discrete Q-function using a separate Q-Transformer (QT) model to estimate a long-term return beyond the short-horizon planning. Our proposed method, QT-TDM, integrates the robust predictive capabilities of Transformers as dynamics models with the efficacy of a model-free Q-Transformer to mitigate the computational burden associated with real-time planning. Experiments in diverse state-based continuous control tasks show that QT-TDM is superior in performance and sample efficiency compared to existing Transformer-based RL models while achieving fast and computationally efficient inference.
Kotb, Mostafa
8b832bc0-91bf-46ed-b15d-aa69445431da
Weber, Cornelius
4e097e6c-840c-460a-8572-e8759f137e43
Hafez, Muhammad Burhan
e8c991ab-d800-46f2-abeb-cb169a1ed47e
Wermter, Stefan
80682cc6-4251-420a-af8a-f4d616fb0fcc
Kotb, Mostafa
8b832bc0-91bf-46ed-b15d-aa69445431da
Weber, Cornelius
4e097e6c-840c-460a-8572-e8759f137e43
Hafez, Muhammad Burhan
e8c991ab-d800-46f2-abeb-cb169a1ed47e
Wermter, Stefan
80682cc6-4251-420a-af8a-f4d616fb0fcc
Kotb, Mostafa, Weber, Cornelius, Hafez, Muhammad Burhan and Wermter, Stefan
(2024)
QT-TDM: planning with transformer dynamics model and autoregressive Q-learning.
IEEE Robotics and Automation Letters, 10 (1).
(doi:10.1109/LRA.2024.3504341).
Abstract
Inspired by the success of the Transformer architecture in natural language processing and computer vision, we investigate the use of Transformers in Reinforcement Learning (RL), specifically in modeling the environment's dynamics using Transformer Dynamics Models (TDMs). We evaluate the capabilities of TDMs for continuous control in real-time planning scenarios with Model Predictive Control (MPC). While Transformers excel in long-horizon prediction, their tokenization mechanism and autoregressive nature lead to costly planning over long horizons, especially as the environment's dimensionality increases. To alleviate this issue, we use a TDM for short-term planning, and learn an autoregressive discrete Q-function using a separate Q-Transformer (QT) model to estimate a long-term return beyond the short-horizon planning. Our proposed method, QT-TDM, integrates the robust predictive capabilities of Transformers as dynamics models with the efficacy of a model-free Q-Transformer to mitigate the computational burden associated with real-time planning. Experiments in diverse state-based continuous control tasks show that QT-TDM is superior in performance and sample efficiency compared to existing Transformer-based RL models while achieving fast and computationally efficient inference.
Text
QT_TDM_FINAL2-5
- Accepted Manuscript
Text
QT-TDM_Planning_With_Transformer_Dynamics_Model_and_Autoregressive_Q-Learning
- Version of Record
More information
Accepted/In Press date: 4 November 2024
e-pub ahead of print date: 21 November 2024
Identifiers
Local EPrints ID: 496195
URI: http://eprints.soton.ac.uk/id/eprint/496195
ISSN: 2377-3766
PURE UUID: 1e197f12-8e4d-4ba5-9f9e-849c85637943
Catalogue record
Date deposited: 06 Dec 2024 17:37
Last modified: 07 Dec 2024 03:13
Export record
Altmetrics
Contributors
Author:
Mostafa Kotb
Author:
Cornelius Weber
Author:
Muhammad Burhan Hafez
Author:
Stefan Wermter
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics