Skip to main content
QUICK REVIEW

[Paper Review] Learning Discrete Distributions from Untrusted Batches

Mingda Qiao, Gregory Valiant|arXiv (Cornell University)|Nov 22, 2017
Machine Learning and AlgorithmsComputer Science27 references9 citations
TL;DR

This paper proposes robust algorithms for learning a discrete distribution from untrusted data batches, where up to an $C\epsilon$ fraction of batches may be adversarially corrupted. It introduces two methods: one with exponential runtime in support size $n$ but polynomial in $k$, $1/\epsilon$, and $1/\eta$, achieving error $O(\eta + \epsilon/\sqrt{k})$ with $O((n+k)/\epsilon^2)$ batches; the second runs in $\operatorname{poly}((nk)^k)$ time for the $\eta=0$ case, achieving the same error bound via a novel $\ell_1$-based tensor approximation.

ABSTRACT

We consider the problem of learning a discrete distribution in the presence of an $ε$ fraction of malicious data sources. Specifically, we consider the setting where there is some underlying distribution, $p$, and each data source provides a batch of $\ge k$ samples, with the guarantee that at least a $(1-ε)$ fraction of the sources draw their samples from a distribution with total variation distance at most $η$ from $p$. We make no assumptions on the data provided by the remaining $ε$ fraction of sources--this data can even be chosen as an adversarial function of the $(1-ε)$ fraction of "good" batches. We provide two algorithms: one with runtime exponential in the support size, $n$, but polynomial in $k$, $1/ε$ and $1/η$ that takes $O((n+k)/ε^2)$ batches and recovers $p$ to error $O(η+ε/\sqrt{k})$. This recovery accuracy is information theoretically optimal, to constant factors, even given an infinite number of data sources. Our second algorithm applies to the $η= 0$ setting and also achieves an $O(ε/\sqrt{k})$ recover guarantee, though it runs in $\mathrm{poly}((nk)^k)$ time. This second algorithm, which approximates a certain tensor via a rank-1 tensor minimizing $\ell_1$ distance, is surprising in light of the hardness of many low-rank tensor approximation problems, and may be of independent interest.

Motivation & Objective

  • To address the problem of learning a discrete distribution when a fraction $\epsilon$ of data batches are arbitrarily corrupted by adversarial sources.
  • To design algorithms that remain accurate even when the corrupted data can depend adversarially on the good data.
  • To achieve information-theoretically optimal error bounds in the presence of untrusted data batches.
  • To develop efficient algorithms for the special case $\eta = 0$, where good batches are i.i.d. from the target distribution $p$.
  • To provide theoretical guarantees on sample complexity and error bounds under minimal assumptions on the corrupted data.

Proposed method

  • The first algorithm uses a frequency tensor of batches and searches over a set of candidate distributions $\textsf{DistSet}(n,k,A)$ that are close to the observed batch frequencies in $\ell_1$ distance.
  • It applies recursive concentration bounds via functions $f_{n,t}(\epsilon,m)$ to upper bound the distance between the true distribution $p$ and the best candidate in $\textsf{DistSet}$.
  • The second algorithm approximates the $k$-fold tensor product of the distribution $p$ by a rank-1 tensor minimizing $\ell_1$ distance, leveraging a surprising tractability result despite the general hardness of low-rank tensor approximation.
  • It uses a tensorization property of total variation distance: $\|p^{\
  • research_questions
  • key_findings

Experimental results

Research questions

  • RQ1What is the fundamental limit of distribution learning when a fraction $\epsilon$ of data batches are adversarially corrupted, even with infinite data?
  • RQ2Can we achieve error $O(\eta + \epsilon/\sqrt{k})$ in distribution learning under untrusted batches, and is this error optimal?
  • RQ3Is it possible to design an efficient algorithm for the $\eta = 0$ case that achieves $O(\epsilon/\sqrt{k})$ error, despite the general hardness of low-rank tensor approximation?
  • RQ4How many batches are required to achieve a given error tolerance with high probability in the presence of adversarial corruption?
  • RQ5Can a robust estimator be constructed that is insensitive to adversarial data, even when the adversary observes and reacts to the good data?

Key findings

  • The proposed algorithm achieves an error bound of $O(\eta + \epsilon/\sqrt{k})$ with $O((n+k)/\epsilon^2)$ batches, which is information-theoretically optimal up to constant factors.
  • The error bound $O(\eta + \epsilon/\sqrt{k})$ is tight even in the limit of infinite data, as shown by a matching lower bound of $2\eta + \epsilon/\sqrt{2k}$.
  • For the $\eta = 0$ case, the second algorithm achieves $O(\epsilon/\sqrt{k})$ error in $\operatorname{poly}((nk)^k)$ time, despite the general intractability of low-rank tensor approximation.
  • The algorithm leverages a novel $\ell_1$-based rank-1 approximation of the $k$-fold tensor product $p^{\otimes k}$, which is surprisingly tractable in this setting.
  • The sample complexity is $O((n+k)/\epsilon^2)$, and the algorithm succeeds with high probability $1 - \delta$, with explicit dependence on $n$, $k$, $\epsilon$, and $\delta$.
  • The analysis establishes that even with adversarial data that depends on the good data, the method remains robust and achieves optimal error, demonstrating strong resilience to worst-case corruption.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.