Awesome-Language-Model-on-Graphs
A curated list of papers and resources about large language models (LLMs) on graphs based on our survey paper: Large Language Models on Graphs: A Comprehensive Survey.
This repo will be continuously updated. Don't forget to star it and keep tuned!
Please cite the paper in Citations if you find the resource helpful for your research. Thanks!
Why LLMs on graphs?
Large language models (LLMs), such as ChatGPT and LLaMA, are creating significant advancements in natural language processing, due to their strong text encoding/decoding ability and newly found emergent capability (e.g., reasoning). While LLMs are mainly designed to process pure texts, there are many real-world scenarios where text data are associated with rich structure information in the form of graphs (e.g., academic networks, and e-commerce networks) or scenarios where graph data are captioned with rich textual information (e.g., molecules with descriptions). Besides, although LLMs have shown their pure text-based reasoning ability, it is underexplored whether such ability can be generalized to graph scenarios (i.e., graph-based reasoning). In this paper, we provide a comprehensive review of scenarios and techniques related to large language models on graphs.
Contents
- Awesome-Language-Model-on-Graphs
Keywords Convention
The Transformer architecture used in the work, e.g., EncoderOnly, DecoderOnly, EncoderDecoder.
The size of the large language model, e.g., medium (i.e., less than 1B parameters), LLM (i.e., more than 1B parameters).
Perspectives
-
Unifying Large Language Models and Knowledge Graphs: A Roadmap.
preprint
Shirui Pan, Linhao Luo, Yufei Wang, Chen Chen, Jiapu Wang, Xindong Wu [PDF], 2023.6
-
Integrating Graphs with Large Language Models: Methods and Prospects
preprint
Shirui Pan, Yizhen Zheng, Yixin Liu [PDF], 2023.10
-
Towards graph foundation models: A survey and beyond.
preprint
Jiawei Liu, Cheng Yang, Zhiyuan Lu, Junze Chen, Yibo Li, Mengmei Zhang, Ting Bai, Yuan Fang, Lichao Sun, Philip S. Yu, Chuan Shi. [PDF], 2023.10
-
A Survey of Graph Meets Large Language Model: Progress and Future Directions.
preprint
Yuhan Li, Zhixun Li, Peisong Wang, Jia Li, Xiangguo Sun, Hong Cheng, Jeffrey Xu Yu. [PDF], 2023.11
Pure Graphs
Datasets
Table 3 in our survey paper Large Language Models on Graphs: A Comprehensive Survey.
Direct Answering
-
Can Language Models Solve Graph Problems in Natural Language?
preprint
Heng Wang, Shangbin Feng, Tianxing He, Zhaoxuan Tan, Xiaochuang Han, Yulia Tsvetkov. [PDF] [Code], 2023.5,
-
GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarking.
preprint
Jiayan Guo, Lun Du, Hengyu Liu, Mengyu Zhou, Xinyi He, Shi Han. [PDF], 2023.5,
-
Evaluating Large Language Models on Graphs: Performance Insights and Comparative Analysis.
preprint
-
Talk Like A Graph: Encoding Graphs For Large Language Models.
preprint
Bahare Fatemi, Jonathan Halcrow, Bryan Perozzi. [PDF], 2023.10,
-
GraphLLM: Boosting Graph Reasoning Ability of Large Language Model.
preprint
Ziwei Chai, Tianjie Zhang, Liang Wu, Kaiqiao Han, Xiaohai Hu, Xuanwen Huang, Yang Yang. [PDF] [Code], 2023.10,
-
LLM4DyG: Can Large Language Models Solve Problems on Dynamic Graphs?.
preprint
Zeyang Zhang, Xin Wang, Ziwei Zhang, Haoyang Li, Yijian Qin, Simin Wu, Wenwu Zhu [PDF] [Code], 2023.10,
-
Which Modality should I use - Text, Motif, or Image? : Understanding Graphs with Large Language Models.
preprint
Debarati Das, Ishaan Gupta, Jaideep Srivastava, Dongyeop Kang [PDF] [Code], 2023.11,
-
GraphArena: Benchmarking Large Language Models on Graph Computational Problems.
preprint
Jianheng Tang, Qifan Zhang, Yuhan Li, Jia Li [PDF] [Code], 2024.7,
Heuristic Reasoning
-
StructGPT: A General Framework for Large Language Model to Reason over Structured Data.
preprint
Jinhao Jiang, Kun Zhou, Zican Dong, Keming Ye, Wayne Xin Zhao, Ji-Rong Wen. [PDF] [Code], 2023.5,
-
Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph.
preprint
Jiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang, Chen Lin, Yeyun Gong, Lionel M. Ni, Heung-Yeung Shum, Jian Guo. [PDF] [Code], 2023.7,
-
Exploring Large Language Model for Graph Data Understanding in Online Job Recommendations.
preprint
Likang Wu, Zhaopeng Qiu, Zhi Zheng, Hengshu Zhu, Enhong Chen. [PDF] [Code], 2023.7,
-
Knowledge Graph Prompting for Multi-Document Question Answering.
AAAI2024
Yu Wang, Nedim Lipka, Ryan Rossi, Alex Siu, Ruiyi Zhang, Tyler Derr. [PDF] [Code], 2023.8,
-
ChatRule: Mining Logical Rules with Large Language Models for Knowledge Graph Reasoning.
preprint
Linhao Luo, Jiaxin Ju, Bo Xiong, Yuan-Fang Li, Gholamreza Haffari, Shirui Pan. [PDF] [Code], 2023.9,
-
Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning.
preprint
Linhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui Pan. [PDF] [Code], 2023.10,
-
Thought Propagation: An Analogical Approach to Complex Reasoning with Large Language Models.
preprint
Junchi Yu, Ran He, Rex Ying. [PDF], 2023.10,
-
Large Language Models Can Learn Temporal Reasoning.
preprint
Siheng Xiong, Ali Payani, Ramana Kompella, Faramarz Fekri. [PDF], 2024.1,
-
Exploring the Limitations of Graph Reasoning in Large Language Models.
preprint
Palaash Agrawal, Shavak Vasania, Cheston Tan. [PDF], 2024.2,
-
Rendering Graphs for Graph Reasoning in Multimodal Large Language Models.
preprint
Yanbin Wei, Shuai Fu, Weisen Jiang, James T. Kwok, Yu Zhang. [PDF], 2024.2,
-
Graph-enhanced Large Language Models in Asynchronous Plan Reasoning.
preprint
Fangru Lin, Emanuele La Malfa, Valentin Hofmann, Elle Michelle Yang, Anthony Cohn, Janet B. Pierrehumbert. [PDF], 2024.2,
-
Microstructures and Accuracy of Graph Recall by Large Language Models.
preprint
Yanbang Wang, Hejie Cui, Jon Kleinberg. [PDF], 2024.2,
-
Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the Text.
preprint
Kewei Cheng, Nesreen K. Ahmed, Theodore Willke, Yizhou Sun. [PDF], 2024.2,
-
GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability.
preprint
Zihan Luo, Xiran Song, Hong Huang, Jianxun Lian, Chenhao Zhang, Jinqi Jiang, Xing Xie, Hai Jin. [PDF], 2024.3,
-
Call Me When Necessary: LLMs can Efficiently and Faithfully Reason over Structured Environments.
preprint
Sitao Cheng, Ziyuan Zhuang, Yong Xu, Fangkai Yang, Chaoyun Zhang, Xiaoting Qin, Xiang Huang, Ling Chen, Qingwei Lin, Dongmei Zhang, Saravan Rajmohan, Qi Zhang. [PDF], 2024.3,
-
**Exploring the