Improving Adversarial Robustness for 3D Point Cloud Recognition at Test-Time through Purified Self-Training

Jinpeng Lin, Xulei Yang, Tianrui Li, Xun Xu

TL;DR

Researchers have developed Purified Self-Training (PST), a new method to protect 3D point cloud recognition models from adversarial attacks during deployment. By combining real-time data "cleaning" (purification) with a dynamic self-learning strategy that uses adaptive confidence thresholds, the system can defend against evolving, unknown attacks on the fly without needing expensive retraining.

What Problem Does This Paper Address?

Deep learning models for 3D point clouds (used in autonomous driving and robotics) are notoriously fragile. A "hacker" can slightly shift the points in a scan—invisible to humans—to make a car misclassify a pedestrian as a tree.

Current defenses usually fall into two camps:

  1. Adversarial Training: Training the model on specific attacks. This is like studying for a specific exam; if the "hacker" changes the questions (uses a new attack), the model fails.
  2. Adversarial Purification: Using a generative model (like a diffusion model) to "wash" the input data before the classifier sees it. While effective, this often requires retraining the classifier on "washed" data, which is slow and expensive.

Furthermore, most research assumes attacks happen in isolated batches. In the real world, data arrives in a stream, where clean samples are mixed with various types of adversarial attacks that might change over time. This paper tackles the challenge of defending models in this realistic, "streaming" environment.

Methods

The authors propose Purified Self-Training (PST), which adapts the model at test-time (while it's actually being used). The pipeline consists of three main stages:

  • Test-Time Purification: When a 3D point cloud arrives, it is first processed by an off-the-shelf purification tool (like PointDP or IF-Defense). This attempts to remove adversarial noise.
  • Adaptive Self-Training (ST): The model makes a prediction on the purified sample. If the model is confident, that prediction becomes a "pseudo-label" used to update the model's weights immediately.
  • Innovation: Instead of a fixed confidence threshold (e.g., "only learn if confidence > 0.9"), they use Adaptive Thresholding. This includes a Dynamic Global Confidence (adjusting to the model's overall performance) and Class-Aware Thresholding (adjusting for the fact that models are naturally more "biased" or confident about certain shapes).
  • Feature Distribution Alignment: To prevent the model from "drifting" too far or learning from wrong pseudo-labels (confirmation bias), they add a regularization term. This forces the model's internal features during testing to stay mathematically similar to the features it saw during its original training on clean data.

Datasets

The researchers evaluated their method on two industry-standard benchmarks:

  • ModelNet40: A dataset of 12,311 CAD models across 40 categories (chairs, airplanes, etc.).
  • ScanObjectNN: A more challenging dataset consisting of 2,902 objects derived from real-world 3D scans, which include background noise and occlusions.

Crucially, they introduced a new evaluation protocol called "Streaming Testing." Instead of testing one attack at a time, they simulate a data stream where clean samples are mixed with four different types of attacks (PGD, C&W, AdvPC, and SI-Adv) appearing sequentially.

Key Insights and Ideas

  • Complementary Strengths: Purification and Self-Training are better together. Purification provides a "safer" starting point for the model to learn from, while Self-Training allows the model to adapt to the specific "flavor" of the attack currently hitting the system.
  • The Danger of Fixed Thresholds: In a streaming environment, a model's confidence naturally fluctuates. A fixed threshold is too rigid—it might stop learning when it needs to most, or learn from garbage when the model is overconfident. Adaptive thresholds act like a "smart filter" for the model's own education.
  • Hiding the Model isn't the Answer: Some might argue that test-time training works simply because it "hides" the current model weights from the attacker (who is attacking a moving target). However, the authors' black-box attack experiments proved that the robustness gains are real and not just due to "gradient masking."

Key Results

  • Significant Robustness Gains: On the ScanObjectNN dataset (the more realistic one), PST improved "Mixed Accuracy" (accuracy across a stream of clean and attacked data) by 10-20% compared to using purification alone.
  • Defeating Adaptive Attacks: Even when the "hacker" knows the model is using a purification defense (Strong Adaptive Attacks), PST remained resilient, consistently outperforming static models.
  • Cross-Architecture Success: The method worked across different 3D backbones, including PointNet++, PCT (Point Cloud Transformer), and CurveNet, proving it isn't tied to one specific architecture.

Limitations and Future Work

  • Computational Overhead: While the paper focuses on "test-time" efficiency, running a diffusion-based purification model and performing gradient updates (backpropagation) for every few samples in a stream is computationally heavy. Real-time deployment on low-power edge devices (like a drone's onboard computer) might still be a challenge.
  • Capacity Saturation: The authors noted that while accuracy on attacked data improves over time, accuracy on clean data eventually plateaus. This suggests there may be a limit to how much a model can "flex" to accommodate adversarial noise without losing its original knowledge.
  • Future Direction: Exploring more efficient generative models for purification to reduce the latency of the defense pipeline.

Summary updated

BibTeX
@misc{lin2024improving,
  author = {Jinpeng Lin and Xulei Yang and Tianrui Li and Xun Xu},
  title = {{Improving Adversarial Robustness for 3D Point Cloud Recognition at Test-Time through Purified Self-Training}},
  year = {2024},
  eprint = {2409.14940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.14940},
}
Figure