Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning
Vasilije Markovic, Lazar Obradovic, Laszlo Hajdu, Jovan Pavlovic

TL;DR
This paper investigates hyperparameter optimization in systems combining Knowledge Graphs and Large Language Models, demonstrating that targeted tuning can significantly improve multi-hop question answering performance.
Contribution
It introduces a systematic approach to hyperparameter tuning in KG-LLM systems and evaluates its impact across multiple QA benchmarks.
Findings
Hyperparameter tuning yields meaningful performance gains.
Performance improvements vary across datasets and metrics.
Standard evaluation metrics have limitations in capturing true system performance.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRough Sets and Fuzzy Logic
