Latent Sculpting for Zero-Shot Generalization: A Manifold Learning Approach to Out-of-Distribution Anomaly Detection
Rajeeb Thapa Chhetri, Saurab Thapa, Avinash Kumar, Zhixiong Chen

TL;DR
This paper introduces Latent Sculpting, a two-stage manifold learning approach that significantly improves zero-shot out-of-distribution anomaly detection in high-dimensional tabular data, especially for cyber security threats.
Contribution
It proposes a novel hierarchical architecture with a Binary Latent Sculpting loss and a Masked Autoregressive Flow for robust OOD anomaly detection, demonstrating superior zero-shot performance.
Findings
Achieves near-perfect classification on known signatures (F1=0.980)
Attains zero-shot OOD F1-score of 0.867 and AUROC of 0.913
Detects complex cyber threats with high recall (up to 97.2%)
Abstract
A critical vulnerability of supervised deep learning in high-dimensional tabular domains is "generalization collapse": models form precise decision boundaries around known training distributions but fail catastrophically when encountering Out-of-Distribution (OOD) data. To overcome this, we propose Latent Sculpting, a hierarchical, two-stage representation learning architecture designed to enforce explicit structural boundaries prior to density estimation. In the first stage, a Transformer-based tabular encoder is trained using our novel Binary Latent Sculpting loss. This objective explicitly condenses benign network traffic into a dense, low-entropy hypersphere while enforcing a strict geometric minimum-distance margin for anomalous patterns. In the second stage, a Masked Autoregressive Flow (MAF) maps this structurally optimized manifold to calculate exact, probabilistic anomaly…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Domain Adaptation and Few-Shot Learning · Adversarial Robustness in Machine Learning
