Preventing False Discovery in Interactive Data Analysis is Hard

Moritz Hardt, Jonathan R. Ullman

TL;DR

This paper proves that in interactive data analysis, where queries depend on previous answers, there's a fundamental computational limit to how many questions an efficient algorithm can answer accurately. Specifically, an algorithm can only answer about $n^3$ adaptive queries, not exponentially many, without risking false discoveries. This highlights a core difficulty in modern data analysis where adaptivity is key.

What Problem Does This Paper Address?

Modern data analysis, especially in fields like machine learning and collaborative research, is highly interactive. Analysts don't just ask a fixed set of questions; they adapt their queries based on the answers they receive. This is crucial for tasks like hypothesis testing and model tuning. However, this adaptivity can lead to "false discovery" – finding patterns in the data that aren't actually present in the underlying distribution. While statisticians have methods to control false discovery, the increasing scale and adaptivity of data analysis make this problem harder. This paper tackles the question: is there an inherent computational barrier to providing statistically valid answers in these adaptive, interactive settings?

Methods

The authors use a proof technique based on constructing a "challenge distribution" and an "adaptive analyst" that can exploit an oracle (representing the data analysis system). The core idea is to design a scenario where an oracle that tries to answer queries accurately in an adaptive setting will inevitably reveal information about the underlying data.

  1. Fingerprinting Codes: A cryptographic primitive is used to create "challenge queries." If an oracle answers these accurately, a "tracing algorithm" can recover a significant portion of the data samples the oracle is using.
  2. Encryption Schemes: To hide the oracle's knowledge of the data from the attacker, a semantically secure encryption scheme is employed. This allows the attacker to construct queries that depend on the oracle's internal state without the oracle knowing the exact data.
  3. Adaptive Attack: The attacker iteratively queries the oracle, using the fingerprinting code to recover parts of the oracle's sample. As more samples are recovered, the oracle's effective sample size shrinks, making it harder for it to maintain accuracy on subsequent queries.
  4. Lower Bound Construction: The paper constructs a specific attack that shows that an oracle cannot be accurate for more than $n^{3+o(1)}$ adaptive queries, assuming standard cryptographic hardness assumptions (like the existence of one-way functions). They also show a related information-theoretic lower bound for cases where the data dimension is much larger than the sample size.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Adaptivity is Computationally Expensive: The paper demonstrates that providing statistically valid answers to adaptively chosen queries is inherently harder than for non-adaptive queries. The ability to adapt queries based on previous answers comes at a significant computational cost.
  • False Discovery is Tied to Computational Limits: The difficulty in preventing false discovery in interactive settings isn't just about statistical methods; it's also a fundamental computational barrier. The very act of adaptively seeking valid answers can lead to errors.
  • The $n^3$ Barrier: The result establishes a concrete limit ($n^{3+o(1)}$ queries) for efficient oracles. This is a significant improvement over previous work that showed quadratic bounds or exponential time algorithms.
  • Connection to Privacy: The techniques used (fingerprinting codes and encryption) highlight a strong link between the problem of preventing false discovery and privacy-preserving data analysis, particularly in the context of reconstruction attacks.

Key Results

  • Theorem 1.1: Assuming one-way functions exist, there is no computationally efficient oracle that can accurately answer $n^{3+o(1)}$ adaptively chosen statistical queries given $n$ samples.
  • Theorem 1.2: There is no computationally unbounded oracle that can accurately answer $n^{3+o(1)}$ adaptively chosen queries if the data dimension is $d = n^{3+o(1)}$.
  • Theorem 1.3: Computationally efficient oracles that guarantee accuracy for $n^{3+o(1)}$ adaptive queries must be "blatantly non-private" (meaning they reveal significant information about the underlying data).

Limitations and Future Work

  • The $n^3$ Factor: While the paper shows a lower bound of $n^{3+o(1)}$, it acknowledges that previous work achieved $O(n^2)$ for efficient algorithms and exponential for inefficient ones. The $n^3$ bound is tight up to a linear factor, but further refinement might be possible.
  • Dimensionality Dependence: Theorem 1.2 highlights that the dimensionality of the data plays a crucial role. Future work could explore this trade-off more deeply.
  • "Natural" Oracles: The paper first proves a simpler, unconditional lower bound for "natural" oracles (those that don't evaluate queries outside their sample). The main result then extends this to all computationally bounded oracles using cryptographic assumptions. Further exploration of the properties of natural oracles might be interesting.
  • Practical Implications: While the paper establishes a theoretical barrier, understanding how this $n^3$ limit manifests in real-world interactive data analysis systems and how to best operate within it remains an open area.

Summary updated

BibTeX
@inproceedings{hardt2014preventing,
  author = {Moritz Hardt and Jonathan R. Ullman},
  title = {{Preventing False Discovery in Interactive Data Analysis is Hard}},
  booktitle = {FOCS},
  year = {2014},
  url = {https://openreview.net/forum?id=jWyxLHELE1},
}
Figure