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

On the Scalability of Certified Adversarial Robustness with Generated Data

Thomas Altstidl, David Dobre, Arthur Kosmala, Bjoern Eskofier, Gauthier Gidel, Leo Schwinn

Adversarial attacks—tiny, often invisible perturbations that trick neural networks into making confident, wrong predictions—remain a major hurdle for deploying AI in safety-critical systems. While "empirical" defenses like adversarial training act as a sturdy shield against known attacks, they often crumble when faced with new, more sophisticated techniques.

Enter certified robustness, which provides formal mathematical guarantees that a model's prediction won't change within a certain "perturbation budget" ($\epsilon$). The catch? Certified models usually suffer from significantly lower accuracy than their empirical counterparts. A new paper explores a powerful remedy: synthetic data.

TL;DR

This paper demonstrates that augmenting training sets with millions of images from diffusion models significantly boosts the performance of deterministic certified defenses. By scaling data and model capacity, the authors achieved new state-of-the-art certified accuracy on CIFAR-10 and CIFAR-100, while revealing that certified robustness scales and saturates differently than empirical methods.

What Problem Does This Paper Address?

The "robustness gap" is the massive difference between a model's accuracy on clean data versus its accuracy under adversarial pressure. In the world of empirical robustness, researchers recently found a "cheat code": generating millions of extra training images using diffusion models (like Stable Diffusion or EDM). This extra data helps models generalize better and resist attacks.

However, it wasn't clear if this same recipe would work for certified defenses. Certified methods often rely on bounding the Lipschitz constant of a network—essentially ensuring the function is "smooth" enough that small input changes can't cause large output swings. Because these methods impose strict mathematical constraints on the model's architecture, they are notoriously difficult to scale. The authors set out to see if synthetic data could finally push certified robustness into a more practical regime.

Methods

The researchers focused on deterministic Lipschitz-bound methods (such as SortNet, GloroNet, and LOT). These architectures are designed so that their total sensitivity to input changes can be calculated and capped.

  1. Data Generation: They used Elucidating Diffusion Models (EDM) to generate up to 10 million synthetic images for CIFAR-10 and CIFAR-100.
  2. Data Mixing: They found an optimal "recipe" by mixing 30% real data with 70% synthetic data in every training batch.
  3. Scaling Hyperparameters: With the influx of synthetic data, the authors experimented with increasing model depth/width and extending training schedules (up to 6,000 epochs).
  4. Reducing Regularization: Interestingly, they found that with enough synthetic data, they could remove traditional regularization like dropout, allowing the model to use its full capacity to learn robust features without overfitting.

Key Insights and Ideas

  • The Saturation Point: Unlike empirical adversarial training, where "more data is always better," certified robustness hits a point of diminishing returns. Improvements largely plateaued after 1 million synthetic images.
  • Closing the Generalization Gap: The primary benefit of synthetic data in this context is closing the gap between training and test performance. Certified models often "overfit" to the certification criteria during training; synthetic data acts as a massive regularizer that forces the model to learn truly robust features.
  • Capacity is King: Because synthetic data prevents overfitting, it unlocks the ability to use much larger models. The authors found that increasing model size consistently improved certified accuracy when paired with synthetic data.
Scaling behavior of certified accuracy with synthetic data size across different architectures.
  • "Over-Robustness" is Real: By analyzing the "certification radius," the authors found many images were certified far beyond the required $\epsilon$. This suggests that current training objectives might be "wasting" effort on making some samples too robust, leaving room for more efficient future algorithms.

Key Results

The approach achieved new state-of-the-art (SOTA) results for deterministic certified robustness on CIFAR-10:

  • $\ell_\infty$ threat model ($\epsilon = 8/255$): Achieved 41.78% certified accuracy, a +1.39% improvement over the previous best.
  • $\ell_2$ threat model ($\epsilon = 36/255$): Achieved 69.05% certified accuracy, a massive +3.95% jump over previous results.
State-of-the-art certified and clean accuracy improvements on CIFAR-10 for both threat models.
  • CIFAR-100: The gains were even more dramatic on the more complex CIFAR-100 dataset, with some models seeing certified accuracy nearly double (e.g., from ~9% to ~17%).

Limitations and Future Work

  • Not a Universal Fix: The authors tested Convex Bound Propagation (MTL-IBP) and found it did not benefit from synthetic data, showing that scaling behavior is highly dependent on the specific certification method.
  • Computational Cost: Training these models is extremely expensive. A single configuration can take up to 5,000 GPU hours on high-end A100 cards.
  • The ImageNet Hurdle: Deterministic certified methods still struggle to scale to large-scale datasets like ImageNet. While synthetic data helps, the underlying architectural constraints of Lipschitz-bound networks remain a bottleneck for high-resolution tasks.

The paper concludes that while synthetic data is a powerful tool for certification, we likely need better algorithms—not just more data—to reach the next level of formal AI safety.

Summary updated

BibTeX
@inproceedings{altstidl2024scalability,
  author = {Thomas Altstidl and David Dobre and Arthur Kosmala and Bjoern Eskofier and Gauthier Gidel and Leo Schwinn},
  title = {{On the Scalability of Certified Adversarial Robustness with Generated Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=TFAG9UznPv},
}
Figure