AnomalyMatch: Discovering Rare Objects of Interest with Semi-supervised and Active Learning
arXiv:2505.03509 · doi:10.1093/rasti/rzag045
Abstract
Anomaly detection in large datasets is essential in astronomy and computer vision. However, due to a scarcity of labelled data, it is often infeasible to apply supervised methods to anomaly detection. We present AnomalyMatch, an anomaly detection framework combining the semi-supervised FixMatch algorithm using EfficientNet classifiers with active learning. AnomalyMatch is tailored for large-scale applications and integrated into the ESA Datalabs science platform. In this method, we treat anomaly detection as a binary classification problem and efficiently utilise limited labelled and abundant unlabelled images for training. We enable active learning via a user interface for verification of high-confidence anomalies and correction of false positives. Evaluations on the GalaxyMNIST astronomical dataset and the miniImageNet natural-image benchmark under severe class imbalance display strong performance. Starting from five to ten labelled anomalies, we achieve an average AUROC of 0.96 (miniImageNet) and 0.89 (GalaxyMNIST), with respective AUPRC of 0.82 and 0.77. After three active learning cycles, anomalies are ranked with 76% (miniImageNet) to 94% (GalaxyMNIST) precision in the top 1% of the highest-ranking images by score. We compare to the established Astronomaly software on selected 'odd' galaxies from the 'Galaxy Zoo- The Galaxy Challenge' dataset, achieving comparable performance with an average AUROC of 0.83. Our results underscore the exceptional utility and scalability of this approach for anomaly discovery, highlighting the value of specialised approaches for domains characterised by severe label scarcity
Accepted for publication in RASTI; 17 pages; 12 figures
References in corpus (22)
- Array Programming with NumPy
- Astropy: A Community Python Package for Astronomy
- The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
- scikit-image: Image processing in Python
- The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package
- LSST: from Science Drivers to Reference Design and Anticipated Data Products
- Galaxy Zoo : Morphologies derived from visual inspection of galaxies from the Sloan Digital Sky Survey
- First Results from High Angular Resolution ALMA Observations Toward the HL Tau Region
- Galaxy Zoo 2: detailed morphological classifications for 304,122 galaxies from the Sloan Digital Sky Survey
- Galaxy Zoo DECaLS: Detailed Visual Morphology Measurements from Volunteers and Deep Learning for 314,000 Galaxies
- Astronomaly: Personalised Active Anomaly Detection in Astronomical Data
- Anomaly detection in the Zwicky Transient Facility DR3
- Gaia GraL: Gaia DR2 Gravitational Lens Systems. VI. Spectroscopic Confirmation and Modeling of Quadruply-Imaged Lensed Quasars
- North Ecliptic Pole merging galaxy catalogue
- Hubble Asteroid Hunter: II. Identifying strong gravitational lenses in HST images with crowdsourcing
- Euclid preparation: XIII. Forecasts for galaxy morphology with the Euclid Survey using Deep Generative Models
- Euclid: The Early Release Observations Lens Search Experiment
- Euclid Quick Data Release (Q1). The Strong Lensing Discovery Engine C: Finding lenses with machine learning
- SNAD catalogue of M-dwarf flares from the Zwicky Transient Facility
- Harnessing the Hubble Space Telescope Archives: A Catalogue of 21,926 Interacting Galaxies
- Automated Detection of Galactic Rings from SDSS Images
- Identifying Astrophysical Anomalies in 99.6 Million Cutouts from the Hubble Legacy Archive Using AnomalyMatch