ADC: Adversarial attacks against object Detection that evade Context consistency checks

Mingjun Yin, Shasha Li, Chengyu Song, M. Salman Asif, Amit K. Roy-Chowdhury, Srikanth V. Krishnamurthy

Introduction

Deep Neural Networks (DNNs) are notoriously susceptible to adversarial examples—images with tiny, invisible-to-human perturbations that cause the AI to hallucinate or misidentify objects. To combat this, a promising new class of defenses uses context consistency checks. The logic is intuitive: if an AI detects a "boat" in the middle of a "living room," it’s likely an adversarial attack because those objects don't typically co-occur. These defenses (like the state-of-the-art SCEME model) use auto-encoders to learn "normal" context profiles. If a detected scene has a high reconstruction error, meaning the context looks abnormal, the system flags it as an attack.

Researchers have now developed a new adaptive attack framework called ADC that proves these "context-aware" defenses are surprisingly fragile. By jointly optimizing to fool both the detector and the "common sense" checks that validate object relationships, ADC can successfully inject or misclassify objects while maintaining a "normal" appearance to automated defense systems.

The ADC Attack Framework

The core of ADC (Adversarial attacks against object Detection that evade Context consistency checks) is a joint optimization problem. Instead of just trying to minimize the classification accuracy of the detector, the attack also tries to minimize the reconstruction error of the context check. Because the defense modules are often disconnected from the detector, the authors developed a three-step strategy to synthesize these sophisticated adversarial images.

The three-step strategy of the ADC attack framework, optimizing for both detector fooling and context consistency.

The Three-Step Strategy

  1. Fool the Detector: Use standard techniques to find a perturbation that causes the desired misclassification (e.g., turning a "car" into a "TV").
  2. Find a Consistent Profile: Search for a "target" context profile that would be considered normal for that fake object.
  3. Synthesize the Image: Perturb the original image so that it simultaneously produces the fake detection and matches the "normal" context profile found in step 2.

The paper evaluates this in both white-box settings (attacker knows the defense parameters) and gray-box settings (attacker trains their own "surrogate" defense model to estimate the real one).

Experimental Evaluation

The framework was tested on two industry-standard computer vision benchmarks: PASCAL VOC (20 categories) and MS COCO (80 categories). The results demonstrate a significant breakdown of current context-based defenses.

On PASCAL VOC, ADC achieved a fooling rate of ~88% while maintaining a bypass rate of over 90%. This means 9 out of 10 successful attacks went completely undetected by the consistency checker. In contrast, standard "non-adaptive" attacks were caught easily, with bypass rates as low as 11-19%.

Reconstruction error distribution showing ADC's ability to mimic benign context profiles compared to baseline attacks.

As shown in the distribution of reconstruction errors, the ADC attack (gray-box adaptive) produces an error profile nearly identical to benign images, whereas baseline attacks are easily separated by their high reconstruction error. Even on the complex MS COCO dataset, the attack maintained a bypass rate of over 80% across various attack goals, such as hiding objects or appearing new ones.

Key Insights and Limitations

  • Context as a Blueprint: While context helps filter out simple adversarial mistakes, it provides a blueprint for sophisticated attackers. If the attacker knows what "normal" looks like, they can build a fake reality that fits that mold, sometimes even perturbing the background to "justify" a fake object (e.g., making a parking lot look like a table to justify a TV monitor detection).
  • High Transferability: Gray-box experiments showed that contextual relationships are universal enough that a "fake consistent" image for a surrogate model is often also consistent for the target model.
  • Computational Intensity: The three-step optimization process is more computationally expensive than simple gradient-based attacks.
  • Object Density: The attack becomes harder as the number of objects in a scene increases, as there are more constraints to satisfy to keep the context consistent.

Conclusion

This research serves as a wake-up call for the AI safety community: simply adding a "common sense" layer to AI isn't a silver bullet if that layer itself can be fooled by the same optimization tricks used to fool the base model. Future work must focus on creating context models that are non-differentiable or use higher-order logic that is harder for optimization algorithms to game.

Summary updated

BibTeX
@inproceedings{yin2022adc,
  author = {Mingjun Yin and Shasha Li and Chengyu Song and M. Salman Asif and Amit K. Roy-Chowdhury and Srikanth V. Krishnamurthy},
  title = {{ADC: Adversarial attacks against object Detection that evade Context consistency checks}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  doi = {10.1109/wacv51458.2022.00289},
}
Figure