Adaptive Diffusion Denoised Smoothing : Certified Robustness via Randomized Smoothing with Differentially Private Guided Denoising Diffusion

Frederick Shpilevskiy, Saiyue Lyu, Krishnamurthy Dj Dvijotham, Mathias Lécuyer, Pierre-Andre Noel

TL;DR

This paper introduces Adaptive Diffusion Denoised Smoothing (ADDS), a novel method for certifying the robustness of vision models against adversarial attacks. ADDS leverages guided diffusion models as a sequence of privacy-preserving mechanisms, enabling provable guarantees that improve upon existing adaptive randomized smoothing techniques.

What Problem Does This Paper Address?

Deep learning models, despite their impressive performance, are notoriously brittle and susceptible to adversarial attacks – subtle, imperceptible changes to input data that can lead to misclassifications. While Randomized Smoothing (RS) offers a way to certify robustness by averaging predictions over noisy inputs, it often comes at the cost of accuracy and can only guarantee robustness against small perturbations. Recent approaches like Diffusion Denoised Smoothing (DDS) incorporate diffusion models to improve accuracy while maintaining robustness guarantees. However, these methods often lack theoretical analysis for adaptive strategies that could further enhance performance. This paper aims to bridge this gap by developing a theoretically grounded method for adaptive diffusion denoising that provides stronger robustness certifications.

Methods

The core innovation of ADDS lies in reinterpreting guided denoising diffusion models as a sequence of adaptive Gaussian Differentially Private (GDP) mechanisms. Instead of starting with a noisy image and denoising it, ADDS begins with pure noise and iteratively refines it towards a target image using a guided diffusion process. Each step of this guided denoising is treated as a GDP mechanism.

The authors leverage the framework of Adaptive Randomized Smoothing (ARS) and Gaussian Differential Privacy (GDP) to analyze the end-to-end robustness of this guided diffusion process. They introduce a "privacy filter" that allows for the composition of these adaptive GDP mechanisms, even when their privacy budgets depend on previous steps. This composition enables a provable certification of the entire denoising pipeline. The guidance mechanism is inspired by "Backward Universal Guidance," allowing for a convex combination of the current denoised state and the target image, controlled by a guidance scale s.

Datasets

The experiments were conducted on the ImageNet dataset. Specifically, they used an unconditional 256x256 guided diffusion model and a pre-trained BEiT large model as the classifier. For evaluation, they sampled 250 images from the ImageNet validation set, each from a different class.

Key Insights and Ideas

  • Diffusion as a Privacy Mechanism: The key insight is viewing the iterative denoising steps of a guided diffusion model as a sequence of adaptive, data-dependent privacy mechanisms. This allows for the application of privacy composition theorems to certify the entire process.
  • Adaptive Guidance for Robustness: Incorporating guidance during the diffusion process, which steers the denoising towards a target image, can be analyzed through the lens of privacy. This adaptive strategy allows for tighter certifications than non-adaptive methods.
  • Trade-off between Fidelity and Robustness: The guided denoising process introduces a trade-off. While it can lead to more detailed and visually appealing images, the guidance can also deviate from the original image's signal, impacting pure accuracy. This trade-off becomes more pronounced at higher noise levels.
  • Voting for Improved Certification: Using multiple (e.g., 5) independent denoising trajectories and taking a majority vote can increase certified accuracy, especially for "easy" images where one class has a significantly higher probability. However, this can sometimes degrade pure accuracy on harder images with more ambiguous class distributions.

Key Results

  • ADDS demonstrates competitive certified accuracy on ImageNet, particularly when using 5 votes, matching or slightly exceeding existing methods like Carlini et al. (2023b) and DensePure (Xiao et al., 2023) across different noise levels ($\sigma = 1.0, 1.5, 2.0$).
  • In the non-voting setting, ADDS without unguided denoising performs best at higher noise levels ($\sigma = 1.5, 2.0$) in terms of robust accuracy.
  • ADDS can improve both certified accuracy and standard (clean) accuracy on ImageNet for an $\ell_2$ threat model, especially under specific guiding strategies.
  • The paper shows that unguided denoising (applied after the budget is exhausted) can increase variance, degrading clean accuracy.
  • Voting (5 votes) generally increases certified accuracy but can decrease clean accuracy, especially on images with ambiguous class distributions.

Limitations and Future Work

  • Computational Cost: The paper notes that voting is computationally more expensive, as seen in the runtime plots (Figure 4).
  • Trade-off in Image Fidelity: The guided denoising process can lead to deviations from the original image's signal, impacting pure accuracy, especially at higher noise levels.
  • Future Work: The authors suggest exploring different guiding strategies and further investigating the trade-offs between robustness, accuracy, and computational cost. They also hint at the potential for adapting the privacy budget based on the results of previous steps, which is a core aspect of their adaptive approach.

Summary updated

BibTeX
@inproceedings{shpilevskiy2025adaptive,
  author = {Frederick Shpilevskiy and Saiyue Lyu and Krishnamurthy Dj Dvijotham and Mathias Lécuyer and Pierre-Andre Noel},
  title = {{Adaptive Diffusion Denoised Smoothing : Certified Robustness via Randomized Smoothing with Differentially Private Guided Denoising Diffusion}},
  booktitle = {PUT @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=HsjVQUnWZo},
}
Figure