No Need to Look Back: An Efficient and Scalable Approach for Temporal Network Representation Learning
<|reference_start|>No Need to Look Back: An Efficient and Scalable Approach for Temporal Network Representation Learning: Temporal graph representation learning (TGRL) is crucial for modeling complex, dynamic systems in real-world networks. Traditional TGRL methods, though effective, suffer from high computational demands and inference latency. This is mainly induced by their inefficient sampling of temporal neighbors by backtracking the interaction history of each node when making model inference. This paper introduces a novel efficient TGRL framework, No-Looking-Back (NLB). NLB employs a "forward recent sampling" strategy, which bypasses the need for backtracking historical interactions. This strategy is implemented using a GPU-executable size-constrained hash table for each node, recording down-sampled recent interactions, which enables rapid response to queries with minimal inference latency. The maintenance of this hash table is highly efficient, with $O(1)$ complexity. NLB is fully compatible with GPU processing, maximizing programmability, parallelism, and power efficiency. Empirical evaluations demonstrate that NLB matches or surpasses state-of-the-art methods in accuracy for link prediction and node classification across six real-world datasets. Significantly, it is 1.32-4.40 $\times$ faster in training, 1.2-7.94 $\times$ more energy efficient, and 1.97-5.02 $\times$ more effective in reducing inference latency compared to the most competitive baselines. The link to the code: https://github.com/Graph-COM/NLB.<|reference_end|>
@article{luo2024no,
    title={No Need to Look Back: An Efficient and Scalable Approach for Temporal
  Network Representation Learning},
    author={Yuhong Luo and Pan Li},
    journal={arXiv preprint arXiv:2402.01964},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.01964},
    primaryClass={cs.LG}
}