[2504.02670] Affordable AI Assistants with Knowledge Graph of Thoughts

Authors:Maciej Besta, Lorenzo Paleari, Jia Hao Andrea Jiang, Robert Gerstenberger, You Wu, Jón Gunnar Hannesson, Patrick Iff, Ales Kubicek, Piotr Nyczyk, Diana Khimey, Nils Blach, Haiqiang Zhang, Tao Zhang, Peiran Ma, Grzegorz Kwaśniewski, Marcin Copik, Hubert Niewiadomski, Torsten Hoefler

View a PDF of the paper titled Affordable AI Assistants with Knowledge Graph of Thoughts, by Maciej Besta and 17 other authors

View PDF

Abstract:Large Language Models (LLMs) are revolutionizing the development of AI assistants capable of performing diverse tasks across domains. However, current state-of-the-art LLM-driven agents face significant challenges, including high operational costs and limited success rates on complex benchmarks like GAIA. To address these issues, we propose Knowledge Graph of Thoughts (KGoT), an innovative AI assistant architecture that integrates LLM reasoning with dynamically constructed knowledge graphs (KGs). KGoT extracts and structures task-relevant knowledge into a dynamic KG representation, iteratively enhanced through external tools such as math solvers, web crawlers, and Python scripts. Such structured representation of task-relevant knowledge enables low-cost models to solve complex tasks effectively while also minimizing bias and noise. For example, KGoT achieves a 29% improvement in task success rates on the GAIA benchmark compared to Hugging Face Agents with GPT-4o mini. Moreover, harnessing a smaller model dramatically reduces operational costs by over 36x compared to GPT-4o. Improvements for other models (e.g., Qwen2.5-32B and Deepseek-R1-70B) and benchmarks (e.g., SimpleQA) are similar. KGoT offers a scalable, affordable, versatile, and high-performing solution for AI assistants.

Submission history

From: Robert Gerstenberger [view email]
[v1]
Thu, 3 Apr 2025 15:11:55 UTC (779 KB)
[v2]
Thu, 10 Apr 2025 14:44:34 UTC (756 KB)
[v3]
Mon, 16 Jun 2025 14:19:01 UTC (6,869 KB)
[v4]
Mon, 23 Jun 2025 11:43:03 UTC (6,869 KB)
[v5]
Thu, 10 Jul 2025 07:15:51 UTC (6,870 KB)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top