cs.LGMar 9, 2026

Geometrically Constrained Outlier Synthesis

Authors: Daniil Karzanov, Marcin Detyniecki

Organizations: AXA AI Research · EPFL, Lausanne, Switzerland · TRAIL, Sorbonne Université, Paris, France · Polish Academy of Science, IBS PAN, Warsaw, Poland

Abstract

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.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning to Explore: Policy-Guided Outlier Synthesis for Graph Out-of-Distribution Detection

    Feb 28, 2026Li Sun, Lanxu Yang, Jiayu Tian +6OOD DetectionSynthetic Anomaly Generation

  2. GAMR: Geometric-Aware Manifold Regularization with Virtual Outlier Synthesis for Learning with Noisy Labels

    May 20, 2026Ningkang Peng, Jingyang Mao, Xiaoqian Peng +4Geometric Representation LearningManifold Learning

  3. Out-of-Distribution Object Detection in Street Scenes via Synthetic Outlier Exposure and Transfer Learning

    Mar 17, 2026Sadia Ilyas, Annika Mütze, Klaus Friedrichs +2Object DetectionOOD Detection