Search arXiv⌕ Search

arXiv subjects

Fangyuan Lin

Publications and source records attributed to Fangyuan Lin.

8 recordsLinked to original sources

What random subtree lengths reveal about trees

Choose the leaves of a finite tree with positive edge lengths in a uniformly random order, recording after each choice the total length of the smallest subtree connecting the leaves chosen so far. Evans and Lanoue (2018) asked whether the joint distribution of the complete sequence determines the tree up to isomorphism, with vertices of degree two suppressed. They proved reconstruction for several classes of trees; the general question remains open. We show that this question is equivalent to recovering the numbers of leaves attached to each vertex of a known tree when all edges have length one. We establish reconstruction for several classes of trees of arbitrary size, including classes with symmetric branches. We also construct pairs of nonisomorphic binary trees with $n$ leaves whose length sequences have identical joint distributions through the first $m$ leaf selections, where $m$ is proportional to $\sqrt{n}$. Thus, initial sequences of growing length can fail to distinguish trees, even though their complete sequences may distinguish them. Finally, we consider experiments in which the tree itself is random. Different distributions of trees can produce the same length-sequence distribution in general, but we prove that the distribution of a random ultrametric tree is uniquely determined by its observed sequence distribution. Under the infinite-sites mutation model, this yields identification of the distribution of a genealogy from the joint distribution of segregating-site counts in nested samples, with branch lengths measured in mutation units.

math.PR↗

Revisiting Unicity Distance: A Channel Transmission Perspective and Its Limits

This paper revisits the classical notion of unicity distance for substitution ciphers from an information-theoretic perspective. We frame simple-substitution encryption as a noisy transmission channel, in which the plaintext is the message, the unknown key is the noise, and the attacker is the receiver. Using typical sets to motivate the notion of meaningful plaintexts, we apply the channel coding theorem to blocks of plaintext encrypted with independent fresh keys. We show that a block length exceeding $H(K)/D$ permits reliable communication at the language's entropy rate using suitably chosen codebooks across many blocks. This provides a channel transmission interpretation of the classical unicity-distance formula. We then test how well this formula describes plaintext recovery when the message is a passage from six known novels. More than $99\%$ of the passages are uniquely identifiable at 18 letters, well before the classical estimate of about 28. N-gram language models, based on the frequencies of short letter sequences, predict the recovery probabilities much more closely. Hellman (1977) warned that the classical estimate can overstate security, but not by how much. Here it is off by about ten letters.

cs.IT↗

Not All Mislabels Are Equal: Efficient Task-Aware Auditing with Confidence Sequences

We study efficient, adaptive auditing of categorical labels in a fixed dataset, motivated by biodiversity credit programs in which expert verification of species records is costly and downstream scores (e.g., payment) are more sensitive to errors on certain labels than on others. Our proposed ATLAS framework couples anytime-valid inference with a task-aware adaptive auditing policy. Representing label corrections through a confusion matrix, we prioritize which data points to inspect next based on both label uncertainty and the influence of potential label corrections on the downstream score function. In our main case study on Kenyan biodiversity data, task-aware auditing reduces the expert review needed to estimate both the mislabel rate and the nonlinear biodiversity score while maintaining anytime-valid guarantees. We also evaluate ATLAS on public datasets for image classification and named-entity recognition. Across our experiments with linear and nonlinear scores, ATLAS generally reaches the same precision as competing anytime-valid methods with substantially fewer audits. When distribution-free guarantees are prohibitively costly, we develop a model-based Bayesian alternative that can further reduce the number of audits by relying on modeling assumptions. Our biodiversity case study highlights a gap between statistical validity and practical feasibility: generic methods such as Serfling's bound and existing confidence-sequence procedures are rigorous but can require prohibitively many expert reviews in practice. Together, these results show task-aware auditing can significantly reduce the number of expert audits needed while providing finite-sample, anytime-valid guarantees

stat.ME↗

The Exact Ville Identity with Applications to E-Values

Let $M_n$ be a nonnegative supermartingale with $M_0=1$, and let $T_b$ be the first time $M_n$ crosses $b>1$. Ville's inequality gives $P(T_b<\infty)\leq 1/b$. We show that, at every finite time horizon $N$, $$ 1=bP(T_b\leq N)+V_{b,N}+D_{b,N}+R_{b,N}, $$ where $V_{b,N}$ is the expected overshoot at crossing, $D_{b,N}$ is the cumulative predictable decrease before crossing, and $R_{b,N}$ is the expected value of paths that up to the time horizon $N$ remained below the boundary $b$. The identity follows from telescoping and can be made horizon free without additional integrability assumption. It gives a formula for the slack in Ville's inequality and thus the conservatism of the threshold test $M_n\geq b$. For likelihood ratio martingales, the same terms also describe power: $R_{b,N}$ is the probability, under the alternative, of not crossing by $N$, whereas $bP(T_b\leq N)+V_{b,N}$ is the power. The identity also allows us to verify horizon-free guarantees from a finite computation: $P(T_b<\infty)$ lies between $P(T_b\leq N)$ and $P(T_b\leq N)+R_{b,N}/b$, so a proposed threshold test $M_n\geq b_α$ can be shown to be of level $α\in(0,1)$ for every time horizon based on computations at the single horizon $N$. We illustrate how Ville's identity yields sharper thresholds for Bernoulli and exponential likelihood-ratio tests, and for a conformal test of exchangeability, demonstrating Monte Carlo calibration under a composite, nonparametric null. Lastly, we also establish a continuous-time analogue of Ville's identity.

