mlsanityData to 7 Oct 2026

Partition and Code: learning how to compress graphs

arXiv 2107.01952 ↗First posted 5 Jul 2021cs.LG cs.IT cs.SIcited by 10

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

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  2. 2018How Powerful are Graph Neural Networks?cited by 4,355
  3. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  4. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
  5. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  6. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  7. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  8. 2017Deep Setscited by 1,394
  9. 2016Variational Graph Auto-Encoderscited by 1,373
  10. 2021Variational Diffusion Modelscited by 1,145
  11. 2017Mixed Precision Trainingcited by 1,135
  12. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
38 more
  1. 2020Object-Centric Learning with Slot Attentioncited by 865
  2. 2016Pixel Recurrent Neural Networkscited by 814
  3. 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 784
  4. 2016Automatic chemical design using a data-driven continuous representation of moleculescited by 762
  5. 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 718
  6. 2020Benchmarking Graph Neural Networkscited by 672
  7. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
  8. 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 647
  9. 2018GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Modelscited by 406
  10. 2018MolGAN: An implicit generative model for small molecular graphscited by 392
  11. 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
  12. 2020GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generationcited by 301
  13. 2017Grammar Variational Autoencodercited by 283
  14. 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 280
  15. 2020Permutation Invariant Graph Generation via Score-Based Generative Modelingcited by 263
  16. 2020Can Graph Neural Networks Count Substructures?cited by 235
  17. 2019Efficient Graph Generation with Graph Recurrent Attention Networkscited by 231
  18. 2018Learning Deep Generative Models of Graphscited by 227
  19. 2019What graph neural networks cannot learn: depth vs widthcited by 195
  20. 2018Constrained Graph Variational Autoencoders for Molecule Designcited by 182
  21. 2021GraphDF: A Discrete Flow Model for Molecular Graph Generationcited by 177
  22. 2020Directional Graph Networkscited by 132
  23. 2018NetGAN: Generating Graphs via Random Walkscited by 129
  24. 2017Bayesian Compression for Deep Learningcited by 116
  25. 2020Erdos Goes Neural: an Unsupervised Learning Framework for Combinatorial Optimization on Graphscited by 115
  26. 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 95
  27. 2018Practical Full Resolution Learned Lossless Image Compressioncited by 93
  28. 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 85
  29. 2021GraphEBM: Molecular Graph Generation with Energy-Based Modelscited by 85
  30. 2019Integer Discrete Flows and Lossless Compressioncited by 82
  31. 2019Discrete Flows: Invertible Generative Models of Discrete Datacited by 68
  32. 2020Scalable Deep Generative Modeling for Sparse Graphscited by 63
  33. 2018Spectrally approximating large graphs with smaller graphscited by 56
  34. 2018Minimal Random Code Learning: Getting Bits Back from Compressed Model Parameterscited by 56
  35. 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 51
  36. 2019A Review of Stochastic Block Models and Extensions for Graph Clusteringcited by 46
  37. 2019End to end learning and optimization on graphscited by 44
  38. 2018Graph Coarsening with Preserved Spectral Propertiescited by 41

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 2; 2023: 2; 2024: 3; 2025: 1.

10 papers.