[Paper Review] iDECODe: In-distribution Equivariance for Conformal Out-of-distribution Detection
iDECODe is a novel conformal out-of-distribution (OOD) detection method that leverages in-distribution (iD) equivariance under data transformations as a non-conformity measure. By aggregating predictions across multiple random transformations, it achieves state-of-the-art AUROC scores on image and audio OOD detection benchmarks while guaranteeing a bounded false detection rate.
Machine learning methods such as deep neural networks (DNNs), despite their success across different domains, are known to often generate incorrect predictions with high confidence on inputs outside their training distribution. The deployment of DNNs in safety-critical domains requires detection of out-of-distribution (OOD) data so that DNNs can abstain from making predictions on those. A number of methods have been recently developed for OOD detection, but there is still room for improvement. We propose the new method iDECODe, leveraging in-distribution equivariance for conformal OOD detection. It relies on a novel base non-conformity measure and a new aggregation method, used in the inductive conformal anomaly detection framework, thereby guaranteeing a bounded false detection rate. We demonstrate the efficacy of iDECODe by experiments on image and audio datasets, obtaining state-of-the-art results. We also show that iDECODe can detect adversarial examples.
Motivation & Objective
- To address the critical challenge of detecting out-of-distribution (OOD) inputs in safety-critical machine learning deployments.
- To improve OOD detection by exploiting learned in-distribution equivariance under geometric transformations.
- To ensure a bounded false detection rate (FDR) through integration with the inductive conformal anomaly detection (ICAD) framework.
- To extend the method’s utility to adversarial example detection, demonstrating robustness across model architectures.
Proposed method
- Proposes a novel base non-conformity measure (NCM) based on prediction deviation under transformations, quantifying how much a sample violates iD equivariance.
- Introduces an aggregation method that computes n independent non-conformity scores from n i.i.d. transformations sampled from a distribution over a group G of transformations.
- Uses the aggregated NCM within the ICAD framework to compute p-values indicating anomalous behavior with guaranteed FDR control.
- Employs data augmentation (e.g., SpecAugment for audio) to learn iD equivariance during model training, enhancing generalization to OOD inputs.
- Applies the method to both image and audio datasets using VGG and AVT architectures, with calibration on held-out iD samples.
- Leverages conformal prediction theory to ensure statistical validity, with p-values interpreted as confidence in distribution membership.
Experimental results
Research questions
- RQ1Can in-distribution equivariance under geometric transformations be used as a reliable signal for detecting out-of-distribution inputs?
- RQ2How can multiple transformation-based non-conformity scores be aggregated to improve detection robustness and performance?
- RQ3Can the proposed method achieve state-of-the-art OOD detection performance while maintaining a bounded false detection rate?
- RQ4Does the method generalize to adversarial example detection across different model architectures?
Key findings
- iDECODe achieves state-of-the-art AUROC of 66.21 ± 0.39 on the FSD audio OOD detection benchmark, outperforming prior SOTA methods.
- On CIFAR-10 adversarial detection, iDECODe with |V(x)|=5 achieves 96.6 ± 0.1 AUROC for FGSM attacks and 96.4 ± 0.1 for BIM, outperforming unsupervised baselines.
- The method consistently improves over ICAD (with single transformation) by 2.7–3.4 AUROC points across audio OOD sets.
- iDECODe maintains strong performance on challenging attacks like CW and DF, even without adversarial data during training.
- The use of multiple transformations (|V(x)|=20) significantly improves detection over single-transformation baselines.
- The method demonstrates robustness across different architectures (ResNet, DenseNet) and attack types, indicating generalization beyond specific model designs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.