Log-optimal two-sample testing by betting
Aaditya Ramdas
Key points
From the paper's conclusion- For each standard Borel observation space, we construct a single anytime-valid two-sample procedure that is asymptotically log-optimal for every pair of unknown probability laws and every limiting ratio of diverging sample sizes, including zero and infinity.
Abstract
For each standard Borel observation space, we construct a single anytime-valid two-sample procedure that is asymptotically log-optimal for every pair of unknown probability laws and every limiting ratio of diverging sample sizes, including zero and infinity. For independent balanced pairs, the optimal log-wealth rate is $2\JS(P,Q)$, where $\JS$ is the Jensen--Shannon divergence. Unequal sizes yield weighted Jensen--Shannon information and the one-sample limit $\log W(n_1,n_2)/n_2\to\KL(Q\|P)$ when $n_1/n_2\to\infty$. Refining finite partitions and logarithmic-loss learning with measurable characteristic kernels provide universal constructions. Our main contribution is the generality of our construction, and its connections to classical batch efficiency notions. Practical implementations allow continuous classifier fine-tuning, as demonstrated on finite alphabets, Gaussian data, and handwritten digits.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Asymmetric Likelihood-Free Hypothesis TestingarXiv · 2026
- Competitive optimality in testing by betting via Bell-Cover randomizationarXiv · 2026
- Two-Sample Testing via Generative ProcessesarXiv · 2026
- Beyond least-favorable distribution pairs: asymptotically instance-optimal robust hypothesis testingarXiv · 2026
- Asymptotic Divergence-Based Monitoring for Data Drift in Production AI Systems: A Discrete Case ApproacharXiv · 2026
- Graph-Based Testing of Conditional Mean Independence with Applications to Large Language Model EvaluationarXiv · 2026