Abstract
Temporal Text-attributed Graphs (TTAGs) represent complex real-world systems where nodes and edges evolve alongside rich textual information. Traditional Temporal Graph Neural Networks (TGNNs) often struggle to integrate these modalities, frequently treating text as static features and prioritizing structural topology over semantic evolution. This paper introduces CROSS (Cohesive Representations Of Semantics and Structures), a novel framework that leverages Large Language Models (LLMs) to extract dynamic semantic insights and fuses them with graph structures through a multi-layer co-encoding architecture. Experimental results across five datasets demonstrate that CROSS achieves a 24.7% average improvement in link prediction accuracy and enhances robustness against structural noise.
Introduction
In modern data ecosystems, such as e-commerce platforms or social networks, interactions are rarely just structural. They are defined by a "Temporal Text-attributed Graph" (TTAG) structure where users and items interact over time, accompanied by evolving text like reviews, messages, or descriptions.
Existing TGNNs face two primary challenges in these environments:
- Semantic Drift: Traditional models use static embeddings (e.g., MiniLM) that fail to capture how the meaning of text changes over time. A user's interest in a specific category may shift, but static representations cannot reflect this temporal evolution.
- Structural Bias: Most models are optimized for graph topology, treating text as a secondary feature. This makes them vulnerable when the graph structure is noisy, incomplete, or intentionally manipulated.
The CROSS Framework
To address these limitations, the CROSS framework decouples and then reintegrates semantic and structural information through a two-phase process.
1. Temporal Semantics Extractor
Rather than treating text as a raw input, CROSS employs a Temporal Reasoning Chain. The framework samples specific timestamps in a node's history and prompts an LLM (such as DeepSeek-v2) to summarize the node's evolving neighborhood. By acting as a "reasoning engine," the LLM identifies shifts in a node’s characteristics or intent in natural language, effectively capturing the "contextual history" that traditional embeddings miss.
2. Semantic-structural Co-encoder
Following the extraction of dynamic summaries, CROSS utilizes a multi-layer architecture to fuse these insights with the physical graph structure:
- Semantic Layer: A Transformer-based module encodes the LLM-generated summaries.
- Structural Layer: Standard TGNN blocks (such as TGAT or TGN) encode the graph's topological evolution.
- Cross-modal Mixer: This bidirectional component facilitates information transfer between the semantic and structural representations at every layer. This ensures that the textual context informs the structural representation and vice versa, resulting in a cohesive, multi-modal embedding.
Experimental Evaluation
Datasets
The researchers evaluated CROSS on four public benchmarks and one large-scale industrial dataset:
- Enron: Email communication networks.
- GDELT & ICEWS1819: Global political event databases tracking international relations.
- Googlemap_CT: Temporal user reviews of businesses.
- Industrial Dataset: Three months of transaction data from the WeChat Mobile Payment network.
Performance Metrics
The framework demonstrated significant gains in Temporal Link Prediction, which involves predicting future interactions between nodes:
- Accuracy Gains: CROSS achieved an average absolute Mean Reciprocal Rank (MRR) gain of 24.7% over baseline TGNN backbones.
- Industrial Scalability: On the WeChat e-commerce dataset, the framework achieved a 3.7% AUC gain in fraud detection, highlighting its utility in high-stakes, large-scale production environments.
- Backbone Agnosticism: CROSS proved effective as a plug-and-play framework, successfully boosting the performance of diverse backbones including TGAT, TGN, and DyGFormer.
Discussion and Key Insights
LLMs as Contextual Historians
A core contribution of CROSS is the shift in how LLMs are utilized. Rather than simple feature extractors, they are used as dynamic summarizers that can interpret intent. By sampling reasoning timestamps, the model balances the need for temporal granularity with the computational costs associated with LLM inference.
Robustness to Structural Noise
A significant finding was the framework's resilience. When researchers introduced random edges to "break" the graph structure, CROSS maintained high performance. The semantic summaries provided a reliable anchor, allowing the model to rely on text-based reasoning when the structural data became unreliable.
Limitations and Future Directions
Despite its success, the authors identify several areas for improvement:
- Neighborhood Depth: The current extractor is limited to 1-hop neighbors; future iterations may explore higher-order semantics.
- Computational Efficiency: While sampling mitigates costs, LLM inference remains more expensive than traditional methods. Exploring smaller, specialized models could further optimize the framework.
- Advanced Fusion: Future work will investigate more complex "Cross-modal Mixer" designs, such as time-decay mechanisms, to better prioritize recent information over historical data.
Conclusion
CROSS represents a significant step forward in unifying the linguistic and structural components of temporal graphs. By treating LLMs as reasoning engines capable of tracking semantic drift, the framework provides a more robust and accurate method for understanding the evolution of complex, text-rich networks.
Summary updated