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

Is nasty noise actually harder than malicious noise?

Guy Blanc, Yizhi Huang, Tal Malkin, Rocco A. Servedio · DOI

Abstract

In the Probably Approximately Correct (PAC) learning framework, the robustness of algorithms against adversarial noise is a central concern. This paper investigates the relationship between two prominent noise models: malicious noise, where an adversary corrupts a random subset of data, and nasty noise, where an adversary strategically selects which data points to corrupt. We demonstrate that while these models are equivalent in distribution-independent settings, a significant gap exists in fixed-distribution settings. Furthermore, we show that simple heuristics, such as ignoring contradictory examples, can effectively bridge this gap.

1. Introduction

Theoretical machine learning often operates under the assumption of "clean" data drawn from a specific distribution. However, real-world datasets are frequently subject to corruption, ranging from random label flips to targeted adversarial attacks. Within the PAC learning framework, researchers have defined various models to quantify this interference. Two of the most challenging are malicious noise and nasty noise.

Until recently, it was unclear whether the additional power granted to a "nasty" adversary—the ability to choose which specific samples to corrupt—rendered learning fundamentally harder for computationally efficient algorithms. This paper provides a formal comparison of these models, establishing conditions for their equivalence and identifying scenarios where they diverge.

2. Defining the Adversaries

To understand the comparison, we must distinguish between the two noise mechanisms:

  • Malicious Noise: The adversary is restricted to corrupting a randomly selected subset of the training data. While they can replace these samples with any arbitrary values, they lack the agency to choose which specific points are targeted.
  • Nasty Noise: This represents a more potent threat. The adversary views the entire dataset first and then surgically selects which subset to corrupt. This allows the adversary to target the most informative or "bottleneck" data points to maximize the learner's error.

3. Distribution-Independent Equivalence

One of the primary findings of this research is that for distribution-independent learning, nasty noise is no more difficult to handle than malicious noise. If an algorithm is required to perform well across any possible underlying distribution, the adversary's power to select specific points is effectively neutralized.

The authors establish this through a chain of reductions. They prove that a learner capable of handling malicious noise can be transformed into a learner for Huber contamination, then for Total Variation (TV) noise, and finally for nasty noise. This result suggests that the requirement for universal robustness across distributions "washes out" the strategic advantage of the nasty adversary.

4. The Fixed-Distribution Gap

The equivalence breaks down when the data distribution is fixed (e.g., a uniform distribution). In this setting, the authors use cryptographic constructions—specifically One-Way Functions (OWFs) and Pseudorandom Functions (PRFs)—to demonstrate an arbitrarily large separation between the two models.

By constructing artificial concept classes where certain "keys" are embedded in the data, the authors show that a nasty adversary can flip specific bits to point the learner toward a different, valid-looking but incorrect function. Because the adversary knows the distribution, they can identify exactly which bits to flip to cause maximum confusion. In contrast, a malicious adversary, choosing points at random, is unlikely to hit the specific bits required to successfully deceive the learner. This proves that in fixed-distribution environments, nasty noise can be exponentially more damaging.

5. The ICE Heuristic and Success Amplification

Despite the theoretical gap in fixed distributions, the paper offers a practical silver lining: the Ignore Contradictory Examples (ICE) heuristic. An ICE algorithm simply discards any contradictory pairs in the dataset (e.g., seeing both $(x, +1)$ and $(x, -1)$). The authors prove that for any efficient ICE learner, the gap between malicious and nasty noise is at most a factor of 2. Specifically, an ICE learner that handles a malicious noise rate of $\eta$ can be converted to handle a nasty noise rate of $\eta/2$.

Additionally, the paper addresses the problem of Success Amplification. In standard PAC learning, one can usually boost a "weak" learner to a "strong" learner with high confidence. This is difficult with nasty noise because the adversary’s global view of the data breaks the independence required for standard boosting. The authors develop a novel black-box method to achieve this amplification, marking a significant technical contribution to the field.

6. Conclusion and Future Directions

This research clarifies the hierarchy of adversarial noise models. While nasty noise is intuitively more fearsome, its advantage is largely confined to fixed-distribution settings where it can exploit specific data bottlenecks. In broader, distribution-independent contexts, the two models are functionally equivalent.

Future work remains to determine if the gaps identified using cryptographic constructions also exist in "natural" concept classes, such as halfspaces or decision trees. Furthermore, refining the constant factors in the equivalence reductions could provide even tighter bounds on the limits of adversarial learning.

Summary updated

BibTeX
@inproceedings{blanc2026is,
  author = {Guy Blanc and Yizhi Huang and Tal Malkin and Rocco A. Servedio},
  title = {{Is nasty noise actually harder than malicious noise?}},
  booktitle = {SODA},
  year = {2026},
  doi = {10.1137/1.9781611978971.243},
}
Figure