From random-walks to graph-sprints: a low-latency node embedding framework on continuous-time dynamic graphs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Eddin, Ahmad Naser, Bono, Jacopo, Aparício, David, Ferreira, Hugo, Ascensão, João, Ribeiro, Pedro, Bizarro, Pedro
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909109983379456
author Eddin, Ahmad Naser
Bono, Jacopo
Aparício, David
Ferreira, Hugo
Ascensão, João
Ribeiro, Pedro
Bizarro, Pedro
author_facet Eddin, Ahmad Naser
Bono, Jacopo
Aparício, David
Ferreira, Hugo
Ascensão, João
Ribeiro, Pedro
Bizarro, Pedro
contents Many real-world datasets have an underlying dynamic graph structure, where entities and their interactions evolve over time. Machine learning models should consider these dynamics in order to harness their full potential in downstream tasks. Previous approaches for graph representation learning have focused on either sampling k-hop neighborhoods, akin to breadth-first search, or random walks, akin to depth-first search. However, these methods are computationally expensive and unsuitable for real-time, low-latency inference on dynamic graphs. To overcome these limitations, we propose graph-sprints a general purpose feature extraction framework for continuous-time-dynamic-graphs (CTDGs) that has low latency and is competitive with state-of-the-art, higher latency models. To achieve this, a streaming, low latency approximation to the random-walk based features is proposed. In our framework, time-aware node embeddings summarizing multi-hop information are computed using only single-hop operations on the incoming edges. We evaluate our proposed approach on three open-source datasets and two in-house datasets, and compare with three state-of-the-art algorithms (TGN-attn, TGN-ID, Jodie). We demonstrate that our graph-sprints features, combined with a machine learning classifier, achieve competitive performance (outperforming all baselines for the node classification tasks in five datasets). Simultaneously, graph-sprints significantly reduce inference latencies, achieving close to an order of magnitude speed-up in our experimental setting.
format Preprint
id arxiv_https___arxiv_org_abs_2307_08433
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle From random-walks to graph-sprints: a low-latency node embedding framework on continuous-time dynamic graphs
Eddin, Ahmad Naser
Bono, Jacopo
Aparício, David
Ferreira, Hugo
Ascensão, João
Ribeiro, Pedro
Bizarro, Pedro
Machine Learning
Many real-world datasets have an underlying dynamic graph structure, where entities and their interactions evolve over time. Machine learning models should consider these dynamics in order to harness their full potential in downstream tasks. Previous approaches for graph representation learning have focused on either sampling k-hop neighborhoods, akin to breadth-first search, or random walks, akin to depth-first search. However, these methods are computationally expensive and unsuitable for real-time, low-latency inference on dynamic graphs. To overcome these limitations, we propose graph-sprints a general purpose feature extraction framework for continuous-time-dynamic-graphs (CTDGs) that has low latency and is competitive with state-of-the-art, higher latency models. To achieve this, a streaming, low latency approximation to the random-walk based features is proposed. In our framework, time-aware node embeddings summarizing multi-hop information are computed using only single-hop operations on the incoming edges. We evaluate our proposed approach on three open-source datasets and two in-house datasets, and compare with three state-of-the-art algorithms (TGN-attn, TGN-ID, Jodie). We demonstrate that our graph-sprints features, combined with a machine learning classifier, achieve competitive performance (outperforming all baselines for the node classification tasks in five datasets). Simultaneously, graph-sprints significantly reduce inference latencies, achieving close to an order of magnitude speed-up in our experimental setting.
title From random-walks to graph-sprints: a low-latency node embedding framework on continuous-time dynamic graphs
topic Machine Learning
url https://arxiv.org/abs/2307.08433