MA-GTS: A Multi-Agent Framework for Solving Complex Graph Problems in Real-World Applications
Zike Yuan, Ming Liu, Hui Wang, Bing Qin
TL;DR
This work addresses the challenge of solving complex, real-world graph problems embedded in noisy, long-form text. It introduces MA-GTS, a three-layer multi-agent framework (IEL, KIL, AEL) that maps unstructured data to structured graphs, dynamically selects algorithms, and delivers interpretable reasoning. The authors validate MA-GTS on the novel G-REAL dataset, showing superior efficiency, accuracy, and scalability over state-of-the-art LLMs and multi-agent baselines, including substantial improvements on large TSP instances. The approach offers practical impact by enabling robust, cost-effective graph reasoning in logistics, networks, and planning domains, with strong generalization to both complex and simpler graph tasks.
Abstract
Graph-theoretic problems arise in real-world applications like logistics, communication networks, and traffic optimization. These problems are often complex, noisy, and irregular, posing challenges for traditional algorithms. Large language models (LLMs) offer potential solutions but face challenges, including limited accuracy and input length constraints. To address these challenges, we propose MA-GTS (Multi-Agent Graph Theory Solver), a multi-agent framework that decomposes these complex problems through agent collaboration. MA-GTS maps the implicitly expressed text-based graph data into clear, structured graph representations and dynamically selects the most suitable algorithm based on problem constraints and graph structure scale. This approach ensures that the solution process remains efficient and the resulting reasoning path is interpretable. We validate MA-GTS using the G-REAL dataset, a real-world-inspired graph theory dataset we created. Experimental results show that MA-GTS outperforms state-of-the-art approaches in terms of efficiency, accuracy, and scalability, with strong results across multiple benchmarks (G-REAL 94.2%, GraCoRe 96.9%, NLGraph 98.4%).MA-GTS is open-sourced at https://github.com/ZIKEYUAN/MA-GTS.git.
