LLM+Reasoning+Planning for Supporting Incomplete User Queries in Presence of APIs
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Recent availability of Large Language Models (LLMs) has led to the development of numerous LLM-based approaches aimed at providing natural language interfaces for various end-user tasks. These end-user tasks in turn can typically be accomplished by orchestrating a given set of APIs. In practice, natural language task requests (user queries) are often incomplete, i.e., they may not contain all the information required by the APIs. While LLMs excel at natural language processing (NLP) tasks, they frequently hallucinate on missing information or struggle with orchestrating the APIs. The key idea behind our proposed approach is to leverage logical reasoning and classical AI planning along with an LLM for accurately answering user queries including identification and gathering of any missing information in these queries. Our approach uses an LLM and ASP (Answer Set Programming) solver to translate a user query to a representation in Planning Domain Definition Language (PDDL) via an intermediate representation in ASP. We introduce a special API "get_info_api" for gathering missing information. We model all the APIs as PDDL actions in a way that supports dataflow between the APIs. Our approach then uses a classical AI planner to generate an orchestration of API calls (including calls to get_info_api) to answer the user query. Our evaluation results show that our approach significantly outperforms a pure LLM based approach by achieving over 95% success rate in most cases on a dataset containing complete and incomplete single goal and multi-goal queries where the multi-goal queries may or may not require dataflow among the APIs.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 7 of its 31 references that are in the map. First posted on arXiv 21 May 2024.
Builds on
7 of 31 references.
Closest ancestors · 1
Same direction, newest first
Other references · 6
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
- 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistencycited by 26
- 2024TIC: Translate-Infer-Compile for accurate "text to plan" using LLMs and Logical Representationscited by 2
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025LLMs as Planning Formalizers: A Survey for Leveraging Large Language Models to Construct Automated Planning Modelscited by 38
- 2025NeSyC: A Neuro-symbolic Continual Learner For Complex Embodied Tasks In Open Domainscited by 15
- 2025NeSyPr: Neurosymbolic Proceduralization For Efficient Embodied Reasoningcited by 5
- 2026Cross-Domain Demo-to-Code via Neurosymbolic Counterfactual Reasoningcited by 0
- 2026Cross-Domain Demo-to-Code via Neurosymbolic Counterfactual Reasoning19 Mar 2026
- 2025NeSyPr: Neurosymbolic Proceduralization For Efficient Embodied Reasoning22 Oct 2025
- 2025LLMs as Planning Formalizers: A Survey for Leveraging Large Language Models to Construct Automated Planning Models22 Mar 2025
- 2025NeSyC: A Neuro-symbolic Continual Learner For Complex Embodied Tasks In Open Domains2 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2026LLMs as ASP Programmers: Self-Correction Enables Task-Agnostic Nonmonotonic Reasoning
- 2025QuestBench: Can LLMs ask the right question to acquire information in reasoning tasks?
- 2025Can LLMs Solve ASP Problems? Insights from a Benchmarking Study (Extended Version)
- 2024Creating an LLM-based AI-agent: A high-level methodology towards enhancing LLMs with APIs
- 2024Improving Small-Scale Large Language Models Function Calling for Reasoning Tasks
- 2024Can LLMs Reason in the Wild with Programs?
- 2024Small LLMs Are Weak Tool Learners: A Multi-LLM Agent
- 2025Reliable Conversational Agents under ASP Control that Understand Natural Language