Table of Contents
Fetching ...

Universal Graph Compression: Stochastic Block Models

Alankrita Bhatt, Ziao Wang, Chi Wang, Lele Wang

TL;DR

This work develops a universal, polynomial-time compressor for labeled graphs generated by SBMs, achieving the asymptotically optimal first-order rate without knowing SBM parameters. The core idea is to decompose the adjacency matrix into many small blocks that become almost i.i.d., enabling KT/Laplace coding and adaptive arithmetic coding to approach the graph entropy $H(A_n)$. Theoretical results establish universality across broad SBM regimes and provide minimax redundancy bounds, while local weak convergence analysis shows BC-entropy-level performance in the sparse regime. Empirically, the method substantially reduces storage compared to existing universal and domain-specific compressors on four real graphs. This advances scalable, parameter-free graph compression with practical coding efficiency.

Abstract

Motivated by the prevalent data science applications of processing large-scale graph data such as social networks and biological networks, this paper investigates lossless compression of data in the form of a labeled graph. Particularly, we consider a widely used random graph model, stochastic block model (SBM), which captures the clustering effects in social networks. An information-theoretic universal compression framework is applied, in which one aims to design a single compressor that achieves the asymptotically optimal compression rate, for every SBM distribution, without knowing the parameters of the SBM. Such a graph compressor is proposed in this paper, which universally achieves the optimal compression rate with polynomial time complexity for a wide class of SBMs. Existing universal compression techniques are developed mostly for stationary ergodic one-dimensional sequences. However, the adjacency matrix of SBM has complex two-dimensional correlations. The challenge is alleviated through a carefully designed transform that converts two-dimensional correlated data into almost i.i.d. submatrices. The sequence of submatrices is then compressed by a Krichevsky--Trofimov compressor, whose length analysis is generalized to identically distributed but arbitrarily correlated sequences. In four benchmark graph datasets, the compressed files from competing algorithms take 2.4 to 27 times the space needed by the proposed scheme.

Universal Graph Compression: Stochastic Block Models

TL;DR

This work develops a universal, polynomial-time compressor for labeled graphs generated by SBMs, achieving the asymptotically optimal first-order rate without knowing SBM parameters. The core idea is to decompose the adjacency matrix into many small blocks that become almost i.i.d., enabling KT/Laplace coding and adaptive arithmetic coding to approach the graph entropy . Theoretical results establish universality across broad SBM regimes and provide minimax redundancy bounds, while local weak convergence analysis shows BC-entropy-level performance in the sparse regime. Empirically, the method substantially reduces storage compared to existing universal and domain-specific compressors on four real graphs. This advances scalable, parameter-free graph compression with practical coding efficiency.

Abstract

Motivated by the prevalent data science applications of processing large-scale graph data such as social networks and biological networks, this paper investigates lossless compression of data in the form of a labeled graph. Particularly, we consider a widely used random graph model, stochastic block model (SBM), which captures the clustering effects in social networks. An information-theoretic universal compression framework is applied, in which one aims to design a single compressor that achieves the asymptotically optimal compression rate, for every SBM distribution, without knowing the parameters of the SBM. Such a graph compressor is proposed in this paper, which universally achieves the optimal compression rate with polynomial time complexity for a wide class of SBMs. Existing universal compression techniques are developed mostly for stationary ergodic one-dimensional sequences. However, the adjacency matrix of SBM has complex two-dimensional correlations. The challenge is alleviated through a carefully designed transform that converts two-dimensional correlated data into almost i.i.d. submatrices. The sequence of submatrices is then compressed by a Krichevsky--Trofimov compressor, whose length analysis is generalized to identically distributed but arbitrarily correlated sequences. In four benchmark graph datasets, the compressed files from competing algorithms take 2.4 to 27 times the space needed by the proposed scheme.

Paper Structure

This paper contains 29 sections, 25 theorems, 156 equations, 1 figure, 2 tables.

Key Result

Theorem 1

For every $0 < \epsilon < 1$, the graph compressor $C_k$ is universal over the family $\mathscr{P}_1(\epsilon)$ provided that

Figures (1)

  • Figure 1: Log-scale comparisons of the compression ratios for the proposed universal graph compressor with other competing compressors. See Tables \ref{['tab:UGC']} and \ref{['tab:simulation']} for the exact compression ratios. The column numbers of highlighted entries in Table \ref{['tab:UGC']} indicate the optimal $k$ value for UGC we used in this plot.

Theorems & Definitions (56)

  • Remark 1: Complexity
  • Remark 2
  • Remark 3
  • Remark 4: Laplace probability assignment
  • Theorem 1: Universality over $\mathscr{P}_1$
  • Remark 5
  • Theorem 2: Universality over $\mathscr{P}_2$
  • Remark 6
  • Theorem 3: Minimax redundancy
  • Remark 7
  • ...and 46 more