Learning from untrusted data

Moses Charikar, Jacob Steinhardt, Gregory Valiant

TL;DR

This paper introduces a powerful framework for "list-decodable" and "semi-verified" learning, allowing algorithms to extract accurate information even when the vast majority of the dataset (over 50%) is malicious or biased. By combining semidefinite programming (SDP) with a novel outlier-removal technique, the authors provide a general-purpose tool for robust estimation in high-dimensional settings.

What Problem Does This Paper Address?

Most machine learning models are built on a shaky assumption: that our training data is a "reasonably reliable" reflection of reality. In the real world, data is often messy, biased, or even intentionally sabotaged by adversaries (e.g., "poisoning" attacks).

Standard robust statistics usually break down when the fraction of "good" data ($\alpha$) drops below 50%. If 90% of your data is garbage, how can you possibly know which 10% to trust? Without extra information, you can't—an adversary could simply mimic the "good" distribution nine times over.

The authors tackle this by proposing two solutions:

  1. List-Decodable Learning: Instead of one answer, the algorithm returns a short list of $1/\alpha$ possible answers, with the guarantee that one is correct.
  2. Semi-Verified Learning: The algorithm uses a tiny "verified" subset of trusted data to pick the needle out of the haystack of the larger, untrusted dataset.

Methods

The core of the paper is a meta-algorithm for robust stochastic optimization. Instead of finding a single global parameter $w$, the algorithm assigns a unique parameter vector $w_i$ to every data point.

  • The Regularizer: They use a novel "local trace norm" regularizer. They force all $w_i$ to lie within a high-dimensional ellipse (defined by a matrix $Y$) and penalize the trace of that ellipse. This prevents any single outlier from pulling the parameters too far in any one direction without drastically expanding the ellipse.
  • Iterative Outlier Removal: If the optimization results in an ellipse that is "too large," the algorithm looks at the dual of the problem to identify which points are responsible for the expansion. It then down-weights these "culprits" and re-runs the optimization.
  • Padded Decompositions: For cases where the loss functions are strongly convex, the authors use "padded decompositions"—a space-partitioning technique from metric embedding—to cluster the data and iteratively zoom in on the true parameter.
  • Spectral Innovation: A key theoretical contribution is a new matrix concentration inequality (Proposition 1.1) that provides sharper bounds for the maximum eigenvalue of a sample covariance matrix, avoiding the pesky $\log(d)$ factors that usually plague high-dimensional analysis.

Datasets

As a theoretical work, this paper does not benchmark on standard image or text datasets like ImageNet or GLUE. Instead, it evaluates the proposed algorithms on fundamental mathematical models:

  • Gaussian Mean Estimation: Recovering the mean of a high-dimensional distribution.
  • Mixture Models: Clustering points from multiple distributions where some components might be adversarial.
  • Planted Partition Model: Finding hidden structures (communities) in random graphs where an adversary has deleted or added edges to obscure the truth.
  • Exponential Families: General density estimation tasks.

Key Insights and Ideas

  • Symmetry is the Only Real Barrier: The authors argue that the only reason we can't learn from a tiny minority of data is symmetry. If an adversary creates a "fake" cluster that looks exactly like the real one, no algorithm can tell them apart. List-decoding bypasses this by saying, "Here are both; you decide."
  • The Power of the Spectral Norm: Traditional outlier detection often looks at the mean. This paper shows that looking at the spectral norm of the gradients is far more effective for identifying sophisticated adversarial data in high dimensions.
  • Robustness vs. Computation: The authors suggest a fascinating link between the "robustness threshold" (how much noise an algorithm can handle) and the "computational threshold" (how much data is needed to solve a problem efficiently). They show that their robust methods nearly match the best-known efficient algorithms for clean data.

Key Results

  • Mean Estimation: For a distribution with bounded second moments, they can estimate the mean with an error of $\tilde{O}(\sigma/\sqrt{\alpha})$, even when $1-\alpha$ of the data is adversarial. This was previously unexplored for $\alpha < 1/2$.
  • Clustering: Their algorithm matches the performance of state-of-the-art clustering algorithms (like $k$-means) even when the dataset is heavily corrupted, provided the cluster means are sufficiently separated.
  • Sparse Graphs: In the Planted Partition Model, their spectral approach succeeds on sparse graphs where traditional spectral methods fail, thanks to their new concentration inequality that removes the $\log(d)$ dependency.

Limitations and Future Work

  • The $\alpha$ Gap: There is still a theoretical gap regarding the optimal dependence on the fraction of good data $\alpha$. The results achieve $1/\sqrt{\alpha}$ or $1/\alpha$ dependence, but lower bounds suggest $\sqrt{\log(1/\alpha)}$ might be possible in some cases.
  • Strong Convexity: The most powerful clustering results require the loss functions to be strongly convex. Extending these tight bounds to non-convex or linear settings remains a challenge.
  • Computational Cost: While the algorithm is polynomial-time (it's an SDP), solving large-scale semidefinite programs is computationally expensive compared to simple gradient descent. Developing faster, first-order approximations of this robust framework would be a major practical win.

Summary updated

BibTeX
@inproceedings{charikar2017learning,
  author = {Moses Charikar and Jacob Steinhardt and Gregory Valiant},
  title = {{Learning from untrusted data}},
  booktitle = {STOC},
  year = {2017},
  url = {https://openreview.net/forum?id=HGyO5uxTh17},
}

Loading related content...

Figure