Abstract
Dynamic Text-Attributed Graphs (DyTAGs) represent complex real-world systems where both graph topology and textual attributes evolve over time. Despite their ubiquity in domains like e-commerce and social media, research has been hindered by a lack of standardized benchmarks. This paper introduces DTGB, the first comprehensive open benchmark for DyTAGs. DTGB features eight large-scale datasets and four standardized evaluation tasks. Our analysis reveals that while text attributes significantly enhance performance—particularly in cold-start scenarios—current state-of-the-art algorithms still struggle to fully capture the complex interplay between structural and textual evolution.
Introduction
In the real world, graphs are rarely static. On platforms like Yelp or Amazon, users (nodes) interact with businesses (nodes) through reviews (edges) that change over time. These Dynamic Text-Attributed Graphs (DyTAGs) contain rich information in both their structure and their natural language content.
Existing research has suffered from a "benchmark gap": dynamic graph datasets often lack raw text, while text-attributed benchmarks are typically static. DTGB bridges this gap, providing a unified testbed that requires models to understand how graph structures and natural language evolve in tandem.
Methodology and Evaluation Tasks
DTGB establishes a standardized evaluation protocol centered on four real-world use cases, as illustrated in Figure 1:
- Future Link Prediction: Predicting if an interaction will occur between two nodes at a future timestamp.
- Destination Node Retrieval: Ranking the most likely nodes a source node will interact with next.
- Edge Classification: Predicting the category of a future interaction (e.g., a 1-5 star rating).
- Textual Relation Generation: Using Large Language Models (LLMs) to generate the actual text of a future interaction (e.g., a predicted review).
To establish baselines, seven dynamic graph learning algorithms (e.g., JODIE, TGAT, DyGFormer) were evaluated using BERT-encoded text embeddings, alongside six LLMs for the generation task.
Datasets
DTGB introduces eight diverse datasets across four domains:
- E-commerce: Googlemap CT, Amazon movies, Yelp.
- Knowledge Graphs: GDELT, ICEWS1819.
- Dialogue: Stack elec, Stack ubuntu.
- Email/Social: Enron.
These datasets vary in scale and preserve real-world characteristics, such as long-tail distributions of edge text lengths and varying edge densities.
Key Results and Discussion
The Impact of Textual Attributes
Integrating text attributes consistently improves performance across all models. This is particularly evident in Edge Classification, where models using text outperformed structure-only counterparts by a noticeable margin across multiple datasets.
Text acts as a vital "cold-start" cure; in inductive settings (predicting for new nodes), text provides semantic clues that structural history alone cannot offer.
Current Limitations
Despite improvements, models face significant challenges:
- The Historical Sampling Trap: In node retrieval, performance drops sharply when models must distinguish between "recently interacted" nodes versus random ones, suggesting they rely too heavily on temporal co-occurrence rather than deep semantics.
- Scalability: Older memory-based models (JODIE, DyRep) frequently encountered out-of-memory (OOM) issues on larger datasets like Yelp.
- LLM Context: For relation generation, LLMs benefit from textual history but struggle to incorporate high-order graph context (beyond immediate neighbors) due to limited input windows.
Conclusion
DTGB provides a critical foundation for advancing DyTAG research. While text attributes are a powerful signal, the benchmark highlights the need for more efficient architectures and better methods for integrating complex temporal-textual dependencies. Future work will focus on designing specialized temporal graph tokens and improving the scalability of these hybrid models.
Summary updated