[Paper Review] Manifolds for Unsupervised Visual Anomaly Detection
This paper proposes a Stereographic Projection Variational Auto-Encoder (SP-VAE) that leverages hyperspherical and hyperbolic manifolds to improve unsupervised visual anomaly detection. By using a novel gyroplane layer for stereographic projections, the model learns smooth, interpretable latent manifolds that better separate normal and anomalous data, achieving state-of-the-art performance on industrial and histopathology benchmarks, including >0.97 AUC in classifying brain tumor subtypes without labels.
Anomalies are by definition rare, thus labeled examples are very limited or nonexistent, and likely do not cover unforeseen scenarios. Unsupervised learning methods that don't necessarily encounter anomalies in training would be immensely useful. Generative vision models can be useful in this regard but do not sufficiently represent normal and abnormal data distributions. To this end, we propose constant curvature manifolds for embedding data distributions in unsupervised visual anomaly detection. Through theoretical and empirical explorations of manifold shapes, we develop a novel hyperspherical Variational Auto-Encoder (VAE) via stereographic projections with a gyroplane layer - a complete equivalent to the Poincaré VAE. This approach with manifold projections is beneficial in terms of model generalization and can yield more interpretable representations. We present state-of-the-art results on visual anomaly benchmarks in precision manufacturing and inspection, demonstrating real-world utility in industrial AI scenarios. We further demonstrate the approach on the challenging problem of histopathology: our unsupervised approach effectively detects cancerous brain tissue from noisy whole-slide images, learning a smooth, latent organization of tissue types that provides an interpretable decisions tool for medical professionals.
Motivation & Objective
- To improve unsupervised visual anomaly detection by modeling data distributions on non-Euclidean Riemannian manifolds with constant curvature.
- To investigate whether hyperspherical and hyperbolic latent spaces better represent normal and sparse anomalous visual data than flat Euclidean spaces.
- To develop a differentiable, invertible transformation—via a gyroplane layer—for stereographic projections between hyperboloid, hypersphere, and Poincaré ball manifolds.
- To enable reliable geodesic interpolation in non-Euclidean latent spaces, avoiding the calibration errors of linear approximations.
- To demonstrate the method’s utility in real-world industrial and medical AI settings, particularly in neuropathology with whole-slide images.
Proposed method
- Proposes a Stereographic Projection VAE that maps between hyperboloid and hypersphere manifolds using conformal, bijective, and angle-preserving stereographic projections.
- Introduces a novel gyroplane layer that enables neural network operations in non-Euclidean latent spaces, supporting both hyperspherical and hyperbolic geometry.
- Employs Poincaré mapping to visualize and interpolate between normal and anomalous tissue regions in the latent space, preserving geodesic structure.
- Uses geodesic interpolation via Eqn. 2 to generate realistic intermediate samples along curved paths, contrasting with linear interpolation in Euclidean latent spaces.
- Applies the model to unsupervised anomaly detection by identifying outliers as points far from the learned manifold, particularly in sparse regions.
- Trains a classifier on discretized anomalous samples from the latent space to evaluate downstream performance, achieving high AUC without labels.
Experimental results
Research questions
- RQ1Can constant curvature Riemannian manifolds—specifically hyperspherical and hyperbolic spaces—provide a more natural and efficient embedding for both normal and anomalous visual data than flat Euclidean space?
- RQ2How do stereographic projections between hyperboloid and Poincaré ball, or hypersphere and projected sphere, preserve geometric properties essential for representation learning in deep generative models?
- RQ3To what extent do geodesic interpolations in non-Euclidean latent spaces yield more plausible and interpretable intermediate samples than linear interpolations in Euclidean spaces?
- RQ4Can a self-supervised, unsupervised VAE with non-Euclidean latent space effectively organize complex, unlabeled histopathology data and detect cancerous tissue without any annotations?
- RQ5Does the proposed SP-VAE achieve state-of-the-art performance on real-world unsupervised visual anomaly detection benchmarks in manufacturing and medical imaging?
Key findings
- The SP-VAE achieves state-of-the-art results on visual anomaly detection benchmarks in precision manufacturing and inspection, outperforming prior unsupervised methods.
- In neuropathology, the model learns a smooth, hierarchical latent organization of brain tissue subtypes without labels, enabling reliable detection of cancerous regions.
- The model achieves a multi-class AUC of over 0.97 in classifying five brain tumor subtypes using only unsupervised latent representations, matching fully supervised SOTA.
- Geodesic interpolation in the latent space produces realistic, intermediate tissue images that reflect plausible biological transitions, while linear interpolation yields blurred, unnatural blends.
- Linear approximations of geodesics in non-Euclidean spaces lead to calibration errors, particularly over long-range interpolations between sparse anomalous points.
- The use of Poincaré mapping reveals a coherent, interpretable organization of normal and abnormal tissue regions, supporting clinical interpretability and decision support.
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.