Can Adversarially Robust Learning LeverageComputational Hardness?

Saeed Mahloujifar, Mohammad Mahmoody

This paper, originally presented at the 30th International Conference on Algorithmic Learning Theory (ALT 2019), investigates a fundamental question in AI security: Can we protect machine learning models simply because it is "too hard" for an attacker to find a way to break them?

In the field of adversarial machine learning, researchers have long known that adversarial examples—small, often imperceptible changes to input data that cause a model to fail—are theoretically inevitable due to a mathematical phenomenon called the "concentration of measure." However, a lingering hope remained that while these vulnerabilities exist, finding them might be computationally infeasible for a practical attacker. This research demonstrates that "computational hardness" is likely not a reliable shield, proving that efficient attackers can exploit these vulnerabilities in many common scenarios.

Adversarial machine learning typically focuses on two primary threats:

  1. Evasion Attacks: Modifying a test input (e.g., an image) to cause misclassification.
  2. Poisoning Attacks: Tampering with training data to create "backdoors" or targeted failures in the resulting model.

Previous theoretical work established that these attacks are possible in high-dimensional spaces, but those proofs did not guarantee that an attacker could actually find these examples efficiently. The authors of this paper ask: If we limit an attacker to polynomial time (the standard definition of computational efficiency), can we build robust models? Or is the "curse of concentration" something an efficient algorithm can systematically exploit?

Methodology: A Bridge to Cryptography

The paper’s core contribution is a bridge between cryptography and machine learning. The authors adapt a technique from coin-tossing protocols (specifically drawing from the work of Kalai, Komargodski, and Raz) to design a block-wise biasing attack.

Instead of searching for a "needle in a haystack," the algorithm treats the generation of a data point or a training set as a sequence of "blocks." The attacker looks at each block as it is generated and decides whether to apply a slight bias. By incrementally steering these blocks, they can push the final outcome—whether it is a model's prediction or the result of a training process—toward a "bad" state.

Crucially, these attacks are black-box. They do not require knowledge of the model's internal weights or architecture; they only require "oracle access" to see how the model labels points and the ability to sample from the data distribution.

Key Insights and Results

The research focuses on Product Distributions, such as uniform distributions or high-dimensional Gaussians, where features are independent. The findings reveal several critical vulnerabilities:

  • The $\sqrt{n}$ Rule for Evasion: For an input with $n$ features, an efficient attacker only needs to change approximately $\sqrt{n}$ of them to flip a model’s prediction. If a model has even a tiny initial error rate (e.g., 1%), a polynomial-time attacker can find an adversarial example within this distance that increases the error rate to nearly 100%.
  • Efficient Poisoning: For a learner using $m$ training samples, an attacker only needs to replace $O(\sqrt{m})$ samples to ensure a specific "bad event" occurs.
  • Plausible Deniability: The poisoning attack is particularly insidious because the attacker replaces training samples with correctly labeled examples. This makes the attack much harder to detect than traditional methods that rely on "flipped" or "garbage" labels.
  • Constructive Concentration: The paper provides a "constructive" version of concentration of measure theorems. It shows that the math is not just an abstract threat but an actionable blueprint for an efficient attacker.

Implications and Future Work

The primary takeaway is that computational hardness is not a silver bullet for security. If the data follows a product distribution, an efficient attacker can circumvent the model's robustness.

However, the authors acknowledge a significant limitation: the reliance on product distributions. Real-world data, such as images or natural language, contains massive dependencies between features (e.g., adjacent pixels are usually similar). Future research must investigate:

  1. Non-product distributions: Can similar results be proven for more complex, correlated data?
  2. Data-starved attackers: Can attacks succeed if the attacker has limited ability to sample from the distribution?
  3. New Defense Paradigms: Since computational hardness is insufficient, the field must look for new types of robust architectures that do not rely on the difficulty of the search problem.

Summary updated

BibTeX
@inproceedings{mahloujifar2019can,
  author = {Saeed Mahloujifar and Mohammad Mahmoody},
  title = {{Can Adversarially Robust Learning LeverageComputational Hardness?}},
  booktitle = {ALT},
  year = {2019},
  url = {https://openreview.net/forum?id=RIjEyp-Z1Ld},
}
Figure