Estimating the Law of Ultrametric Trees from Finite Nested Counts

Estimating the law of ultrametric trees from finite nested counts Fangyuan Lin asks when one nested segregating-site count vector at each of finitely many independent loci suffices to estimate the distribution of the entire genealogy, and how accurate that estimate can be. For each fixed number of tips \(n\ge3\), a known positive height bound \(H\) in mutation units suffices. The result holds for arbitrary mixtures of reduced ultrametric trees of height at most \(H\), including mixtures with polytomies, coincident branching heights and arbitrarily short edges. The expected minimax error is of order \(\log\log N/\log N\) as the number \(N\) of independent loci grows. A first-moment bound on height alone permits classes on which uniform consistency fails. Fangyuan Lin, *What random subtree lengths reveal about trees*, arXiv:2612.02091v1, §6.1(5) Experiment and loss At each locus the genealogy is drawn independently from a common unknown law \(\Pi\). The \(n\) samples are contemporaneous, there is no recombination within a locus, and mutations follow the infinite-sites model with a common mutation rate and independent mutation processes across loci. Draw a single uniform leaf order independently of the genealogy at each locus. If \(S_k\) is the number of sites segregating among its first \(k\) leaves, the data at that locus are \((S_2,\ldots,S_n)\). Write \(d=n-1\) and \(X=(S_2,S_3-S_2,\ldots,S_n-S_{n-1})\). Conditional on the genealogy and order, the \(d\) coordinates of \(X\) are independent Poisson variables with mean vector \(\Delta\) given by the successive increases in spanned subtree length, starting with the two-leaf span. The unconditional distribution of \(X\) is a joint product-Poisson mixture. A known positive mutation rate \(\mu\) converts branch lengths and the height cap to mutation units by multiplication by \(\mu\). Dividing the resulting error bound by \(\mu\) returns it to branch-length units. Lin, §5.5, Corollary 5.8 and Remark 5.9 For two trees with leaf distance matrices \(D_T\) and \(D_{T'}\), define \[d_{\mathcal T}(T,T')=\min_{\sigma\in\mathfrak S_n}\max_{i,j}|D_T(i,j)-D_{T'}(\sigma(i),\sigma(j))|,\] where \(\mathfrak S_n\) is the group of tip permutations. The loss on tree laws is first Wasserstein distance \(W_{1,d_{\mathcal T}}\). This metric makes short edges inexpensive even when their contraction changes the topology. Finite-sample accuracy Let \(\Lambda\) be the law of \(\Delta\) on \([0,2H]^d\). Given an integer \(K\ge1\), fit a height-bounded tree law by minimizing the largest difference between its joint count probabilities and the empirical frequencies over the box \(\{0,\ldots,K\}^d\). The joint probability at the count vector \(\mathbf k=(k_1,\ldots,k_d)\) is \[P_\Lambda(\mathbf k)=\int e^{-\sum_{i=1}^d\lambda_i}\prod_{i=1}^d\frac{\lambda_i^{k_i}}{k_i!}\,d\Lambda(\lambda).\] For every \(N\ge1\) and every \(0<\delta<1\), a fit \(\widehat\Pi\) in the compact closure of the class obeys, with probability at least \(1-\delta\), \[W_{1,d_{\mathcal T}}(\widehat\Pi,\Pi)\le \frac{C}{K}+(CK)^{CK}\sqrt{\frac{\log(2(K+1)^d/\delta)}{2N}},\] where \(C\) depends only on \(n,H\). The closure keeps all \(n\) recorded tips and allows zero distances between distinct tips. For an estimate with strictly positive tip distances, replace every off-diagonal half-distance \(a\) by \((1-\epsilon/H)a+\epsilon\), where \(0<\epsilon<H\). This preserves the height cap and adds at most \(2\epsilon\) to the bound. The choice \(\epsilon=H/(N+1)\) retains the rate. Taking \(K\) of order \(\log N/\log\log N\) with a sufficiently small constant gives the uniform expected upper rate. Positive-height star trees already give the matching lower rate for the full nested-count experiment. Two inversions and the tail limitation For the ordered leaves \(Y_1,\ldots,Y_n\), put \(s_k=\tfrac12\min_{i<k}D_T(Y_i,Y_k)\) for \(2\le k\le n\) and \(R_{k-1}=\max(0,s_2,\ldots,s_{k-1})\). The stepwise relation and its inverse are \[\Delta_{k-1}=s_k+(s_k-R_{k-1})_+,\qquad s_k=\Delta_{k-1}-\tfrac12(\Delta_{k-1}-R_{k-1})_+,\] where \(x_+=\max(x,0)\). The sorted attachment heights \(s_k\) specify the numerical levels and their multiplicities. At fixed multiplicities the random order gives a finite matrix from tree templates to attachment records. Evans and Lanoue's Theorem 1.6 and Remark 1.7 distinguish individual ultrametric trees with positive tip distances by their lexicographically first span-length records. The corresponding distinct first attachment records select a triangular submatrix with positive diagonal, giving a right inverse for Lin's fixed-height channel. Lin's Theorem 5.1 gives population identification of tree laws from exact span-record laws. Evans and Lanoue, Theorem 1.6 and Remark 1.7 · Lin, Theorem 5.1 and §5.3 When two adjacent levels merge, the residual used to correct a test function vanishes for every tree template. This gives a Lipschitz observable across all height patterns and the uniform inverse \[W_{1,d_{\mathcal T}}(\Pi,\Pi')\le C_n W_{1,\infty}(\Lambda,\Lambda'),\] where \(W_{1,\infty}\) uses the maximum coordinate distance and \(C_n\) depends only on \(n\). Tensor polynomial approximation then controls \(W_{1,\infty}\) by the joint count probabilities in the finite box. The present paper proves the displayed \(W_1\) bound with a constant that is uniform across height patterns, including at height collisions. For a star of height \(a>0\), the increment means are \((2a,a,\ldots,a)\). The total count has law \(\operatorname{Pois}(na)\), and its conditional split among increment coordinates is multinomial with probabilities \((2/n,1/n,\ldots,1/n)\), independent of \(a\). Thus the entire observation has exactly the information about the height law carried by a scalar Poisson mixture. Miao, Kong, Korlakai Vinayak, Sun and Han established the Wasserstein rate of order \(\log\log N/\log N\) for estimating compactly supported scalar Poisson mixing laws. Miao, Kong, Korlakai Vinayak, Sun and Han, §6, Theorems 6.1–6.2 On a fixed interval \(0<a_-<a_+<H\), the paper constructs two height laws that match all moments of degree less than \(M\). Their height Wasserstein separation is \((a_+-a_-)/M\), and their tree-law separation is \(2(a_+-a_-)/M\). Thinning a \(\operatorname{Pois}(nH)\) count with probability \(a/H\) gives the same conditional count law under both mixtures whenever the count before thinning is less than \(M\). The resulting \(N\)-locus total variation bound for the full nested counts is \(N\Pr\{\operatorname{Pois}(nH)\ge M\}\), which tends to zero for \(M=\lceil 2\log N/\log\log N\rceil\) as \(N\to\infty\). The star construction thus realizes the lower-bound order \(\log\log N/\log N\) in the original nested-count experiment. For the tail limitation, compare a star of fixed height \(a_0>0\) with a mixture placing mass \(\eta\) at height \(a_0+1/\eta\) and the remaining mass at \(a_0\). Both mean heights are at most \(a_0+1\), and their tree-law distance is \(2\). Their \(N\)-locus observation laws have total variation distance at most \(N\eta\), which yields a nonvanishing uniform lower risk when \(\eta<1/(4N)\).

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24802423
Primary Topic
Stochastic processes and statistical mechanics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Estimating the Law of Ultrametric Trees from Finite Nested Counts

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Stochastic processes and statistical mechanics
preprint

Estimating the Law of Ultrametric Trees from Finite Nested Counts

Zixuan He
preprint en

Abstract

Estimating the law of ultrametric trees from finite nested counts Fangyuan Lin asks when one nested segregating-site count vector at each of finitely many independent loci suffices to estimate the distribution of the entire genealogy, and how accurate that estimate can be. For each fixed number of tips \(n\ge3\), a known positive height bound \(H\) in mutation units suffices. The result holds for arbitrary mixtures of reduced ultrametric trees of height at most \(H\), including mixtures with polytomies, coincident branching heights and arbitrarily short edges. The expected minimax error is of order \(\log\log N/\log N\) as the number \(N\) of independent loci grows. A first-moment bound on height alone permits classes on which uniform consistency fails. Fangyuan Lin, *What random subtree lengths reveal about trees*, arXiv:2612.02091v1, §6.1(5) Experiment and loss At each locus the genealogy is drawn independently from a common unknown law \(\Pi\). The \(n\) samples are contemporaneous, there is no recombination within a locus, and mutations follow the infinite-sites model with a common mutation rate and independent mutation processes across loci. Draw a single uniform leaf order independently of the genealogy at each locus. If \(S_k\) is the number of sites segregating among its first \(k\) leaves, the data at that locus are \((S_2,\ldots,S_n)\). Write \(d=n-1\) and \(X=(S_2,S_3-S_2,\ldots,S_n-S_{n-1})\). Conditional on the genealogy and order, the \(d\) coordinates of \(X\) are independent Poisson variables with mean vector \(\Delta\) given by the successive increases in spanned subtree length, starting with the two-leaf span. The unconditional distribution of \(X\) is a joint product-Poisson mixture. A known positive mutation rate \(\mu\) converts branch lengths and the height cap to mutation units by multiplication by \(\mu\). Dividing the resulting error bound by \(\mu\) returns it to branch-length units. Lin, §5.5, Corollary 5.8 and Remark 5.9 For two trees with leaf distance matrices \(D_T\) and \(D_{T'}\), define \[d_{\mathcal T}(T,T')=\min_{\sigma\in\mathfrak S_n}\max_{i,j}|D_T(i,j)-D_{T'}(\sigma(i),\sigma(j))|,\] where \(\mathfrak S_n\) is the group of tip permutations. The loss on tree laws is first Wasserstein distance \(W_{1,d_{\mathcal T}}\). This metric makes short edges inexpensive even when their contraction changes the topology. Finite-sample accuracy Let \(\Lambda\) be the law of \(\Delta\) on \([0,2H]^d\). Given an integer \(K\ge1\), fit a height-bounded tree law by minimizing the largest difference between its joint count probabilities and the empirical frequencies over the box \(\{0,\ldots,K\}^d\). The joint probability at the count vector \(\mathbf k=(k_1,\ldots,k_d)\) is \[P_\Lambda(\mathbf k)=\int e^{-\sum_{i=1}^d\lambda_i}\prod_{i=1}^d\frac{\lambda_i^{k_i}}{k_i!}\,d\Lambda(\lambda).\] For every \(N\ge1\) and every \(0<\delta<1\), a fit \(\widehat\Pi\) in the compact closure of the class obeys, with probability at least \(1-\delta\), \[W_{1,d_{\mathcal T}}(\widehat\Pi,\Pi)\le \frac{C}{K}+(CK)^{CK}\sqrt{\frac{\log(2(K+1)^d/\delta)}{2N}},\] where \(C\) depends only on \(n,H\). The closure keeps all \(n\) recorded tips and allows zero distances between distinct tips. For an estimate with strictly positive tip distances, replace every off-diagonal half-distance \(a\) by \((1-\epsilon/H)a+\epsilon\), where \(0<\epsilon<H\). This preserves the height cap and adds at most \(2\epsilon\) to the bound. The choice \(\epsilon=H/(N+1)\) retains the rate. Taking \(K\) of order \(\log N/\log\log N\) with a sufficiently small constant gives the uniform expected upper rate. Positive-height star trees already give the matching lower rate for the full nested-count experiment. Two inversions and the tail limitation For the ordered leaves \(Y_1,\ldots,Y_n\), put \(s_k=\tfrac12\min_{i<k}D_T(Y_i,Y_k)\) for \(2\le k\le n\) and \(R_{k-1}=\max(0,s_2,\ldots,s_{k-1})\). The stepwise relation and its inverse are \[\Delta_{k-1}=s_k+(s_k-R_{k-1})_+,\qquad s_k=\Delta_{k-1}-\tfrac12(\Delta_{k-1}-R_{k-1})_+,\] where \(x_+=\max(x,0)\). The sorted attachment heights \(s_k\) specify the numerical levels and their multiplicities. At fixed multiplicities the random order gives a finite matrix from tree templates to attachment records. Evans and Lanoue's Theorem 1.6 and Remark 1.7 distinguish individual ultrametric trees with positive tip distances by their lexicographically first span-length records. The corresponding distinct first attachment records select a triangular submatrix with positive diagonal, giving a right inverse for Lin's fixed-height channel. Lin's Theorem 5.1 gives population identification of tree laws from exact span-record laws. Evans and Lanoue, Theorem 1.6 and Remark 1.7 · Lin, Theorem 5.1 and §5.3 When two adjacent levels merge, the residual used to correct a test function vanishes for every tree template. This gives a Lipschitz observable across all height patterns and the uniform inverse \[W_{1,d_{\mathcal T}}(\Pi,\Pi')\le C_n W_{1,\infty}(\Lambda,\Lambda'),\] where \(W_{1,\infty}\) uses the maximum coordinate distance and \(C_n\) depends only on \(n\). Tensor polynomial approximation then controls \(W_{1,\infty}\) by the joint count probabilities in the finite box. The present paper proves the displayed \(W_1\) bound with a constant that is uniform across height patterns, including at height collisions. For a star of height \(a>0\), the increment means are \((2a,a,\ldots,a)\). The total count has law \(\operatorname{Pois}(na)\), and its conditional split among increment coordinates is multinomial with probabilities \((2/n,1/n,\ldots,1/n)\), independent of \(a\). Thus the entire observation has exactly the information about the height law carried by a scalar Poisson mixture. Miao, Kong, Korlakai Vinayak, Sun and Han established the Wasserstein rate of order \(\log\log N/\log N\) for estimating compactly supported scalar Poisson mixing laws. Miao, Kong, Korlakai Vinayak, Sun and Han, §6, Theorems 6.1–6.2 On a fixed interval \(0<a_-<a_+<H\), the paper constructs two height laws that match all moments of degree less than \(M\). Their height Wasserstein separation is \((a_+-a_-)/M\), and their tree-law separation is \(2(a_+-a_-)/M\). Thinning a \(\operatorname{Pois}(nH)\) count with probability \(a/H\) gives the same conditional count law under both mixtures whenever the count before thinning is less than \(M\). The resulting \(N\)-locus total variation bound for the full nested counts is \(N\Pr\{\operatorname{Pois}(nH)\ge M\}\), which tends to zero for \(M=\lceil 2\log N/\log\log N\rceil\) as \(N\to\infty\). The star construction thus realizes the lower-bound order \(\log\log N/\log N\) in the original nested-count experiment. For the tail limitation, compare a star of fixed height \(a_0>0\) with a mixture placing mass \(\eta\) at height \(a_0+1/\eta\) and the remaining mass at \(a_0\). Both mean heights are at most \(a_0+1\), and their tree-law distance is \(2\). Their \(N\)-locus observation laws have total variation distance at most \(N\eta\), which yields a nonvanishing uniform lower risk when \(\eta<1/(4N)\).

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Stochastic processes and statistical mechanics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon