When you average things that have separate histories, the result looks like nothing that actually exists. A national wasting rate is an average of districts. A conference front matter, the pages at the start of a proceedings volume listing editors and the table of contents, is in effect an average of the papers it indexes. A language vector built by pooling text over a large region is an average of local varieties. This proposal claims that these are all one failure, and that phylogenetics, the field that reconstructs branching family trees from pairwise distances, already has a tool that detects it without labels. An averaged item sits between branches instead of on one. Its distances to everything else break the "four-point condition," the arithmetic rule that distances along a true tree must obey. Counting how badly each item breaks that rule gives a per-item score for "this is a mixture."
We would test two uses of that score. The first is label-free detection of composite non-research documents (front matter, proceedings indexes, tutorial-abstract volumes) in scholarly corpora. Digital libraries index these as research articles and they pollute text mining. The second is a controlled measurement of how spatial aggregation bends reconstructed trees. That measurement bears on an anomaly in published work: on embedding-derived language distances, the simple clock-assuming method UPGMA beat Neighbor-Joining.
Core Claim
Take four items $i,j,k,l$ with pairwise distances $d$. Form the three pair-sums $d(i,j)+d(k,l)$, $d(i,k)+d(j,l)$ and $d(i,l)+d(j,k)$, and sort them as $S_1 \ge S_2 \ge S_3$. On a perfect tree the two largest are equal. The quartet's departure from tree-likeness is
$$\delta(i,j,k,l) = \frac{S_1 - S_2}{S_1 - S_3},$$
which is 0 for tree-like quartets and grows toward 1 as the quartet becomes box-like. Our per-item mixture score $\bar\delta(i)$ is the mean of $\delta$ over sampled quartets containing item $i$.
The central prediction is a mixture argument. Suppose item $m$ is a convex combination of members from several clades. Then $d(m,\cdot)$ is approximately a weighted average of their distance profiles. Averaging profiles from different clades pulls the two largest pair-sums toward each other, so $\bar\delta(m)$ rises with the number and spread of constituents, while genuine single-history items stay low. The rest of the proposal checks this prediction and turns it into an instrument.
The same quantity explains a second effect. When every leaf of a tree is replaced by an average over a spatial cell, two things happen. Within-cell rate differences are smoothed out, which makes distances look more clock-like and favors UPGMA. Items spanning cell boundaries are made mixed, which raises $\bar\delta$ and hurts all distance methods. Varying cell size and cell placement is the tree version of the modifiable areal unit problem: results change with the scale and the zoning of the units. Doing so should therefore produce a predictable crossover in which method looks best.
Relation to Prior Work
The closest work is Probing Multilingual BERT for Genetic and Typological Signals. It builds language distance matrices by averaging Multilingual BERT concept embeddings over NorthEuraLex and PanLex, runs UPGMA and Neighbor-Joining on them, and scores trees against Glottolog with Generalized Quartet Distance (GQD). Its best match is a GQD of 0.17, obtained with UPGMA at layer 2 on PanLex. That paper motivates us: its UPGMA result is the anomaly we try to explain. It also supplies our benchmark. It never varies the unit of aggregation and never asks whether the averaged items are tree-like, and those two questions are the whole of our contribution.
The mapping studies supply the motivating evidence that aggregation hides structure. Mapping child growth failure in Africa between 2000 and 2015 shows Kenya's national 5.7% wasting concealing a 28.2% Rift Valley pocket. Mapping local variation in educational attainment across Africa finds an 11.3 versus 1.5 mean-years gap between two Nigerian states. In the first-named study, 5×5 km cells still blur slums into the neighborhoods around them. Both papers fix the downscaling target and evaluate maps. Neither has a tree, so neither can ask how aggregation changes inferred lineage structure.
Sparse Neighbor Joining supplies method in two ways. Its quartet-insertion queries let us estimate $\bar\delta$ without enumerating all $O(n^4)$ quartets. Its synthetic simulation regime, with 1,000 to 16,000 taxa, gives our controlled testbed. It also warns that local insertion errors compound. We treat high-$\bar\delta$ items as a likely cause of such errors and test whether removing them helps. Integrated Nested Laplace Approximation for Bayesian Nonparametric Phylodynamics acts as a constraint. Its fast inference conditions on a fixed genealogy, so any mixture-induced topology error passes straight into downstream demographic estimates. This is a reason the diagnostic matters, not something we extend.
For non-research documents, the Lacuna items Front Matter, which lists 33 PVLDB articles and is indexed as a research article, and Proceedings of the 62nd Annual Meeting of the ACL (Volume 5: Tutorial Abstracts) are exactly composite documents. IEEE Transactions on Cybernetics publication information is not a composite. It is boilerplate, so we expect it to be an outlier rather than a mixture. Position papers such as Position: Stop treating `AGI' as the north-star goal of AI research have a single coherent history and should not score high. We state this scope limit up front: the method targets composite artifacts, not every non-research genre.
Research Program
The first stage is a simulation check of the mixture claim. We simulate sequences on random trees in the regime of the SNJ synthetic benchmark. Each leaf gets a spatial coordinate drawn so that clades are spatially clustered with some overlap. We then replace leaves by averages over grid cells, varying the cell size (scale effect) and shifting the grid origin (zone effect). We also inject explicit mixtures of $c$ leaves drawn from $1$ to $5$ clades. Across those settings we measure $\bar\delta$ and the tree error of UPGMA, Neighbor-Joining and SNJ.
The second stage is the language case. We re-run the mBERT distance pipeline on NorthEuraLex and PanLex against Glottolog. This time languages are merged into pseudo-taxa by geographic grid cells of increasing size and by shifted zonings. We ask whether the UPGMA-over-NJ gap widens with aggregation, as the clock-smoothing story predicts, and whether $\bar\delta$ predicts which merged units cause errors.
The third stage is the document case. We embed full texts of a scholarly corpus. Candidate sources are a slice of PIN-14M plus Lacuna records. We compute $\bar\delta$ per document on a k-nearest-neighbor quartet sample and rank documents by it. No standardized benchmark for non-research documents exists, so we will hand-label a stratified sample of about 3,000 documents. The labels are research, composite non-research (front matter, indexes, proceedings-level documents), boilerplate (mastheads, society information, calls for papers), and argumentative (position or opinion pieces). We release the labeled sample.
Baselines
The naive reference for detection is a rule-based filter. It matches title and first-page strings such as "Front Matter," "Committee," "Table of Contents," "publication information" and "Call for," combined with page-length thresholds, and it is applied to the same documents. It is likely strong on front matter with standard titles, which is exactly why it matters: our score has to add value on the misnamed and unusually formatted cases.
The strongest competitor is a supervised classifier: logistic regression and a fine-tuned small encoder, trained on the same embeddings and labels. We give it the same tuning budget, five-fold cross-validation and the same held-out publishers. Lacuna holds no reported result for non-research document classification, so its numbers will come only from our runs.
The ablation that isolates our key ingredient is a geometric score that ignores tree structure. We use three variants: the item's distance to its own k-nearest-neighbor centroid, its local density (local outlier factor), and its mean distance to the corpus. If $\bar\delta$ does not beat these, the phylogenetic part adds nothing.
Our score counts as beating the supervised classifier if it matches that classifier's average precision for the composite class with zero labels. It must also stay within its confidence interval when transferred to an unseen publisher, where we expect the supervised model to degrade.
For the tree experiments, the reference numbers are Rama et al.'s GQD of 0.17 (UPGMA, PanLex, layer 2) and SNJ's reported runtime of about 2.5 hours versus about 40 hours for standard Neighbor-Joining at 16,000 taxa. We first reproduce the 0.17 figure under our pipeline before varying aggregation. Success means two things. The UPGMA advantage must shrink or reverse at finer units. And removing the top-$\bar\delta$ units must lower GQD by more than removing the same number of randomly chosen units.
Why not just…?
Why not just filter by title keywords and page length? For cleanly titled front matter this probably works. The Lacuna record for Front Matter would be caught by its title alone. The weakness is that the metadata is unreliable: these records carry research-article types, DOIs and author bylines. Proceedings and tutorial volumes also have ordinary-looking titles. Our evaluation reports recall separately on documents the keyword filter misses. If that residual set is tiny, we will say the detection use case is marginal and lead with the aggregation result.
Why not just train a classifier on labeled examples? A classifier is likely the best tool inside the distribution it was labeled on, and we expect it to win there. The argument for $\bar\delta$ is that it needs no labels and measures a structural property, mixed history, that should transfer across publishers and languages. The held-out-publisher split settles whether that transfer advantage is real. If the classifier transfers equally well, the detector claim fails.
Why not just use distance to the cluster centroid or a standard outlier score? This is the real threat. A mixture tends to lie near the centroid of its constituents, so simple geometry may capture most of the signal. The tree-based score should differ when the constituents span distinct clades, because then the mixture is central yet violates the four-point condition. The simulation varies the number of clades spanned while holding the centroid offset fixed, and that directly separates the two scores. If they track each other everywhere, we drop the phylogenetic framing for detection.
Why not just aggregate at province level and accept the noise? The mapping studies show that coarse units hide five-fold disparities. For trees, the question is whether coarse units only add noise or actively bias which method wins. The zoning-shift experiment answers this. If shifting grid origins at fixed scale changes topology and method ranking, aggregation is a bias, not just variance.
Decisive Checks
The idea stands or falls on four results. In simulation, $\bar\delta$ must rise monotonically with the number of clades a mixture spans, and it must separate injected mixtures from real leaves better than the centroid-distance score. On NorthEuraLex and PanLex, the UPGMA-minus-NJ GQD gap must vary systematically with cell size and zoning. That would show the published UPGMA advantage partly reflects the averaging done to build language vectors. Pruning the highest-$\bar\delta$ units must improve agreement with Glottolog beyond random pruning. On the labeled document sample, $\bar\delta$ must reach useful average precision on composite non-research documents without labels, and it must score position papers like research papers. If position papers score high, the score is detecting genre rather than mixture, and the core claim is wrong.
References
- Probing Multilingual BERT for Genetic and Typological Signals
- Mapping child growth failure in Africa between 2000 and 2015
- Mapping local variation in educational attainment across Africa
- Sparse Neighbor Joining: rapid phylogenetic inference using a sparse distance matrix
- Integrated Nested Laplace Approximation for Bayesian Nonparametric Phylodynamics
- Front Matter
- Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 5: Tutorial Abstracts)
- IEEE Transactions on Cybernetics publication information
- Position: Stop treating `AGI' as the north-star goal of AI research