How Far Can Untrained Neural Networks Go in Anomaly Detection? From Tables to Pixels

Yi, Hyojun, Kim, Geunyoung, Seo, Hogeon, Ryu, Seunghyoung

–arXiv.org Artificial Intelligence 

Abstract--Anomaly detection (AD) is often framed as a representation-formulation, this may involve learning compact represenlearning problem, where strong performance is expected to requiretations of normal data through reconstruction or one-class learned features or AD-specific optimization. However, this view canobjectives [1], [2], characterizing local neighborhoods or overlook the intrinsic separability of anomalies from normal references, normal-data geometry [3], [4], modeling the normal distrieven in the absence of learned representations. To this end, we propose PRISM, a framework combining fixed random non-or leveraging pretrained representations in which semantic linear features with normal-reference Mahalanobis scoring for tabularor structural deviations become more discernible [7]-[9]. Across 47 tabular datasets in Such approaches reflect a common emphasis on learned representations as a key source of anomaly separability.ADBench, PRISM-T achieves the highest mean AUROC (86.4%) and the second-highest mean AUPRC (65.9%) among the compared meth-Yet a simpler possibility remains. On MVTec AD and VisA, covering 27 visual categories, PRISMfined relative to normal data, some anomaly evidence may V achieves mean image-level and pixel-level AUROCs of 90.4% andalready be intrinsic to the data, even before representation 96.4%, respectively. Notably, both models achieve these results withoutlearning. Intuitively, we often sense that "something looks neural weight optimization or pretrained representations. We therefore ask a basic but easily overlooked question: how far can anomaly detectionwhile empirical analyses examine the resulting score separability. Index Terms--Anomaly detection, random neural features, untrainedcombined with Mahalanobis scoring can detect anomalies neural networks, Mahalanobis scoring, visual anomaly localization. However, the evidence remained limited in both breadth and granularity: the tabular evaluation covered only a small set of datasets, while the visual experiments were restricted to flattened1 INTRODUCTION MNIST and F-MNIST with image-level scoring. It thereNOMALY detection (AD) is fundamentally a problem offore remained unclear whether prior-to-learning separa-Aidentifying deviation from normality.