keyword
anomaly scoring
Anomaly scoring is the process of calculating a numerical metric that quantifies the degree to which an observation or data instance deviates from expected or standard patterns within a dataset. In machine learning and statistical analysis, these scores are derived using methods such as density estimation, distance measurements, probabilistic modeling, or reconstruction errors generated by predictive and generative architectures. Rather than assigning a simple binary classification, an anomaly score provides a continuous scale of abnormality, enabling systems to rank events by severity, calibrate decision boundaries, and apply dynamic thresholding to detect both familiar and novel outliers across applications like medical imaging, industrial quality control, and cybersecurity.
3 items

Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detection
Xincheng Yao, Ruoqi Li, Jing Zhang, Jun Sun, Chongyang Zhang
Why you should read this
Proposes a supervised anomaly detection framework that leverages normal feature distributions to establish explicit decision boundaries and applies a semi-push-pull contrastive loss, enabling models to exploit limited known anomalies without losing generalization to unseen defect types.
Most anomaly detection (AD) models are learned using only normal samples in an unsupervised way, which may result in ambiguous decision boundary and insufficient discriminability. In fact, a few anomaly samples are often available in real-world applications, the valuable knowledge of known anomalies should also be effectively exploited. However, utilizing a few known anomalies during training may cause another issue that the model may be biased by those known anomalies and fail to generalize to unseen anomalies. In this paper, we tackle supervised anomaly detection, i.e., we learn AD models using a few available anomalies with the objective to detect both the seen and unseen anomalies. We propose a novel explicit boundary guided semi-push-pull contrastive learning mechanism, which can enhance model’s discriminability while mitigating the bias issue. Our approach is based on two core designs: First, we find an explicit and compact separating boundary as the guidance for further feature learning. As the boundary only relies on the normal feature distribution, the bias problem caused by a few known anomalies can be alleviated. Second, a boundary guided semi-push-pull loss is developed to only pull the normal features together while pushing the abnormal features apart from the separating boundary beyond a certain margin region. In this way, our model can form a more explicit and discriminative decision boundary to distinguish known and also unseen anomalies from normal samples more effectively. Code will be available at https://github.com/xcyao00/BGAD.
Added
2026-09-26

Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection
Choubo Ding, Guansong Pang, Chunhua Shen
Why you should read this
Proposes a multi-head framework that disentangles known, pseudo, and latent residual abnormalities to effectively detect both seen and novel anomaly classes using only a small set of labeled anomaly examples.
Despite most existing anomaly detection studies assume the availability of normal training samples only, a few labeled anomaly examples are often available in many real-world applications, such as defect samples identified during random quality inspection, lesion images confirmed by radiologists in daily medical screening, etc. These anomaly examples provide valuable knowledge about the application-specific abnormality, enabling significantly improved detection of similar anomalies in some recent models. However, those anomalies seen during training often do not illustrate every possible class of anomaly, rendering these models ineffective in generalizing to unseen anomaly classes. This paper tackles open-set supervised anomaly detection, in which we learn detection models using the anomaly examples with the objective to detect both seen anomalies ('gray swans') and unseen anomalies ('black swans'). We propose a novel approach that learns disentangled representations of abnormalities illustrated by seen anomalies, pseudo anomalies, and latent residual anomalies (i.e., samples that have unusual residuals compared to the normal data in a latent space), with the last two abnormalities designed to detect unseen anomalies. Extensive experiments on nine real-world anomaly detection datasets show superior performance of our model in detecting seen and unseen anomalies under diverse settings. Code and data are available at: https://github.com/choubo/DRA
Added
2026-09-26

Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery
Thomas Schlegl, Philipp Seeböck, Sebastian M. Waldstein, Ursula Schmidt-Erfurth, Georg Langs
Why you should read this
Introduces AnoGAN, a deep generative adversarial framework that detects and localizes pathological markers in medical images without labeled disease data by mapping unseen scans against a learned distribution of healthy anatomy.
Obtaining models that capture imaging markers relevant for disease progression and treatment monitoring is challenging. Models are typically based on large amounts of data with annotated examples of known markers aiming at automating detection. High annotation effort and the limitation to a vocabulary of known markers limit the power of such approaches. Here, we perform unsupervised learning to identify anomalies in imaging data as candidates for markers. We propose AnoGAN, a deep convolutional generative adversarial network to learn a manifold of normal anatomical variability, accompanying a novel anomaly scoring scheme based on the mapping from image space to a latent space. Applied to new data, the model labels anomalies, and scores image patches indicating their fit into the learned distribution. Results on optical coherence tomography images of the retina demonstrate that the approach correctly identifies anomalous images, such as images containing retinal fluid or hyperreflective foci.
Added
2026-09-14
