[Paper Review] A short note on learning discrete distributions
This note provides concise, self-contained proofs for the sample complexity of learning discrete probability distributions over a known domain of size $k$ under various distance measures—total variation, Hellinger, $χ^2$, Kullback–Leibler, and $ι_{\infty}$, $\ell_2$, Kolmogorov. It establishes tight bounds, showing that for total variation and Hellinger distances, the sample complexity is $\Theta\left(\frac{k + \log(1/\delta)}{\varepsilon^2}\right)$, while for Kolmogorov, $\ell_\infty$, and $\ell_2$, it is $\Theta\left(\frac{\log(1/\delta)}{\varepsilon^2}\right)$, independent of $k$. The empirical distribution estimator achieves optimal performance in all cases.
The goal of this short note is to provide simple proofs for the "folklore facts" on the sample complexity of learning a discrete probability distribution over a known domain of size $k$ to various distances $\varepsilon$, with error probability $δ$.
Motivation & Objective
- To provide simple, accessible proofs for well-known but often assumed sample complexity bounds in distribution learning.
- To unify and clarify the sample complexity of learning discrete distributions under multiple distance measures, including total variation, Hellinger, $\chi^2$, KL divergence, and $\ell_p$-type distances.
- To establish tight asymptotic bounds for each distance measure, with explicit dependence on $k$, $\varepsilon$, and $\delta$.
- To demonstrate that the empirical distribution estimator achieves optimal sample complexity across all considered distance measures.
- To resolve open questions on $\chi^2$ distance by showing the optimal bound remains unknown, while confirming tightness for other metrics.
Proposed method
- Uses the empirical distribution estimator $\tilde{p}$, defined as the normalized count of i.i.d. samples from the true distribution $p$, as the core learning mechanism.
- Applies Jensen’s inequality and Cauchy–Schwarz to bound the expected $\ell_1$-distance (total variation) between $p$ and $\tilde{p}$, yielding $\mathbb{E}[\operatorname{d}_{\rm TV}(p,\tilde{p})] \leq \frac{1}{2}\sqrt{k/n}$.
- Employs McDiarmid’s inequality to convert high-probability concentration from the expected error, showing that $n = \Omega(\log(1/\delta)/\varepsilon^2)$ suffices for high-confidence learning.
- Uses a union bound over all $2^k$ subsets $S \subseteq [k]$ to bound the probability that $\tilde{p}(S) > p(S) + \varepsilon$, leveraging Hoeffding’s inequality for Bernoulli sums.
- Applies the DKW inequality (with Massart’s constant) to establish a high-probability bound on the Kolmogorov distance, valid even for continuous distributions.
- Uses norm inequalities and monotonicity of $\ell_p$ norms to relate different distance measures and derive sample complexity bounds via comparison.
Experimental results
Research questions
- RQ1What is the optimal sample complexity for learning a discrete distribution over a domain of size $k$ under total variation distance?
- RQ2How does the sample complexity of learning in Hellinger distance compare to that in total variation?
- RQ3What is the sample complexity for learning in Kullback–Leibler divergence, and does the empirical estimator achieve it?
- RQ4Why is the sample complexity for Kolmogorov, $\ell_\infty$, and $\ell_2$ distances independent of $k$?
- RQ5Is the sample complexity for $\chi^2$ distance known, and if not, why is it still open?
Key findings
- The sample complexity for learning in total variation distance is $\Phi(\operatorname{d}_{\rm TV},k,\varepsilon,\delta) = \Theta\left(\frac{k + \log(1/\delta)}{\varepsilon^2}\right)$, with the empirical estimator achieving this bound.
- For Hellinger distance, the sample complexity is also $\Theta\left(\frac{k + \log(1/\delta)}{\varepsilon^2}\right)$, and this is proven via a combination of norm inequalities and concentration bounds.
- The sample complexity for Kolmogorov, $\ell_\infty$, and $\ell_2$ distances is $\Theta\left(\frac{\log(1/\delta)}{\varepsilon^2}\right)$, independent of $k$, due to the DKW inequality and norm comparisons.
- The Kullback–Leibler divergence has a sample complexity of $\Theta\left(\frac{k + \log(1/\delta)}{\varepsilon}\right)$, which is strictly better than the $\varepsilon^{-2}$ scaling of $\ell_1$-based distances.
- The $\chi^2$ distance sample complexity remains an open problem, though the empirical estimator is known to be optimal for all other distances considered.
- The empirical distribution estimator is optimal for all distance measures discussed, with tight bounds proven via concentration inequalities and norm inequalities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.