ODPure: Backdoor Purification for Object Detection via Ensemble Corruption Consensus

Li Zeng, Mingcheng Duan, Longfei Fan, Hangtao Zhang, Xianlong Wang, Yanchun Li, Xia Wen, Leo Yu ZhangarXiv 2026

Here is a blog-style summary of the research paper.

TL;DR

ODPure is the first input-stage, black-box backdoor purification defense designed specifically for object detection systems. By leveraging a novel Corruption-Reconstruction-Selection (CRS) paradigm, it neutralizes malicious backdoor triggers at inference time without needing access to model internals or discarding compromised data, ensuring a continuous and safe perception stream for applications like autonomous driving.

What Problem Does This Paper Address?

Backdoor attacks present a severe threat to deep learning models. When a specific "trigger" pattern is present in an input image, the backdoored model executes a malicious payload. While backdoor defenses are well-studied in image classification, they remain highly underdeveloped for object detection.

Object detection introduces unique defense challenges because attacks manifest in diverse ways:

  • Object Misclassification: Changing the predicted class of an object.
  • Object Disappearance: Suppressing bounding boxes to make objects "invisible."
  • Object Generation: Hallucinating "ghost" objects in empty spaces.
Fig. 1: Attack types (b)-(d) compared with clean scene (a).

Existing object detection defenses typically rely on scanning the model (which requires white-box access) or scanning the outputs and discarding suspicious inputs. Discarding inputs is highly problematic for safety-critical systems like autonomous driving, where a broken perception stream can lead to catastrophic failures. Furthermore, standard classification-based purification methods fail here because they tend to over-smooth images, destroying the high-frequency spatial details (edges, textures) required for precise bounding box localization.

Methods

To bridge this gap, the authors introduce ODPure, which operates on a Corruption-Reconstruction-Selection (CRS) paradigm:

  1. Corruption: The input image is subjected to a diverse portfolio of 15 different corruption types (e.g., defocus blur, Gaussian noise, snow) across 3 severity levels, generating an ensemble of 45 distinct corrupted variants. This step is designed to exploit the fragility of backdoor triggers.
  2. Reconstruction: To fix the severe degradation caused by the corruption step, ODPure uses a pre-trained, diffusion-based blind image restoration model (adapted from DiffBIR). This model leverages generative priors (Stable Diffusion) to remove noise and reconstruct sharp edges and textures essential for the detector's regression head, while treating the disrupted trigger as out-of-distribution noise and filtering it out.
  3. Selection: The purified image ensemble is fed into the victim detector, creating a massive pool of redundant bounding box proposals. ODPure filters these using a custom Cross-Corruption Non-Maximum Suppression mechanism. It normalizes box coordinates, applies a composite distance metric (combining IoU and spatial center proximity), clusters the boxes using DBSCAN, and uses confidence-based voting to distill the final, clean consensus detections.
Overview of the ODPure pipeline showcasing the Corruption, Reconstruction, and Selection stages.

Datasets

The authors evaluated ODPure on two standard object detection benchmarks:

  • Microsoft COCO (2017)
  • PASCAL VOC (2007+2012 union)

The defense was tested against models backdoored using various trigger designs, including standard chessboards, solid white patches, and photorealistic physical-world objects (e.g., a Poké Ball).

Key Insights and Ideas

  • Robustness Asymmetry: The core "aha moment" of the paper is the realization that benign features and backdoor triggers react differently to image corruptions. Benign object features degrade uniformly and predictably across different noises (consistent vulnerability). Backdoor triggers, acting as artificial shortcuts, are hypersensitive and react erratically, vanishing in some corruptions while appearing in others (variable vulnerability).
  • Decoupling Disruption and Preservation: By generating a massive ensemble of corrupted and subsequently reconstructed images, the defense decouples trigger neutralization from object preservation. Triggers fail to form a spatial consensus across the ensemble and are discarded as noise, while legitimate objects consistently reappear and form stable clusters.
  • Incidental Image Enhancement: Interestingly, the generative diffusion prior used in the reconstruction stage often fixes native image degradations (like compression artifacts) present in the original dataset, sometimes allowing the purified model to outperform its clean baseline accuracy.

Key Results

ODPure was evaluated against YOLOv5 and Faster R-CNN architectures, demonstrating state-of-the-art performance:

  • Object Misclassification Attack (OMA): On the COCO dataset with a YOLOv5 model, the attack originally caused the mean Average Precision (mAP) to collapse to a devastating 0.4%. ODPure successfully restored the mAP to 52.0% while suppressing the Attack Success Rate (ASR) down to 1.5%.
  • Comparison to Classification Baselines: ODPure significantly outperformed ZIP (a state-of-the-art classification purification method adapted to detection). While ZIP dropped the model's mAP to 30.6% due to over-smoothing, ODPure maintained a high utility of 52.0%.
  • Object Generation Attack (OGA): ODPure completely nullified hallucinated object attacks across multiple configurations, reducing the ASR to a perfect 0.0%.

Limitations and Future Work

The primary limitation of ODPure is its inference efficiency. Because it relies on iterative sampling from a diffusion model across an ensemble of images, it takes approximately 15 seconds to process a single image on an NVIDIA RTX 3090 GPU. This latency makes it impractical for real-time, onboard edge deployment (like immediate autonomous vehicle braking decisions) in its current form, though it remains highly practical for offline safety audits, dataset sanitization, and cloud-assisted verification.

The authors note that future work will focus on integrating algorithmic acceleration techniques, such as Latent Consistency Models (LCMs), to reduce the required inference steps by an order of magnitude without sacrificing purification quality.

Summary updated

BibTeX
@misc{zeng2026odpure,
  author = {Li Zeng and Mingcheng Duan and Longfei Fan and Hangtao Zhang and Xianlong Wang and Yanchun Li and Xia Wen and Leo Yu Zhang},
  title = {{ODPure: Backdoor Purification for Object Detection via Ensemble Corruption Consensus}},
  year = {2026},
  eprint = {2609.28239},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.28239},
}
Figure