Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphs

Daniel Severo, James Townsend, Ashish Khisti, Alireza Makhzani
5/16/2023
cs.LGcs.IT

No official code found. Best implementation: dsevero/Random-Edge-Coding (6 stars, last commit 2023-10-19).

Abstract

We present a one-shot method for compressing large labeled graphs called Random Edge Coding. When paired with a parameter-free model based on Pólya's Urn, the worst-case computational and memory complexities scale quasi-linearly and linearly with the number of observed edges, making it efficient on sparse graphs, and requires only integer arithmetic. Key to our method is bits-back coding, which is used to sample edges and vertices without replacement from the edge-list in a way that preserves the structure of the graph. Optimality is proven under a class of random graph models that are invariant to permutations of the edges and of vertices within an edge. Experiments indicate Random Edge Coding can achieve competitive compression performance on real-world network datasets and scales to graphs with millions of nodes and edges.

View on arXivView PDF

Code Implementations(1)

Code for "Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphs"

61Shell, PythonMay 16, 20233 years ago

Cite this paper

@article{severo2023random,
  title  = {Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphs},
  author = {Daniel Severo and James Townsend and Ashish Khisti and Alireza Makhzani},
  year   = {2023},
  eprint = {2305.09705},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.09705v1}
}

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/2305.09705.svg)](https://codeofpaper.com/paper/2305.09705)

Discussion