Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

The Invisible Gorilla Effect in Out-of-distribution Detection

About

Deep Neural Networks achieve high performance in vision tasks by learning features from regions of interest (ROI) within images, but their performance degrades when deployed on out-of-distribution (OOD) data that differs from training data. This challenge has led to OOD detection methods that aim to identify and reject unreliable predictions. Although prior work shows that OOD detection performance varies by artefact type, the underlying causes remain underexplored. To this end, we identify a previously unreported bias in OOD detection: for hard-to-detect artefacts (near-OOD), detection performance typically improves when the artefact shares visual similarity (e.g. colour) with the model's ROI and drops when it does not - a phenomenon we term the Invisible Gorilla Effect. For example, in a skin lesion classifier with red lesion ROI, we show the method Mahalanobis Score achieves a 31.5% higher AUROC when detecting OOD red ink (similar to ROI) compared to black ink (dissimilar) annotations. We annotated artefacts by colour in 11,355 images from three public datasets (e.g. ISIC) and generated colour-swapped counterfactuals to rule out dataset bias. We then evaluated 40 OOD methods across 7 benchmarks and found significant performance drops for most methods when artefacts differed from the ROI. Our findings highlight an overlooked failure mode in OOD detection and provide guidance for more robust detectors. Code and annotations are available at: https://github.com/HarryAnthony/Invisible_Gorilla_Effect.

Harry Anthony, Ziyun Liang, Hermione Warr, Konstantinos Kamnitsas• 2026

Related benchmarks

TaskDatasetResultRank
OOD DetectionMVTec Pill (Similar)
AUROC80.64
90
OOD DetectionMVTec Pill (Dissimilar)
AUROC73.21
90
OOD DetectionMVTec Metal Nut Dissimilar
AUROC0.5892
90
OOD DetectionISIC Ink Artefacts (Similar)
AUROC75.02
70
OOD DetectionISIC Ink Artefacts (Dissimilar)
AUROC74.97
40
OOD DetectionISIC Colour Chart Artefacts, Synth Dissimilar
AUROC58.18
40
OOD DetectionISIC Colour Chart Artefacts Synth Similar
AUROC0.6192
40
OOD DetectionISIC Colour Chart Artefacts (Dissimilar)
AUROC0.5315
40
OOD DetectionISIC Colour Chart Artefacts Similar
AUROC56.17
40
OOD DetectionISIC Colour Chart Artefacts Similar
AURC10.02
30
Showing 10 of 18 rows

Other info

Follow for update