Compressed Foundations: Leveraging Dense Subgraphs for Scalable Social and Web Graphs

Compressed Representation of Web and Social Networks via Dense Subgraphs

2012-01-01
Cecilia Hernández, Gonzalo Navarro
Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces a novel compression technique for large-scale web and social graphs by identifying "dense subgraphs" (a generalization of cliques and bicliques) and representing them using compact data structures like Wavelet Trees and compressed bitmaps. The method focuses on providing efficient symmetric (out/in-neighbor) queries while achieving state-of-the-art compression ratios.

TL;DR

This research tackles the "Big Graph" storage crisis by moving beyond simple adjacency list compression. By mining the graph for dense subgraphs (structures where sets of nodes are highly interconnected), the authors reduce the storage cost of edges from to . The result is a compact, searchable structure that outperforms standard baselines like WebGraph in symmetric navigation tasks.

The "In-Neighbor" Tax

Most graph compression algorithms exploit locality (nodes linking to nearby nodes) and similarity (nodes sharing similar links). While effective, these methods are often asymmetric. If you want to know who points to a specific user on a social network, you usually need to store the entire graph again in its transposed form. This "in-neighbor tax" effectively doubles the memory footprint.

The authors argue that we shouldn't just compress lists; we should compress the motifs that create those lists.

Methodology: The Power of

The core innovation lies in the definition of a Dense Subgraph . Unlike a clique (where every node connects to everyone else in the same set) or a biclique (where one set connects entirely to a different set), a dense subgraph allows and to overlap arbitrarily.

The Two-Stage Discovery

  1. Clustering: Using "shingles" (hash-based fingerprints), the algorithm groups nodes with similar adjacency patterns.
  2. Mining: Inside each cluster, a frequent itemset mining algorithm identifies specific node sets that form dense patterns.

Compact Representation

Once found, a subgraph is stored as a sequence composed of three parts:

  • L: Nodes in but not in .
  • M: Nodes in both and (the overlap).
  • R: Nodes in but not in .

By using a Wavelet Tree for the sequence and an RRR-compressed bitmap for the delimiters, the graph becomes a set of searchable integers.

Model Architecture and Construction Figure 1: Comparison between standard edge lists and the proposed compact L/M/R representation.

Performance and SOTA Comparison

The authors tested their approach on massive datasets like LiveJournal and UK web crawls.

  • Space Efficiency: For web graphs, the approach achieved compression as low as 1.49 bits per edge. Crucially, it was often smaller than the WebGraph (BV) format even when BV didn't support in-neighbor queries.
  • Query Speed: While the -tree remains faster for simple out-neighbor lookups in some scenarios, the dense subgraph approach provides a more balanced "Space/Time Tradeoff" for social networks.

Experimental Results Table Table 1: Compression performance (bits per edge) across different datasets. Note the significant gains in the 'bpe' column for H+R combined.

Critical Insight: Why it Works

The trick is the ratio (Edges captured divided by integers stored). In web graphs, this ratio can be as high as 14.17, meaning for every node ID we store, we represent 14 edges. This "structural amplification" is the secret to beating entropy-based compression alone.

Conclusion & Perspective

The transition from literal edge storage to pattern-based storage is essential as we move toward graphs with trillions of edges. While the construction time (mining subgraphs) is higher than simple sorting, the dividends in memory savings and "mining-ready" storage—where you can find communities directly in the compressed data—make this a cornerstone work for academic and industrial graph systems.

Limitations: The discovery phase is computationally heavy (approx. 0.1ms per link). Future improvements could benefit from parallelizing the frequent itemset mining step.

Find Similar Papers

Try Our Examples

  • Search for recent papers that extend dense subgraph discovery algorithms for graph compression using parallel or GPU-accelerated mining techniques.
  • Which study first introduced the use of Wavelet Trees for graph adjacency list compression, and how does this paper's sequence encoding $X$ differ from that precursor?
  • Investigate how the dense subgraph representation $H(S, C)$ can be applied to bipartite graphs in recommendation systems or biological interaction networks.
Contents
Compressed Foundations: Leveraging Dense Subgraphs for Scalable Social and Web Graphs
1. TL;DR
2. The "In-Neighbor" Tax
3. Methodology: The Power of $H(S, C)$
3.1. The Two-Stage Discovery
3.2. Compact Representation
4. Performance and SOTA Comparison
5. Critical Insight: Why it Works
6. Conclusion & Perspective