Statistical Inference with Adversarial Dependencies

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 110 papers18 conceptsfrozen 2026-10-04

Most of modern machine learning rests on a convenient fiction: the assumption that data is Independent and Identically Distributed (IID). We treat every training example, every sensor reading, and every adversarial perturbation as if it were drawn in a vacuum, unaffected by the samples that came before it.

However, in adversarial settings, this assumption collapses. An adversary does not pick points at random; they pick points specifically to exploit the model's current state or the algorithm's previous outputs. This creates a web of dependencies that renders standard statistical tools—from p-values to Chernoff bounds—unreliable. Recent research has begun to move beyond the IID assumption, developing a framework for statistical inference that remains valid even when data points are intentionally correlated.

The Dependency Trap

The core problem is that adversarial examples are inherently "reactive." As Jiatong Yu notes in Robust Streaming, Sampling, and a Perspective on Online Learning, an adaptive adversary generates inputs based on the algorithm's past behavior. This feedback loop breaks the independence required for traditional convergence analysis.

This issue isn't just theoretical; it has practical consequences for how we detect attacks. Consider the Maximum Mean Discrepancy (MMD) test, a standard tool for determining if two sets of data come from the same distribution. Researchers previously thought MMD was "blind" to adversarial attacks. But as Ruize Gao, Bo Han, and their colleagues demonstrate in Maximum Mean Discrepancy Test is Aware of Adversarial Attacks, the failure wasn't in the MMD metric itself, but in the assumption of independence. When adversarial examples are generated in batches or from a single source, they become correlated. Standard statistical tests mistake this correlation for a "natural" pattern, leading to a massive spike in false positives.

Accounting for the "Wild" Structure

To fix this, we need a way to perform statistical tests that can "see" these dependencies. A recurring solution across this literature is the wild bootstrap.

In a traditional bootstrap, you resample data points with replacement, assuming they are independent. In a wild bootstrap, you account for the temporal or batch-wise structure of the data. By using robust resampling techniques that preserve the internal correlations of the sample, researchers like Wenkai Xu and Takeru Matsuda show that we can maintain valid significance levels even when the IID assumption is violated. In the context of adversarial detection, this allows the MMD test to maintain a stable false-alarm rate while accurately flagging malicious shifts in the data.

From Worst-Case to Averaged Risks

If dependencies make "worst-case" analysis too difficult, another path is to change what we are measuring. Paul Viallard, Emilie Morvant, and their co-authors propose a PAC-Bayesian approach in A PAC-Bayes Analysis of Adversarial Robustness.

Instead of trying to bound the error for a single, specific worst-case perturbation (which is highly dependent on the input), they analyze the "averaged" risk over a distribution of perturbations. This shift in perspective allows them to derive tight generalization bounds that don't fall apart when the IID assumption breaks. It turns the problem of adversarial robustness into a problem of distribution stability.

Why It Works: The Symmetry of Learning

The reason these methods work is that they acknowledge a fundamental symmetry between robustness and learnability. As Jiatong Yu argues, the ability to sample representatively from an adversarial stream is mathematically tied to the Littlestone dimension—a key metric in online learning theory.

By treating adversarial dependencies not as "noise" to be ignored, but as a structured challenge to be modeled, this research direction provides a path toward models that are provably robust. Whether through data-dependent sampling as explored by Ohad Shamir or through semantic-aware deep kernels, the goal is the same: building systems that understand the difference between a random variation and a coordinated manipulation.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_statistical_inference_with_adversarial_d_ca225cad,
  title = {Statistical Inference with Adversarial Dependencies},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/statistical-inference-with-adversarial-dependencies/rdr_ca225cadd6874ac1aaefbc65f537698a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_statistical_inference_with_adversarial_d_ca225cad_v1,
  title = {Statistical Inference with Adversarial Dependencies},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/statistical-inference-with-adversarial-dependencies/rdr_ca225cadd6874ac1aaefbc65f537698a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}