FewSOME: One-Class Few Shot Anomaly Detection with Siamese Networks
Not on the map. Why?
Abstract (arXiv)
Recent Anomaly Detection techniques have progressed the field considerably but at the cost of increasingly complex training pipelines. Such techniques require large amounts of training data, resulting in computationally expensive algorithms that are unsuitable for settings where only a small amount of normal samples are available for training. We propose 'Few Shot anOMaly detection' (FewSOME), a deep One-Class Anomaly Detection algorithm with the ability to accurately detect anomalies having trained on 'few' examples of the normal class and no examples of the anomalous class. We describe FewSOME to be of low complexity given its low data requirement and short training time. FewSOME is aided by pretrained weights with an architecture based on Siamese Networks. By means of an ablation study, we demonstrate how our proposed loss, 'Stop Loss', improves the robustness of FewSOME. Our experiments demonstrate that FewSOME performs at state-of-the-art level on benchmark datasets MNIST, CIFAR-10, F-MNIST and MVTec AD while training on only 30 normal samples, a minute fraction of the data that existing methods are trained on. Moreover, our experiments show FewSOME to be robust to contaminated datasets. We also report F1 score and balanced accuracy in addition to AUC as a benchmark for future techniques to be compared against. Code available; https://github.com/niamhbelton/FewSOME.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 25 of its 40 references that are in the map. First posted on arXiv 17 Jan 2023.
Builds on
25 of 40 references.
References · 25
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
- 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2019Deep Semi-Supervised Anomaly Detectioncited by 291
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2020Classification-Based Anomaly Detection for General Datacited by 211
13 more
- 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2019Deep Anomaly Detection with Deviation Networkscited by 153
- 2018Latent Space Autoregression for Novelty Detectioncited by 149
- 2022Registration based Few-Shot Anomaly Detectioncited by 133
- 2020DROCC: Deep Robust One-Class Classificationcited by 121
- 2021Deep One-Class Classification via Interpolated Gaussian Descriptorcited by 67
- 2021A Hierarchical Transformation-Discriminating Generative Model for Few Shot Anomaly Detectioncited by 60
- 2022Exposing Outlier Exposure: What Can Be Learned From Few, One, and Zero Outlier Imagescited by 35
- 2022MAEDAY: MAE for few and zero shot AnomalY-Detectioncited by 30
- 2020Few-Shot Anomaly Detection for Polyp Frames from Colonoscopycited by 19
- 2016Identifying and Categorizing Anomalies in Retinal Imaging Datacited by 18
- 2018Anomaly Detection via Minimum Likelihood Generative Adversarial Networkscited by 10
Built on by
Citing papers per year: 2024: 5; 2025: 2; 2026: 1.
8 papers.
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Promptscited by 89
- 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
- 2025DictAS: A Framework for Class-Generalizable Few-Shot Anomaly Segmentation via Dictionary Lookupcited by 10
- 2024Self-supervised New Activity Detection in Sensor-based Smart Environmentscited by 1
- 2024Rethinking Knee Osteoarthritis Severity Grading: A Few Shot Self-Supervised Contrastive Learning Approachcited by 0
- 2024An AI System for Continuous Knee Osteoarthritis Severity Grading Using Self-Supervised Anomaly Detection with Limited Datacited by 0
- 2025Stochastic-based Patch Filtering for Few-Shot Learningcited by 0
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentationcited by 0
- 2026InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation6 Apr 2026
- 2025DictAS: A Framework for Class-Generalizable Few-Shot Anomaly Segmentation via Dictionary Lookup19 Aug 2025
- 2025Stochastic-based Patch Filtering for Few-Shot Learning13 Aug 2025
- 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Survey31 Jul 2024
- 2024An AI System for Continuous Knee Osteoarthritis Severity Grading Using Self-Supervised Anomaly Detection with Limited Data16 Jul 2024
- 2024Rethinking Knee Osteoarthritis Severity Grading: A Few Shot Self-Supervised Contrastive Learning Approach18 Jun 2024
- 2024Toward Generalist Anomaly Detection via In-context Residual Learning with Few-shot Sample Prompts11 Mar 2024
- 2024Self-supervised New Activity Detection in Sensor-based Smart Environments17 Jan 2024