Compressing Networks with Super Nodes

Natalie Stanley, Roland Kwitt, Marc Niethammer, Peter J. Mucha

TL;DR

This paper introduces a method to compress large networks into smaller "super node" representations. This compression significantly speeds up community detection algorithms and reduces variability in their results, while maintaining high agreement with communities found in the original, full network.

What Problem Does This Paper Address?

Community detection is a powerful technique for uncovering hidden structures and groups within complex networks, from social connections to biological interactions. However, as networks grow in size, applying these algorithms becomes computationally prohibitive. Existing methods, while efficient, can also suffer from high variability in their output across different runs, making it difficult to trust the results. This paper tackles the challenge of making community detection scalable and more robust for massive networks by proposing a network compression technique.

Methods

The core of this paper is a three-step process for creating a "super node" representation of a network:

  1. Identify Seeds: The process begins by selecting a small number of "seed" nodes (S << N, where N is the total number of nodes). The authors propose using the CoreHD algorithm, which recursively identifies high-degree nodes, to select seeds that are central and well-separated.
  2. Grow Super Nodes: Once seeds are chosen, the remaining nodes are "grown" outwards from these seeds. Nodes are agglomerated into super nodes based on their neighborhood proximity, effectively creating larger, composite nodes. This process is controlled by a maximum neighborhood order parameter.
  3. Create Network of Super Nodes: A new, compressed network is constructed where each super node becomes a single node. The edges between these super nodes are weighted by the total weight of edges in the original network that connect nodes belonging to those respective super nodes.

After this compression, standard community detection algorithms (specifically, the Louvain algorithm for modularity maximization and stochastic block model (SBM) fitting) are applied to this smaller, super node network. The community assignments from the super node network are then mapped back to the original nodes.

Datasets

The authors evaluated their approach on 9 real-world network datasets:

  • As22 (Internet)
  • Enron (Email)
  • CMatter (Condensed matter 2003 collaboration)
  • Dblp (Computer science publications)
  • Amazon (Product co-purchases)
  • Email (Email communication)
  • Stanford (Web graph)
  • Notre Dame (Web graph)
  • BrightKite (Location-based social network)

For some of these networks, they used large subgraphs to explore a range of network sizes.

Key Insights and Ideas

  • Network Compression as a Scalability Solution: The paper demonstrates that by creating a compressed "super node" representation, the computational burden of community detection can be shifted from scaling with the full network size (N) to scaling with the much smaller super node network size (S).
  • Reduced Stochastic Variability: A significant finding is that applying community detection to the super node network leads to more consistent results across multiple runs of the same algorithm, and also reduces differences between different community detection algorithms (like Louvain and SBM). This suggests that the super node representation captures robust structural features.
  • Alignment with Local Structure: The super node communities show a strong agreement with local network connectivity. This means that nodes within a super node are more likely to belong to the same community, and this local structure is predictive of community assignments.
  • Balancing Compression and Information Loss: The method aims to create super nodes that minimize aggregation across community boundaries, preserving important structural information while achieving compression.

Key Results

  • Runtime Reduction: The paper shows substantial speedups in community detection runtime, particularly for larger networks and for the SBM fitting method. For instance, SBM fitting on the full Stanford network (over 2 million edges) was significantly slower than on its super node representation.
  • Decreased Partition Variability: Normalized Mutual Information (NMI) analysis revealed that the super node representation leads to lower variability in community partitions compared to using the full network. This means the results are more stable and reliable.
  • High Local Agreement: Experiments using a prediction task based on neighborhood information showed that communities derived from the super node representation often had higher agreement with local network connectivity (measured by Area Under the Curve - AUC) compared to those from the full network.
  • Qualitative Consistency: Visualizations of community assignments on the As22 network demonstrated that the super node representation results in qualitatively consistent community labels across large regions, mirroring the structure found in the full network.

Limitations and Future Work

  • Limitations: The authors acknowledge that comparing partitions from the full and super node networks can be challenging due to differences in community size distributions. They address this by using "matched" resolution parameters and block numbers for the full network to align with the super node results. They also note that while their method for building super nodes is O(M), further optimization of this construction phase could yield even greater gains.
  • Future Work: The authors suggest extending this super node approach to other network types, including directed, signed, attributed, or bipartite networks. They also propose exploring probabilistic model frameworks to infer latent super node assignments.

Summary updated

BibTeX
@inproceedings{stanley2018compressing,
  author = {Natalie Stanley and Roland Kwitt and Marc Niethammer and Peter J. Mucha},
  title = {{Compressing Networks with Super Nodes}},
  booktitle = {Scientific},
  year = {2018},
  doi = {10.1038/s41598-018-29174-3},
}
Figure