A Transfer Framework for Enhancing Temporal Graph Learning in Data-Scarce Settings

Sidharth Agarwal, Tanishq Dubey, Shubham Gupta, Srikanta Bedathur · DOI · OpenReview

Abstract

Dynamic interactions between entities are prevalent in domains like social platforms, financial systems, healthcare, and e-commerce. These interactions can be effectively represented as time-evolving graphs, where predicting future connections is a key task in applications such as recommendation systems. Temporal Graph Neural Networks (TGNNs) have achieved strong results for such predictive tasks but typically require extensive training data, which is often limited in real-world scenarios. One approach to mitigating data scarcity is leveraging pre-trained models from related datasets. However, direct knowledge transfer between TGNNs is challenging due to their reliance on node-specific memory structures, making them inherently difficult to adapt across datasets. To address this, we introduce a novel transfer approach that disentangles node representations from their associated features through a structured bipartite encoding mechanism. This decoupling enables more effective transfer of memory components and other learned inductive patterns from one dataset to another. Empirical evaluations on real-world benchmarks demonstrate that our method significantly enhances TGNN performance in low-data regimes, outperforming non-transfer baselines by up to 56% and surpassing existing transfer strategies by 36%.

Introduction

Temporal Graph Neural Networks (TGNNs) are the gold standard for predicting future interactions in dynamic systems, such as recommending a restaurant to a user at a specific time. However, state-of-the-art TGNNs rely on node-specific memory that is "transductive," meaning it is tied to specific node identifiers (e.g., a specific User ID in a specific city). This makes it difficult to transfer knowledge to new domains where node IDs are entirely different, such as moving a model trained on New York data to a new launch in London.

The core challenge is that node-specific memory becomes useless across disjoint datasets. The proposed framework, MINTT (Memory Inductive Transfer), addresses this by disentangling a node's representation from its specific identity. By focusing on universal structural and temporal patterns through features, the model can effectively transfer "experience" even when historical data in the target domain is extremely scarce.

Methods: The MINTT Framework

The MINTT framework operates through a structured pipeline designed to bridge the gap between source and target datasets.

Overview of the MINTT framework showing the transfer of weights and memory between source and target domains.
  1. Graph Transformation: Temporal graphs are converted into a static bipartite structure where features and attributes are treated as "virtual nodes." This creates a shared vocabulary of feature nodes common to both source and target graphs.
  2. Feature Graph Attention Network (F-GAT): A four-stage message-passing pipeline allows information to flow between feature nodes and user/item nodes. This allows the model to learn node embeddings based on how they interact with features rather than their specific IDs.
  3. Memory Mapping: Using F-GAT embeddings, the system identifies "behavioral twins"—the most similar nodes in the source domain for every node in the target domain—to initialize the target memory state.
  4. Transfer & Fine-tuning: Finally, the model transfers both neural network weights and the mapped memory to the target domain, followed by fine-tuning on limited local data.

Experimental Evaluation

The framework was evaluated on three major real-world benchmarks: Foursquare (check-ins across 400 cities), Wiki-edit (multilingual Wikipedia edits), and Yelp (metropolitan business reviews). Scarcity was simulated by using as little as 0.1% to 10% of the training data for target domains.

Comparison of MINTT against non-transfer (NT) and weight-transfer (WT) baselines across varying training data percentages.

In these low-data regimes, MINTT demonstrated massive performance gains, outperforming non-transfer (NT) baselines by up to 56% in Average Precision (AP). Crucially, MINTT surpassed existing weight-only transfer (WT) strategies by 36%, proving that transferring the memory state is the critical "missing link" for effective temporal graph transfer.

Conclusion

MINTT successfully turns a transductive problem into an inductive one by treating attributes as nodes in a bipartite graph. This decoupling allows for the robust transfer of temporal experience across domains. Future work will explore the incorporation of dynamic, time-varying attributes and more native handling of continuous features to further improve precision in cold-start scenarios.

Summary updated

BibTeX
@inproceedings{agarwal2025transfer,
  author = {Sidharth Agarwal and Tanishq Dubey and Shubham Gupta and Srikanta Bedathur},
  title = {{A Transfer Framework for Enhancing Temporal Graph Learning in Data-Scarce Settings}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2025},
  doi = {10.1145/3726302.3730035},
}
Figure