Partition and Code: learning how to compress graphs
Not on the map. Why?
Abstract (arXiv)
Can we use machine learning to compress graph data? The absence of ordering in graphs poses a significant challenge to conventional compression algorithms, limiting their attainable gains as well as their ability to discover relevant patterns. On the other hand, most graph compression approaches rely on domain-dependent handcrafted representations and cannot adapt to different underlying graph distributions. This work aims to establish the necessary principles a lossless graph compression method should follow to approach the entropy storage lower bound. Instead of making rigid assumptions about the graph distribution, we formulate the compressor as a probabilistic model that can be learned from data and generalise to unseen instances. Our "Partition and Code" framework entails three steps: first, a partitioning algorithm decomposes the graph into subgraphs, then these are mapped to the elements of a small dictionary on which we learn a probability distribution, and finally, an entropy encoder translates the representation into bits. All the components (partitioning, dictionary and distribution) are parametric and can be trained with gradient descent. We theoretically compare the compression quality of several graph encodings and prove, under mild conditions, that PnC achieves compression gains that grow either linearly or quadratically with the number of vertices. Empirically, PnC yields significant compression improvements on diverse real-world networks.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 68 of its 145 references that are in the map. First posted on arXiv 5 Jul 2021.
Builds on
68 of 145 references.
References · 68
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2017Deep Setscited by 1,394
- 2016Variational Graph Auto-Encoderscited by 1,373
- 2021Variational Diffusion Modelscited by 1,145
- 2017Mixed Precision Trainingcited by 1,135
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
38 more
- 2020Object-Centric Learning with Slot Attentioncited by 865
- 2016Pixel Recurrent Neural Networkscited by 814
- 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 784
- 2016Automatic chemical design using a data-driven continuous representation of moleculescited by 762
- 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 718
- 2020Benchmarking Graph Neural Networkscited by 672
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
- 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 647
- 2018GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Modelscited by 406
- 2018MolGAN: An implicit generative model for small molecular graphscited by 392
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
- 2020GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generationcited by 301
- 2017Grammar Variational Autoencodercited by 283
- 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 280
- 2020Permutation Invariant Graph Generation via Score-Based Generative Modelingcited by 263
- 2020Can Graph Neural Networks Count Substructures?cited by 235
- 2019Efficient Graph Generation with Graph Recurrent Attention Networkscited by 231
- 2018Learning Deep Generative Models of Graphscited by 227
- 2019What graph neural networks cannot learn: depth vs widthcited by 195
- 2018Constrained Graph Variational Autoencoders for Molecule Designcited by 182
- 2021GraphDF: A Discrete Flow Model for Molecular Graph Generationcited by 177
- 2020Directional Graph Networkscited by 132
- 2018NetGAN: Generating Graphs via Random Walkscited by 129
- 2017Bayesian Compression for Deep Learningcited by 116
- 2020Erdos Goes Neural: an Unsupervised Learning Framework for Combinatorial Optimization on Graphscited by 115
- 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 95
- 2018Practical Full Resolution Learned Lossless Image Compressioncited by 93
- 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 85
- 2021GraphEBM: Molecular Graph Generation with Energy-Based Modelscited by 85
- 2019Integer Discrete Flows and Lossless Compressioncited by 82
- 2019Discrete Flows: Invertible Generative Models of Discrete Datacited by 68
- 2020Scalable Deep Generative Modeling for Sparse Graphscited by 63
- 2018Spectrally approximating large graphs with smaller graphscited by 56
- 2018Minimal Random Code Learning: Getting Bits Back from Compressed Model Parameterscited by 56
- 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 51
- 2019A Review of Stochastic Block Models and Extensions for Graph Clusteringcited by 46
- 2019End to end learning and optimization on graphscited by 44
- 2018Graph Coarsening with Preserved Spectral Propertiescited by 41
50 most cited of 68 All 68 (JSON)
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 2; 2024: 3; 2025: 1.
10 papers.
- 2021Equivariant Subgraph Aggregation Networkscited by 154
- 2021Graph Kernel Neural Networkscited by 13
- 2022Graph-in-Graph (GiG): Learning interpretable latent graphs in non-Euclidean domain for biological and healthcare applicationscited by 4
- 2024A Primer on Temporal Graph Learningcited by 4
- 2024Entropy Coding of Unordered Data Structurescited by 3
- 2023Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphscited by 2
- 2023Graph Generation with K2-treescited by 2
- 2024GALA: Geometry-Aware Local Adaptive Grids for Detailed 3D Generationcited by 1
- 2022Graph Summarization via Node Grouping: A Spectral Algorithmcited by 0
- 2025BioBlobs: Unsupervised Discovery of Functional Substructures for Protein Function Predictioncited by 0
- 2025BioBlobs: Unsupervised Discovery of Functional Substructures for Protein Function Prediction2 Oct 2025
- 2024GALA: Geometry-Aware Local Adaptive Grids for Detailed 3D Generation13 Oct 2024
- 2024Entropy Coding of Unordered Data Structures16 Aug 2024
- 2024A Primer on Temporal Graph Learning8 Jan 2024
- 2023Graph Generation with K2-trees30 May 2023
- 2023Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphs16 May 2023
- 2022Graph Summarization via Node Grouping: A Spectral Algorithm8 Nov 2022
- 2022Graph-in-Graph (GiG): Learning interpretable latent graphs in non-Euclidean domain for biological and healthcare applications1 Apr 2022
- 2021Graph Kernel Neural Networks14 Dec 2021
- 2021Equivariant Subgraph Aggregation Networks6 Oct 2021