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

Ward's Hierarchical Clustering Method: Clustering Criterion and Agglomerative Algorithm

Ward clustering implementations disagree because of squaring and height-scale conventions

  • Problem Common software gives different trees for Ward hierarchical clustering on the same dissimilarity matrix. Users cannot tell which input convention and height scale each implementation expects, so they can misread heights.
  • Method The authors separate two Ward variants, Ward1 and Ward2, by whether inputs are squared and whether heights are square-rooted. Ward2 updates distances directly, while Ward1 updates squared distances.
  • Results With matched inputs and scales, agnes and hclust.PL gave identical sorted node heights on one random 20 by 4 data set.

Why one Ward name gives two outputs

Users of hclust in R and agnes in the cluster package both request Ward clustering, yet on the same dissimilarity matrix they return different trees. The authors trace the confusion to three sources: whether the input dissimilarities are squared, whether node heights are square-rooted, and a subtle difference in the loop structure of the stepwise algorithm.

This matters because a user who assumes one convention can read heights on the wrong scale or pass the wrong kind of input.

The key idea is that both variants minimize the same change in variance, so the difference lies in conventions rather than in the objective. Ward1 takes squared Euclidean distances as its initial dissimilarities and reports heights on a squared-distance scale. Ward2 also starts from squared Euclidean distances, but its update works with distances, so its heights sit on a distance scale.

The two can produce the same output only when the inputs and the reported scale are set consistently.

How the Lance-Williams update drives the merges

The algorithm starts from singleton clusters, merges the closest pair at each step, and then recomputes the dissimilarities between the new cluster and every other cluster. The update weights each old dissimilarity by the cardinalities of the clusters involved, so the size of each cluster shapes the next merge. Ward1 applies this recurrence directly to squared Euclidean inputs.

Ward2 uses the same weights, but its update takes the square root of the weighted squared terms, so the quantity it updates is a distance. Writing the squared quantity as D equal to the square of the distance turns this update into the Lance-Williams form, with the same coefficients as before. \[ D(i\cup i',i'') = \frac{w_i + w_{i''}}{w_i + w_{i'} + w_{i''}} D(i,i'') + \frac{w_{i'} + w_{i''}}{w_i + w_{i'} + w_{i''}} D(i',i'') - \frac{w_{i''}}{w_i + w_{i'} + w_{i''}} D(i,i') \]

Once the Ward1 inputs match the Ward2 squared inputs, the two updates have the same form, so the outputs can be made identical. What remains different is the scale on which the heights are read.

What the four case studies show

The authors generated one random matrix of 20 observations on 4 attributes, using a fixed seed, and ran hclust, agnes and hclust.PL on it.

agnes with the ward option and hclust.PL with ward.D2 gave identical sorted node heights, running from 0.1573864 to 1.8584163. Their dendrograms look the same apart from node order that can be swivelled without changing the tree.

hclust on squared distances with the ward option matched hclust.PL with ward.D on squared distances. The authors report these heights as the squares of the heights from Experiment 1.

Feeding non-squared distances to the ward options gives a well-defined tree that differs from the Ward result. Its node heights are not monotonic relative to those of Experiments 1 and 2.

Taking square roots of the heights from squared input recovers the Ward2 heights, for both hclust with the ward option and hclust.PL with ward.D. The authors conclude that the height scale, not the tree shape, separates the two outputs.

Which height scale to prefer

Ward2 values lie on a distance scale, so they can be compared directly with the input distances. Ward1 values lie on a squared scale and need a square root before that comparison. This is why the authors favour Ward2 when they use cophenetic correlations to check a dendrogram against its input.

The authors state that, on the same dissimilarity matrix, only Ward2 minimizes the Ward clustering criterion. They add that Ward1 on squared input and Ward2 on unsquared input can optimize the same criterion and yield the same clustering levels, once the square root of the Ward1 levels is taken.

Limits of the evidence

All case studies use one random 20 by 4 data set with one seed, and they use only R functions. The claim that only Ward2 minimizes the criterion rests on the authors' analysis, not on a separate optimality test in the experiments.

The authors note that the error sum of squares criteria are NP-complete to optimize exactly, so practical implementations are heuristics. Dissimilarities between non-singleton clusters break the triangular inequality even when the process starts from a Euclidean distance. Whether the outputs of the two implementations keep matching on other data sets was not tested.

Paper info

Authors
Fionn Murtagh, Pierre Legendre
Venue
arXiv · Preprint
First published
2011-11-27
Added
2026-11-12
Updated
2011-12-11
Version
v2
arXiv
1111.6285
DOI
10.1007/s00357-014-9161-z
Category
stat.ML · cs.CV · stat.AP
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

Fionn Murtagh, Pierre Legendre (2011). Ward's Hierarchical Clustering Method: Clustering Criterion and Agglomerative Algorithm. arXiv:1111.6285v2. https://doi.org/10.1007/s00357-014-9161-z

BibTeX
@article{murtagh2011ward,
  title = {{Ward's Hierarchical Clustering Method: Clustering Criterion and Agglomerative Algorithm}},
  author = {Fionn Murtagh and Pierre Legendre},
  year = {2011},
  eprint = {1111.6285},
  archivePrefix = {arXiv},
  doi = {10.1007/s00357-014-9161-z},
  url = {https://arxiv.org/abs/1111.6285v2}
}

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