BIRCH summarises a sub-cluster by a clustering feature . Why are these three numbers enough, and what are the CFs and radius when is merged with ? If the threshold is , is the merge allowed?
Unsupervised learning, BIRCH
Level L3 Intermediate. Length Long. Nature Th+Mat Both.
What's being asked
Whether you understand that CFs are additive sufficient statistics from which the centroid and radius follow, so a tree of CFs can be built in one pass.
Key idea
For points , is the count, and . CFs add: . The centroid is and the radius is .
Steps
- Show why the radius needs only the CF: with . This simplifies to .
- CF of : , , . CF of : , , .
- Add them without touching the raw points: .
- Centroid . Radius . (Check with the five points: squared deviations sum to , and .)
- Since , BIRCH refuses the merge and the new points start a separate leaf entry. The old sub-cluster's own radius is , well under .
- Explain the role in the CF-tree: each non-leaf node stores the sums of its children's CFs, with branching factor and leaf threshold . One scan inserts each point into the closest leaf entry, which costs about per point for the tree descent. Then a global clustering (such as agglomerative) runs on the leaf CFs.
Common mistakes
- Storing only . Without the radius and diameter cannot be computed.
- Forgetting that the result depends on the insertion order and on , and that BIRCH uses a radius or diameter, so it favours spherical clusters of similar size.
- Confusing with . is the scalar sum of squared norms of the points, so merging gives , not .
How long your answer should be
One page; 6–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in Unsupervised learning: A graph on four nodes has edge weights , , and no other edges. Write the unnormalised Laplacian and find its second-smallest eigenvalue and eigenvector. What clustering does the sign of that eigenvector give, and how does the eigenvalue compare with the RatioCut of that split?
Next in Unsupervised learning: In OPTICS with and (counting the point itself) on the 1-D points , compute the core distance of points 4, 6 and 7.2 and the reachability distances of 6 from 4, of 7.0 from 6, and of 7.4 from 7.2. Why does OPTICS handle this data better than one DBSCAN run?