math.PR↗

Mitigating the Winner's Curse While Controlling Multiplicity: e-Process Methods for Anytime-Valid Inference in Dose-Ranging Trials

Phase II dose-ranging trials often report the largest observed dose-control effect while inspecting accumulating data repeatedly. This creates two coupled distortions: selection optimism from choosing the empirical winner, known as the winner's curse, and Type I error inflation from multiplicity across doses and interim looks. We develop an anytime-valid procedure for testing whether the best true dose effect exceeds a clinically meaningful margin. The mathematical starting point is a recent selection-premium identity for the running maximum: for dose-control scores, the expected gain from re-selecting the current leader becomes a predictable selection charge. Subtracting this charge gives a residual with nonpositive drift under the composite null; applying a one-sided mixture-exponential construction then yields an e-process and hence an anytime-valid global test. The resulting rule has a transparent ledger form: raw best effect minus selection charge minus monitoring margin, and a ``GO'' decision is made only when the remaining evidence still exceeds the clinical margin. We give plug-in implementations for Gaussian and binary outcomes, prove finite-sample Type I control and anytime lower confidence bounds for the best dose effect, and illustrate the method through a worked example and simulations.

stat.ME↗

Bounded Difference Concentration for Infinitely Exchangeable Sequences with Applications to AI Benchmark Uncertainty

We consider the concentration properties of functions of infinitely exchangeable random variables. By conditioning on the de Finetti directing measure, we show that the deviation of any function with bounded-difference constants $c_1, \dots, c_n$ decomposes into a conditional sampling fluctuation and a latent mixture fluctuation. When this latent mixture is $σ_{\mathrm{mix}}^2$-subgaussian, we establish a concentration inequality with an effective variance proxy of $\frac{1}{4}\sum_i c_i^2 + σ_{\mathrm{mix}}^2$. Crucially, we demonstrate that for zero-sum linear contrasts, such as the difference between a subsample mean and a full population mean, the latent mixture term cancels exactly. This cancellation yields a tight, mixture-free Hoeffding-type bound that provides a direct de Finetti mechanism for the infinite-extendibility limit of recent finite-exchangeable concentration results. We apply this framework to quantify uncertainty in composite AI benchmarks, such as MMLU, where question items naturally exhibit exchangeable dependence across domains. Our results provide both a domain-stratified hierarchical model for bounding the uncertainty of accuracy scores, and a distribution-free, cost-saving statistical guarantee for accurately estimating full benchmark scores from random subsets.

stat.ML↗

A Selection Premium Decomposition for the Expected Maximum of Random Walks

When $K$ models are evaluated on the same validation set of size $n$, the selected winner's apparent performance is biased upward. Suppose $K$ models are evaluated on a shared sequence of i.i.d. observations $X_1,\dots, X_n$, where model $k$ achieves response $f_k(X_i)$ with mean $μ_k = \mathbb E[f_k(X)]$. Writing $Y_{i,k} = f_k(X_i)-μ_k$ for the centered increment and $S_{n,k} = \sum_{i=1}^n Y_{i,k}$ for the centered cumulative score, the expected maximum satisfies $0\le\mathbb E\bigl[\max_k S_{n,k}\bigr] = \sum_{i=1}^n \mathbb E\bigl[φ_K(S_{i-1})\bigr]$ where $φ_K(u) = \mathbb{E}\bigl[\max_k(u_k + Y_k)\bigr] - \max_k u_k$, $u\in \mathbb R^K$, is the selection premium function. This formula corresponds to the null hypothesis case (all models are equal in the sense that they have the same mean), which clarifies that the bias arises from selection. While this decomposition follows from elementary conditioning and telescoping, we develop the analytical consequences in five directions. (i) structural properties of $φ_K$; (ii) extension to stopping times, recovering Wald's equation at $K=1$; (iii) a winner's curse decomposition for heterogeneous means; (iv) a universal bias concentration law showing that the first $α$-fraction of observations generates a $\sqrtα$-fraction of total bias.

math.ST↗

Applications of the Theory of Aggregated Markov Processes in Stochastic Learning Theory

A stochastic process that arises by composing a function with a Markov process is called an aggregated Markov process (AMP). The purpose of composing a Markov process with a function can be a reduction of dimensions, e.g., a projection onto certain coordinates. The theory around AMP has been extensively studied e.g. by Dynkin, Cameron, Rogers and Pitman, and Kelly, all of whom provided sufficient conditions for an AMP to remain Markov. In another direction, Larget provided a canonical representation for AMP, which can be used to verify the equivalence of two AMPs. The purpose of this paper is to describe how the theory of AMP can be applied to stochastic learning theory as they learn a particular task.

stat.ML↗