[Paper Review] Semi-orthogonal Embedding for Efficient Unsupervised Anomaly Segmentation
Introduces a semi-orthogonal embedding to low-rank-approximate the localized Mahalanobis distance for unsupervised anomaly segmentation, dramatically reducing covariance inverse cost while achieving state-of-the-art results on multiple benchmarks.
We present the efficiency of semi-orthogonal embedding for unsupervised anomaly segmentation. The multi-scale features from pre-trained CNNs are recently used for the localized Mahalanobis distances with significant performance. However, the increased feature size is problematic to scale up to the bigger CNNs, since it requires the batch-inverse of multi-dimensional covariance tensor. Here, we generalize an ad-hoc method, random feature selection, into semi-orthogonal embedding for robust approximation, cubically reducing the computational cost for the inverse of multi-dimensional covariance tensor. With the scrutiny of ablation studies, the proposed method achieves a new state-of-the-art with significant margins for the MVTec AD, KolektorSDD, KolektorSDD2, and mSTC datasets. The theoretical and empirical analyses offer insights and verification of our straightforward yet cost-effective approach.
Motivation & Objective
- Motivate efficient unsupervised anomaly segmentation using multi-scale CNN features.
- Develop a low-rank, robust approximation of the precision matrix to replace expensive inversions.
- Introduce semi-orthogonal embedding to reduce computational and memory costs without backbone fine-tuning.
- Show empirical gains and theoretical guarantees that support the proposed method over random feature sampling.
Proposed method
- Use multi-scale features from pre-trained CNNs to form localized Mahalanobis distances.
- Replace full covariance inversion with a low-rank embedding via a semi-orthogonal matrix W of size F x k.
- Derive that the optimal W aligns with the k smallest eigenvectors of the covariance C (Theorem 1).
- Construct W as a uniformly distributed semi-orthogonal matrix using QR on Gaussian(X) followed by sign correction (Mezzadri method).
- Provide theoretical bounds on the approximation error (Theorem 2 and Corollary 1) and discuss orthogonal invariance (Propositions 1 & 2).
- Demonstrate cubic reduction in computational cost to O(HW k^3) compared to full-rank inversions, and evaluate on standard anomaly datasets.
Experimental results
Research questions
- RQ1Can a semi-orthogonal, low-rank embedding approximate the inverse covariance in localized Mahalanobis distance without losing segmentation performance?
- RQ2Does decoupling from backbone networks allow efficient use of stronger discriminative models without fine-tuning?
- RQ3How does semi-orthogonal embedding compare to random feature sampling and full covariance approaches in terms of accuracy and efficiency?
- RQ4What are the theoretical error bounds for the proposed low-rank precision matrix approximation?
- RQ5Do multi-scale features from multiple CNN layers improve anomaly segmentation when combined with the proposed approximation?
Key findings
- Achieves state-of-the-art results on MVTec AD, KolektorSDD, KolektorSDD2, and mSTC datasets using the proposed low-rank, semi-orthogonal approach.
- Significantly reduces computational and memory demands (cubical cost reduction) while maintaining near full-precision performance on localized Mahalanobis distance.
- Outperforms random feature sampling due to avoidance of rank collapse and better feature utilization.
- Demonstrates that the method can leverage advanced backbone models without backbone fine-tuning.
- Empirically validates that the expected distance under semi-orthogonal embedding remains robust (k-orthonormal columns yield stable performance).
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.