Zero-shot Model-based Reinforcement Learning using Large Language Models
Abstract
The emerging zero-shot capabilities of Large Language Models (LLMs) have led to their applications in areas extending well beyond natural language processing tasks. In reinforcement learning, while LLMs have been extensively used in text-based environments, their integration with continuous state spaces remains understudied. In this paper, we investigate how pre-trained LLMs can be leveraged to predict in context the dynamics of continuous Markov decision processes. We identify handling multivariate data and incorporating the control signal as key challenges that limit the potential of LLMs' deployment in this setup and propose Disentangled In-Context Learning (DICL) to address them. We present proof-of-concept applications in two reinforcement learning settings: model-based policy evaluation and data-augmented off-policy reinforcement learning, supported by theoretical analysis of the proposed methods. Our experiments further demonstrate that our approach produces well-calibrated uncertainty estimates. We release the code at https://github.com/abenechehab/dicl.
Community
🚀 We publish a new package DICL (Disentangled In-Context Learning) that leverages LLMs for multivariate time series forecasting.
🖥️ Code & Demo: http://github.com/abenechehab/dicl
📜 The associated preprint "Zero-shot Model-based Reinforcement Learning using Large Language Models" shows an application of DICL to RL.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Masked Generative Priors Improve World Models Sequence Modelling Capabilities (2024)
- Sparse Autoencoders Reveal Temporal Difference Learning in Large Language Models (2024)
- MAD-TD: Model-Augmented Data stabilizes High Update Ratio RL (2024)
- Reward-free World Models for Online Imitation Learning (2024)
- Scaling Offline Model-Based RL via Jointly-Optimized World-Action Model Pretraining (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper