Graph Similarity Description: How Are These Graphs Similar?

Corinna Coupette, Jilles Vreeken

Abstract

Traditional graph similarity metrics often produce a single numerical value that lacks interpretability. We introduce Momo, a framework that redefines graph similarity as a description problem. By leveraging the Minimum Description Length (MDL) principle, Momo identifies shared structural patterns—such as cliques, stars, and bicliques—to construct a "common model" that explains how and why two graphs are similar.

Introduction: Beyond Distance Metrics

In domains ranging from bioinformatics to social network analysis, comparing complex networks is a fundamental task. However, standard distance metrics or node alignment methods often fail to provide the structural insights required by domain experts. A similarity score of "0.42" does not reveal whether two networks share core hubs or similar community structures. Momo addresses this by providing a descriptive summary of commonalities and differences, moving beyond simple measurement to meaningful interpretation.

The Momo Framework

The Momo (Model of Models) framework decomposes the similarity problem into two algorithmic stages:

  1. Beppo (Graph Summarization): This algorithm generates a concise summary of a graph using a vocabulary of four interpretable structures. Crucially, Beppo allows these structures to overlap on both nodes and edges, better capturing the "messy" reality of real-world networks.
  2. Gigi (Model Alignment): Gigi identifies the "Common Model" shared between two distinct graphs. It employs a matching heuristic to pair similar structures, even when graphs differ in size or lack a pre-defined node alignment.
The Momo framework identifies a Common Model shared by two graphs, describing their similarity through shared structures and the transformations required to reach the individual models.

The entire process is governed by the Minimum Description Length (MDL) principle. The most effective similarity description is the one that compresses the two graphs most efficiently by describing shared elements once and then detailing individual variations. This approach yields the Normalized Model Distance (NMD), a robust similarity score ranging from 0 (identical) to 1 (completely different).

Structural Vocabulary

The interpretability of Momo stems from its use of a specific vocabulary of graph structures. These patterns represent common organizational motifs found in diverse network types.

Momo's structural vocabulary includes Cliques, Stars, Bicliques, and Starcliques, each represented by distinct patterns in the graph's adjacency matrix.
  • Cliques: Tightly-knit, dense groups of nodes.
  • Stars: A central hub connected to multiple "spoke" nodes.
  • Bicliques: Two distinct groups of nodes where every node in one group connects to every node in the other.
  • Starcliques: A hybrid structure where a central hub is itself part of a clique.

Key Insights and Results

Momo was evaluated across a variety of real-world datasets, including protein-protein interactions (bio), collaboration networks (clg, csi), and legal citation networks (lus, lde).

  • Scalability: Despite the complexity of the search space, Momo scales near-linearly with the number of edges, ensuring practicality for large-scale networks.
  • Domain Discovery: The framework successfully identified "housekeeping" proteins in biological networks and tracked the rapid structural evolution of research fields over time.
  • Compression Efficiency: The Beppo algorithm consistently outperformed existing standards like VoG in terms of compression efficiency, identifying more meaningful structures per bit.

Conclusion and Future Work

Momo shifts the focus of graph comparison from abstract numbers to interpretable models. While currently focused on undirected, unweighted graphs and a vocabulary of four structures, future extensions could include weighted edges, node attributes, and a broader library of structural motifs. By providing a "common model," Momo empowers researchers to understand the underlying architecture of network similarity.

Summary updated

BibTeX
@inproceedings{coupette2021graph,
  author = {Corinna Coupette and Jilles Vreeken},
  title = {{Graph Similarity Description: How Are These Graphs Similar?}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
  url = {https://openreview.net/forum?id=P26-i_Fe4rj},
}
Figure