Can Large Language Models Tackle Graph Partitioning?
Yiheng Wu, Ningchao Ge, Yanmin Li, Liwei Qian, Mengna Zhu, Haoyu Yang, Haiwen Chen, Jibing Wu
Abstract
Large language models (LLMs) demonstrate remarkable capabilities in understanding complex tasks and have achieved commendable performance in graph-related tasks, such as node classification, link prediction, and subgraph classification. These tasks primarily depend on the local reasoning capabilities of the graph structure. However, research has yet to address the graph partitioning task that requires global perception abilities. Our preliminary findings reveal that vanilla LLMs can only handle graph partitioning on extremely small-scale graphs. To overcome this limitation, we propose a three-phase pipeline to empower LLMs for large-scale graph partitioning: coarsening, reasoning, and refining. The coarsening phase reduces graph complexity. The reasoning phase captures both global and local patterns to generate a coarse partition. The refining phase ensures topological consistency by projecting the coarse-grained partitioning results back to the original graph structure. Extensive experiments demonstrate that our framework enables LLMs to perform graph partitioning across varying graph scales, validating both the effectiveness of LLMs for partitioning tasks and the practical utility of our proposed methodology.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- One For All: Towards Training One Graph Model For All Classification Tasks cites GraphGPT: Graph Instruction Tuning for Large Language Models
- One For All: Towards Training One Graph Model For All Classification Tasks cites Can Language Models Solve Graph Problems in Natural Language?
- DGCLUSTER: A Neural Framework for Attributed Graph Clustering via Modularity Maximization cites Spectral Clustering with Graph Neural Networks for Graph Pooling
Builds on10
- Spectral Clustering with Graph Neural Networks for Graph PoolingFilippo Maria Bianchi, Daniele Grattarola, Cesare AlippiICML 2020 · 528 citations
- Can Language Models Solve Graph Problems in Natural Language?Heng Wang, Shangbin Feng, Tianxing He, Zhaoxuan Tan et al.NeurIPS 2023 · 420 citations
- One For All: Towards Training One Graph Model For All Classification TasksHao Liu, Jiarui Feng, Lecheng Kong, Ningyue Liang et al.ICLR 2024 · 253 citations
- GraphGPT: Graph Instruction Tuning for Large Language ModelsJiabin Tang, Yuhao Yang, Wei Wei, Lei Shi et al.SIGIR 2024 · 182 citations
- DGCLUSTER: A Neural Framework for Attributed Graph Clustering via Modularity MaximizationAritra Bhowmick, Mert Kosan, Zexi Huang, Ambuj K. Singh et al.AAAI 2024 · 41 citations
Related papers
- LPNL: Scalable Link Prediction with Large Language ModelsBaolong Bi, Shenghua Liu, Yiwei Wang, Lingrui Mei et al.ACL Findings 2024 · 6 citations
- KG-GPT: A General Framework for Reasoning on Knowledge Graphs Using Large Language ModelsJiho Kim, Yeonsu Kwon, Yohan Jo, Edward ChoiEMNLP Findings 2023 · 47 citations
- Can Graph Descriptive Order Affect Solving Graph Problems with LLMs?Yuyao Ge, Shenghua Liu, Baolong Bi, Yiwei Wang et al.ACL 2025
- Each graph is a new language: Graph Learning with LLMsHuachi Zhou, Jiahe Du, Chuang Zhou, Chang Yang et al.ACL Findings 2025 · 1 citation
- Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the TextKewei Cheng, Nesreen K. Ahmed, Theodore L. Willke, Yizhou SunEMNLP 2024 · 6 citations
