mlsanityData to 7 Oct 2026

Knowledgeable Agents by Offline Reinforcement Learning from Large Language Model Rollouts

arXiv 2404.09248 ↗First posted 14 Apr 2024cs.LG cs.AI cs.CLcited by 6

On the map: LLM agents and tool use → Reinforcement learning for LLM agents

also in 1 more
Abstract (arXiv)

Reinforcement learning (RL) trains agents to accomplish complex tasks through environmental interaction data, but its capacity is also limited by the scope of the available data. To obtain a knowledgeable agent, a promising approach is to leverage the knowledge from large language models (LLMs). Despite previous studies combining LLMs with RL, seamless integration of the two components remains challenging due to their semantic gap. This paper introduces a novel method, Knowledgeable Agents from Language Model Rollouts (KALM), which extracts knowledge from LLMs in the form of imaginary rollouts that can be easily learned by the agent through offline reinforcement learning methods. The primary challenge of KALM lies in LLM grounding, as LLMs are inherently limited to textual data, whereas environmental data often comprise numerical vectors unseen to LLMs. To address this, KALM fine-tunes the LLM to perform various tasks based on environmental data, including bidirectional translation between natural language descriptions of skills and their corresponding rollout data. This grounding process enhances the LLM's comprehension of environmental dynamics, enabling it to generate diverse and meaningful imaginary rollouts that reflect novel skills. Initial empirical evaluations on the CLEVR-Robot environment demonstrate that KALM enables agents to complete complex rephrasings of task goals and extend their capabilities to novel tasks requiring unprecedented optimal behaviors. KALM achieves a success rate of 46% in executing tasks with unseen goals, substantially surpassing the 26% success rate achieved by baseline methods. Furthermore, KALM effectively enables the LLM to comprehend environmental dynamics, resulting in the generation of meaningful imaginary rollouts that reflect novel skills and demonstrate the seamless integration of large language models and reinforcement learning.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 49 references that are in the map. First posted on arXiv 14 Apr 2024.

Builds on

29 of 49 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
  8. 2019Language Models as Knowledge Bases?cited by 1,922
  9. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  10. 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
  11. 2021Offline Reinforcement Learning with Implicit Q-Learningcited by 1,245
  12. 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,227
17 more
  1. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  2. 2023Kosmos-2: Grounding Multimodal Large Language Models to the Worldcited by 1,075
  3. 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
  4. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  5. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  6. 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 542
  7. 2022Improving alignment of dialogue agents via targeted human judgementscited by 527
  8. 2023Reward Design with Language Modelscited by 257
  9. 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
  10. 2019Language as an Abstraction for Hierarchical Deep Reinforcement Learningcited by 138
  11. 2021Uncertainty Weighted Actor-Critic for Offline Reinforcement Learningcited by 125
  12. 2023The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Developmentcited by 95
  13. 2023Large Language Models as Generalizable Policies for Embodied Taskscited by 86
  14. 2023Language Model Self-improvement by Reinforcement Learning Contemplationcited by 75
  15. 2023Improving Large Language Model Fine-tuning for Solving Math Problemscited by 48
  16. 2024True Knowledge Comes from Practice: Aligning LLMs with Embodied Environments via Reinforcement Learningcited by 36
  17. 2024Empowering Language Models with Active Inquiry for Deeper Understandingcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Mental Modeling of Reinforcement Learning Agents by Language Models
  2. 2025VLM Q-Learning: Aligning Vision-Language Models for Interactive Decision-Making
  3. 2023Large Language Model as a Policy Teacher for Training Reinforcement Learning Agents
  4. 2024Offline Training of Language Model Agents with Functions as Learnable Weights
  5. 2025Planning without Search: Refining Frontier LLMs with Offline Goal-Conditioned RL
  6. 2023Enabling Intelligent Interactions between an Agent and an LLM: A Reinforcement Learning Approach
  7. 2024Distilling LLMs' Decomposition Abilities into Compact Language Models
  8. 2025A Comedy of Estimators: On KL Regularization in RL Training of LLMs