--- title: "Summary: 2026-06-02_13-46-04Z_DiagnosingKnowledgeGapsinLLMToolUse_AnAgenticBench.md" date: 2026-06-02 tags: ['paper', 'research', 'ai'] --- # Summary: 2026-06-02_13-46-04Z_DiagnosingKnowledgeGapsinLLMToolUse_AnAgenticBench.md **Source**: [Original Paper](http://arxiv.org/abs/2606.03657v1) Saved: 2026-06-02 21:01 Source: 2026-06-02_13-46-04Z_DiagnosingKnowledgeGapsinLLMToolUse_AnAgenticBench.md Model: None --- ## Summary The paper aims to diagnose knowledge gaps in large language models’ tool use by creating a dynamic benchmark that discovers novel APIs, extracts decomposed knowledge bundles, generates executable coding tasks, and categorizes failures into six diagnostic types. It compares two ways of acquiring API knowledge—retrieval of external code versus parametric fine‑tuning—across multiple base models and domains to show how these mechanisms complement each other. The study reveals that usage examples are the strongest standalone signal for successful tool use, while signatures alone are insufficient without additional context. ## Semantic links - [[concepts/papers/2026-06-17_17-54-04Z_RethinkingRewardSupervision_Rubric_Conditio_summary.md|Summary: 2026-06-17_17-54-04Z_RethinkingRewardSupervision_Rubric_ConditionedSelf.md]] — 3 title terms overlap; shared tags: ai, paper, research; 8 summary/topic terms overlap - [[concepts/papers/2026-06-11_15-09-32Z_TowardInstructions_as_Code_Understandingthe_summary.md|Summary: 2026-06-11_15-09-32Z_TowardInstructions_as_Code_UnderstandingtheImpacto.md]] — 3 title terms overlap; shared tags: ai, paper, research; 8 summary/topic terms overlap ## Key Contributions - Discovery of NovelAPIBench: a fully automated dynamic benchmark that generates executable coding tasks from any base model and target library, decomposing knowledge into reusable bundles. - Empirical finding that usage examples outperform signature‑only signals; the strongest standalone signal is example code, while the best two‑component settings pair signatures with either retrieval or examples depending on domain/backbone. - Insight that retrieval supplies volatile API content whereas fine‑tuning teaches procedural integration; parametric adaptation does not replace retrieval when external knowledge is removed. ## Methodology The authors built NovelAPIBench to automatically identify novel APIs in a target library, decompose each into reusable knowledge bundles (e.g., function signatures, module paths, input/output contracts), and create coding tasks that require the model to use those bundles. For each task they evaluate four base models across five domains; failed samples are assigned to six diagnostic categories covering signature mismatch, path error, contract violation, usage pattern mismatch, import‑path failure, and semantic misuse. They compare retrieval of external code snippets versus fine‑tuning on bundled examples. ## Results Across ~1.9K tasks involving four base models and five domains, retrieval consistently outperformed pure fine‑tuning when external code was available; however, fine‑tuned models retained ability to use unseen libraries after external knowledge removal. The top performing configuration used both signature information and usage examples, with performance dropping sharply when source code context was added (increasing import‑path errors). Diagnostic categories revealed that most failures stem from missing signatures or incorrect module paths. ## Significance This work provides a systematic framework for diagnosing why LLMs fail to use APIs, moving beyond binary pass/fail metrics to granular diagnostic insights. It clarifies the complementary roles of retrieval and fine‑tuning in API acquisition, informing future system design that balances volatile content delivery with procedural integration. ## Related Concepts - [[concepts/ai-agents/agentic-workflows-hub.md|Agentic Workflows Hub]] - [[concepts/llm-models/llm-models-hub.md|LLM Models Hub]] - [[concepts/evaluation-benchmarks/evaluation-benchmarks-hub.md|Evaluation Benchmarks Hub]] - [[concepts/math-physics/math-physics-hub.md|Math Physics Hub]]