Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 21 min ago
PreprintarXiv licencearXiv

Log-optimal two-sample testing by betting

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 2JS(P,Q), where JS is the Jensen--Shannon divergence. Unequal sizes yield weighted Jensen--Shannon information and the one-sample limit log W(n1,n2)/n2→KL(Q|P) when n1/n2→∞. 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.

Related

  1. Distribution-Free Signs and Ranks via Optimal Transport under Multivariate Symmetry and Application to One-Sample Location Testing
    Zhen Huang, Bodhisattva Sen
    Journal of the American Statistical AssociationPeer-reviewedLicence not statedFull text19 citedStatisticsOpenAlex
  2. High-dimensional two-sample testing: From optimal transport to optimal derangements
    Abhradipta Ghosh, Vaibhav Sherkar, Bilol Banerjee +1
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  3. Competitive optimality in testing by betting via Bell-Cover randomization
    Aaditya Ramdas
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  4. Sign Betting for Misspecified Regression: Variance Adaptivity and Optimal Approximation
    Yinan Li, Han Han, Kwang-Sung Jun
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  5. Gaussian-efficient testing by betting on the mean of bounded data
    Diego Martinez-Taboada, Aaditya Ramdas
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{ramdas2026logoptimal,
  title = {{Log-optimal two-sample testing by betting}},
  author = {Aaditya Ramdas},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.19062},
  eprint = {2611.19062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19062},
}
RIS
TY  - UNPB
TI  - Log-optimal two-sample testing by betting
AU  - Aaditya Ramdas
PY  - 2026
DA  - 2026/11/14
PB  - arXiv
DO  - 10.48550/arxiv.2611.19062
UR  - https://arxiv.org/abs/2611.19062
AB  - 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 2JS(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→KL(Q|P) when n_1/n_2→∞. 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.
ER  -