Searching Realistic-Looking Adversarial Objects For Autonomous Driving Systems

Shengxiang Sun, Shenzhe ZhuarXiv 2024 · DOI

Abstract

Adversarial attacks on Autonomous Driving Systems (ADS) often produce visually jarring "digital glitches" that lack real-world plausibility. This paper proposes a novel framework that integrates a "Judge" mechanism into the adversarial optimization pipeline to ensure generated objects are visually realistic. By incorporating a realism score into the loss function and exploring various evaluation strategies—including Vision-Language Models (VLMs) and neurosymbolic approaches—the authors demonstrate a method for creating stealthy, realistic adversarial threats that better represent real-world safety risks.

Introduction

Adversarial attacks on Autonomous Driving Systems (ADS) typically involve creating specific textures or objects designed to trick a car's AI into making dangerous mistakes, such as ignoring a stop sign or misidentifying a vehicle. While these attacks are effective in simulations, they often produce objects that look like nonsensical patterns that no human would ever encounter on a road. For an adversarial threat model to be truly useful for testing ADS robustness, the objects must be realistic. If an attack is too obvious, it is easily dismissed as a simulation artifact. This research addresses the lack of a formal way to ensure adversarial objects actually look like they belong in a scene.

Methodology

The authors build upon a foundational framework that uses Neural Radiance Fields (NeRF) and differentiable rendering to optimize object textures. Their primary innovation is the "Judge": an evaluative agent that assesses the realism of a rendered object within the driving loop.

The Driving Loop integration of the Judge model and the deviation loss function.

The Realism Score and Loss Function

The Judge assigns a probability score ($S_t$) from 0 to 1 for an object at a specific time step. The final realism score ($S$) is the mean of these scores across a trajectory. This score is integrated directly into the optimization process via a modified loss function:

$$J(\theta) = \frac{1}{S + \epsilon} \sum_{t=0}^{T} C(x_t)$$

This formulation forces the system to minimize the cost (the adversarial goal) only when the realism score is high, ensuring that the search for adversarial parameters $\theta$ prioritizes visually plausible results.

Judge Strategies

The paper explores four distinct strategies for building the Judge:

  1. Off-the-shelf VLMs: Utilizing models like GPT-4 Vision or Gemini Pro.
  2. Fine-tuned VLMs: Training open-source models (e.g., LLaVA, Mini-GPT4) on custom datasets.
  3. Neurosymbolic Models: Combining neural networks with symbolic reasoning to evaluate traffic law adherence and logical consistency.
  4. Traditional Image Processing: Using HSV color space mapping to detect deviations from expected color ranges.

Dataset Generation

To train and evaluate the Judge, the researchers utilized established autonomous driving datasets like ApolloScape and NuScenes. However, because these datasets lack "unrealistic" labels, the authors developed a custom generation pipeline.

The custom dataset generation pipeline using InstructPix2Pix and manual labeling.

Using tools like InstructPix2Pix and MagicBrush, the authors edited real image frames (e.g., "turn the billboard blue") to create a spectrum of realistic to unrealistic examples. These were then manually labeled with realism scores and explanations to create a robust training set for Strategy 2.

Key Insights and Results

The study revealed several critical findings regarding the evaluation of realism:

  • VLM Performance: GPT-4 Vision outperformed Gemini Pro in providing a nuanced spectrum of realism, although it occasionally misidentified objects (e.g., mistaking an adversarial fire hydrant for a traffic cone). Gemini Pro tended toward binary (0 or 1) scores, which are less helpful for gradient-based optimization.
  • The Failure of Traditional CV: Traditional computer vision methods (Strategy 4) failed because they could not distinguish between a realistic change (painting a car a standard color) and an unrealistic one (painting a traffic light purple). They simply flagged high color differences as low realism.
  • Neurosymbolic Promise: Strategy 3 showed significant promise by allowing for "System 2" thinking—structured reasoning about why something is unrealistic, such as a traffic light having four colors.
  • Open-Source Reliability: LLaVA showed a lack of reliability, with repeated queries on the same image yielding inconsistent scores, highlighting the necessity for targeted fine-tuning.

Conclusion and Future Work

The researchers concluded that fine-tuning (Strategy 2) and neurosymbolic approaches (Strategy 3) are the most viable paths forward for automated optimization loops. While computational costs remain high for running large models within every iteration, the integration of a realism Judge represents a significant step toward more sophisticated ADS safety testing. Future work will explore "selective freezing" of object parameters to speed up the search for realistic adversarial textures without sacrificing effectiveness.

Summary updated

BibTeX
@misc{sun2024searching,
  author = {Shengxiang Sun and Shenzhe Zhu},
  title = {{Searching Realistic-Looking Adversarial Objects For Autonomous Driving Systems}},
  year = {2024},
  eprint = {2405.11629},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.11629},
}
Figure