From Primes to Paths: Enabling Fast Multi-Relational Graph Analysis

Konstantinos Bougiatiotis, Georgios Paliouras
11/17/2024
cs.LGcs.SI

No official code found. Best implementation: kbogas/PAM_BoP (0 stars, MIT, last commit 2025-03-14).

Abstract

Multi-relational networks capture intricate relationships in data and have diverse applications across fields such as biomedical, financial, and social sciences. As networks derived from increasingly large datasets become more common, identifying efficient methods for representing and analyzing them becomes crucial. This work extends the Prime Adjacency Matrices (PAMs) framework, which employs prime numbers to represent distinct relations within a network uniquely. This enables a compact representation of a complete multi-relational graph using a single adjacency matrix, which, in turn, facilitates quick computation of multi-hop adjacency matrices. In this work, we enhance the framework by introducing a lossless algorithm for calculating the multi-hop matrices and propose the Bag of Paths (BoP) representation, a versatile feature extraction methodology for various graph analytics tasks, at the node, edge, and graph level. We demonstrate the efficiency of the framework across various tasks and datasets, showing that simple BoP-based models perform comparably to or better than commonly used neural models while offering improved speed and interpretability.

View on arXivView PDF

Code Implementations(1)

kbogas/PAM_BoPCommunity100%
MIT

From Primes to Paths: Enabling Fast Multi-Relational Graph Analysis

00PythonOct 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{bougiatiotis2024from,
  title  = {From Primes to Paths: Enabling Fast Multi-Relational Graph Analysis},
  author = {Konstantinos Bougiatiotis and Georgios Paliouras},
  year   = {2024},
  eprint = {2411.11149},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11149v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.11149.svg)](https://codeofpaper.com/paper/2411.11149)

Discussion