Recovering the Apresjan Hierarchy Using Linkage-Based Clustering
Maximilien Dreveton, Matthias Grossglauser, Daichi Kuroda, Patrick Thiran
NeurIPS 2026
TL;DR. We show that pruning standard linkage-based hierarchical clustering recovers the hierarchy composed of all well-separated clusters under precise conditions satisfied by single, complete, and average linkage, but not by Ward's linkage.
Abstract. Hierarchical clustering seeks to uncover nested structure in data by constructing a tree of clusters, whose deeper levels reveal increasingly fine-grained relationships. However, most hierarchical clustering methods always return a hierarchy, even when the data contain no meaningful hierarchical structure. Moreover, agglomerative linkage algorithms are highly sensitive to the choice of linkage function. To address these drawbacks, we study the Apresjan hierarchy, which consists of all clusters satisfying a strict separation condition. This hierarchy is not necessarily binary, and collapses to a star tree when no nontrivial cluster satisfies this separation condition. Our main contribution is to characterize when the Apresjan hierarchy can be recovered from agglomerative linkage algorithms. We propose a two-step procedure that first constructs a binary tree using a linkage method and then prunes all clusters that violate the separation condition. We give necessary and sufficient conditions on the linkage function under which this procedure exactly recovers the Apresjan hierarchy. Therefore, all linkage rules satisfying these conditions yield the same pruned hierarchy. In particular, single, complete, and average linkage satisfy the conditions, whereas Ward's linkage does not.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies hierarchical clustering, and introduces the notion of a valid clusters in which points are closer to each other than to any point outside the cluster. The authors propose Trimmed Linkage: first build a normal linkage tree, then remove all clusters that are not valid. They prove when this method exactly recovers the Apresjan hierarchy. The reviewers pointed out a few weakness on the submission:
(1) Reviewer 49DJ pointed out that the paper requires every pair of points inside a cluster to be closer than any point outside the cluster. This is a strict separation condition. In noisy data, or when distances are close or tied, many reasonable clusters may not satisfy it. As a result, the Apresjan hierarchy may be sparse or may even become a star tree.
(2) Reviewer 49DJ mentions that there is no experiments supporting the theory developed by the paper.
(3) Reviewer 49DJ asks: "In data with noise or tied distances, does the Apresjan hierarchy often reduce to a star tree? Can the authors provide discussion or examples?"
(4) The same reviewer further asks: If the dissimilarity values have small perturbations, is the output of Trimmed Linkage stable? Is it possible to give an approximate or margin-based version of the result?
(5) Reviewer exin comments: "I don't see many datasets where the found valid clustering hierarchy would yield different results than single linkage clustering (without pruning), or where the tree would be non-binary. Can you give examples for such data?"
(6) Reviewer exin asks: where should your concept be used, which downstream tasks could be improved with it?
(7) The same reviewer further asks: how does your hierarchy relate to the condensed tree of HDBSCAN?
The authors addressed most of the concerns raised by the reviewers, and all the reviewers have positive evaluation on the submission after the rebuttal. I expect the authors to implement the reviewers' comments when preparing the camera-ready version, and recommed acceptance.
Final justification
See the section above.
- Final justification
- See the section above.
Read meta-review
Meta-review
The paper studies hierarchical clustering, and introduces the notion of a valid clusters in which points are closer to each other than to any point outside the cluster. The authors propose Trimmed Linkage: first build a normal linkage tree, then remove all clusters that are not valid. They prove when this method exactly recovers the Apresjan hierarchy. The reviewers pointed out a few weakness on the submission:
(1) Reviewer 49DJ pointed out that the paper requires every pair of points inside a cluster to be closer than any point outside the cluster. This is a strict separation condition. In noisy data, or when distances are close or tied, many reasonable clusters may not satisfy it. As a result, the Apresjan hierarchy may be sparse or may even become a star tree.
(2) Reviewer 49DJ mentions that there is no experiments supporting the theory developed by the paper.
(3) Reviewer 49DJ asks: "In data with noise or tied distances, does the Apresjan hierarchy often reduce to a star tree? Can the authors provide discussion or examples?"
(4) The same reviewer further asks: If the dissimilarity values have small perturbations, is the output of Trimmed Linkage stable? Is it possible to give an approximate or margin-based version of the result?
(5) Reviewer exin comments: "I don't see many datasets where the found valid clustering hierarchy would yield different results than single linkage clustering (without pruning), or where the tree would be non-binary. Can you give examples for such data?"
(6) Reviewer exin asks: where should your concept be used, which downstream tasks could be improved with it?
(7) The same reviewer further asks: how does your hierarchy relate to the condensed tree of HDBSCAN?
The authors addressed most of the concerns raised by the reviewers, and all the reviewers have positive evaluation on the submission after the rebuttal. I expect the authors to implement the reviewers' comments when preparing the camera-ready version, and recommed acceptance.
- Rating
- 6/6
- Confidence
- 5/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The focus of the paper is on the Apresjan hierarchy, the unique hierarchy that contains all valid clusters of a dataset. Specifically, the authors derive necessary and sufficient conditions for a linkage to contain the Apresjan hierarchy for any dataset. The Apresjan hierarchy can then be recovered after pruning of the hierarchy associated with the considered linkage. It is shown that, among usual linkage functions, single, maximum and average linkages satisfy these conditions; this is not the case of Ward's linkage.
Strengths and weaknesses
This paper represents a major breakthrough in the field of hierarchical clustering. Standard agglomerative methods for hierarchical clustering return a hierarchy in the form of a dendrogram (a binary tree) whatever the dataset, even in the absence of a hierarchical structure. The paper shows how to recover the Apresjan hierarchy, the unique hierarchy that contains all valid clusters. It does not only characterizes necessary and sufficient conditions for a linkage function to produce a hierarchy that contains the Apresjan hierarchy, but shows which linkage satisfy these conditions: single, maximum, average (among the standard ones. Surprisingly, the standard Ward's linkage violates one of these conditions.
The result is elegant, simple, and very powerful. It will change the way people consider and apply hierarchical clustering (for instance, by applying single linkage and trimming rather than Ward clustering).
The only criticism I have is the absence of discussion on the complexity of the trimming algorithm (Algorithm 2). It seems to be cubic, so hardly applicable in practice. The mention of the nearest-neighbor chain, that reduces the complexity of the clustering algorithm itself (Algorithm 1), is also missing.
Questions
The authors should provide / discuss the complexity of Algorithm 2.
Limitations
The practical interest of the method depends the complexity of Algorithm 2, which is not discussed.
Formatting concerns
No concern.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces the concept of Valid Hierarchies and how to find them. Basically, a hierarchy is valid if all intra-cluster distances are smaller than inter-cluster distances, a common concept used in fundamental clustering algorithms. With a pruning step after the creation of a hierarchy, non-valid clusters can be removed from the tree to receive a valid hierarchy in the end. It is shown that the pruned hierarchies of agglomerative single linkage clustering as well as complete and average linkage produce such valid hierarchies and yield the very same hierarchy after pruning.
Strengths and weaknesses
Quality
The submission is technically sound and relevant proofs are provided. However, there are no experiments at all (which is fine for a theory paper), but the applicability on real data is questionable - an analysis on how often (if at all) real world data follows such hierarchies could help (e.g., check some typic benchmark datasets and see whether the ground truth is contained in the Apresjan hierarchy) While the paper is written well, it is also quite wordy and repeats rather basic stuff (e.g. a simple proof for partial order after Definition 2, very wordy description of standard single linkage clustering in 3.1, and many more) in the main paper that could be pushed to the appendix or shortened in order to make space for more relevant information: There is not a single use case/experiment/advantage showcasing the benefit of Apresjan hierarchies, there is no complexity analysis of the algorithm, it is not clear where these new concepts should be applied, or how they compare to other methods. Furthermore, the motivation that "traditional hierarchical clustering methods always return a hierarchy, even when the data contain no meaningful hierarchical structure." is questionable: as I understood, the valid hierarchy would also yield a hierarchy, except for very synthetically designed cases, where non-binary agglomerative methods would perform equally.
Minor things:
- l.41: "Different linkage functions can yield drastically different trees on the same dataset, with no principled way to determine which is more appropriate. Together, these issues raise fundamental questions about the robustness and interpretability of traditional hierarchical clustering" -- I disagree. There are different clustering methods that find different structures. It is important and on purpose that we receive different outcomes when using different notions of similarity (in this case, different merging strategies).
Clarity
The paper is written clearly.
Significance
The authors do not show or tell exactly where the concept could have impact. While the motivation in the abstract and intro read nicely, the main method is very restrictive and basically puts clusters in the hierarchy only if the clusters are very easy to separate anyways (i.e., all distances within clusters are smaller than distances between different clusters). Under these strong assumptions of the data, any clustering algorithm would perform very well, especially as the method prefers finer-granular hierarchies over coarser ones.
Originality
Both ingredients, hierarchical clustering and the concept of "nice" or Apresjan hierarchies exist since the 1960's. Putting them both together is nice, and simply pruning what does not follow the "within-cluster distances are smaller than between-cluster distances" yields the desired result. However, I feel there should be more contribution for a NeurIPS paper. (see also Weaknesses later)
Questions
Q1) I don't see many datasets where the found valid clustering hierarchy would yield different results than single linkage clustering (without pruning), or where the tree would be non-binary. Can you give examples for such data?
Q2) Where should your concept be used, which downstream tasks could be improved with it?
Q3) How does your hierarchy relate to the condensed tree of HDBSCAN?
Limitations
No, there are no limitations discussed. I'd wish for a statement on how much the found (pruned) hierarchies are indeed different to standard hierarchies found by, e.g., Single Linkage clustering.
Final justification
The authors answered my questions 1 and 2, and showed there is more novelty and use cases than I originally thought.
I appreciate the discussion on similarities to the condensed tree.
There are numerical experiments on real-world benchmarks, which I appreciate and which should have an additional discussion in the paper.
Formatting concerns
No
7 comments
Rebuttal
We thank the reviewer for the questions about novelty, applications, empirical scope, complexity, and HDBSCAN.
Why strong separation does not make recovery automatic.
In the paragraph about Significance, the reviewer suggests that ''the main method is very restrictive and basically puts clusters in the hierarchy only if the clusters are very easy to separate anyways. Under these strong assumptions of the data, any clustering algorithm would perform very well, especially as the method prefers finer-granular hierarchies over coarser ones''. This is incorrect: Figure 6 in the appendix gives an explicit metric dissimilarity for which Ward linkage omits a valid cluster. The necessary-and-sufficient characterization is therefore non-vacuous: it separates linkage rules that preserve every valid cluster on every input, from rules that can destroy such a cluster.
The Apresjan hierarchy also does not biases preferences toward fine-grained clusters through an optimization objective. It contains every valid cluster and no invalid cluster; calling it the finest valid hierarchy is a set-inclusion statement. In the absence of any nontrivial non-valid cluster in the data, the Apresjan hierarchy is a star, and the algorithm does not hallucinate some artificially and erroneously finer hierarchy.
Paper novelty
We agree that the pruning operation itself is simple. As the reviewer notes, the notions of ``nice'' clusters and the Apresjan hierarchy have a long history, reflecting their fundamental role in the study of clustering. Our contribution is not to introduce these notions, but to characterize precisely when they can be recovered using general linkage-based methods.
Specifically, we provide a necessary and sufficient, dataset-independent characterization of the broad class of linkage update rules whose binary output contains every valid cluster in the Apresjan hierarchy. We prove the sufficiency of the two conditions and provide counterexamples establishing the necessity of each one. The full proofs are nontrivial, and span over 10 pages.
This result provides both a classification of existing linkage methods and a principled framework for constructing new ones while preserving every valid cluster. In particular, it draws a clear distinction between single, complete, and average linkage, which satisfy the necessary and sufficient conditions established in the paper, and Ward, centroid, and median linkage, which do not. Moreover, Proposition 7 shows that convex combinations of certified linkage rules remain certified, yielding a nontrivial family of admissible methods rather than identifying a single preferred linkage. This closure property is particularly relevant in data-driven settings, where the linkage rule can be learned by optimizing the coefficients of a linear combination of linkage functions, without sacrificing the guarantee that every valid cluster is preserved (see the discussion in lines 323--326).
Question 1: datasets where the found valid clustering hierarchy would yield different results than single linkage clustering (without pruning), or where the tree would be non-binary
As a synthetic example, consider the metric over four points :
Single, complete, and average linkage all first merge {1,2}, since is the unique smallest dissimilarity. At the next step, single linkage forms {1,2,3}, whereas complete and average linkage form {1,2,4}.
The cluster {1,2,3} is invalid because and {1,2,4} is invalid because Pruning therefore removes the linkage-dependent size-three cluster in each tree, and all three methods after pruning return the Apresjan hierarchy:
The root {1,2,3,4} of this Apresjan hierarchy has children {1,2}, {3}, and {4}, so the recovered hierarchy is nonbinary.
All relevant merge choices in this example are strict. Thus, the multifurcation is created by removing an invalid intermediate cluster, and not by simultaneously merging clusters whose linkage values are tied. Hence pruning removes actual linkage-dependent structure and produces a nonbinary hierarchy that does not collapse to a star tree.
As more interesting examples on a real datasets, we used standardized raw features and Euclidean dissimilarity on Iris, Wine, Breast Cancer, and Digits (available on sklearn library). Pruning retained 46 of 147, 67 of 176, 190 of 567, and 430 of 1795 non-root internal single-linkage clusters, respectively, thus representing between 24% and 38% of the internal nodes in the original single-linkage trees. All four pruned hierarchy are nonbinary. Moreover, only 43%, 52%, 40%, and 28% of non-root internal clusters were shared by the three unpruned single, complete, and average trees. Therefore, on these standard datasets, different common linkage methods differ substantially and pruning removes substantial structure without collapsing to a star tree.
We will add a short numerical section in the revised paper to account for these results.
Question 2: use cases and downstream role
Our framework is useful whenever a hierarchy is required but one wants to distinguish structure supported by the dissimilarities from the arbitrary binary refinements introduced by an agglomerative linkage algorithm.
First, in exploratory clustering and dendrogram visualization, Trimmed Linkage reports only clusters satisfying the validity condition. Removing an internal node has a direct interpretation: the data does not support that particular grouping under Definition 3. Thus, a multifurcation indicates that several finer binary resolutions are unsupported, while a star represents principled abstention rather than an automatically generated hierarchy.
Second, some downstream procedures require a binary tree, for example for coarse-to-fine search, hierarchical indexing, or tree-based dynamic programming. In this case, one may retain the unpruned hierarchy produced by a certified linkage rule. Lemma 3 guarantees that this binary tree contains ; consequently, none of its additional branches crosses or splits a valid cluster. The procedure can therefore exploit a binary representation without destroying any valid cluster.
Third, Proposition 7 enables data-driven linkage design. The coefficients of a convex combination of certified linkage rules can be optimized for an application-specific objective while preserving every valid cluster, regardless of the learned coefficients. Consequently, the linkage coefficients may be learned to choose an application-dependent linkage rule, while Proposition 7 guarantees that every valid cluster remains present for any such choice of coefficients.
We agree that these motivations and use case are missing in the current submission, and will revise the introduction accordingly.
Question 3: comparison with HDBSCAN
HDBSCAN uncondensed hierarchy is obtained by applying single linkage on the mutual-reachability dissimilarity defined by
where is the distance between and its -th nearest neighbor, under the dissimilarity . Pruning this hierarchy therefore recovers the Apresjan hierarchy . However, HDBSCAN prunes it differently, by using minimum cluster size and subsequently selecting clusters using a persistence/stability criterion. Thus the condensed hierarchy obtained by HDBSCAN is in general different from .
Limitations.
In the revised paper, we will add a discussion quantifying how the pruned hierarchies obtained on real datasets differ from the unpruned hierarchies produced by standard linkage methods; see our response to Question 1.
Thanks for the rebuttal, it helped to address some of my concerns and I'll update some scores accordingly.
I appreciate your investigations on real-world datasets and suggest to regard further real-world data sets which have an inherent hierarchy, e.g., versions of ImageNet, or synthetic datasets to better show the effects of pruning the hierarchy.
I'm not convinced that HDBSCAN's condensed tree is that much different (if disregarding the mincluster size, which can be set to 1) to be dismissed superficially. Being based on the Single Linkage criterion, the distances between clusters are larger than the distance to at least one point within the cluster (let's choose minpts=1 for simplicity, i.e., the exact single linkage clustering). By condensing several parent/children it might have a similar effect as your pruning strategy and should be discussed in more detail. While it might lead to another outcome than pruning, it would be interesting to see how closely related these tree-optimizations are.
Answer 1: Relation to HDBSCAN (1/2)
We thank the reviewer for encouraging a more detailed comparison. As mentioned in our rebuttal, HDBSCAN condensation and Apresjan pruning are structurally related: both start from a single-linkage hierarchy and simplify it by contracting parts of the tree. However, the criteria used to perform these contractions are fundamentally different, and neither procedure is equivalent to the other.
Denote the single-linkage hierarchy , where is the mutual-reachability dissimilarity. Apresjan pruning retains a cluster iff is valid, i.e., iff for every As a result, the existence of one close pair within a single-linkage cluster does not imply that the cluster is valid, as other pairs within the cluster may be farther apart than some point outside it. Lemma 3 and Theorem 4 in the paper show that contains every cluster valid with respect to , and removing its invalid clusters recovers . HDBSCAN condensation instead uses a minimum cluster size . At a split, two children become distinct condensed-tree branches when both have size at least . If one child has size smaller than , its points are treated as falling out, while the larger child retains the identity of the parent branch. This operation does not test the validity condition.
Consequently, the two simplifications cannot be compared in general:
- HDBSCAN condensation can remove a valid cluster solely because its cardinality is smaller than , and can preserve a sufficiently large branch even when that branch violates the validity condition;
- Apresjan pruning is independent of cluster cardinality and retains exactly the clusters satisfying the validity criterion.
The distinction is particularly clear when . In that case, no branch is suppressed and the condensed HDBSCAN hierarchy is the single-linkage hierarchy . It is generally strictly finer than the Apresjan hierarchy because a single-linkage tree usually contain many invalid clusters (as highlighted in our previous numerical experiments). Therefore, even in the boundary case suggested by the reviewer, HDBSCAN condensation does not coincide with Apresjan pruning, except in the degenerate situation where every cluster in the single-linkage hierarchy is valid and pruning removes nothing. Our previous response already shows that this is not the typical case.
HDBSCAN subsequently assigns persistence scores to branches of the condensed tree and selects a flat clustering. This is a further operation, distinct from both condensation and validity pruning. We will expand the discussion in the revised paper to make these precise relationships clear.
Numerical comparison. To numerically quantify the difference, for each value of we fixed the same mutual-reachability dissimilarity and constructed its single-linkage hierarchy. We then applied (i) Apresjan validity pruning and (ii) HDBSCAN condensation with minimum cluster sizes .
Let (resp., ) be the family of non-root, non-singleton clusters retained by validity pruning (resp., by HDBSCAN). The table below reports the Jaccard overlap (in percent) defined by on real datasets.
| Dataset | ||||
|---|---|---|---|---|
| Iris | 1 | 31.3 | 0.0 | 0.0 |
| 5 | 6.8 | 0.0 | 0.0 | |
| 10 | 5.4 | 0.0 | 0.0 | |
| Wine | 1 | 38.1 | 1.1 | 0.0 |
| 5 | 21.6 | 0.0 | 0.0 | |
| 10 | 23.3 | 0.0 | 0.0 | |
| Breast Cancer | 1 | 33.5 | 0.0 | 0.0 |
| 5 | 8.6 | 1.2 | 0.0 | |
| 10 | 6.3 | 0.0 | 0.0 | |
| Digits | 1 | 24.0 | 0.0 | 0.0 |
| 5 | 5.2 | 0.6 | 0.0 | |
| 10 | 2.2 | 0.0 | 0.0 |
The overlap is at most 38.1%. For usual values , it is at most 1.2%, and is zero in most settings. Thus, although both methods contract the same initial hierarchy, the clusters retained by their respective criteria are empirically very different on these datasets.
Remark A zero Jaccard overlap is possible even though both procedures start from the same single-linkage hierarchy, because they may retain disjoint subsets of its internal nodes. For example, suppose the hierarchy contains $$ Assume that and are valid, whereas and are invalid, and consider HDBSCAN condensation with minimum cluster size . Apresjan pruning then retains , while HDBSCAN suppresses and , since they contain fewer than points, but may retain the larger branches and , giving . Hence, and therefore Thus, sharing the same initial linkage hierarchy does not imply that the two pruning criteria retain any common nontrivial cluster.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, the authors study a problem in hierarchical clustering: standard linkage methods always return a binary tree, even when the data may not have a real hierarchy, and different linkage rules can give different results. The authors use the idea of a valid cluster, where points inside a cluster are closer to each other than to any point outside the cluster. All valid clusters form the Apresjan hierarchy, which can be non-binary or even become a star tree if there is no clear cluster structure. The authors propose Trimmed Linkage: first build a normal linkage tree, then remove all clusters that are not valid. They prove when this method exactly recovers the Apresjan hierarchy. In particular, single, complete, and average linkage satisfy their conditions, while Ward, median, and centroid linkage do not. The result shows that pruning can remove some differences caused by the choice of linkage rule, but the method depends on a strong definition of valid clusters.
Strengths and weaknesses
Strength:
Trimmed Linkage is easy to understand: it first builds a binary tree with a standard linkage method and then removes nodes that do not satisfy the valid cluster condition. The method is closely connected to existing hierarchical clustering procedures, so it is conceptually natural.
This paper identifies the scope of the proposed framework and provide a theoretical analysis of it. In particular, the paper proves that single, complete, and average linkage satisfy the recovery conditions, so they can recover the same Apresjan hierarchy after pruning. The paper also shows that Ward, median, and centroid linkage do not satisfy these conditions, so they are outside the scope of the theoretical guarantee. This makes the boundary of the result clear.
Weakness
The paper requires every pair of points inside a cluster to be closer than any point outside the cluster. This is a strict separation condition. In noisy data, or when distances are close or tied, many reasonable clusters may not satisfy it. As a result, the Apresjan hierarchy may be sparse or may even become a star tree.
Although this is a theory paper, small synthetic examples would make the effect of pruning clearer. For example, the paper could show cases where single, complete, and average linkage produce different original trees but the same pruned tree, and why Ward linkage fails. The paper sometimes suggests that pruning can solve the sensitivity to the choice of linkage rule. However, this result only holds for linkage rules that satisfy the proposed conditions. The paper itself shows that Ward, median, and centroid linkage do not satisfy these conditions. Therefore, these claims should clearly state their scope
Questions
-
In addition to the aforementioned weakness
-
In data with noise or tied distances, does the Apresjan hierarchy often reduce to a star tree? Can the authors provide discussion or examples?
-
If the dissimilarity values have small perturbations, is the output of Trimmed Linkage stable? Is it possible to give an approximate or margin-based version of the result?
Limitations
yes
Final justification
Based on the authors’ rebuttal, most of my questions and concerns have been adequately addressed. The authors have also committed to revising the relevant descriptions and clarifying the scope of their claims. I therefore raise my rating to 4 (Borderline Accept).
Formatting concerns
NA
2 comments
Rebuttal
We thank the reviewer for recognizing the technical characterization and the clear distinction it establishes between linkage rules that satisfy the conditions to recover the Apresjan hierarchy and those that do not. We agree that the submitted version should have stated the intended scope of validity more clearly, included concrete illustrations, and qualified its claims about linkage sensitivity. We address each concern separately below.
Weakness 1: the strict separation condition may exclude meaningful clusters.
We agree that Definition 3 imposes a strong condition and that some meaningful clusters may fail to satisfy it, particularly under a noisy or unsuitable dissimilarity. We do not assume that every meaningful cluster must be valid (as a precise definition of a meaningful cluster is arbitrary and dataset- or application-dependent), nor do we propose the Apresjan hierarchy as a complete description of every possible cluster structure.
Instead, validity should be interpreted as a local separation condition: a cluster is retained only when every within-cluster dissimilarity is strictly smaller than every relevant dissimilarity to an outside point. Accordingly, is the conservative hierarchy supported by this condition for a given dissimilarity . If is sparse, or it it reduces to a star, this means that does not certify a finer hierarchy under Definition 3 but it does not imply that the data contains no structure under any other clustering criterion.
Our theoretical question is therefore not whether all meaningful clusters satisfy strict separation, but which linkage rules are guaranteed to preserve every cluster that does satisfy it. This preservation is not automatic, even under strict separation: the metric counterexample in Figure 6 shows that Ward linkage can omit a valid cluster. Once a valid cluster is absent from the un-pruned linkage tree, pruning cannot recover it. Lemma 3 and Theorem 4 characterize completely the linkage rules for which this omission can never occur.
We will revise the introduction and limitations section to make this conservative, certificate-based interpretation explicit.
Weakness 2: the paper lacks examples illustrating the effect of pruning.
Figure 6 in the Appendix already provides a complementary example showing why the same guarantee fails for Ward linkage: Ward's tree omits a valid cluster, which pruning cannot reconstruct.
We agree that a small explicit example in the main text would make the distinction between the raw linkage trees and the recovered hierarchy much clearer. We will add the following metric over four points :
Single, complete, and average linkage all first merge {1,2}, since is the unique smallest dissimilarity. At the next step, single linkage forms {1,2,3}, whereas complete and average linkage form {1,2,4}.
The cluster {1,2,3} is invalid because and {1,2,4} is invalid because Pruning therefore removes the linkage-dependent size-three cluster in each tree, and all three methods after pruning return the Apresjan hierarchy:
The root {1,2,3,4} of this Apresjan hierarchy has children {1,2}, {3}, and {4}, so the recovered hierarchy is nonbinary.
All relevant merge choices in this example are strict. Thus, the multifurcation is created by removing an invalid intermediate cluster, and not by simultaneously merging clusters whose linkage values are tied.
Weakness 3: the claim about removing linkage sensitivity is too broad.
Our result does not claim that pruning makes arbitrary linkage methods equivalent. The precise statement is:
for every input if and only if the linkage update rule satisfies Conditions 1 and 2.
Consequently, single, complete, and average linkage return the same hierarchy after validity pruning because they satisfy these conditions. Ward, centroid, and median linkage do not satisfy them and therefore do not enjoy this universal guarantee. Their exclusion is not an exception to the theorem, but part of the boundary characterized by it.
To avoid any misunderstanding, we will replace broad statements about ``eliminating linkage sensitivity'' with the more precise statement that pruning isolates a linkage-independent hierarchy within the class of linkage rules satisfying Conditions 1 and 2.
Question 2: does noise or the presence of ties typically cause a star tree?
Ties can indeed prevent strict validity. For example, if all off-diagonal dissimilarities are equal, no nontrivial proper cluster is valid and is a star. However, the presence of noise or some tied values does not necessarily imply a star tree: the four-point example above also has unique relevant merge choices and produces a nontrivial, nonbinary Apresjan hierarchy.
We also applied validity pruning to standard Iris, Wine, Breast Cancer, and Digits datasets using the Euclidean distance as dissimilarity. The pruned trees retained respectively 46 of 147, 67 of 176, 190 of 567, and 430 of 1795 non-root, non-singleton clusters, representing between 24% and 38% of the internal nodes in the original single-linkage trees. Moreover, only 43%, 52%, 40%, and 28% of non-root internal clusters were shared by the three unpruned single, complete, and average trees. All four outputs were nonbinary. We obtained similar results with different dissimilarities (such as cosine dissimilarity). These empirical results show that the procedure need not collapse to a star on nonsynthetic data.
We will add a short numerical section in the revised paper to account for these results.
Question 3: stability under perturbations and a margin-based version.
The validity condition admits a direct margin formulation. For every nonempty proper cluster , define
Then is valid if and only if .
Suppose that the dissimilarity is perturbed from to , with
where . The two terms defining the margin can each change by at most , and therefore
It follows that every cluster satisfying $ \Delta_d(C)>2\varepsilon$ remains valid under , while every cluster satisfying $ \Delta_d(C)<-2\varepsilon$ remains invalid. As a result, if
then the sign of every cluster margin is unchanged, and hence
For any linkage rule satisfying Conditions 1 and 2, Trimmed Linkage returns exactly . Thus, under the condition above, its final pruned output is also unchanged, even if the intermediate binary linkage tree changes.
At a zero margin, exact stability cannot be guaranteed: an arbitrarily small perturbation can make a boundary cluster valid or invalid. This motivates the requested approximate version. For , define the margin hierarchy
together with the root and singletons. Since these clusters are valid, they form a laminar hierarchy. They can be recovered by retaining only clusters with margin greater than when pruning the tree of any linkage satisfying Conditions 1 and 2.
We will add these deterministic robustness statements and the margin-based extension to the revised paper.
Thanks for your rebuttal, most of my questions and concerns have been adequately addressed. The authors have also committed to revising the relevant descriptions and clarifying the scope of their claims. I therefore raise my rating to 4 (Borderline Accept).
Comments on the paper
1 comment
Author Response to the Meta-Review by Area Chair bbh4
We thank the Area Chair for the synthesis of the reviews. We respectfully disagree with the conclusion that the problem is insufficiently motivated and that the reviewers' reservations are too substantial to address. Several central concerns rely on factual misunderstandings, while the remaining ones bear on exposition and empirical illustration rather than on the correctness or scope of the main result. We address all seven points in detail in our responses to Reviewers 49DJ and exin, and summarize the main clarifications below.
Motivation and significance.
Validity is not introduced as an assumption that every meaningful cluster must satisfy. It is a conservative, local property that stems naturally from the given dissimilarity function and that makes it possible to identify the clusters unambiguously. The underlying notion is common and has repeatedly appeared in clustering research: for example, valid clusters are called ''nice clusters'' by Ackerman and Dasgupta in their NeurIPS 2014 theory paper (with no experiments).
Our research is therefore not based on an ad hoc new definition of a ''good cluster''; instead, we ask which linkage rules preserve every cluster satisfying this well-established criterion. The answer is nontrivial. Although the validity criterion is a strong separation condition, it does not imply that every standard clustering method recovers the valid clusters: Figure 6 gives a metric instance on which Ward linkage omits a valid cluster. Once a linkage tree omits a valid cluster, pruning the tree can no longer correctly reconstruct it. The main contribution is precisely the necessary-and-sufficient characterization of the linkage rules for which this can never occur. This characterization separates single, complete, and average linkage from Ward, centroid, and median linkage, and Proposition 7 yields a nontrivial class of new certified linkage rules. We further elaborate on the novelty of the paper and its potential use cases in our response to Reviewer exin.
Noise, ties, and empirical non-vacuity.
The concern that noise or tied dissimilarities generally force the Apresjan hierarchy to collapse to a star can be put to a rest. Some boundary cases do produce a star (for example, when all off-diagonal dissimilarities are equal), but ties or perturbations do not imply this in general. As detailed in our response to Reviewer 49DJ, validity admits an explicit margin formulation: under an entry-wise perturbation bounded by , every cluster with validity margin larger than remains valid.
To address the concern about empirical evidence, we additionally evaluated the procedure on Iris, Wine, Breast Cancer, and Digits datasets. The pruned hierarchies retained between 22% and 38% of the non-root internal clusters of the corresponding single-linkage trees, and all four outputs were non-binary. Thus, on these nonsynthetic datasets, pruning does indeed substantially change linkage-dependent structure without collapsing to a star. Moreover, the ground-truth classes approximately satisfy the validity condition. For each class, we measured the fraction of relevant triplets , with and in the same ground truth cluster, and outside of it, for which the validity inequality holds. These fractions range from 89% to 97%, indicating that most triplet-wise constraints associated with the ground-truth classes are satisfied.
| Dataset | Dissimilarity | Valid Triplets (%) | Valid clusters (%) | Shared clusters (%) | |
|---|---|---|---|---|---|
| Iris | 149 | Euclidean | 93.35 | 31.3 | 43.5 |
| Iris | 149 | Cosine | 95.37 | 33.3 | 38.8 |
| Wine | 178 | Euclidean | 77.46 | 38.1 | 51.7 |
| Wine | 178 | Cosine | 72.06 | 32.4 | 39.8 |
| Breast Cancer | 569 | Euclidean | 82.00 | 33.5 | 40.2 |
| Breast Cancer | 569 | Cosine | 80.07 | 29.3 | 35.1 |
| Digits | 1797 | Euclidean | 87.86 | 24.0 | 27.7 |
| Digits | 1797 | Cosine | 87.63 | 22.5 | 26.4 |
“Triplet satisfaction” is the percentage of triplets , where and belong to the same ground-truth class and belongs to a different class, for which .
“Valid clusters” gives the percentage of non-root, non-singleton clusters retained after pruning the corresponding single-linkage hierarchy.
“Shared clusters” is the percentage of non-root internal clusters common to the unpruned single-, complete-, and average-linkage hierarchies.
Other concerns.
Our response to Reviewer exin compares the Apresjan hierarchy with the HDBSCAN condensed tree. We also clarify how our results can be used either to extract a common (valid) structure of a dendrogram and/or to construct a binary linkage tree that preserves every valid cluster.
Our response to Reviewer sDSB explains that the pruning algorithm, already described in Appendix A.4, has time and space complexity, and therefore does not increase the asymptotic cost of single, complete, nor average linkage. We will move this result to the main text, shorten elementary background, add the new examples and empirical diagnostic, and narrow all statements about linkage independence to methods satisfying Conditions 1 and 2.
In summary, the reviewers agree that the theoretical results are technically sound, and one reviewer assesses them as highly significant. Our rebuttal resolves the factual misunderstandings underlying the negative assessments and that the remaining concerns can be addressed through the concrete revisions described in our answers.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for the strong assessment and for identifying that the complexity discussion was missing from the main text.
In Appendix A.4, we describe an algorithm for pruning a hierarchy with k leaves. For every internal (non-leaf) node in the tree v and every data-point x, the algorithm computes the relevant within-subtree maximum and outside-subtree minimum; these quantities determine whether v is valid (i.e., satisfies Definition 3). Because the tree has k−1 internal nodes and k leaves, this leads to a time- and space-complexity of O(k2).
Pruning therefore does not increase the asymptotic cost of standard linkage implementations: indeed single linkage can be constructed in O(k2) using Prim’s algorithm, while complete and average linkage admit O(k2) nearest-neighbor-chain implementations.
We agree that this discussion on the complexity of pruning should be placed in the main text and not in the appendix. Hence, following reviewer exin, we will shorten some part of the paper (namely, the section on partial order and the description of standard single linkage clustering), and replace it by the computational complexity of the pruning step.