Enabling Intelligent Interactions between an Agent and an LLM: A Reinforcement Learning Approach
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Large language models (LLMs) encode a vast amount of world knowledge acquired from massive text datasets. Recent studies have demonstrated that LLMs can assist an embodied agent in solving complex sequential decision making tasks by providing high-level instructions. However, interactions with LLMs can be time-consuming. In many practical scenarios, it requires a significant amount of storage space that can only be deployed on remote cloud servers. Additionally, using commercial LLMs can be costly since they may charge based on usage frequency. In this paper, we explore how to enable intelligent cost-effective interactions between a down stream task oriented agent and an LLM. We find that this problem can be naturally formulated by a Markov decision process (MDP), and propose When2Ask, a reinforcement learning based approach that learns when it is necessary to query LLMs for high-level instructions to accomplish a target task. On one side, When2Ask discourages unnecessary redundant interactions, while on the other side, it enables the agent to identify and follow useful instructions from the LLM. This enables the agent to halt an ongoing plan and transition to a more suitable one based on new environmental observations. Experiments on MiniGrid and Habitat environments that entail planning sub-goals demonstrate that When2Ask learns to solve target tasks with only a few necessary interactions with the LLM, significantly reducing interaction costs in testing environments compared with baseline methods. Our code is available at: https://github.com/ZJLAB-AMMI/LLM4RL.
Key facts. Cited by 28 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 19 of its 31 references that are in the map. First posted on arXiv 6 Jun 2023.
Builds on
19 of 31 references.
Closest ancestors · 1
Same direction, newest first
Other references · 18
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023A Survey of Large Language Modelscited by 2,537
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2021Habitat 2.0: Training Home Assistants to Rearrange their Habitatcited by 501
- 2022VIMA: General Robot Manipulation with Multimodal Promptscited by 403
- 2023Describe, Explain, Plan and Select: Interactive Planning with Large Language Models Enables Open-World Multi-Task Agentscited by 396
6 more
- 2017Embodied Question Answeringcited by 335
- 2018BabyAI: A Platform to Study the Sample Efficiency of Grounded Language Learningcited by 238
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
- 2023Collaborating with language models for embodied reasoningcited by 61
- 2022Retrospectives on the Embodied AI Workshopcited by 46
- 2023Towards Commonsense Knowledge based Fuzzy Systems for Supporting Size-Related Fine-Grained Object Detectioncited by 1
Built on by
Citing papers per year: 2023: 6; 2024: 9; 2025: 11; 2026: 2.
28 papers.
Sort:
By area:
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospectscited by 130
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 96
- 2023Large Language Model as a Policy Teacher for Training Reinforcement Learning Agentscited by 30
- 2024LLM-Empowered State Representation for Reinforcement Learningcited by 28
- 2024Multi-Agent Large Language Models for Conversational Task-Solvingcited by 24
- 2024Depending on yourself when you should: Mentoring LLM with RL agents to become the master in cybersecurity gamescited by 20
- 2025Large language models for artificial general intelligence (AGI): A survey of foundational principles and approachescited by 18
- 2025Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agentscited by 18
16 more
- 2025The Evolving Landscape of LLM- and VLM-Integrated Reinforcement Learningcited by 10
- 2024A Survey On Enhancing Reinforcement Learning in Complex Environments: Insights from Human and LLM Feedbackcited by 9
- 2025Reasoning through Exploration: A Reinforcement Learning Framework for Robust Function Callingcited by 7
- 2023Building Open-Ended Embodied Agent via Language-Policy Bidirectional Adaptationcited by 6
- 2024Multi-granularity Knowledge Transfer for Continual Reinforcement Learningcited by 6
- 2024Improving Sample Efficiency of Reinforcement Learning with Background Knowledge from Large Language Modelscited by 4
- 2025Agentic AI for autonomous anomaly management in complex systemscited by 4
- 2025Sample Efficient Reinforcement Learning via Large Vision Language Model Distillationcited by 3
- 2024SEAL: SEmantic-Augmented Imitation Learning via Language Modelcited by 1
- 2023ClausewitzGPT Framework: A New Frontier in Theoretical Large Language Model Enhanced Information Operationscited by 0
- 2025Application of LLMs to Multi-Robot Path Planning and Task Allocationcited by 0
- 2025Exploring the Link Between Bayesian Inference and Embodied Intelligence: Toward Open Physical-World Embodied AI Systemscited by 0
- 2025Goal-Guided Efficient Exploration via Large Language Model in Reinforcement Learningcited by 0
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generationcited by 0
- 2026Learning Chain Of Thoughts Prompts for Predicting Entities, Relations, and even Literals on Knowledge Graphscited by 0
- 2026No One Architecture Fits All: A Cross-Environment Evaluation of Hierarchical Red Team Agentscited by 0
- 2026No One Architecture Fits All: A Cross-Environment Evaluation of Hierarchical Red Team Agents30 Sep 2026
- 2026Learning Chain Of Thoughts Prompts for Predicting Entities, Relations, and even Literals on Knowledge Graphs14 Apr 2026
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generation12 Dec 2025
- 2025Goal-Guided Efficient Exploration via Large Language Model in Reinforcement Learning26 Sep 2025
- 2025Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agents3 Sep 2025
- 2025Reasoning through Exploration: A Reinforcement Learning Framework for Robust Function Calling7 Aug 2025
- 2025Exploring the Link Between Bayesian Inference and Embodied Intelligence: Toward Open Physical-World Embodied AI Systems29 Jul 2025
- 2025Agentic AI for autonomous anomaly management in complex systems21 Jul 2025
- 2025Application of LLMs to Multi-Robot Path Planning and Task Allocation9 Jul 2025
- 2025Sample Efficient Reinforcement Learning via Large Vision Language Model Distillation16 May 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2025The Evolving Landscape of LLM- and VLM-Integrated Reinforcement Learning21 Feb 2025
16 more
- 2025Large language models for artificial general intelligence (AGI): A survey of foundational principles and approaches6 Jan 2025
- 2024A Survey On Enhancing Reinforcement Learning in Complex Environments: Insights from Human and LLM Feedback20 Nov 2024
- 2024Multi-Agent Large Language Models for Conversational Task-Solving30 Oct 2024
- 2024SEAL: SEmantic-Augmented Imitation Learning via Language Model3 Oct 2024
- 2024LLM-Empowered State Representation for Reinforcement Learning18 Jul 2024
- 2024Improving Sample Efficiency of Reinforcement Learning with Background Knowledge from Large Language Models4 Jul 2024
- 2024A Review of Large Language Models and Autonomous Agents in Chemistry26 Jun 2024
- 2024Depending on yourself when you should: Mentoring LLM with RL agents to become the master in cybersecurity games26 Mar 2024
- 2024Multi-granularity Knowledge Transfer for Continual Reinforcement Learning25 Jan 2024
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects7 Jan 2024
- 2023Building Open-Ended Embodied Agent via Language-Policy Bidirectional Adaptation12 Dec 2023
- 2023Large Language Model as a Policy Teacher for Training Reinforcement Learning Agents22 Nov 2023
- 2023ClausewitzGPT Framework: A New Frontier in Theoretical Large Language Model Enhanced Information Operations11 Oct 2023
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines5 Oct 2023
- 2023The Rise and Potential of Large Language Model Based Agents: A Survey14 Sep 2023
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug 2023
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospectscited by 130
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 96
- 2023Large Language Model as a Policy Teacher for Training Reinforcement Learning Agentscited by 30
- 2024Multi-Agent Large Language Models for Conversational Task-Solvingcited by 24
- 2024Depending on yourself when you should: Mentoring LLM with RL agents to become the master in cybersecurity gamescited by 20
- 2023Building Open-Ended Embodied Agent via Language-Policy Bidirectional Adaptationcited by 6
- 2025Agentic AI for autonomous anomaly management in complex systemscited by 4
- 2026No One Architecture Fits All: A Cross-Environment Evaluation of Hierarchical Red Team Agentscited by 0
- 2026No One Architecture Fits All: A Cross-Environment Evaluation of Hierarchical Red Team Agents30 Sep 2026
- 2025Agentic AI for autonomous anomaly management in complex systems21 Jul 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2024Multi-Agent Large Language Models for Conversational Task-Solving30 Oct 2024
- 2024A Review of Large Language Models and Autonomous Agents in Chemistry26 Jun 2024
- 2024Depending on yourself when you should: Mentoring LLM with RL agents to become the master in cybersecurity games26 Mar 2024
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects7 Jan 2024
- 2023Building Open-Ended Embodied Agent via Language-Policy Bidirectional Adaptation12 Dec 2023
- 2023Large Language Model as a Policy Teacher for Training Reinforcement Learning Agents22 Nov 2023
- 2023The Rise and Potential of Large Language Model Based Agents: A Survey14 Sep 2023
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug 2023
- 2025Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agentscited by 18
- 2025Reasoning through Exploration: A Reinforcement Learning Framework for Robust Function Callingcited by 7
- 2026Learning Chain Of Thoughts Prompts for Predicting Entities, Relations, and even Literals on Knowledge Graphscited by 0
- 2026Learning Chain Of Thoughts Prompts for Predicting Entities, Relations, and even Literals on Knowledge Graphs14 Apr 2026
- 2025Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agents3 Sep 2025
- 2025Reasoning through Exploration: A Reinforcement Learning Framework for Robust Function Calling7 Aug 2025
- 2024LLM-Empowered State Representation for Reinforcement Learningcited by 28
- 2025The Evolving Landscape of LLM- and VLM-Integrated Reinforcement Learningcited by 10
- 2024A Survey On Enhancing Reinforcement Learning in Complex Environments: Insights from Human and LLM Feedbackcited by 9
- 2024Multi-granularity Knowledge Transfer for Continual Reinforcement Learningcited by 6
- 2024Improving Sample Efficiency of Reinforcement Learning with Background Knowledge from Large Language Modelscited by 4
- 2023ClausewitzGPT Framework: A New Frontier in Theoretical Large Language Model Enhanced Information Operationscited by 0
- 2025Application of LLMs to Multi-Robot Path Planning and Task Allocationcited by 0
- 2025Exploring the Link Between Bayesian Inference and Embodied Intelligence: Toward Open Physical-World Embodied AI Systemscited by 0
- 2025Goal-Guided Efficient Exploration via Large Language Model in Reinforcement Learningcited by 0
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generationcited by 0
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generation12 Dec 2025
- 2025Goal-Guided Efficient Exploration via Large Language Model in Reinforcement Learning26 Sep 2025
- 2025Exploring the Link Between Bayesian Inference and Embodied Intelligence: Toward Open Physical-World Embodied AI Systems29 Jul 2025
- 2025Application of LLMs to Multi-Robot Path Planning and Task Allocation9 Jul 2025
- 2025The Evolving Landscape of LLM- and VLM-Integrated Reinforcement Learning21 Feb 2025
- 2024A Survey On Enhancing Reinforcement Learning in Complex Environments: Insights from Human and LLM Feedback20 Nov 2024
- 2024LLM-Empowered State Representation for Reinforcement Learning18 Jul 2024
- 2024Improving Sample Efficiency of Reinforcement Learning with Background Knowledge from Large Language Models4 Jul 2024
- 2024Multi-granularity Knowledge Transfer for Continual Reinforcement Learning25 Jan 2024
- 2023ClausewitzGPT Framework: A New Frontier in Theoretical Large Language Model Enhanced Information Operations11 Oct 2023
Similar, not cited
Close in wording, no citation either way
- 2025Agent-as-Tool: A Study on the Hierarchical Decision Making with Reinforcement Learning
- 2024True Knowledge Comes from Practice: Aligning LLMs with Embodied Environments via Reinforcement Learning
- 2024From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems
- 2024Enhancing Decision-Making for LLM Agents via Step-Level Q-Value Models
- 2025Controlling Performance and Budget of a Centralized Multi-agent LLM System with Reinforcement Learning
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challenges
- 2024Towards Efficient LLM Grounding for Embodied Multi-Agent Collaboration
- 2025A Survey on the Optimization of Large Language Model-based Agents