ODPure: Object detection backdoor purification via ensemble-breaking consensusODPure: Backdoor Purification for Object Detection via Ensemble Corruption Consensus
ODPure purifies object detection backdoors at the input stage using corruption-reconstruction-consensus selection; on COCO, YOLO's mAP under OMA attack recovers from 0.4% to 52.0%, with ASR reduced to 1.5%.
The attacker implants a backdoor through data poisoning, and after triggering can cause object misclassification, disappearance, or generation. The defender is strictly black-box, attack-agnostic, and data-agnostic: only able to query the detector and observe boxes and class scores, with no model internals, no training data, no isolated trigger samples, and must purify the current input at inference time.
- Object detection backdoors can cause object misclassification, disappearance, or generation. Existing defenses mostly detect and discard inputs or models, making it difficult to maintain continuous perception. Classification purification also struggles to simultaneously disrupt triggers while preserving multi-object localization.
- ODPure is input-stage black-box purification: it disrupts triggers with 15 types and 3 levels of corruption, then uses DiffBIR-based diffusion reconstruction to restore edges, and finally uses DBSCAN and confidence voting for cross-corruption consensus selection.
- On VOC and COCO, YOLOv5 and Faster R-CNN, the ASR of OMA/ODA/OGA decreases and mAP mostly recovers; OGA's ASR drops to 0.0%. On COCO, OMA's YOLO changes from mAP 0.4%, ASR 94.6% to 52.0% and 1.5%, outperforming the adapted ZIP.
- The authors note that diffusion reconstruction introduces computational overhead and plan to use lightweight restoration models and extend CRS to segmentation and 3D detection. The supplementary material also notes that single corruption, no reconstruction, or random selection weakens the effect, and that ODA's ASR remains higher than OMA/OGA.
- Evaluated models
- YOLOv5Faster R-CNN
- Benchmarks
- COCO (2017)PASCAL VOC (2007+2012 union)
- Metrics
- [email protected]ASR
ODPure is an input-stage black-box backdoor defense method for object detection that purifies inputs through a corruption-reconstruction-selection (CRS) paradigm, maintaining a stable perception stream without discarding malicious data or models. The method uses multiple corruption methods to neutralize triggers, generates a large number of redundant candidate boxes, then uses generative priors to restore fine-grained structural cues, and finally reaches consensus on detection results through voting. Experiments show that ODPure defends against multiple backdoor attacks and trigger types while maintaining baseline accuracy.
Paper analysis
What problem does this paper attempt to solve?
Object detection backdoors are diverse, and existing methods can only discard; ODPure aims to purify at the black-box input stage while preserving detection utility.
Backdoors in object detection can cause object misclassification, disappearance, or generation when the trigger appears, while existing defenses can only discard data or models after detecting the threat, failing to maintain a continuous, usable perception stream.
- Scenario and importance: The authors state that Faster R-CNN and YOLO are used in safety-critical perception such as autonomous driving. Backdoors behave normally on clean samples but on triggered samples can change classes (object misclassification), remove boxes (object disappearance), or generate boxes for non-existent objects (object generation), as shown in Figure 1.
- Limitations of existing methods: The authors state that backdoor defenses for classification are relatively mature, but detection remains relatively lacking. DetectorCleanse scans outputs and discards suspicious inputs, while ODSCAN inspects the model internals before deployment; both only perform detection and can only discard inputs or models after discovery. Generative purification on the classification side (e.g., ZIP) uses fixed-strength transformations; if too weak, the trigger is not removed, and if too strong, it destroys the edges and textures needed for localization.
- Core observation: The authors believe that multiple failure modes stem from the same trigger in the image. Benign features degrade uniformly under different corruptions (consistent vulnerability), while the trigger, as an artificial shortcut, is sensitive to specific perturbations (variable vulnerability). Thus, benign boxes form stable clusters, while trigger predictions are unstable and fail to reach consensus.
- Proposed method: The authors propose an input-stage, black-box purification defense ODPure, which uses Corruption-Reconstruction-Selection (CRS) to first neutralize the trigger with multiple corruptions, then restore structure with generative priors, and finally vote to reach detection consensus. The authors claim this is the first input-stage purification defense for object detection.
- Threat model
- Attacker: The primary attack vector is data poisoning. The goal is to contaminate the training set and implant a hidden backdoor in the final detector; after triggering, it can induce OMA, ODA, or OGA.
- Defender knowledge: Attack-Agnostic. Zero prior knowledge of the attack configuration, including whether a trigger exists, its pattern, size, position, or the intended malicious behavior.
- Defender capabilities: Strict Black-Box Access, only able to query and observe boxes and class scores; architecture, parameters, and gradients are unavailable, simulating MLaaS. Data-Agnostic: no original clean or poisoned training set, no isolated trigger samples, and must operate on the current input at inference time.
- Defense objectives: Security is measured by low ASR; Fidelity is measured by mAP, aiming to preserve benign input accuracy and restore detectability of purified malicious inputs.
What related research exists?
Related work is divided into detection attacks, detector defenses, and classification input purification; the authors locate the gap in purification rather than discarding on the detection side.
The paper divides related work into three groups: detection attacks, detector defenses, and classification input purification, and notes that purification is still missing on the detection side.
Backdoor Attacks on Object Detection
- The detection task itself: Faster R-CNN and YOLO perform both classification and box regression simultaneously; the authors state this expands the attack surface, allowing more complex disappearance and generation behaviors than misclassification.
- Three behavior types: OMA changes the target to a wrong label under trigger t while keeping the box; ODA suppresses the target box; OGA generates false detections in specified regions. The paper cites [7]–[11] as sources of these behaviors.
Backdoor Defenses on Object Detection
- ODSCAN: scans internal model parameters before deployment to discover implanted backdoors; the authors note it relies on white-box access and is impractical in MLaaS where users cannot see the internals.
- DetectorCleanse: analyzes predictions and discards potentially malicious inputs. The authors state that the literature mainstream is backdoor detection, and backdoor purification on detection tasks remains a gap; this paper purifies inputs instead of discarding them to keep downstream decisions usable.
Input-Stage Purification on Classification Tasks
- Adversarial purification: removes imperceptible perturbations at inference time; approaches include statistical analysis of high-entropy regions and generative restoration.
- Backdoor purification: early work used Grad-CAM and similar methods to localize triggers and remove them via generative inpainting; the authors state these often target explicit local triggers (e.g., patches) and may fail on more covert global triggers; later work shifted to diffusion models for global generative restoration.
- ZIP: explores multiple transformations (e.g., blur, grayscale), but with fixed strengths (e.g., fixed kernel size); the authors believe it still falls into the dilemma of "too weak to remove the trigger, too strong to destroy high-frequency details."
Baseline methods and benchmarks/datasets: the quantitative baseline adapts the classification purification method ZIP to object detection; qualitative comparisons are DetectorCleanse and ODSCAN. Evaluation datasets are COCO (2017) and VOC (2007+2012 union). Attack configurations follow [7], with target class person, poisoning ratios of 10–30%, and the default checkerboard trigger.
The authors position this paper as: rather than scanning and discarding, use CRS at the input stage to separate trigger neutralization from multi-object preservation, and claim this breaks the utility trade-off of classification purification methods.
How does the paper address this problem?
CRS first disrupts triggers with 15 types of corruption at 3 levels, then uses DiffBIR-style reconstruction to restore edges, and finally DBSCAN votes to produce consensus boxes.
ODPure implements CRS as a three-stage pipeline: corruption disrupts the trigger, reconstruction restores details needed for regression, and selection performs spatial consensus on redundant proposals.
Problem formulation
- Detection output: Model M outputs {(box, class, confidence)} for an image with p objects. Matching requires IoU not below threshold τ and correct class. Utility is measured by [email protected]; ASR follows [7], defined as the proportion of successful attacks among trigger-activated attempts.
- Design motivation: The authors believe relying on only a few corruptions or fixed intensity is unreliable because triggers have varying sensitivity to different corruptions. Fig. 2, on ODA, checkerboard trigger, YOLO, COCO, divides corruptions into high- and low-impact groups: some corruptions (e.g., defocus blur) significantly reduce ASR, while contrast etc. barely reduce it; mAP on clean images degrades more consistently with corruption.
Corruption
- Form: Apply a function set F to input I. fi,j is the j-th intensity of the i-th corruption type. The corrupted variant set is Icorr = {fi,j(I)}, i from 1 to n, j from 1 to m.
- Configuration: n = 15, types from the benchmark in [40]; Fig. 5 shows brightness, contrast, defocus blur, elastic transform, fog, frost, Gaussian noise, glass blur, impulse noise, JPEG compression, motion blur, pixelate, shot noise, snow, zoom blur. Intensity m = 3, taking levels 1, 2, 3. Fig. 5 also plots severity 0 (original) to 3.
Reconstruction
- Role: Corruption damages edges and textures needed by the regression branch. Reconstruction uses an off-the-shelf pre-trained model adapted from DiffBIR, learning general priors on external data like ImageNet, then denoises COCO and VOC zero-shot to fit the data-agnostic setting. Configuration is the same as [18].
- Two-stage inference: The Restoration Module removes content-irrelevant degradation, with pre-training objective LRM = ||IRM − Igt||₂², restoring coarse structure for anchor alignment. The Generation Module uses a frozen Stable Diffusion generative prior to avoid over-smoothing from ordinary denoising; the authors state it treats adversarial triggers as out-of-distribution noise, suppressing them during denoising and recomposing sharp edges. The two stages compose into operator R(·), and each corrupted variant yields Ipurified = R(Icorr).
- Motivation experiment: Fig. 3 uses the same ODA model and poisoned COCO as Fig. 2, only defocus blur, severity 2. The authors report mAP drops from 78.3% to 42.8% after corruption, with ASR 34.5%; after reconstruction, mAP reaches 51.5% and ASR 30.0%. Fig. 4 shows ODA visualizations for the same setting: corruption then reconstruction.
Selection
- Aggregation: Query the black-box detector on each purified variant, merging all detections into Bcand. Box centers are normalized by image width and height, then split into subsets by class.
- Distance: Composite distance D = d1 + d2. d1 = 1 − IoU, d2 is normalized center Euclidean distance, both in [0, 1]. Smaller distance indicates more spatial similarity, used to counter regression jitter.
- Clustering and voting: For each class subset, use DBSCAN with distance threshold ε = 0.5 and MinPts = 10. MinPts is the consensus threshold: trigger-induced flickering outliers cannot enter dense clusters and are discarded as noise; benign targets form stable clusters. Within each cluster, the highest-confidence detection is selected as representative, then aggregated by class into the final set. The authors call this non-maximum suppression across corruptions. Algorithm 1 gives the full procedure.
Success criteria
- Report both mAP and ASR before and after defense. Security looks at whether ASR decreases; Fidelity looks at mAP on clean samples and purified malicious samples. The paper does not specify a numerical pass line for ASR in the method section.
What experiments did the paper conduct?
Main experiments cover two detectors, VOC/COCO, and three attack types; OGA's ASR can be reduced to 0.0%, while ODA shows a smaller reduction.
Experimental setup
- Models: Single-stage YOLOv5 and two-stage Faster R-CNN. In tables, Faster R-CNN is written as F-RCNN.
- Data: COCO (2017) and VOC (2007+2012 union). Attacks follow [7]: target label person, training set poisoned 10–30%. Default checkerboard trigger (Fig. 7a), side length 29×29 or 15×15; the paper states this balances mAP and ASR across all experiments. More detailed configurations for each attack are in supplementary Section S-I, not expanded in the main text.
- Metrics: [email protected] and ASR, reported both before and after defense. ASR is defined as the proportion of successful attacks among trigger-activated attempts.
- Baselines: Qualitative comparisons with DetectorCleanse and ODSCAN; quantitative comparison adapts ZIP to detection. The authors state there is no direct counterpart for input-stage purification in detection.
- ODPure parameters: 15 corruption types, intensities 1/2/3; reconstruction configuration as in [18]; DBSCAN ε = 0.5, MinPts = 10.
- Review: The paper does not use LLM review or human agreement; mAP and ASR are computed per detection protocols. The paper does not report the number of repetitions.
Main results
Table I shows the main results for three attack types before and after defense. Clean is the clean model mAP; Before / After are the poisoned model's mAP and ASR before and after defense.
Swipe horizontally to read the table
Setting Clean mAP Pre-defense mAP / ASR Post-defense mAP / ASR OMA, VOC, YOLO 76.4% 8.2% / 87.7% 80.5% / 2.0% OMA, VOC, F-RCNN 79.3% 44.9% / 94.6% 78.1% / 17.4% OMA, COCO, YOLO 52.8% 0.4% / 94.6% 52.0% / 1.5% OMA, COCO, F-RCNN 49.7% 6.3% / 91.9% 47.0% / 16.3% ODA, VOC, YOLO 72.0% 71.6% / 96.5% 76.7% / 20.8% ODA, VOC, F-RCNN 77.6% 76.4% / 69.3% 75.4% / 18.9% ODA, COCO, YOLO 54.0% 52.4% / 99.9% 54.1% / 25.4% ODA, COCO, F-RCNN 50.9% 50.3% / 81.7% 51.4% / 28.0% For OGA, post-defense ASR is 0.0% in all four rows: VOC YOLO mAP goes from 78.0% to 82.2% (clean 80.4%, pre-defense ASR 65.1%); VOC F-RCNN from 81.2% to 80.9% (clean 83.2%, ASR 98.4%); COCO YOLO from 52.8% to 54.4% (clean 53.0%, ASR 99.8%); COCO F-RCNN from 49.1% to 49.5% (clean 48.9%, ASR 95.4%).
- OMA: The authors state that YOLO mAP drops from 76.4% to 8.2% on VOC and to 0.4% on COCO; ODPure restores both to 80.5% and 52.0%, with ASR reduced to 2.0% and 1.5%. The authors attribute the slightly higher-than-clean mAP to reconstruction incidentally fixing original image degradations like compression. F-RCNN's post-defense ASR remains 17.4% (VOC) and 16.3% (COCO), higher than YOLO in the same table.
- ODA: The attack barely reduces mAP (e.g., VOC YOLO from 72.0% to 71.6%), but ASR remains high. Post-defense ASR is 18.9%–28.0%, with mAP returning to or exceeding pre-defense levels. The authors believe this attack is harder to detect because it does not cause overall collapse.
- OGA: The authors state that ASR drops to 0.0% across all models and datasets, and mAP can exceed the clean baseline, e.g., COCO YOLO from clean 53.0% to post-defense 54.4%.
Comparison with detection defenses and ZIP
- Architecture comparison: In Table II, ODSCAN is model scanning and requires discarding the detector; DetectorCleanse is output scanning, discards inputs, and interrupts service; ODPure is input purification, keeping the detector operational; all three have Defense Scope marked as All. This table has no mAP/ASR.
- With ZIP: Table III only reports COCO, OMA, YOLO. Pre-defense both have mAP 52.8%, ASR 94.6%. After ZIP defense, mAP 30.6%, ASR 2.8%; ODPure gives mAP 52.0%, ASR 1.5%. The authors state that ZIP sacrifices localization accuracy to remove the trigger, while CRS reduces ASR while preserving mAP.
Adaptive attacks
- Setup: The attacker knows the defense mechanism. Strategy one is a solid white block (Fig. 7b), assuming low-frequency, low-texture patterns can better survive corruption. Strategy two is a physical trigger, using a Poké Ball sticker (Fig. 7c) disguised as a benign object, targeting the reconstruction module's generative prior. The supplementary materials default to YOLO, ODA, 29×29 checkerboard for variants unless otherwise stated.
- Solid-color trigger: The supplementary materials state it mainly challenges Corruption. For ODA, Table S1 shows utility can be maintained, but ASR reduction is more limited, e.g., YOLO on VOC drops to 44.0%. Faster R-CNN on VOC mAP rises from 78.0% to 80.0%. For OGA, ASR decreases but does not reach zero, e.g., Faster R-CNN on VOC from 92.7% to 52.7%; YOLO on VOC mAP rises from 77.6% to 83.2%. The remaining cells of Table S1 are not fully listed in the attached text.
- Physical trigger: The supplementary materials reference Table IV in the main text. Under OMA, COCO YOLO mAP recovers from 1.7% to 51.2%, ASR drops to 31.1%, and the authors believe reconstruction may interpret residual trigger features as coherent objects. Under ODA, VOC YOLO and Faster R-CNN ASR reach 35.1% and 17.8% respectively, with YOLO mAP recovering from 72.3% to 78.3%. Under OGA, Faster R-CNN on VOC ASR drops from 99.6% to 6.7%. The authors state that physical triggers overlapping with objects (OMA) are harder to remove, while isolated hallucinations (OGA) are more easily filtered.
Other ablations and analysis
- Stage motivation (Fig. 3): Same ODA, YOLO, poisoned COCO, defocus blur severity 2: mAP 78.3% → 42.8% after corruption → 51.5% after reconstruction; ASR 95.2% (before corruption) → 34.5% → 30.0%. The figure also shows another mAP annotation of 42.8% next to 95.2% and ASR values 34.5%, 30.0% on the side; the main text adopts the above stage interpretation.
- Ablation variants (supplementary): Single Corruption uses only Defocus Blur, severity 2; w/o Reconstruction removes reconstruction; Random Selection replaces consensus with random sampling. The paper states these variants weaken the effect; the attached text does not include full numerical tables for these three groups.
- Fig. 2: ODA, checkerboard 29×29, YOLO; y-axis is ASR (triggered samples, poisoned COCO) and mAP (clean COCO), x-axis severity 1–3, legend shows 15 corruption types. The authors state that trigger vulnerability varies by corruption, while benign mAP degradation is more consistent. The figure does not label endpoint values for each corruption individually, so they are not transcribed point by point.
- Negative results: Under standard checkerboard, ODA post-defense ASR remains 18.9%–28.0% (Table I), higher than OMA YOLO (1.5%, 2.0%) and OGA 0.0% in the same table. F-RCNN post-defense ASR on OMA (16.3%, 17.4%) is higher than YOLO. Under solid-color and physical triggers, ASR is higher than standard checkerboard, described in the supplementary as more limited or incomplete reduction.
What are some points that can be further explored?
The authors list computational overhead and extension to segmentation and 3D detection as future work; ablations show that removing any stage degrades performance.
Limitations and future directions noted by the authors
- Computational overhead: The supplementary materials state that diffusion-based reconstruction introduces computational overhead; the authors plan to use lighter restoration models to reduce the cost (supplementary materials discussion).
- Task extension: The authors plan to extend CRS to segmentation and 3D detection (supplementary materials discussion).
- Component necessity: The supplementary materials ablations state that using only a single corruption, removing reconstruction, or replacing consensus with random selection weakens the defense, illustrating that all three stages are necessary. This is an ablation conclusion, not a dedicated Limitations section in the main text.
- Attack type differences: The supplementary materials state that relative to standard triggers, ASR reduction on ODA is more limited (e.g., YOLO on VOC drops to 44.0% with a solid-color trigger), and physical triggers are harder to remove in OMA where they overlap with objects. The authors attribute the latter to the reconstruction module possibly interpreting residual features as coherent objects.
The attached main text proceeds to supplementary materials after methods and experiments, with no separate Limitations or Future Work section; the above points come from explicit statements in the supplementary materials about overhead, extension plans, and ablations.
Experimental coverage
- Detectors and data: Experiments use YOLOv5 and Faster R-CNN, with datasets COCO (2017) and VOC (2007+2012 union), and attacks OMA, ODA, OGA (Section VI).
- Triggers: Default is checkerboard, 29×29 or 15×15; adaptive ones are solid white blocks and Poké Ball physical stickers (Fig. 7, Section VI-D and supplementary S-II). Poisoning ratio is stated as 10–30%, target class is person.
- Baselines: Quantitative comparison only reports ZIP on one setting (COCO, OMA, YOLO) in Table III. DetectorCleanse and ODSCAN are only qualitatively compared in Table II for type, scope, and reusability.
- Defense configuration: Corruptions are 15 types, 3 levels; DBSCAN ε = 0.5, MinPts = 10; reconstruction is DiffBIR-style two-stage, configured as in [18], with external pre-training data example as ImageNet. The paper does not report query counts, runtime, or number of repetitions.
- Metrics and ablations: Metrics are [email protected] and ASR. The supplementary materials compare Single Corruption, w/o Reconstruction, and Random Selection, but the attached text does not include full numerical tables for these three. Table S1 for adaptive solid-color attacks is only partially given in text.
Summarize the main content of the paper
ODPure uses corruption, diffusion reconstruction, and box consensus to purify detection backdoors in a black-box setting, restoring mAP and suppressing ASR on two types of detectors.
ODPure is an input-stage black-box purification defense for object detection, using a corruption set to disrupt backdoor triggers, then generative reconstruction and spatial voting to preserve multi-object detection.
- Problem: Detection backdoors, besides changing classes, can also make objects disappear or generate them from nothing. The authors believe DetectorCleanse and ODSCAN can only discard inputs or models after discovering threats; classification purification methods struggle to both break triggers and preserve localization details.
- Method: CRS uses 15 types and 3 levels of corruption to generate many variants, uses a two-stage diffusion model adapted from DiffBIR to restore edges zero-shot, then clusters by class with DBSCAN (ε = 0.5, MinPts = 10) and takes the highest-confidence box within each cluster. The defender only has query access, with no training data or trigger samples.
- Main results: In Table I, on COCO under OMA attack, YOLO goes from mAP 0.4%, ASR 94.6% to 52.0% and 1.5%; on VOC the corresponding values are 80.5% and 2.0%. For OGA, post-defense ASR is 0.0% on both detectors and both datasets. ODA mAP can be restored, but ASR remains 18.9%–28.0%.
- Comparison and adaptive: In the same COCO, OMA, YOLO setting, ZIP post-defense mAP is 30.6% and ASR 2.8%, while ODPure gives 52.0% and 1.5%. With physical triggers, COCO YOLO under OMA recovers mAP from 1.7% to 51.2%, with ASR 31.1%.
- Authors' conclusion: The authors state that CRS separates trigger neutralization from multi-object preservation, allowing purified inputs to remain usable downstream, and that reconstruction incidentally improves mAP in some settings. The supplementary materials also note that diffusion reconstruction has computational overhead, and ASR reduction on ODA and non-standard triggers is less thorough than on standard checkerboard settings for OMA/OGA.