Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
Teaching large language models (LLMs) to use tools is crucial for improving their problem-solving abilities and expanding their applications. However, effectively using tools is challenging because it requires a deep understanding of tool functionalities and user intentions. Previous methods relied mainly on LLMs to generate instruction data, but the quality of these data was often insufficient. In this paper, we propose a new method that uses knowledge graphs to generate high-quality instruction data for LLMs. Knowledge graphs are manually curated datasets rich in semantic information. We begin by extracting various query pathways from a given knowledge graph, which are transformed into a broad spectrum of user queries. We then translate the relationships between entities into actionable tools and parse the pathways of each query into detailed solution steps, thereby creating high-quality instruction data. Our experiments show that fine-tuning on just a small sample of this synthetic data can significantly improve the tool utilization and overall capabilities of LLMs.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 26 of its 35 references that are in the map. First posted on arXiv 26 Jun 2025.
Builds on
26 of 35 references.
Closest ancestors · 5
Same direction, newest first
- 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Use5 Jan
- 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
- 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
Other references · 21
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
- 2023LIMA: Less Is More for Alignmentcited by 1,100
9 more
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 343
- 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 328
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 318
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 289
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 129
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 61
- 2017Knowledge Base Completion: Baselines Strike Backcited by 39
- 2024Learning to Plan for Retrieval-Augmented Large Language Models from Knowledge Graphscited by 24
- 2024Enhancing Logical Reasoning in Large Language Models through Graph-based Synthetic Datacited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024LLM With Tools: A Survey
- 2024Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data
- 2024MAmmoTH2: Scaling Instructions from the Web
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning
- 2024A New Pipeline For Generating Instruction Dataset via RAG and Self Fine-Tuning
- 2025AskToAct: Enhancing LLMs Tool Use via Self-Correcting Clarification
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmap
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graph