Testing Identity of Distributions under Kolmogorov Distance in Polylogarithmic Space

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lebeda, Christian Janos, Tětek, Jakub
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909370648887296
author Lebeda, Christian Janos
Tětek, Jakub
author_facet Lebeda, Christian Janos
Tětek, Jakub
contents Suppose we have a sample from a distribution $D$ and we want to test whether $D = D^*$ for a fixed distribution $D^*$. Specifically, we want to reject with constant probability, if the distance of $D$ from $D^*$ is $\geq \varepsilon$ in a given metric. In the case of continuous distributions, this has been studied thoroughly in the statistics literature. Namely, for the well-studied Kolmogorov metric a test is known that uses the optimal $O(1/\varepsilon^2)$ samples. However, this test naively uses also space $O(1/\varepsilon^2)$, and previous work improved this to $O(1/\varepsilon)$. In this paper, we show that much less space suffices -- we give an algorithm that uses space $O(\log^4 \varepsilon^{-1})$ in the streaming setting while also using an asymptotically optimal number of samples. This is in contrast with the standard total variation distance on discrete distributions for which such space reduction is known to be impossible. Finally, we state 9 related open problems that we hope will spark interest in this and related problems.
format Preprint
id arxiv_https___arxiv_org_abs_2410_22123
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Testing Identity of Distributions under Kolmogorov Distance in Polylogarithmic Space
Lebeda, Christian Janos
Tětek, Jakub
Data Structures and Algorithms
Information Retrieval
Suppose we have a sample from a distribution $D$ and we want to test whether $D = D^*$ for a fixed distribution $D^*$. Specifically, we want to reject with constant probability, if the distance of $D$ from $D^*$ is $\geq \varepsilon$ in a given metric. In the case of continuous distributions, this has been studied thoroughly in the statistics literature. Namely, for the well-studied Kolmogorov metric a test is known that uses the optimal $O(1/\varepsilon^2)$ samples. However, this test naively uses also space $O(1/\varepsilon^2)$, and previous work improved this to $O(1/\varepsilon)$. In this paper, we show that much less space suffices -- we give an algorithm that uses space $O(\log^4 \varepsilon^{-1})$ in the streaming setting while also using an asymptotically optimal number of samples. This is in contrast with the standard total variation distance on discrete distributions for which such space reduction is known to be impossible. Finally, we state 9 related open problems that we hope will spark interest in this and related problems.
title Testing Identity of Distributions under Kolmogorov Distance in Polylogarithmic Space
topic Data Structures and Algorithms
Information Retrieval
url https://arxiv.org/abs/2410.22123