REVIEW 3 major objections 6 minor 12 references
Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph
T0 review · 3 major / 6 minor · reviewed 2026-08-06 · deepseek-v4-flash
Pith's one-line read Fine-tuning on 2,000 instruction examples synthesized from a knowledge graph lets a 14-billion-parameter model outscore GPT-4 on the T-Eval tool-use benchmark.
desk verdict A clean, low-cost KG-to-tool-instruction data synthesis method with real potential, but the headline T-Eval gains are suspect because the training format mirrors the eval format; needs cross-benchmark validation. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the first-order-logic query pattern used as an intermediate representation between the knowledge graph and tool-use instances. The paper adopts fourteen patterns (1p, 2p, 3p, 2i, 3i, pi, ip, 2u, up, 2in, 3in, inp, pin, pni) whose letters denote projection, intersection, union, and complement operations; each pattern fixes the shape of a multi-step reasoning problem. Subgraph matching instantiates a pattern with real entities, an LLM translates the instantiated FOL query into natural language using API names as glosses, and a post-order traversal of the matched subgraph yields the exact API execution chain. Because the answer is computed by executing the chain against the knowledge graph, the solution path is verified by construction, which is what lets the pipeline avoid both human quality control and reliance on error-prone LLM-generated step annotations.
What would settle it
Train the same backbone with the same 2,000-sample budget on KG2Tool and evaluate on a tool-use benchmark whose interaction protocol differs from T-Eval, such as one requiring a single final answer or an unconstrained function-call format. If the T-Eval gain collapses while the benchmark-consistent gain remains, the improvement is partly format alignment rather than portable tool-using skill.
Extended reading notes
Core claim
Using first-order-logic (FOL) queries as an intermediary, the paper converts a knowledge graph into a complete tool-use instruction corpus without manual annotation. A query pattern such as $q = v.\exists u: Win(u, TuringAward) \land Filed(u, DeepLearning) \land University(u, v)$ is instantiated by subgraph matching to produce a real multi-hop question, the relations become get-style APIs, and executing the API chain over the knowledge graph produces a correct, checkable solution path. Each path is then rendered as a step-by-step dialogue with tool calls, arguments, and returned results, including deliberately wrong tool responses to create review-type training examples. LoRA fine-tuning on just 2,000 of these examples improves T-Eval scores by 7.0–10.2 points across Qwen2.5, Llama3.1, and GLM4 backbones, with ToolLM-14B at 87.21 surpassing GPT-4, and the resulting models also hold or improve MMLU, BBH, HumanEval, and GSM8K scores. The stated conclusion is that 'fine-tuning on just a small sample of this synthetic data can significantly improve the tool utilization and overall capabilities of LLMs.'
Load-bearing premise
T-Eval gains measure general tool-use competence rather than familiarity with a known interaction format, since KG2Tool's step-by-step dialogue was deliberately built to mirror T-Eval's six sub-task question types.
Editorial extensions
If this is right
- Tool-use performance need not come from model scale: a 14B model fine-tuned on 2,000 KG2Tool samples surpasses GPT-4 and Qwen2.5-72B on T-Eval.
- The gains transfer across backbones, with Llama3.1-8B and GLM4-9B improving by 8.3 and 10.2 points respectively, so the dataset is not tied to one model family.
- A 3B model reaches over 80 on T-Eval after fine-tuning, matching GPT-4o's level and making capable tool use feasible for mobile and edge applications.
- Tool tuning with KG2Tool does not trade away general ability: MMLU, BBH, HumanEval, and GSM8K all hold or improve, with BBH gaining 4.0 points.
- The marginal cost of scaling instruction data drops sharply, because the pipeline generates verified query–solution pairs from an existing KG without human annotation or repeated LLM query synthesis.
Reading between the lines
- The paper does not test transfer to a tool-use benchmark with a very different interaction format; if part of the lift comes from mirroring T-Eval's step-by-step question style, cross-format gains may be smaller than the headline numbers.
- The largest gain on the 7B model is on the review sub-task (+8.6), consistent with the deliberate inclusion of fake tool responses in training; whether such review skill generalizes to more open-ended verification tasks is unexamined.
- Because the 14 FOL patterns are domain-agnostic, the pipeline could be re-run on specialized knowledge graphs to produce domain-specific tool-use data (e.g., medical lookup or financial reasoning), and the 2,000-sample efficiency suggests only a small budget would be needed for a first check.
- A direct head-to-head with competitor instruction datasets, holding model, compute, and sample count fixed, would isolate whether the verified KG provenance or the dialogue formatting is the primary driver of the improvement.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces KG2Tool, a pipeline that converts knowledge-graph subgraphs into tool-use instruction data via first-order logic (FOL) query patterns, API-like relation functions, and LLM translation into natural language queries and stepwise solutions. The authors fine-tune several open-weight models (Qwen2.5-0.5B/1.5B/3B/7B/14B, Llama3.1-8B, GLM4-9B) with LoRA on 2,000 randomly sampled KG2Tool instances and evaluate on T-Eval, reporting large gains over the raw backbones (e.g., ToolLM-14B achieves 87.21 overall, above GPT-4's 86.44). They also report small gains on MMLU, BBH, GSM8K, and HumanEval. The central claim is that a small amount of cheaply synthesized KG-derived data significantly improves LLM tool utilization and general capability.
Significance. If the claim is fully established, the contribution is practically significant: it provides a verifiable, low-cost data source for tool-use SFT that avoids LLM-generated noisy labels, scales with KG size, and is shown to improve several backbones. The idea of grounding tool-use training in path queries over a curated KG is novel and plausible, and the paper's strengths include executing API calls against the KG for ground-truth responses, releasing the data, and showing consistent raw-versus-SFT differences across four backbone families. The main reservation is that the evidence for 'tool utilization' rests entirely on a single benchmark whose stepwise evaluation format closely matches the training data format, so the measured improvement could be partially an artifact of format alignment rather than general tool-use skill.
major comments (3)
- [Section 5.1 / Appendix A.3] The evaluation of tool-use ability is limited to T-Eval, whose six sub-tasks (plan, reason, retrieve, understand, instruct, review) coincide with the question types used to build KG2Tool dialogues in Figure 12: planning questions, 'What is your goal at current step?', 'What is the tool name to call at current step?', argument-value questions, and review questions over fake tool responses. This format overlap means the reported +7.0 to +10.2 point gains may partly reflect the model learning the evaluation's interaction template rather than a general tool-use skill. Please add at least one additional tool-use benchmark with a different protocol (e.g., BFCL, ToolBench, or API-Bank) and/or a same-backbone SFT control on existing tool-use instruction datasets (e.g., ToolAlpaca, ToolACE, ToolLLM) under identical training settings. Without such a control, the abstract's claim that KG2Tool 'can significantly improve the tool utilization ... of LLMs' is not established beyond the T-Eval format.
- [Section 5.2, Table 1] The comparison with ToolAlpaca-7B and ToolACE-8B is not a matched control: those models differ in base architecture, base-model version, and fine-tuning protocol, so their lower scores in Table 1 cannot be attributed to the quality of their instruction data relative to KG2Tool. A direct comparison requires fine-tuning the same base model (e.g., Qwen2.5-7B-Instruct) on equal-size samples from those datasets with the same LoRA hyperparameters, then reporting T-Eval and the additional benchmark.
- [Section 4.2] The data-construction pipeline relies on LLMs for FOL-to-natural-language translation and API-name generation (Figures 6-10); an error in either step would directly degrade the 'high-quality' instruction data that is the paper's central contribution. The manuscript asserts the accuracy of this procedure but reports no validation, filtering, or measure of translation faithfulness. Please provide a human- or LLM-based faithfulness evaluation on a random sample of generated queries against the FOL ground truth, or an automated consistency check (e.g., execute the translated query and verify it recovers the same answers), and report error rates.
minor comments (6)
- [Figure 12 / Table 2 / Figure 2] There are typos, including 'You are a assistant' and 'moive' in Figure 12, 'winned' and 'JurisdicationOfOffice' in Table 2, and 'filed'/'get_researchers_of_filed' in Figure 2; these should be corrected.
- [Section 5.5 / Figure 5] The reported improvements on general benchmarks are small (MMLU +0.4, HumanEval +0.6) and are based on single runs; please report standard deviations or multiple seeds to support the claim of significant general-capability improvement.
- [Section 5.1] The paper states T-Eval is 'the largest available' tool-use benchmark but does not discuss why other widely used benchmarks (e.g., ToolBench, BFCL) were not evaluated; given the format-overlap concern, this choice deserves a justification or additional experiments.
- [Appendix A.2] Only snippets of the conversion prompts are shown, and the full prompts are deferred to a later repository; for reproducibility, include the complete prompts in the appendix or supplementary material.
- [Section 5.1] The exact total size of KG2Tool is not reported; the text mentions 'thousands' per pattern and 1,000 sampled per pattern. Please report the total number of instances and the per-pattern distribution, as well as the size of the final fine-tuning subset (2k) relative to the full dataset.
- [Limitations] The Limitations section addresses KG scale and inference cost but does not mention the potential overlap between the KG2Tool dialogue format and T-Eval's stepwise evaluation; an explicit discussion would help readers calibrate the headlined gains.
Circularity Check
T-Eval gains are partly built into the training data: KG2Tool's step-wise QA pairs mirror T-Eval's sub-task decomposition, and T-Eval is the only tool-use benchmark used.
-
other
[Appendix A.3 (Figures 11-12) and Section 5.1]
"Then, we iterate through each step in every query-solution pair. For each step, we construct question-answer pairs. The questions can be about the goal of the current step or which tool should be called in the current step. We also design planning-type questions for the initial query, requiring the model to break down the problem and provide sub-tasks. Additionally, we replace some real tool responses with fake or incorrect ones and then ask the model to determine whether the tool response solves the problem."
The training data is constructed from exactly the micro-task question types that T-Eval measures: planning-type questions correspond to T-Eval's 'plan' sub-task, goal/tool-name/argument questions correspond to 'understand', 'retrieve', and 'instruct', and review questions over fake tool responses correspond to 'review'. Since T-Eval is the only tool-use benchmark used, the reported +7.0 to +10.2 point improvements are not independent evidence of general tool-use skill; they are partly a direct consequence of training the model to answer the same step-by-step evaluation format. The claim that KG2Tool 'significantly improve[s] the tool utilization' is therefore partially circular: the evaluation protocol is baked into the training data by construction.
-
other
[Section 4.4 and Section 5.1]
"Following (Chen et al., 2023, 2024), we add a system prompt to each query-solution pair, informing the assistant which tools can be called, then regard the query as the user's input and each tool invocation as output... Benchmark. We use the largest available tool utilization benchmark to evaluate the tool use performance of LLMs comprehensively: T-Eval (Chen et al., 2023)."
The same external work (Chen et al., 2023, i.e., T-Eval) is cited both as the template for the instruction-data dialogue format and as the sole tool-use evaluation benchmark. This closes the loop: the benchmark's step-wise sub-task decomposition is used to shape the fine-tuning data, and then the same benchmark is used to verify the resulting improvement. The measured T-Eval gains therefore reflect format alignment with the evaluation rather than a transferable tool-use capability established by an independent benchmark.
full rationale
The paper's data-generation pipeline from knowledge graphs is largely self-contained: FOL query patterns are external, KG facts are externally curated, and the solution paths are obtained by executing relation-based APIs over the KG. There is no load-bearing self-citation chain; the cited prior KG-planning work by overlapping authors is related work, not the argument's foundation. The circular component is the train/eval format loop. Appendix A.3 explicitly constructs step-level question-answer pairs (goal, tool name, argument value, planning, and review of fake tool responses) that mirror T-Eval's six sub-tasks (plan, reason, retrieve, understand, instruct, review), and T-Eval is the only tool-use benchmark used for the headline claims. The general benchmarks (MMLU, BBH, HumanEval, GSM8K) provide some independent evidence that general capabilities are not degraded, but they do not measure tool use, so they cannot validate the central tool-utilization claim. Because the content of KG2Tool is external and the model is not trained directly on T-Eval instances, the circularity is partial rather than total: score 6, not 8 or 10.
Assumptions & free parameters
free parameters (3)
- Per-pattern sampling count =
1,000 per FOL pattern
- Fine-tuning subset size =
2,000
- LoRA rank and alpha =
rank=16, alpha=32
assumptions (4)
- domain assumption Knowledge graphs used (e.g., FB15k) are manually curated and accurate, so generated solution paths are correct without LLM verification.
- domain assumption The 14 FOL query patterns are sufficient to represent the diversity of real tool-use queries.
- ad hoc to paper LLMs used for FOL-to-natural-language translation and API naming produce semantically faithful outputs.
- domain assumption T-Eval is a valid proxy for general LLM tool-use ability.
Cite this review
Pith. "Pith review of Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph." pith.science (2026). https://pith.science/paper/TQ74QZZL
@misc{pith2026250621071,
author = {Pith},
title = {Pith review of: Enhancing LLM Tool Use with High-quality Instruction Data from Knowledge Graph},
year = {2026},
howpublished = {\url{https://pith.science/paper/TQ74QZZL}},
note = {Machine review of arXiv:2506.21071}
}
read the original abstract
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.
Figures
Figures from the paper (8 more)
Reference graph
Works this paper leans on
-
[1]
**API Naming Format**: - Form the API name by combining the domain category and the function name, following the format: 'domain.function_name'
-
[2]
**Domain Classification**: - Classify each API into a specific domains, such as "education", "film", "sports", etc. - If a common topic arises, classify it under an additional "common" category. Figure 6: Prompt for API Generation using Relations (Part1). 14 Toolset Construction Prompt ## Example Inputs and Expected Outputs Given the input example: ```jso...
-
[3]
Use multiple clauses for longer questions to enhance clarity and flow
Avoid complex structures; but ensure not to omit any steps or critical information. Use multiple clauses for longer questions to enhance clarity and flow
-
[4]
Write in a style that aligns with natural human reading habits, ensuring the question is both accurate and fluent
-
[5]
Your question must be clear and unambiguous, especially for reference
-
[6]
Ensure the generated question is grammatically correct and follows standard English conventions
-
[7]
Keep the question straightforward and coherent
Use clear and concise language to make the question easy to understand. Keep the question straightforward and coherent
-
[11]
Instead, only use them to understand the predicate meaning
Please avoid directly copying text from the predicate name and description into the questions. Instead, only use them to understand the predicate meaning. Rephrase the predicates using more concise and natural language to express the concepts where possible
Show all 12 references
-
[12]
FOL_pattern
Ensure that you follow the logical flow of the questions in a multi-step question. Pay special attention to maintaining coherence and alignment in your translated question when the object of a predicate is used as the subject for the next step. Figure 8: Prompt for Translating...
-
[2013]
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde De Oliveira Pinto, Jared Ka- plan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al
Translating embeddings for modeling multi- relational data.Advances in neural information pro- cessing systems, 26. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde De Oliveira Pinto, Jared Ka- plan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et...
2021 arXiv
-
[2017]
Omar Khattab, Keshav Santhanam, Xiang Lisa Li, David Hall, Percy Liang, Christopher Potts, and Matei Zaharia
Knowledge base completion: Baselines strike back.arXiv preprint arXiv:1705.10744. Omar Khattab, Keshav Santhanam, Xiang Lisa Li, David Hall, Percy Liang, Christopher Potts, and Matei Zaharia. 2022. Demonstrate-search- predict: Composing retrieval and language mod- els for know...
2022 arXiv
-
[2021]
InInternational Conference on Learning Representations
Measuring massive multitask language under- standing. InInternational Conference on Learning Representations. Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2021. Lora: Low-rank adap- tation of large language model...
2021 arXiv
Reviewed August 6, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.