Learning Graph Representations by Dendrograms

Bertrand Charpentier, Thomas Bonald

TL;DR

This paper introduces a novel metric for evaluating hierarchical graph clustering by focusing on how well a dendrogram can reconstruct the original graph. They propose an optimization framework to find the "best" dendrogram representation and present a greedy agglomerative algorithm that efficiently approximates this optimal solution, offering a new perspective on graph representation and community detection.

What Problem Does This Paper Address?

Understanding the structure of complex networks, like social networks or communication systems, is a fundamental challenge. Hierarchical graph clustering aims to reveal this structure by organizing nodes into nested clusters, forming a dendrogram. However, a key question remains: how do we objectively measure the "quality" of a dendrogram? Existing methods often rely on modularity, which measures the density of edges within clusters compared to a random graph. This paper addresses the limitation of existing quality metrics by proposing a new approach that directly assesses the dendrogram's ability to reconstruct the original graph. This reconstruction-based metric offers a more direct link between the clustering structure and the underlying graph properties.

Methods

The authors introduce a novel approach based on graph reconstruction. They define a "best" dendrogram as one that minimizes the Kullback-Leibler (KL) divergence between the sampling distribution of node pairs in the original graph and a graph reconstructed from the dendrogram. This optimization problem is formulated as finding the optimal ultrametric (a specific type of distance metric) that best represents the graph.

The core of their method involves:

  • Sampling Distributions: Defining node-pair and cluster-pair sampling distributions based on edge weights and node weights.
  • Graph Reconstruction: Representing the graph's edge weights as a function of the dendrogram's distances and node probabilities.
  • Optimization Objective: Minimizing the KL divergence between the original and reconstructed graph's sampling distributions. This leads to a cost function that is maximized by the optimal dendrogram.
  • Greedy Agglomerative Algorithm: Developing a greedy algorithm that iteratively merges the closest clusters based on a derived linkage measure. This algorithm efficiently approximates the optimal dendrogram.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Reconstruction as a Quality Metric: The paper argues that a dendrogram's quality should be measured by its ability to reconstruct the original graph. This is a departure from purely partition-based metrics like modularity.
  • Dendrograms as Graph Representations: The work frames dendrograms not just as clustering structures but as explicit representations of graphs, where the hierarchy and distances encode relationships.
  • Linkage and Modularity Connection: The proposed linkage measure for merging clusters is shown to be proportional to modularity under specific conditions (uniform node weights), bridging their new approach with established concepts.
  • Regular Dendrograms: The derived update formula for cluster merging guarantees the generation of "regular" dendrograms, which are essential for the ultrametric property and consistent hierarchical structure.

Key Results

The paper presents a theoretical framework for optimizing dendrogram representations and an associated greedy algorithm. While specific quantitative results on benchmark datasets are not detailed, the key findings are:

  • Derivation of an Optimal Linkage: The paper derives an optimal linkage measure (Equation 5) for hierarchical clustering that directly relates to graph reconstruction.
  • Efficient Approximation Algorithm: A greedy agglomerative algorithm is proposed that efficiently finds an approximate solution to the NP-hard optimization problem of finding the best dendrogram.
  • Theoretical Guarantees: The algorithm is shown to produce regular dendrograms, ensuring the resulting distance on nodes is an ultrametric.

Limitations and Future Work

  • NP-Hardness: The problem of finding the truly optimal dendrogram is NP-hard, similar to minimizing other hierarchical clustering cost functions. The paper acknowledges this and proposes a greedy heuristic.
  • Computational Complexity: While the greedy algorithm is efficient, its exact complexity is not detailed.
  • Future Work: The authors suggest that the greedy agglomerative algorithm can find approximate solutions to their optimization problem. Further exploration of this algorithm's performance and its interpretation in terms of modularity at different resolutions is implied. The paper also hints at the potential for this framework to be applied to other graph-related tasks beyond just clustering.

Summary updated

BibTeX
@inproceedings{charpentier2019learning,
  author = {Bertrand Charpentier and Thomas Bonald},
  title = {{Learning Graph Representations by Dendrograms}},
  booktitle = {SPIRE},
  year = {2019},
}
Figure