ODDR: Outlier Detection & Dimension Reduction Based Defense Against Adversarial Patch Attacks
Published in ICCV, 2025
Links
- Paper: ICCV Open Access
Key Idea
Adversarial patches succeed because they create dominant outlier activations in feature space.
Motivation: Why Do Patch Attacks Remain Effective?
Adversarial patches introduce localized perturbations that produce disproportionately strong feature activations.
These activations propagate through the network and dominate predictions, making patch attacks highly robust—even under real-world transformations.

Insight: Patches Are Feature-Space Outliers
Patch-induced activations are not just strong—they are statistically inconsistent with normal feature distributions.
This makes them detectable as outliers in representation space.
By identifying and suppressing these anomalies, we can neutralize the effect of the patch without degrading the underlying semantic content.

Method: ODDR (Outlier Detection & Dimension Reduction)
We propose ODDR, a defense framework that operates directly in feature space to suppress adversarial dominance.
The method consists of two key components:
- Outlier Detection: Identify abnormal feature activations using statistical deviation modeling
- Dimension Reduction: Project features into a compact subspace that suppresses adversarial influence while preserving semantic information
This combination enables targeted suppression of adversarial artifacts without relying on input transformations.

Positioning
Unlike preprocessing or transformation-based defenses that attempt to remove perturbations in input space, ODDR operates in feature space, directly targeting the internal mechanisms exploited by patch attacks.
By modeling adversarial patches as distributional anomalies, ODDR provides a principled and architecture-agnostic defense strategy.
Abstract
Adversarial patch attacks introduce localized perturbations that produce disproportionate feature activations in deep neural networks.
These anomalous responses propagate through the network and dominate classification decisions, leading to consistent misclassification even under physical-world transformations.
We propose ODDR, a defense mechanism that detects and mitigates patch-induced artifacts through a two-stage pipeline:
- Outlier Detection — Identifies abnormal feature responses using statistical deviation modeling
- Dimension Reduction — Projects features into a compact subspace that suppresses adversarial dominance while preserving semantic information
By operating directly in feature space, ODDR effectively suppresses patch-induced activations while maintaining the integrity of benign representations.
Extensive experiments across CNN and Vision Transformer architectures demonstrate that ODDR significantly reduces attack success rates while maintaining strong clean accuracy, outperforming existing preprocessing and transformation-based defenses.
Key Contributions
- We show that adversarial patches act as dominant feature-space outliers.
- We introduce ODDR, a defense combining outlier detection and dimension reduction.
- We design a feature-space pipeline that suppresses adversarial activations while preserving semantic structure.
- We demonstrate strong robustness across CNNs and Vision Transformers under patch attacks.
Method Pipeline
The ODDR pipeline operates as follows:
- Extract intermediate feature representations
- Identify anomalous activations via statistical scoring
- Suppress adversarial components through dimension reduction
- Forward refined features to the classifier
Results: Suppressing Patch Dominance
ODDR significantly reduces the influence of adversarial patches while preserving model accuracy and generalization.
- Strong reduction in Patch ASR
- Improved robustness compared to preprocessing defenses
- Consistent performance across architectures and tasks



Citation
@inproceedings{chattopadhyay2025oddr,
title={Oddr: Outlier detection \& dimension reduction based defense against adversarial patches},
author={Chattopadhyay, Nandish and Guesmi, Amira and Hanif, Muhammad Abdullah and Ouni, Bassem and Shafique, Muhammad},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={22999--23008},
year={2025}
}
