English

Are Large Language Models Good Temporal Graph Learners?

Computation and Language 2025-06-09 v1 Machine Learning

Abstract

Large Language Models (LLMs) have recently driven significant advancements in Natural Language Processing and various other applications. While a broad range of literature has explored the graph-reasoning capabilities of LLMs, including their use of predictors on graphs, the application of LLMs to dynamic graphs -- real world evolving networks -- remains relatively unexplored. Recent work studies synthetic temporal graphs generated by random graph models, but applying LLMs to real-world temporal graphs remains an open question. To address this gap, we introduce Temporal Graph Talker (TGTalker), a novel temporal graph learning framework designed for LLMs. TGTalker utilizes the recency bias in temporal graphs to extract relevant structural information, converted to natural language for LLMs, while leveraging temporal neighbors as additional information for prediction. TGTalker demonstrates competitive link prediction capabilities compared to existing Temporal Graph Neural Network (TGNN) models. Across five real-world networks, TGTalker performs competitively with state-of-the-art temporal graph methods while consistently outperforming popular models such as TGN and HTGN. Furthermore, TGTalker generates textual explanations for each prediction, thus opening up exciting new directions in explainability and interpretability for temporal link prediction. The code is publicly available at https://github.com/shenyangHuang/TGTalker.

Keywords

Cite

@article{arxiv.2506.05393,
  title  = {Are Large Language Models Good Temporal Graph Learners?},
  author = {Shenyang Huang and Ali Parviz and Emma Kondrup and Zachary Yang and Zifeng Ding and Michael Bronstein and Reihaneh Rabbany and Guillaume Rabusseau},
  journal= {arXiv preprint arXiv:2506.05393},
  year   = {2025}
}

Comments

9 pages, 9 tables, 4 figures

R2 v1 2026-07-01T03:02:13.726Z