PointDP: Diffusion-driven Purification against Adversarial Attacks on 3D Point Cloud Recognition

Jiachen Sun, Weili Nie, Zhiding Yu, Z. Morley Mao, Chaowei XiaoarXiv 2022

Abstract: 3D Point cloud is becoming a critical data representation in many real-world applications like autonomous driving, robotics, and medical imaging. Although the success of deep learning further accelerates the adoption of 3D point clouds in the physical world, deep learning is notorious for its vulnerability to adversarial attacks. In this work, we first identify that the state-of-the-art empirical defense, adversarial training, has a major limitation in applying to 3D point cloud models due to gradient obfuscation. We further propose PointDP, a purification strategy that leverages diffusion models to defend against 3D adversarial attacks. We extensively evaluate PointDP on six representative 3D point cloud architectures, and leverage 10+ strong and adaptive attacks to demonstrate its lower-bound robustness. Our evaluation shows that PointDP achieves significantly better robustness than state-of-the-art purification methods under strong attacks.

Introduction

3D point clouds, which consist of sets of coordinates in 3D space, have become the standard data format for spatial perception in autonomous systems. However, the deep neural networks used to process these clouds inherit the same adversarial vulnerabilities seen in 2D image recognition. Small, often imperceptible perturbations—such as shifting points, adding outliers, or removing key points—can lead to catastrophic misclassifications.

While Adversarial Training (AT) has been the dominant defense in the 2D domain, its application to 3D point clouds is hindered by the unique architectural properties of 3D models. This paper introduces PointDP, a novel purification framework that utilizes 3D diffusion models to strip away adversarial noise before it reaches the classification model.

The Challenge: Gradient Obfuscation in 3D

A primary finding of this research is the prevalence of "gradient obfuscation" in 3D point cloud models. Many popular architectures rely on non-smooth operations like $k$-Nearest Neighbors ($k$NN) and Furthest Point Sampling (FPS). These operations are essentially indexing steps that do not provide useful gradients for optimization-based attackers.

Consequently, standard Adversarial Training may appear successful against white-box attacks (which rely on gradients), but the model remains fundamentally fragile. When tested against black-box attacks like SPSA (Simultaneous Perturbation Stochastic Approximation) or Nattack, the accuracy of AT-defended models often plummets to near zero, revealing a false sense of security.

Methods: The PointDP Framework

To address these vulnerabilities, the authors propose PointDP, an adversarial purification module designed to project adversarial inputs back onto the manifold of clean data.

Overview of the PointDP purification framework.

The PointDP pipeline consists of several key stages:

  1. Forward Diffusion: The input point cloud, which may contain malicious perturbations, is subjected to a forward diffusion process. By adding controlled Gaussian noise, the structured adversarial patterns are effectively "drowned out."
  2. Conditional Reconstruction: A reverse diffusion process then iteratively removes the noise. To ensure the reconstructed object maintains its original semantic identity, the process is conditioned on a latent feature $z$ extracted from the input by a separate encoder $e$.
  3. Purified Output: The resulting "purified" point cloud is then passed to a standard 3D recognition model (e.g., PointNet, DGCNN).

To ensure rigorous evaluation, the authors employ the adjoint method to compute gradients through the iterative diffusion steps. This allows for the simulation of "adaptive" attackers who are fully aware of the purification defense and attempt to bypass it.

Experimental Setup

The framework was evaluated using the ModelNet40 dataset, featuring 12,311 CAD models across 40 categories. The authors tested PointDP across six diverse 3D architectures: PointNet, PointNet++, DGCNN, PCT, CurveNet, and PointMLP. The defense was pitted against over 10 different attack types, including $\ell_\infty$, $\ell_2$, and $\ell_0$ norm-constrained attacks, as well as adaptive and black-box attacks.

Key Results

PointDP demonstrates a significant leap in robustness compared to previous state-of-the-art (SOTA) methods.

Comparison of robust accuracy between PointDP and baseline purification methods.
  • Robustness Gains: PointDP achieved an average robust accuracy of 75.9% across all tested scenarios. This represents a 12.6% improvement over IF-Defense and a massive 40.3% improvement over LPC.
  • Resilience to Adaptive Attacks: Unlike standard Adversarial Training, PointDP maintains high accuracy even against strong adaptive attacks. While AT models saw accuracy drops to ~10% under black-box attacks, PointDP remained resilient.
  • Clean Accuracy Trade-off: A common drawback of purification is the degradation of performance on clean (non-adversarial) data. PointDP minimizes this "clean penalty," with only a modest ~4.9% drop in standard accuracy.
  • Stochastic Defense: The inherent randomness in the diffusion process acts as an additional layer of protection, making it difficult for attackers to find a deterministic "weak spot" in the purification pipeline.

Conclusion and Future Directions

PointDP establishes a new benchmark for 3D adversarial defense by leveraging the generative power of diffusion models. By effectively projecting adversarial inputs back onto the natural data manifold, it overcomes the gradient obfuscation issues that plague traditional training-based defenses.

While the iterative nature of diffusion introduces some computational overhead, the significant gains in robustness make it a compelling choice for safety-critical applications. Future work will focus on optimizing the inference speed and combining PointDP with randomized smoothing to provide certified mathematical guarantees of robustness.

Summary updated

BibTeX
@misc{sun2022pointdp,
  author = {Jiachen Sun and Weili Nie and Zhiding Yu and Z. Morley Mao and Chaowei Xiao},
  title = {{PointDP: Diffusion-driven Purification against Adversarial Attacks on 3D Point Cloud Recognition}},
  year = {2022},
  eprint = {2208.09801},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.09801},
}
Figure