Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Methods of Hierarchical Clustering

Hierarchical clustering methods can be run far faster than the naive approach

  • Problem Stored-dissimilarity clustering recomputes dissimilarities at every merge, costing O(n3) time without speed-ups. That makes it a poor base for an efficient program.
  • Method NN-chain grows a chain of nearest neighbors from any starting point. Instead of scanning all dissimilarities, it merges each reciprocal nearest-neighbor pair as soon as the chain finds it.
  • Results Cited early single link implementations run in O(n2) time, against O(n3) for the stored data approach.

Why stored dissimilarities get expensive

Agglomerative clustering merges two clusters at each step until one cluster remains, so the cost of each merge decides the total cost. The stored data approach is the simplest version: it examines all interpoint dissimilarities, merges the closest two points, and replaces them with a representative point or cluster fragment. Its storage stays at O(n) for the objects and the clusters.

Time is the real problem, because recalculating dissimilarities at each step gives an overall complexity of O(n3) when no algorithmic speed-ups are applied. So the procedure explains the idea well but is a poor base for an efficient program. The question the rest of the article pursues is whether the same hierarchy can be built without repeating that work.

One update formula for many criteria

The Lance-Williams dissimilarity update avoids going back to the raw data after a merge. When i and j merge into cluster i ∪ j, the dissimilarity to any other point k is updated with the formula \[ d(i \cup j, k) = \alpha_i d(i,k) + \alpha_j d(j,k) + \beta d(i,j) + \gamma \lvert d(i,k) - d(j,k) \rvert \] The coefficients alpha_i, alpha_j, beta and gamma define the criterion, and Table 1 lists them for each method.

Single linkage is the simplest case: alpha_i and alpha_j are one half, beta is 0, and gamma is minus one half. With these values the update becomes the smaller of d(i,k) and d(j,k). Other linkage methods change only the coefficients, so they can be implemented in much the same way.

Center-based methods such as centroid, median and minimum variance also need cluster center coordinates. For these methods the Euclidean distance must be used, and each center is an average or weighted average of the member vectors. For minimum variance the dissimilarity is a size-weighted distance between two cluster centers, and the agglomerands are the pair that minimizes it.

Inversions and the reducibility property

The shortcut works only when the hierarchy has no inversions. An inversion means a later merge happens at a lower dissimilarity than an earlier one, so the space appears to shrink after an agglomeration. Figure 2 shows this cross-over, and normally one wants to avoid it.

The reducibility property, which the authors tie to Bruynooghe's work, guards against inversions. If d(i,j) is below both d(i,k) and d(j,k), the merged dissimilarity must stay above d(i,j), written \(d(i,j) < d(i \cup j,k)\). Under this property, c and d in Figure 1 can be merged at once, because no other point could have joined either of them.

Under the Lance-Williams update, minimum variance and the linkage methods avoid inversions. Median and centroid can't be guaranteed free of inversions, so their hierarchy may not be unique.

Nearest neighbor chains

Instead of scanning all dissimilarities at every step, the NN-chain grows a chain of nearest neighbors from an arbitrary starting point. Each point in the chain is the nearest neighbor of the one before it, so the chain continues until two consecutive points are each other's nearest neighbors. That reciprocal pair is agglomerated as soon as it's found, and the chain resumes from the point that preceded it.

After a merge, only the nearest neighbors of nearby points need updating. The shortcut reproduces the stored data hierarchy only under the no-inversion condition.

Cited work gives O(n2) time and O(n) space implementations for Ward's, centroid and median methods using this approach. Early single link and a non-unique complete link method were given O(n2) implementations.

Grid and density methods

The grid and density families skip pairwise merging and look for dense cells or regions in space instead. A typical grid method creates a grid, computes each cell's density, sorts the cells, identifies cluster centers and traverses neighboring cells.

STING divides the area into rectangular cells arranged in a hierarchy of levels, and its complexity is O(K).

OptiGrid splits data recursively with cutting planes placed through points of minimal density. Its time complexity is given as O(n · m), a figure the paper takes from Gan et al. (2007).

DBSCAN treats clusters as dense regions separated by low-density regions.

Baire distance for linear-time clustering

The m-adic approach expands values in base m, and the Baire distance compares them by their longest common prefix. A longer shared prefix gives a smaller distance, and the paper states that this distance is an ultrametric.

Each leaf of this 10-way hierarchy is a grid cell, and all pairs inside one cell share one distance. The authors state that this expansion allows clustering in linear time for large data sets. The Baire distance has been applied to chemoinformatics, astronomy and text retrieval.

Limitations

The text reports no timing runs of its own. Its complexity figures come from earlier work, such as O(n2) for early single link implementations and O(n · m) for OptiGrid.

The O(n3) bound and the O(n2) bounds describe different procedures on different data, so they suggest scale rather than measure speed. Centroid and median criteria stay without a guarantee against inversions, and the text offers no fix for them.

The scaling of STING to high dimensions is flagged as hard, while OptiGrid's cost is cited rather than derived.

Paper info

Authors
Murtagh, Fionn, Contreras, Pedro
Venue
arXiv · Preprint
First published
2011-4-30
Added
2026-11-12
Updated
2011-4-30
Version
v1
arXiv
1105.0121
Category
cs.IR · cs.CV · math.ST · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Murtagh, Fionn, Contreras, Pedro (2011). Methods of Hierarchical Clustering. arXiv:1105.0121v1. https://arxiv.org/abs/1105.0121v1

BibTeX
@misc{fionn2011methods,
  title = {{Methods of Hierarchical Clustering}},
  author = {Murtagh, Fionn and Contreras, Pedro},
  year = {2011},
  eprint = {1105.0121},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1105.0121v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up