Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
Integrating Large Language Models (LLMs) with Knowledge Graphs (KGs) results in complex systems with numerous hyperparameters that directly affect performance. While such systems are increasingly common in retrieval-augmented generation, the role of systematic hyperparameter optimization remains underexplored. In this paper, we study this problem in the context of Cognee, a modular framework for end-to-end KG construction and retrieval. Using three multi-hop QA benchmarks (HotPotQA, TwoWikiMultiHop, and MuSiQue) we optimize parameters related to chunking, graph construction, retrieval, and prompting. Each configuration is scored using established metrics (exact match, F1, and DeepEval's LLM-based correctness metric). Our results demonstrate that meaningful gains can be achieved through targeted tuning. While the gains are consistent, they are not uniform, with performance varying across datasets and metrics. This variability highlights both the value of tuning and the limitations of standard evaluation measures. While demonstrating the immediate potential of hyperparameter tuning, we argue that future progress will depend not only on architectural advances but also on clearer frameworks for optimization and evaluation in complex, modular systems.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 39 of its 42 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
39 of 42 references.
Closest ancestors · 3
Same direction, newest first
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
- 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning2 Oct
- 2023Complex Logical Reasoning over Knowledge Graphs using Large Language Models2 May
Other references · 36
- 2017Attention Is All You Needcited by 60,361
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2023BloombergGPT: A Large Language Model for Financecited by 939
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
24 more
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 668
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
- 2018The Web as a Knowledge-base for Answering Complex Questionscited by 410
- 2018From Louvain to Leiden: guaranteeing well-connected communitiescited by 385
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 354
- 2024Graph Retrieval-Augmented Generation: A Surveycited by 324
- 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 281
- 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 223
- 2019Neural Legal Judgment Prediction in Englishcited by 209
- 2024Corrective Retrieval Augmented Generationcited by 197
- 2024Retrieval-Augmented Generation with Graphs (GraphRAG)cited by 172
- 2017Variational Reasoning for Question Answering with Knowledge Graphcited by 170
- 2023Knowledge Graph Prompting for Multi-Document Question Answeringcited by 152
- 2023The Impact of Large Language Models on Scientific Discovery: a Preliminary Study using GPT-4cited by 112
- 2022Subgraph Retrieval Enhanced Model for Multi-hop Knowledge Base Question Answeringcited by 93
- 2024The Dawn After the Dark: An Empirical Study on Factuality Hallucination in Large Language Modelscited by 88
- 2024A Comprehensive Survey of Retrieval-Augmented Generation (RAG): Evolution, Current Landscape and Future Directionscited by 70
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
- 2025Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learningcited by 39
- 2024Knowledge Graphs, Large Language Models, and Hallucinations: An NLP Perspectivecited by 29
- 2024AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generationcited by 13
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systemscited by 12
- 2024Introducing a new hyper-parameter for RAG: Context Window Utilizationcited by 8
Built on by
Citing papers per year: 2025: 5; 2026: 12.
17 papers.
Sort:
By area:
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 173
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2026OpenClaw-RL: Train Any Agent Simply by Talkingcited by 90
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 25
- 2026GraphAgents: Knowledge Graph-Guided Agentic AI for Cross-Domain Materials Designcited by 9
- 2025Everything is Context: Agentic File System Abstraction for Context Engineeringcited by 6
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledgecited by 3
- 2026Think Locally, Explain Globally: Graph-Guided LLM Investigations via Local Reasoning and Belief Propagationcited by 3
- 2026Structured Belief State and the First Precision-Aware Benchmark for LLM Memory Retrievalcited by 3
- 2026Cost and Accuracy of Long-Term Memory in Distributed Multi-Agent Systems Based on Large Language Modelscited by 2
- 2026ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systemscited by 1
5 more
- 2026EpiCon: Collective Agent Learning through Co-Evolving Multimodal Memorycited by 1
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Datacited by 0
- 2026Know It, Act on It: Investigating Memory Utilization in LLM Personalizationcited by 0
- 2026Towards Fully Automated Medical Imaging Code Generation via Validation-based Context Engineeringcited by 0
- 2026Probing Stability-Plasticity Tradeoffs in Agent Memory through Cognitive Experimental Paradigmscited by 0
- 2026EpiCon: Collective Agent Learning through Co-Evolving Multimodal Memory29 Sep 2026
- 2026Probing Stability-Plasticity Tradeoffs in Agent Memory through Cognitive Experimental Paradigms24 Sep 2026
- 2026Towards Fully Automated Medical Imaging Code Generation via Validation-based Context Engineering29 Aug 2026
- 2026Know It, Act on It: Investigating Memory Utilization in LLM Personalization31 Jul 2026
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Data29 Jul 2026
- 2026Structured Belief State and the First Precision-Aware Benchmark for LLM Memory Retrieval11 May 2026
- 2026ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systems26 Apr 2026
- 2026OpenClaw-RL: Train Any Agent Simply by Talking10 Mar 2026
- 2026GraphAgents: Knowledge Graph-Guided Agentic AI for Cross-Domain Materials Design7 Feb 2026
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applications5 Feb 2026
- 2026Think Locally, Explain Globally: Graph-Guided LLM Investigations via Local Reasoning and Belief Propagation25 Jan 2026
- 2026Cost and Accuracy of Long-Term Memory in Distributed Multi-Agent Systems Based on Large Language Models12 Jan 2026
5 more
- 2025Everything is Context: Agentic File System Abstraction for Context Engineering5 Dec 2025
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge25 Nov 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul 2025
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul 2025
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 173
- 2026OpenClaw-RL: Train Any Agent Simply by Talkingcited by 90
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 25
- 2026GraphAgents: Knowledge Graph-Guided Agentic AI for Cross-Domain Materials Designcited by 9
- 2025Everything is Context: Agentic File System Abstraction for Context Engineeringcited by 6
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledgecited by 3
- 2026Cost and Accuracy of Long-Term Memory in Distributed Multi-Agent Systems Based on Large Language Modelscited by 2
- 2026ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systemscited by 1
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Datacited by 0
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Data29 Jul 2026
- 2026ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systems26 Apr 2026
- 2026OpenClaw-RL: Train Any Agent Simply by Talking10 Mar 2026
- 2026GraphAgents: Knowledge Graph-Guided Agentic AI for Cross-Domain Materials Design7 Feb 2026
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applications5 Feb 2026
- 2026Cost and Accuracy of Long-Term Memory in Distributed Multi-Agent Systems Based on Large Language Models12 Jan 2026
- 2025Everything is Context: Agentic File System Abstraction for Context Engineering5 Dec 2025
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge25 Nov 2025
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul 2025
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions7 Jul 2025
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2026Structured Belief State and the First Precision-Aware Benchmark for LLM Memory Retrievalcited by 3
- 2026EpiCon: Collective Agent Learning through Co-Evolving Multimodal Memorycited by 1
- 2026Know It, Act on It: Investigating Memory Utilization in LLM Personalizationcited by 0
- 2026Towards Fully Automated Medical Imaging Code Generation via Validation-based Context Engineeringcited by 0
- 2026Probing Stability-Plasticity Tradeoffs in Agent Memory through Cognitive Experimental Paradigmscited by 0
- 2026EpiCon: Collective Agent Learning through Co-Evolving Multimodal Memory29 Sep 2026
- 2026Probing Stability-Plasticity Tradeoffs in Agent Memory through Cognitive Experimental Paradigms24 Sep 2026
- 2026Towards Fully Automated Medical Imaging Code Generation via Validation-based Context Engineering29 Aug 2026
- 2026Know It, Act on It: Investigating Memory Utilization in LLM Personalization31 Jul 2026
- 2026Structured Belief State and the First Precision-Aware Benchmark for LLM Memory Retrieval11 May 2026
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2024Simple Is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented Generation
- 2026A Human-in-the-Loop, LLM-Centered Architecture for Knowledge-Graph Question Answering
- 2024Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data
- 2025Inference Scaled GraphRAG: Improving Multi Hop Question Answering on Knowledge Graphs
- 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphs
- 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoning
- 2025KG-o1: Enhancing Multi-hop Question Answering in Large Language Models via Knowledge Graph Integration
- 2025GraphGen: Enhancing Supervised Fine-Tuning for LLMs with Knowledge-Driven Synthetic Data Generation