Neighbor-Joining
Neighbor-joining is a distance-based method for constructing phylogenetic trees and guide trees that relaxes the molecular clock assumption required by UPGMA. Developed by Naruya Saitou and Masatoshi Nei in 1987, it operates by iteratively selecting the pair of taxa that minimizes a criterion function balancing their mutual distance against their average distance to all other taxa, then reducing the distance matrix by replacing the selected pair with a new node.
The algorithm is agglomerative like UPGMA but uses a corrected distance measure that accounts for unequal evolutionary rates. This makes neighbor-joining more robust than UPGMA for real biological data, where lineages frequently evolve at different speeds. However, neighbor-joining is still a heuristic: it does not search tree space exhaustively and can be misled by systematic errors in distance estimation, particularly when distances are large or when the true evolutionary model violates the assumptions of the distance correction method.
Despite its limitations, neighbor-joining remains the most widely used phylogenetic method for large datasets because it is fast — O(n³) for n taxa — and produces reasonable trees for moderate levels of divergence. It is the default tree-building method in many bioinformatics pipelines, though it has been largely superseded by maximum likelihood and Bayesian inference methods for hypothesis testing in evolutionary biology.
Neighbor-joining is the evolutionary biologist's compromise: not as fast as UPGMA, not as accurate as maximum likelihood, but fast enough and accurate enough to be the default choice for a generation of phylogeneticists. Its persistence is not a testament to its excellence but to the power of good-enough solutions in fields where exact methods are computationally prohibitive. The field keeps building better methods, but neighbor-joining endures because it occupies the sweet spot of the speed-accuracy trade-off.