[Paper Review] An Improved Cost Function for Hierarchical Cluster Trees
This paper proposes a new cost function for hierarchical clustering trees that better reflects the inherent hierarchical structure of a similarity graph. Unlike Dasgupta's original cost function, the new function assigns an optimal cost of exactly 1 if and only if the graph has a 'perfect HC-structure,' enabling clearer interpretation and polynomial-time computation for graphs with such structure.
Hierarchical clustering has been a popular method in various data analysis applications. It partitions a data set into a hierarchical collection of clusters, and can provide a global view of (cluster) structure behind data across different granularity levels. A hierarchical clustering (HC) of a data set can be naturally represented by a tree, called a HC-tree, where leaves correspond to input data and subtrees rooted at internal nodes correspond to clusters. Many hierarchical clustering algorithms used in practice are developed in a procedure manner. Dasgupta proposed to study the hierarchical clustering problem from an optimization point of view, and introduced an intuitive cost function for similarity-based hierarchical clustering with nice properties as well as natural approximation algorithms. We observe that while Dasgupta's cost function is effective at differentiating a good HC-tree from a bad one for a fixed graph, the value of this cost function does not reflect how well an input similarity graph is consistent to a hierarchical structure. In this paper, we present a new cost function, which is developed based on Dasgupta's cost function, to address this issue. The optimal tree under the new cost function remains the same as the one under Dasgupta's cost function. However, the value of our cost function is more meaningful. The new way of formulating the cost function also leads to a polynomial time algorithm to compute the optimal cluster tree when the input graph has a perfect HC-structure, or an approximation algorithm when the input graph 'almost' has a perfect HC-structure. Finally, we provide further understanding of the new cost function by studying its behavior for random graphs sampled from an edge probability matrix.
Motivation & Objective
- To address the limitation of Dasgupta's cost function, which fails to reflect whether a graph inherently supports a hierarchical structure.
- To develop a cost function that assigns a more interpretable and meaningful value to the optimality of a hierarchical clustering tree.
- To ensure that the optimal tree under the new cost function remains identical to that under Dasgupta's function, preserving desirable structural properties.
- To enable polynomial-time computation of the optimal tree when the input graph has a perfect hierarchical structure.
- To provide a theoretical framework for analyzing the behavior of the cost function on random graphs generated from an edge probability matrix.
Proposed method
- The new cost function is derived as a normalized variant of Dasgupta's original cost function, scaling it to reflect structural consistency.
- The optimal cost is defined to be exactly 1 if and only if the input graph admits a hierarchical clustering tree consistent with all triplet relations.
- The method introduces a base cost function, baseC(G), which captures the expected cost of a random tree under the graph's edge probability distribution.
- A ratio-cost function, ρ*G = totalC(T*) / baseC(G), is defined to normalize the total cost of the optimal tree relative to the expected base cost.
- Theoretical analysis uses concentration inequalities to bound the deviation of the ratio-cost from its expectation, establishing probabilistic guarantees.
- The algorithmic component leverages the new cost function to design a polynomial-time algorithm for graphs with perfect HC-structure and an approximation algorithm for nearly perfect cases.
Experimental results
Research questions
- RQ1Can a cost function be designed such that its optimal value directly indicates the presence of a perfect hierarchical structure in a similarity graph?
- RQ2How can the cost function be normalized to provide a more interpretable scale for hierarchical clustering quality?
- RQ3Under what conditions can the optimal hierarchical clustering tree be computed in polynomial time using the new cost function?
- RQ4How does the new cost function behave on random graphs sampled from a given edge probability matrix?
- RQ5Can the new cost function support approximation algorithms for graphs that nearly, but not perfectly, exhibit hierarchical structure?
Key findings
- The optimal cost of the new cost function is exactly 1 if and only if the input graph has a perfect hierarchical clustering (HC) structure, i.e., there exists a HC-tree consistent with all triplet relations.
- For graphs with perfect HC-structure, the optimal tree can be computed in polynomial time using the new cost function.
- When the input graph is nearly a perfect HC-structure, the method provides an approximation algorithm for the optimal tree.
- For random graphs generated from an edge probability matrix, the ratio-cost ρ*G converges to (1+o(1)) · 2 / (3p − p²) when all edges have probability p.
- The ratio-cost ρ*G decreases as the intra-cluster edge probability p increases, indicating that higher internal similarity strengthens the hierarchical signal.
- The partial derivative analysis shows that increasing p reduces ρ*G, while q (inter-cluster edge probability) has a more complex, non-monotonic effect on the ratio-cost, with a critical point at q = p/3.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.