Large Language Models for Sequential Decision-Making: Improving In-Context Learning via Supervised Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown remarkable in-context learning (ICL) capabilities, yet their potential for sequential decision-making remains underexplored. In this paper, we study the ICL capabilities of LLMs in sequential decision-making settings, including Markov Decision Processes (MDPs), Partially Observable MDPs (POMDPs), and Ambiguous POMDPs (APOMDPs). We fine-tune pretrained LLMs to perform few-shot decision-making directly from offline, oracle-labeled trajectories. Our framework enables flexible imitation of policies through supervised fine-tuning (SFT). Theoretically, we focus on linear MDPs and interpret a fine-tuned attention layer as implicitly estimating optimal Q-functions from in-context data. Building on this interpretation, we derive an end-to-end suboptimality bound for the induced policy that separates the in-context estimation error from the training-length bias. Empirically, across synthetic MDP, POMDP, and APOMDP settings, we find that fine-tuned LLMs achieve substantially smaller optimality gaps than in-context-only and random baselines, with especially large gains in longer-horizon, partially observed, and model-ambiguous environments. Together, these results show that supervised fine-tuning provides an effective route to endowing pretrained LLMs with sequential decision-making capabilities from offline data, which is an important advantage in domains such as healthcare where offline data are abundant.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 26 of its 32 references that are in the map. First posted on arXiv 9 May 2026.
Builds on
26 of 32 references.
References · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
- 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2021A Minimalist Approach to Offline Reinforcement Learningcited by 882
- 2022A Generalist Agentcited by 802
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
14 more
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 490
- 2016Learning to reinforcement learncited by 369
- 2020Is Pessimism Provably Efficient for Offline RL?cited by 362
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
- 2023Large Language Models as General Pattern Machinescited by 196
- 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 137
- 2024Survey on Large Language Model-Enhanced Reinforcement Learning: Concept, Taxonomy, and Methodscited by 114
- 2024Large Language Models for Time Series: A Surveycited by 113
- 2023Towards Causal Foundation Model: on Duality between Causal Inference and Attentioncited by 17
- 2024Probing the Decision Boundaries of In-context Learning in Large Language Modelscited by 17
- 2024Effective Generative AI: The Human-Algorithm Centaurcited by 8
- 2021Ambiguous Dynamic Treatment Regimes: A Reinforcement Learning Approachcited by 6
Built on by
Citing papers per year: 2026: 1.
1 paper.