Skip to main content
QUICK REVIEW

[Paper Review] Chamfer-Linkage for Hierarchical Agglomerative Clustering

Kishen N. Gowda, Willem Fletcher|arXiv (Cornell University)|Feb 11, 2026
Advanced Clustering Algorithms ResearchComputer Science0 citations
TL;DR

The paper introduces Chamfer-linkage for HAC, showing an O(n^2) time algorithm, and empirically demonstrates superior clustering quality and balanced dendrograms compared to classical linkages.

ABSTRACT

Hierarchical Agglomerative Clustering (HAC) is a widely-used clustering method based on repeatedly merging the closest pair of clusters, where inter-cluster distances are determined by a linkage function. Unlike many clustering methods, HAC does not optimize a single explicit global objective; clustering quality is therefore primarily evaluated empirically, and the choice of linkage function plays a crucial role in practice. However, popular classical linkages, such as single-linkage, average-linkage and Ward's method show high variability across real-world datasets and do not consistently produce high-quality clusterings in practice. In this paper, we propose \emph{Chamfer-linkage}, a novel linkage function that measures the distance between clusters using the Chamfer distance, a popular notion of distance between point-clouds in machine learning and computer vision. We argue that Chamfer-linkage satisfies desirable concept representation properties that other popular measures struggle to satisfy. Theoretically, we show that Chamfer-linkage HAC can be implemented in $O(n^2)$ time, matching the efficiency of classical linkage functions. Experimentally, we find that Chamfer-linkage consistently yields higher-quality clusterings than classical linkages such as average-linkage and Ward's method across a diverse collection of datasets. Our results establish Chamfer-linkage as a practical drop-in replacement for classical linkage functions, broadening the toolkit for hierarchical clustering in both theory and practice.

Motivation & Objective

  • Motivate the need for more reliable HAC linkages beyond single/complete/average/Ward due to high variability across datasets.
  • Propose Chamfer-linkage as a concept-representation aware, efficient alternative for HAC.
  • Provide an exact O(n^2)-time algorithm and a space-time trade-off for Chamfer-linkage HAC.
  • Demonstrate empirical clustering quality gains and balanced dendrograms across diverse datasets.

Proposed method

  • Define Chamfer distance as Ch(A,B)=sum_{a in A} min_{b in B} d(a,b).
  • Embed Chamfer-distance based linkage into the HAC-NN framework with an O(n^2) time implementation.
  • Prove correctness of Chamfer-linkage HAC and derive O(n^2) time/space (and O(n^2/t) space, O(n^2 t) time) trade-offs.
  • Extend to Chamfer variants (Ch_N, Ch_S, Ch_NS) with respective time/space implications.
  • Provide a fast C++ implementation with Python bindings and compare against classical linkages.
(a) HAC Clustering.
(a) HAC Clustering.

Experimental results

Research questions

  • RQ1Does Chamfer-linkage yield consistently higher-quality clusterings than classical linkages across diverse real-world datasets?
  • RQ2Can Chamfer-linkage be implemented with the same asymptotic efficiency as classical HAC methods?
  • RQ3Do Chamfer variants offer trade-offs in quality, balance, and computational resources?
  • RQ4How do Chamfer-linkage dendrogram heights compare to baselines in practice?

Key findings

  • Chamfer-linkage (asymmetric, non-normalized Ch) consistently outperforms classical linkages on ARI across 19 datasets, with up to 57% improvement and 6% average gain.
  • No classical baseline is consistently reliable (Ward can be up to 29% worse than the best method in ARI).
  • Chamfer-linkage produces balanced dendrograms with low height comparable to averages and Ward’s method.
  • The authors provide optimized C++ implementations and show speedups of 5.75–9.28× over fastcluster and scikit-learn, with Chamfer-linkage matching O(n^2) time.
  • A space-time trade-off allows O(n^2/t) space at O(n^2 t) time for any t in [1,n].
  • Chamfer variants (Ch_N, Ch_S, Ch_NS) show diverse performance, with Ch sometimes achieving substantial best-case gains (e.g., on emnist) and others being less consistent.
(b) Dendrogram.
(b) Dendrogram.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.