Skip to main content
QUICK REVIEW

[Paper Review] Neighborhood-aware Scalable Temporal Network Representation Learning

Yuhong Luo, Pan Li|arXiv (Cornell University)|Sep 2, 2022
Advanced Graph Neural NetworksComputer Science6 citations
TL;DR

This paper proposes NAT, a neighborhood-aware temporal network representation learning model that replaces traditional vector-based node representations with dictionary-type neighborhood representations stored in GPU-optimized N-caches. By enabling fast, parallel construction of joint neighborhood structural features, NAT achieves state-of-the-art performance with 1.2% higher transductive and 4.2% higher inductive link prediction accuracy, while accelerating training by 4.1–76.7× compared to baselines using joint features.

ABSTRACT

Temporal networks have been widely used to model real-world complex systems such as financial systems and e-commerce systems. In a temporal network, the joint neighborhood of a set of nodes often provides crucial structural information useful for predicting whether they may interact at a certain time. However, recent representation learning methods for temporal networks often fail to extract such information or depend on online construction of structural features, which is time-consuming. To address the issue, this work proposes Neighborhood-Aware Temporal network model (NAT). For each node in the network, NAT abandons the commonly-used one-single-vector-based representation while adopting a novel dictionary-type neighborhood representation. Such a dictionary representation records a downsampled set of the neighboring nodes as keys, and allows fast construction of structural features for a joint neighborhood of multiple nodes. We also design a dedicated data structure termed N-cache to support parallel access and update of those dictionary representations on GPUs. NAT gets evaluated over seven real-world large-scale temporal networks. NAT not only outperforms all cutting-edge baselines by averaged 1.2% and 4.2% in transductive and inductive link prediction accuracy, respectively, but also keeps scalable by achieving a speed-up of 4.1-76.7x against the baselines that adopt joint structural features and achieves a speed-up of 1.6-4.0x against the baselines that cannot adopt those features. The link to the code: https: //github.com/Graph-COM/Neighborhood-Aware-Temporal-Network.

Motivation & Objective

  • To address the limitation of existing temporal GNNs in capturing joint neighborhood structural features crucial for link prediction.
  • To overcome the scalability bottleneck of joint structural feature construction in large-scale temporal networks.
  • To design a memory-efficient, GPU-parallelizable data structure for dynamic neighborhood representation management.
  • To enable both high predictive performance and fast inference through dictionary-based representations and N-caches.
  • To demonstrate the effectiveness and scalability of the proposed method on real-world large-scale temporal networks.

Proposed method

  • NAT replaces single-vector node representations with dictionary-type neighborhood representations, where keys are sampled neighboring nodes and values store timestamp and feature information.
  • It introduces N-caches—GPU-optimized data structures that store and manage these dictionaries in parallel for efficient access and update.
  • N-caches use hash-based search functions to support low-latency, concurrent updates and lookups of neighborhood information across multiple hops.
  • The model constructs joint neighborhood features for node pairs by intersecting keys from the N-caches of individual nodes, enabling fast structural feature computation.
  • It employs a learnable overwriting probability α to balance neighborhood freshness and diversity in the N-cache updates.
  • The framework integrates temporal encoding (T-encoding), RNNs, and a differentiable embedding (DE) module to enhance temporal dynamics modeling.

Experimental results

Research questions

  • RQ1Can dictionary-based neighborhood representations improve link prediction in temporal networks compared to standard vector representations?
  • RQ2Can the N-cache data structure enable scalable, parallel construction of joint neighborhood features for large-scale temporal networks?
  • RQ3How does the design of N-caches affect model performance and training efficiency in transductive and inductive settings?
  • RQ4What is the optimal configuration of N-cache hyperparameters (e.g., M₁, M₂, F, α) for balancing performance and memory usage?
  • RQ5Does the use of dynamic, hash-based neighborhood caching lead to better generalization than static memory states in temporal link prediction?

Key findings

  • NAT achieves a 1.2% absolute improvement in transductive link prediction accuracy and a 4.2% improvement in inductive link prediction accuracy over state-of-the-art baselines.
  • The model achieves a 4.1–76.7× speedup over baselines that use joint structural features, and a 1.6–4.0× speedup over those that do not.
  • Removing second-hop N-caches (Z²ᵤ) reduces performance by up to 1%, and removing both first- and second-hop caches leads to significant performance drops, especially in inductive settings.
  • Increasing the size of first-hop N-cache (M₁) beyond optimal values can degrade performance, indicating a trade-off between memory and representational quality.
  • A higher overwriting probability α (e.g., 0.5–0.8) improves performance by keeping neighborhood information current, but α=1.0 is suboptimal due to loss of temporal diversity.
  • The model maintains stable training and inference times even with larger N-cache sizes, and in some cases, larger caches reduce running time due to reduced hash collisions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.