[Paper Review] Tight and simple Web graph compression
This paper presents two novel Web graph compression algorithms that achieve superior compression ratios by exploiting structural redundancies in hyperlink lists. The first uses adaptive block sizes and enhanced differential encoding to reduce space at the cost of slower access; the second merges adjacent lists into ordered structures, achieving competitive space-time tradeoffs with compression down to 1.06 bits per edge—surpassing prior work while maintaining practical access speeds.
Analysing Web graphs has applications in determining page ranks, fighting Web spam, detecting communities and mirror sites, and more. This study is however hampered by the necessity of storing a major part of huge graphs in the external memory, which prevents efficient random access to edge (hyperlink) lists. A number of algorithms involving compression techniques have thus been presented, to represent Web graphs succinctly but also providing random access. Those techniques are usually based on differential encodings of the adjacency lists, finding repeating nodes or node regions in the successive lists, more general grammar-based transformations or 2-dimensional representations of the binary matrix of the graph. In this paper we present two Web graph compression algorithms. The first can be seen as engineering of the Boldi and Vigna (2004) method. We extend the notion of similarity between link lists, and use a more compact encoding of residuals. The algorithm works on blocks of varying size (in the number of input lines) and sacrifices access time for better compression ratio, achieving more succinct graph representation than other algorithms reported in the literature. The second algorithm works on blocks of the same size, in the number of input lines, and its key mechanism is merging the block into a single ordered list. This method achieves much more attractive space-time tradeoffs.
Motivation & Objective
- To address the challenge of storing massive Web graphs in main memory due to their size, which exceeds available RAM.
- To improve compression ratios beyond existing methods while maintaining efficient random access to adjacency lists.
- To explore tradeoffs between space efficiency and access performance in succinct Web graph representations.
- To develop a method that leverages local and global redundancies in hyperlink lists for better compression.
- To evaluate the performance of the proposed algorithms on real-world Web graph datasets.
Proposed method
- The first algorithm uses variable-sized blocks of adjacency lists and extends the similarity-based compression of Boldi and Vigna by improving residual encoding and using Deflate compression on blocks.
- It applies differential encoding on lists within each block, where each list references the previous one, and stores only the differences (residuals).
- The second algorithm processes fixed-size blocks and merges all lists in a block into a single ordered list, enabling more effective compression through global redundancy detection.
- It uses a hybrid approach: LM-bitmap for fast access and LM-diff for higher compression, both leveraging block-level merging and differential encoding.
- The algorithms are evaluated using Deflate compression on residuals and tested on four real Web graph datasets in both direct and transposed forms.
- The system is implemented in Java and evaluated on a 3.0 GHz Pentium4 machine with 1 GB RAM, measuring bits per edge (bpe) and access time per edge.
Experimental results
Research questions
- RQ1Can Web graph compression be improved by extending the notion of similarity between adjacency lists beyond the original Boldi–Vigna approach?
- RQ2Does merging multiple adjacency lists in a block into a single ordered list lead to better compression than per-list differential encoding?
- RQ3What is the optimal block size for balancing compression ratio and access time in Web graph compression?
- RQ4How do the proposed algorithms compare in space-time tradeoffs to existing methods like Boldi–Vigna and grammar-based schemes?
- RQ5Can the proposed methods achieve sub-1.1 bpe compression while maintaining access times competitive with SSD disk access?
Key findings
- The LM-diff variant achieved a compression ratio of 1.061 bits per edge (bpe) on the Indochina-2004 dataset with a block size of 16384 bytes, outperforming prior work.
- For the EU-2005 dataset, the LM-bitmap variant achieved 1.485 bpe at h=32, showing strong compression with acceptable access time.
- Access time increased with block size: using 16384-byte blocks resulted in 57.39 μs per edge on Indochina-2004, compared to 6.50 μs for 1024-byte blocks.
- Doubling the block size from 1024 to 16384 bytes reduced space by approximately 10%, but access time increased by a factor of ~9 on average.
- The LM-diff variant achieved a 74% slowdown in decoding compared to LM-bitmap at h=64 on Indochina-2004, but the average slowdown was more moderate.
- The proposed algorithms achieve access times significantly faster than standard 7200 RPM hard drives (~10 ms), even when 1–2 orders of magnitude slower than BV or Claude–Navarro methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.