Saved in:
Bibliographic Details
Main Authors: Pinto Jr., Renato Ferreira, Harms, Nathaniel
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.18915
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914603363991552
author Pinto Jr., Renato Ferreira
Harms, Nathaniel
author_facet Pinto Jr., Renato Ferreira
Harms, Nathaniel
contents Consider two problems about an unknown probability distribution $p$: 1. How many samples from $p$ are required to test if $p$ is supported on $n$ elements or not? Specifically, given samples from $p$, determine whether it is supported on at most $n$ elements, or it is "$ε$-far" (in total variation distance) from being supported on $n$ elements. 2. Given $m$ samples from $p$, what is the largest lower bound on its support size that we can produce? The best known upper bound for problem (1) uses a general algorithm for learning the histogram of the distribution $p$, which requires $Θ(\tfrac{n}{ε^2 \log n})$ samples. We show that testing can be done more efficiently than learning the histogram, using only $O(\tfrac{n}{ε\log n} \log(1/ε))$ samples, nearly matching the best known lower bound of $Ω(\tfrac{n}{ε\log n})$. This algorithm also provides a better solution to problem (2), producing larger lower bounds on support size than what follows from previous work. The proof relies on an analysis of Chebyshev polynomial approximations outside the range where they are designed to be good approximations, and the paper is intended as an accessible self-contained exposition of the Chebyshev polynomial method.
format Preprint
id arxiv_https___arxiv_org_abs_2410_18915
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Testing Support Size More Efficiently Than Learning Histograms
Pinto Jr., Renato Ferreira
Harms, Nathaniel
Data Structures and Algorithms
Machine Learning
Consider two problems about an unknown probability distribution $p$: 1. How many samples from $p$ are required to test if $p$ is supported on $n$ elements or not? Specifically, given samples from $p$, determine whether it is supported on at most $n$ elements, or it is "$ε$-far" (in total variation distance) from being supported on $n$ elements. 2. Given $m$ samples from $p$, what is the largest lower bound on its support size that we can produce? The best known upper bound for problem (1) uses a general algorithm for learning the histogram of the distribution $p$, which requires $Θ(\tfrac{n}{ε^2 \log n})$ samples. We show that testing can be done more efficiently than learning the histogram, using only $O(\tfrac{n}{ε\log n} \log(1/ε))$ samples, nearly matching the best known lower bound of $Ω(\tfrac{n}{ε\log n})$. This algorithm also provides a better solution to problem (2), producing larger lower bounds on support size than what follows from previous work. The proof relies on an analysis of Chebyshev polynomial approximations outside the range where they are designed to be good approximations, and the paper is intended as an accessible self-contained exposition of the Chebyshev polynomial method.
title Testing Support Size More Efficiently Than Learning Histograms
topic Data Structures and Algorithms
Machine Learning
url https://arxiv.org/abs/2410.18915