Robust Structured Declarative Classifiers for 3D Point Clouds: Defending Adversarial Attacks with Implicit Gradients

Kaidong Li, Ziming Zhang, Cuncong Zhong, Guanghui Wang

TL;DR

This paper introduces a novel defense against adversarial attacks on 3D point clouds by embedding optimization problems directly into the neural network architecture. Their Lattice Point Classifier (LPC) uses implicit gradients and structured sparse coding in a permutohedral lattice to "trap" attackers, maintaining high accuracy (up to 89%) under attacks that completely break traditional models.

What Problem Does This Paper Address?

Deep neural networks for 3D point clouds, like PointNet, are notoriously fragile. A malicious actor can slightly perturb the coordinates of points in a cloud—often in ways invisible to the human eye—to force the model into making a wrong classification.

Existing defenses usually try to "denoise" the point cloud before classification. However, these often rely on non-differentiable operations (like Statistical Outlier Removal), creating "obfuscated gradients." While this stops simple attackers, sophisticated ones can use approximations to bypass the defense. The authors identify a gap: we need a defense that is differentiable (allowing for end-to-end training) but mathematically challenging for an attacker to invert or exploit.

Methods

The authors propose a Robust Structured Declarative Classifier. The core idea is to replace a standard neural layer with a "declarative node"—an internal constrained optimization problem.

Figure 1: Illustration of robust structured declarative classi- fiers, where our defender is optimized in a structural space.

Key Components:

  1. Implicit Gradients: Instead of a standard forward pass, the output of the defender is the solution to an optimization problem. The gradients needed for training are defined implicitly through the optimality conditions of that problem. This makes the gradient calculation challenging for attackers, often leading them toward "wrong" directions during their optimization process.
  2. Lattice Point Classifier (LPC): This is the paper's specific implementation. It projects 3D points onto a permutohedral lattice.
  3. It uses structured sparse coding: each point is represented as a linear combination of vertices in the lattice (barycentric coordinates).
  4. The resulting lattice representation is converted into a 2D image.
  5. 2D CNN Backbone: Once the 3D data is transformed into a stable 2D image representation, standard, highly-optimized 2D CNNs (like ResNet or EfficientNet) handle the final classification.
  6. Bilevel Optimization: The system is trained using a bilevel framework where the outer loop optimizes the network weights and the inner loop solves the point reconstruction problem.
Figure 2: Illustration of our Lattice Point Classifier (LPC).

Datasets

The authors evaluated their approach on two primary benchmarks:

  • ModelNet40: A collection of 12,311 3D CAD objects across 40 categories.
  • ScanNet: A more challenging dataset containing 1,513 real-world indoor RGB-D scans.

They tested these against seven different types of adversarial attackers, including point perturbation, addition, and cluster-based attacks.

Key Insights and Ideas

  • The "Cell" Defense: By projecting points onto a lattice, the model becomes naturally robust. As long as an attacker's perturbation doesn't push a point out of its current lattice cell, the resulting 2D image remains unchanged. This creates a "dead zone" for small adversarial shifts.
  • Implicit vs. Obfuscated: Unlike previous methods that tried to "hide" gradients, this method provides gradients that are mathematically valid but practically misleading for the attacker's optimization objective.
  • Dimensionality Shift: Moving from unstructured 3D points to a structured 2D image allows the model to leverage the massive amount of research already done on robust 2D image classification.
Figure 5: Illustration of (left) a point cloud, (middle) its lattice representation, (right) its image for classification.

Key Results

The results are striking, particularly under strong gradient-based attacks:

  • Superior Robustness: Under the JGBA attack, vanilla PointNet drops to 0% accuracy. Existing defenders like DUP-Net and IF-Defense only recover to ~1-5%. The proposed LPC maintains 89.51% accuracy on ModelNet40.
  • Inference Speed: Despite involving an optimization step, LPC is highly efficient. It achieves an inference speed of ~59ms (with EfficientNet), which is over 13 times faster than SOR-based defenses that require expensive K-Nearest Neighbor searches.
  • Generalization: The defense holds up across different CNN backbones (VGG, ResNet, EfficientNet), suggesting the robustness comes from the declarative defender rather than a specific classifier architecture.

Limitations and Future Work

  • Fixed Projection: Currently, the projection matrix for the permutohedral lattice is initialized and then fixed. The authors noted that training this matrix directly can cause the model to crash. Future work will look into how to safely learn this projection.
  • Backbone Sensitivity: While robust, the choice of 2D CNN backbone does impact performance. More research is needed to find the optimal pairing between the lattice projection and the classifier.
  • Scaling: While 1,024 points were used per object, real-world LiDAR scans can be much denser. Testing the scalability of the lattice projection to millions of points is a logical next step.

Summary updated

BibTeX
@misc{li2022robust,
  author = {Kaidong Li and Ziming Zhang and Cuncong Zhong and Guanghui Wang},
  title = {{Robust Structured Declarative Classifiers for 3D Point Clouds: Defending Adversarial Attacks with Implicit Gradients}},
  year = {2022},
  eprint = {2203.15245},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.15245},
}
Figure