Abstract
Hierarchical clustering (HC) is a fundamental tool for uncovering the multi-scale organization of complex networks. However, traditional approaches often struggle with producing overly deep, unbalanced trees or require manual tuning of the number of levels. This paper bridges combinatorial and information-theoretic perspectives by introducing a new objective function based on structural entropy. We present the HCSE algorithm, which automatically discovers natural hierarchies through novel "Stretch" and "Compress" operations, ensuring both balance and interpretability without pre-defined parameters.
Introduction
Hierarchical clustering is essential for analyzing systems ranging from social networks to biological pathways. Despite its utility, the field faces two persistent challenges. First, the "Balance" Problem: many cost functions fail to distinguish between useful balanced trees and "caterpillar" trees, where nodes are added sequentially in a deep, narrow structure. Second, the "K" Problem: most algorithms either generate binary trees that are too deep for practical use or require users to specify the number of levels ($k$) or clusters.
This research addresses these hurdles by leveraging Structural Information Theory. By measuring the complexity of a network through the information required to describe a random walk, the authors provide a framework that naturally favors balanced structures and identifies the intrinsic number of levels in a graph's hierarchy.
Methodology
The authors define "structural entropy" for a cluster tree as the primary objective function. A significant theoretical contribution is Theorem 2.1, which establishes that minimizing structural entropy is mathematically equivalent to minimizing a specific combinatorial cost function: $$\sum_{(u,v) \in E} w(u,v) \log vol(u \vee v)$$ where $vol(u \vee v)$ represents the volume of the lowest common ancestor of nodes $u$ and $v$.
The HCSE Algorithm
To optimize this objective, the authors developed the HCSE (Hierarchical Clustering via Structural Entropy) algorithm. Unlike standard top-down or bottom-up approaches, HCSE utilizes two iterative operations to refine the tree structure:
- Stretch: This operation locally expands a node into a binary subtree using an agglomerative approach, allowing for finer-grained clustering.
- Compress: This operation identifies over-long paths and shrinks them, effectively converting binary subtrees into multi-way partitions to reduce tree height and improve interpretability.
The algorithm also features Automatic Level Detection. By identifying "inflection points" in the rate of entropy reduction, HCSE determines when adding further levels of hierarchy no longer significantly simplifies the network description, thus revealing the intrinsic depth of the hierarchy.
Experimental Evaluation
The HCSE algorithm was evaluated against synthetic and real-world datasets to test its accuracy and ability to detect hierarchy levels.
- Synthetic Data: Using the Hierarchical Stochastic Block Model (HSBM) with a known 4-level ground truth, HCSE consistently identified the correct hierarchy. In contrast, popular methods like LOUVAIN and Hierarchical Label Propagation (HLP) often failed to capture the top-most levels.
- Real-World Data: On the Amazon product network, where product categories serve as ground-truth hierarchy, HCSE achieved a Jaccard Index of 0.20, outperforming LOUVAIN (0.17) and HLP (0.16).
- Efficiency and Interpretability: Across various networks from the SNAP and Network Repository (e.g.,
email-univ,fb-messages), HCSE produced more interpretable, multi-way trees compared to standard binary hierarchical clustering while maintaining competitive combinatorial costs.
Discussion and Conclusion
The structural entropy approach provides a robust information-theoretic bridge to combinatorial optimization. One of its key strengths is that balance is "built-in"; the logarithmic nature of the objective function naturally penalizes unbalanced structures. Furthermore, the algorithm's sparsity-driven stratification allows it to adapt to local network densities rather than applying a rigid global strategy.
While successful, the authors identify areas for future research. Theoretical gaps remain regarding the necessary and sufficient conditions for optimal balance. Additionally, because the structural entropy function is non-linear and volume-related, developing approximation algorithms with guaranteed ratios remains a challenge. Despite these open questions, HCSE represents a significant step toward automated, parameter-free discovery of natural hierarchies in complex networks.
Summary updated