Unifying Text Semantics and Graph Structures for Temporal Text-attributed Graphs with Large Language Models

Siwei Zhang, Yun Xiong, Yateng Tang, Jiarong Xu, Xi Chen +4 more
3/18/2025
cs.CLcs.AI

No official code found. Best implementation: SiweiPro/CROSS (20 stars, last commit 2025-10-18).

Abstract

Temporal graph neural networks (TGNNs) have shown remarkable performance in temporal graph modeling. However, real-world temporal graphs often possess rich textual information, giving rise to temporal text-attributed graphs (TTAGs). Such combination of dynamic text semantics and evolving graph structures introduces heightened complexity. Existing TGNNs embed texts statically and rely heavily on encoding mechanisms that biasedly prioritize structural information, overlooking the temporal evolution of text semantics and the essential interplay between semantics and structures for synergistic reinforcement. To tackle these issues, we present \textbf{CROSS}, a flexible framework that seamlessly extends existing TGNNs for TTAG modeling. CROSS is designed by decomposing the TTAG modeling process into two phases: (i) temporal semantics extraction; and (ii) semantic-structural information unification. The key idea is to advance the large language models (LLMs) to dynamically extract the temporal semantics in text space and then generate cohesive representations unifying both semantics and structures. Specifically, we propose a Temporal Semantics Extractor in the CROSS framework, which empowers LLMs to offer the temporal semantic understanding of node's evolving contexts of textual neighborhoods, facilitating semantic dynamics. Subsequently, we introduce the Semantic-structural Co-encoder, which collaborates with the above Extractor for synthesizing illuminating representations by jointly considering both semantic and structural information while encouraging their mutual reinforcement. Extensive experiments show that CROSS achieves state-of-the-art results on four public datasets and one industrial dataset, with 24.7% absolute MRR gain on average in temporal link prediction and 3.7% AUC gain in node classification of industrial application.

View on arXivView PDF

Code Implementations(1)

SiweiPro/CROSSCommunity62%

[NeurIPS 2025] Implementation for the paper "Unifying Text Semantics and Graph Structures for Temporal Text-attributed Graphs with Large Language Models"

201PythonMay 11, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025unifying,
  title  = {Unifying Text Semantics and Graph Structures for Temporal Text-attributed Graphs with Large Language Models},
  author = {Siwei Zhang and Yun Xiong and Yateng Tang and Jiarong Xu and Xi Chen and Zehao Gu and Xuezheng Hao and Zian Jia and Jiawei Zhang},
  year   = {2025},
  eprint = {2503.14411},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.14411v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.14411.svg)](https://codeofpaper.com/paper/2503.14411)

Discussion