Skip to main content
QUICK REVIEW

[Paper Review] Connecting the Dots: Detecting Adversarial Perturbations Using Context Inconsistency

Shasha Li, Shitong Zhu|arXiv (Cornell University)|Jul 19, 2020
Adversarial Robustness in Machine LearningComputer Science57 references5 citations
TL;DR

This paper proposes SCEME, a context-aware adversarial detection method for object detection that identifies adversarial perturbations by measuring inconsistencies in spatial, object-object, object-background, and object-scene context. By training class-specific autoencoders to model normal context distributions, it flags misclassified regions with high reconstruction error, achieving over 0.95 AUC on PASCAL VOC and MS COCO—20–35% higher than state-of-the-art context-agnostic methods.

ABSTRACT

There has been a recent surge in research on adversarial perturbations that defeat Deep Neural Networks (DNNs) in machine vision; most of these perturbation-based attacks target object classifiers. Inspired by the observation that humans are able to recognize objects that appear out of place in a scene or along with other unlikely objects, we augment the DNN with a system that learns context consistency rules during training and checks for the violations of the same during testing. Our approach builds a set of auto-encoders, one for each object class, appropriately trained so as to output a discrepancy between the input and output if an added adversarial perturbation violates context consistency rules. Experiments on PASCAL VOC and MS COCO show that our method effectively detects various adversarial attacks and achieves high ROC-AUC (over 0.95 in most cases); this corresponds to over 20% improvement over a state-of-the-art context-agnostic method.

Motivation & Objective

  • To address the vulnerability of deep neural networks to adversarial perturbations that misclassify objects in a way that violates scene-level context.
  • To improve adversarial detection by leveraging contextual relationships among objects and their surroundings, rather than relying solely on classification confidence.
  • To develop a defense mechanism effective against both digital and physical adversarial attacks in object detection systems.
  • To demonstrate that context inconsistency is a reliable signal for detecting adversarial examples, especially when the model misclassifies an object as one that is unlikely to co-occur in the scene.
  • To outperform context-agnostic detection methods by incorporating holistic scene context into the detection pipeline.

Proposed method

  • The method constructs a fully connected graph with proposed object regions and a super-region node representing the entire scene.
  • Each node is assigned a context profile composed of node features (region features) and edge features (contextual relationships between regions).
  • For each object class, a separate autoencoder is trained to model the distribution of its context profile on clean data, learning to reconstruct normal contextual patterns.
  • During inference, the autoencoder for the predicted class is used to reconstruct the context profile of a detected region; a high reconstruction error indicates context inconsistency and flags the sample as potentially adversarial.
  • The system evaluates four context types: spatial (same object regions), object-object (co-occurring objects), object-background (object-scene alignment), and object-scene (holistic scene consistency).
  • The approach is applied to Faster R-CNN-based detectors and tested on PASCAL VOC and MS COCO with both digital and physical adversarial attacks.

Experimental results

Research questions

  • RQ1Can context inconsistency serve as a reliable signal for detecting adversarial perturbations in object detection?
  • RQ2How do different types of context—spatial, object-object, object-background, and object-scene—contribute to adversarial detection performance?
  • RQ3Does incorporating scene-level context improve detection over context-agnostic methods?
  • RQ4How effective is the method in detecting physical adversarial attacks, such as misclassified stop signs with added patches?
  • RQ5To what extent does the number of proposed regions and object density in a scene affect detection performance?

Key findings

  • SCEME achieves an average ROC-AUC over 0.95 on both PASCAL VOC and MS COCO under various adversarial attacks, significantly outperforming state-of-the-art context-agnostic methods.
  • On the stop sign detection task, SCEME detects 54% of perturbed examples at a 0.1% false positive rate, compared to 0% for FeatureSqueeze, demonstrating superior sensitivity.
  • The method detects nearly twice as many adversarial examples as its ablated version using only node features when the false positive rate is constrained to 0.1%.
  • Detection performance improves with higher region proposal counts, indicating that spatial context contributes meaningfully to identifying adversarial inconsistencies.
  • Performance increases with object density in scenes, suggesting that object-object context becomes more effective as scene complexity grows.
  • The method effectively detects 'appearing object' attacks, with detection accuracy rising as the IoU between the perturbed object and ground truth increases, confirming the role of spatial context.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.