NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Adaptive Data Analysis over Dense Data Distributions

Joon Suk HuhNeurIPS 2026

TL;DR

When you query a dataset repeatedly and let past answers guide your next questions, you usually face a painful choice: burn through tons of data ($\mathcal{O}(\sqrt{T})$ samples for $T$ queries) or wait until the heat death of the universe for an exponential-time algorithm to finish. This paper finds a sweet spot, showing that if your unknown data distribution isn’t wildly spiky compared to a known reference distribution, you can get the best of both worlds: fast, polynomial-time computation and optimal $\mathcal{O}(\log T)$ sample efficiency. Even better, this mechanism naturally protects against "singling out" individual data records—without ever adding explicit privacy noise.

What Problem Does This Paper Address?

Modern data science is inherently adaptive: you run a test, inspect the result, tweak your hypothesis, and query the same dataset again. This "double-dipping" couples your questions to the quirks of your specific sample, leading to overfitting, false discoveries, and p-hacking.

Adaptive Data Analysis (ADA) builds algorithmic intermediaries (mechanisms) that sit between the analyst and the dataset, answering $T$ sequential queries while guaranteeing statistical validity on the true underlying population. However, ADA has long been stuck in a fundamental bind:

  • Fast algorithms (typically built on Differential Privacy) run in polynomial time, edit answers with noise, and require $\mathcal{O}(\sqrt{T})$ samples. Worse, cryptographic hardness results prove you cannot beat $\mathcal{O}(\sqrt{T})$ efficiently for arbitrary data distributions.
  • Sample-efficient algorithms (like Private Multiplicative Weights) only need $\mathcal{O}(\log T)$ samples, meaning you can ask exponentially many questions! Unfortunately, they maintain a probability distribution over the entire data universe—taking $\mathcal{O}(2^n)$ time for $n$-dimensional binary data.

The author asks: Since the cryptographic roadblock assumes completely arbitrary distributions, is there a natural, useful class of distributions where we can bypass the hardness result and get both $\mathcal{O}(\log T)$ samples and fast runtime?

Methods

The paper focuses on $\lambda$-dense distributions: unknown target distributions where no single outcome is more than $1/\lambda$ times as likely as it is under a known, efficiently samplable prior distribution $\mathcal{D}_g$. Think of a supervised learning setup where you know how features $X$ are generated (e.g., from a simulation or experimental design), and an unknown deterministic function assigns binary labels $Y \in \{-1, 1\}$. Relative to a prior that pairs $X$ with a coin-flip label, the true labeled data is $(1/2)$-dense.

To exploit this, the author introduces $\mathcal{M}_{\text{AQA-OGD}}$ (Adaptive Query Answering via Online Gradient Descent):

  • Sketching in Seed Space: Instead of maintaining an intractable $2^n$-sized table over the data domain like classical sketching methods, the algorithm operates in the space of random $n$-bit seeds that generate the prior, implicitly storing a lightweight list of past query functions.
  • Lazy Updates: When a query arrives, the mechanism estimates the answer using its current internal sketch. Rather than computing an exact $2^n$-dimensional inner product, it approximates it fast by evaluating the stored queries on a batch of random seeds.
  • Check against Reality: It compares this sketch estimate against the true empirical dataset mean. If the sketch is close enough, it outputs the sketch's answer. Only if the error exceeds a threshold ($\propto \epsilon$) does it "wake up," append the current query to its sketch (a gradient step), and output a rounded empirical answer.

Datasets

Not discussed in the paper. (This is a purely theoretical computer science and statistical learning paper; there are no empirical datasets or benchmarks.)

Key Insights and Ideas

  • Laziness Defeats Adaptivity: Because the target distribution is dense, standard Online Gradient Descent regret bounds guarantee the sketch can only make $\mathcal{O}(\lambda^{-1}\epsilon^{-2})$ mistakes—completely independent of the data dimension $n$ or total queries $T$! Because updates are so rare, the entire history of when and how the dataset actually influenced the sketch can be written down in a tiny "update transcript." This succinctness breaks the feedback loop of adaptivity, allowing standard concentration bounds to hold.
  • Privacy Without Noise: Most ADA tools achieve statistical validity because they enforce Differential Privacy via injected noise. Here, the arrow points in a surprising new direction: $\mathcal{M}_{\text{AQA-OGD}}$ adds zero explicit privacy noise, yet its tiny update transcript naturally yields Predicate Singling Out (PSO) security—a formalization of GDPR’s protection against isolating a unique individual row in a dataset (when $T$ is polynomial in sample size $M$).
  • ** Pseudodensity is Enough: The distribution doesn't even have to be truly dense everywhere; it only needs to look dense to the specific family of queries the analyst is capable of asking ("pseudodensity").

Key Results

  • Optimal $T$-Scaling in Polynomial Time: For $\lambda$-dense distributions, $\mathcal{M}_{\text{AQA-OGD}}$ answers $T$ adaptive Boolean queries within $\epsilon$ accuracy (with probability $1-\delta$) using $M \in \mathcal{O}(\lambda^{-1}\epsilon^{-4}\log(T/\epsilon) + \epsilon^{-2}\log(1/\delta))$ samples, running in $\text{poly}(n, \epsilon^{-1}, \lambda^{-1}, T, \log(1/\delta))$ time.
  • Tightness in $T$: A matching lower bound proves $\Omega(\epsilon^{-2}\log T)$ samples are necessary even for non-adaptive queries on $(2/3)$-dense distributions.
  • Distribution-Specific Statistical Query (SQ) Oracle: By converting bounded real-valued queries into randomized Boolean queries, the mechanism implements a reusable SQ oracle for distribution-specific learning using $\mathcal{O}(\epsilon^{-4}\log(BT/\epsilon) + \epsilon^{-2}\log(1/\delta))$ samples (where $B = \Theta(\epsilon^{-2}\log(T/\delta))$), removing any sample-complexity dependence on the VC dimension of the query class.

Limitations and Future Work

  • Strong Prior Requirement: Both the mechanism and analyst need an efficient sampler for the reference prior—merely having a static public dataset isn't enough to guarantee density outside that sample's support.
  • The $\epsilon^{-4}$ Gap: While the $\log T$ dependence is optimal, the $\epsilon^{-4}$ accuracy penalty is steep compared to the $\epsilon^{-2}$ lower bound (meaning high-precision queries require large samples and polynomial, yet practically heavy, runtimes). Closing this gap is an open problem.
  • Conditional Privacy: PSO security is strictly weaker than Differential Privacy, requires the number of possible transcripts $(T/\epsilon)^{\mathcal{O}(\lambda^{-1}\epsilon^{-2})}$ to be polynomial in $M$ (which holds for constant $\epsilon, \lambda$ and $T = \text{poly}(M)$), and inherently cannot protect predicates with baseline probability near $1/M$.

Summary updated

BibTeX
@inproceedings{huh2026efficient,
  author = {Joon Suk Huh},
  title = {{Efficient Adaptive Data Analysis over Dense Data Distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=DNHeh3cBpR},
}
Figure