Abstract
We derive a statistical model for estimation of a dendrogram from single linkage hierarchical clustering (SLHC) that takes account of uncertainty through noise or corruption in the measurements of separation of data. Our focus is on just the estimation of the hierarchy of partitions afforded by the dendrogram, rather than the heights in the latter. The concept of estimating this "dendrogram structure'' is introduced, and an approximate maximum likelihood estimator (MLE) for the dendrogram structure is described. These ideas are illustrated by a simple Monte Carlo simulation that, at least for small data sets, suggests the method outperforms SLHC in the presence of noise.
Introduction
Clustering is a fundamental tool for uncovering latent patterns in data. Hierarchical Clustering (HC) is particularly valued for its ability to reveal structure across multiple scales through a tree-like representation known as a dendrogram. Among HC variants, Single Linkage Hierarchical Clustering (SLHC) is widely used due to its computational efficiency and its relationship to Minimum Spanning Trees (MSTs).
However, SLHC suffers from a significant vulnerability: extreme sensitivity to noise. A single poorly placed data point can act as a "bridge" between two distinct clusters, causing them to merge prematurely—a phenomenon known as the "chaining effect." Traditional clustering algorithms treat input distances as absolute truths. In many real-world applications, such as bioinformatics or cyber-security, these distances are merely noisy estimates. This paper proposes a statistical framework to estimate the true underlying hierarchy when distance measurements are unreliable.
Statistical Framework
The core innovation of this work is the transition from deterministic clustering to statistical estimation. The authors propose a model that treats the observed distances as uncertain measurements of an underlying metric.
Separating Structure from Scale
A key conceptual shift involves decomposing a dendrogram into two distinct components: the structure (denoted as $\tau$), which represents the branching topology or hierarchy of partitions, and the heights (denoted as $a$), which represent the resolution levels where merges occur. By treating the heights as "nuisance parameters" and marginalizing them out, the model focuses on estimating the most probable topological structure.
The Noise Model and Likelihood
The framework assumes that measured distances follow a log-normal distribution centered around the "true" metric distances. To identify the optimal structure, the authors calculate the integrated likelihood $p(x|\tau)$ by integrating over all possible heights and metrics that could yield a specific hierarchy.
This integration presents a significant geometric challenge. The set of metrics leading to a specific SLHC result can be represented as a union of convex polytopes. The authors leverage this property to use Monte Carlo integration to approximate the likelihood. Furthermore, because the space of possible dendrogram structures grows super-exponentially with the number of data points, a Metropolis-Hastings (MCMC) algorithm is employed to sample high-probability structures, effectively pruning the search space.
Experimental Evaluation
The proposed method was evaluated using synthetic datasets to establish a proof of concept. The authors conducted simulations with 5-particle systems, generating ground-truth dendrograms and sampling noisy metrics from them. These tests were performed across varying noise levels (standard deviations ranging from 0.1 to 0.17).
Key Results
- Robustness to Noise: The MLE approach consistently outperformed standard SLHC in identifying the correct hierarchy. Notably, as the noise level increased, the performance gap between the MLE and standard SLHC widened, demonstrating the estimator's robustness.
- Search Efficiency: The MCMC pruning process proved highly effective. In simulations with a noise standard deviation of 0.1, the true structure was ranked as the most likely candidate nearly 70% of the time and almost always appeared within the top 10 candidates out of 180 possible structures.
Discussion and Future Work
By treating clustering as a statistical inference problem, this research provides a rigorous path toward noise-robust hierarchical analysis. The use of ultra-metrics bridges the gap between discrete tree structures and continuous distance spaces, allowing for the application of Maximum Likelihood Estimation.
Despite these promising results, computational complexity remains a primary hurdle. The number of spanning trees and the complexity of high-dimensional sampling scale rapidly with the number of data points. Future work will focus on scaling the method for larger datasets, potentially through more efficient navigation of the spanning tree space (e.g., "Kruskal moves") or by adopting more sophisticated priors for dendrogram heights.
Summary updated