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.
Cite
Text
Benechehab et al. "Zero-Shot Model-Based Reinforcement Learning Using Large Language Models." International Conference on Learning Representations, 2025.Markdown
[Benechehab et al. "Zero-Shot Model-Based Reinforcement Learning Using Large Language Models." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/benechehab2025iclr-zeroshot/)BibTeX
@inproceedings{benechehab2025iclr-zeroshot,
title = {{Zero-Shot Model-Based Reinforcement Learning Using Large Language Models}},
author = {Benechehab, Abdelhakim and El Hili, Youssef Attia and Odonnat, Ambroise and Zekri, Oussama and Thomas, Albert and Paolo, Giuseppe and Filippone, Maurizio and Redko, Ievgen and Kégl, Balázs},
booktitle = {International Conference on Learning Representations},
year = {2025},
url = {https://mlanthology.org/iclr/2025/benechehab2025iclr-zeroshot/}
}