Geometrically Constrained Outlier Synthesis
About
Deep neural networks for image classification often exhibit overconfidence on out-of-distribution (OOD) samples. To address this, we introduce Geometrically Constrained Outlier Synthesis (GCOS), a training-time regularization framework aimed at improving OOD robustness during inference. GCOS addresses a limitation of prior synthesis methods by generating virtual outliers in the hidden feature space that respect the learned manifold structure of in-distribution (ID) data. The synthesis proceeds in two stages: (i) a dominant-variance subspace extracted from the training features identifies geometrically informed, off-manifold directions; (ii) a conformally-inspired shell, defined by the empirical quantiles of a nonconformity score from a calibration set, adaptively controls the synthesis magnitude to produce boundary samples. The shell ensures that generated outliers are neither trivially detectable nor indistinguishable from in-distribution data, facilitating smoother learning of robust features. This is combined with a contrastive regularization objective that promotes separability of ID and OOD samples in a chosen score space, such as Mahalanobis or energy-based. Experiments demonstrate that GCOS outperforms state-of-the-art methods using standard energy-based inference on near-OOD benchmarks, defined as tasks where outliers share the same semantic domain as in-distribution data. As an exploratory extension, the framework naturally transitions to conformal OOD inference, which translates uncertainty scores into statistically valid p-values and enables thresholds with formal error guarantees, providing a pathway toward more predictable and reliable OOD detection.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Out-of-Distribution Detection | Textures | AUROC0.9019 | 168 | |
| Out-of-Distribution Detection | CIFAR-10 ID CIFAR-100 OOD | AUC76.13 | 66 | |
| Out-of-Distribution Detection | Places365 | AUROC92.3 | 21 | |
| Out-of-distribution (OOD) detection | CIFAR100 (In-Distribution) Texture (Out-of-Distribution) (test) | FPR@9578 | 18 | |
| Outlier-aware Object Detection | PASCAL-VOC (ID) vs OpenImages (OD) 2012 (test val) | FPR9560.69 | 16 | |
| Out-of-distribution (OOD) detection | CIFAR100 In-Distribution Place365 Out-of-Distribution (test) | AUROC72.95 | 15 | |
| Anomaly Detection | Adult (test) | Confounder Mean AUPR0.294 | 13 | |
| Anomaly Detection | Adult confounder | AUROC0.5242 | 13 | |
| Anomaly Detection | Adult mechanism | AUROC0.5025 | 13 | |
| Anomaly Detection | Adult newvar | AUROC50.25 | 13 |