PAC Mode Estimation using PPR Martingale Confidence Sequences

Shubham Anand Jain, Rohan Shah, Sanit Gupta, Denil Mehta, Inderjeet Jayakumar Nair +5 more
9/10/2021
stat.MEmath.STstat.AP

Official code: rohanshah13/pac_mode_estimation (0 stars, Python, last commit 2022-02-22).

Abstract

We consider the problem of correctly identifying the \textit{mode} of a discrete distribution $\mathcal{P}$ with sufficiently high probability by observing a sequence of i.i.d. samples drawn from $\mathcal{P}$. This problem reduces to the estimation of a single parameter when $\mathcal{P}$ has a support set of size $K = 2$.

Show full abstract

After noting that this special case is tackled very well by prior-posterior-ratio (PPR) martingale confidence sequences \citep{waudby-ramdas-ppr}, we propose a generalisation to mode estimation, in which $\mathcal{P}$ may take $K \geq 2$ values. To begin, we show that the "one-versus-one" principle to generalise from $K = 2$ to $K \geq 2$ classes is more efficient than the "one-versus-rest" alternative. We then prove that our resulting stopping rule, denoted PPR-1v1, is asymptotically optimal (as the mistake probability is taken to $0$). PPR-1v1 is parameter-free and computationally light, and incurs significantly fewer samples than competitors even in the non-asymptotic regime. We demonstrate its gains in two practical applications of sampling: election forecasting and verification of smart contracts in blockchains.

View on arXivView PDF

Code Implementations(1)

00PythonFeb 21, 20224 years ago

Similar Papers

Cite this paper

@article{jain2021mode,
  title  = {PAC Mode Estimation using PPR Martingale Confidence Sequences},
  author = {Shubham Anand Jain and Rohan Shah and Sanit Gupta and Denil Mehta and Inderjeet Jayakumar Nair and Jian Vora and Sushil Khyalia and Sourav Das and Vinay J. Ribeiro and Shivaram Kalyanakrishnan},
  year   = {2021},
  eprint = {2109.05047},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.05047}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.05047.svg)](https://codeofpaper.com/paper/2109.05047)

Discussion