# In Search of the Unknown Unknowns: A Multi-Metric Distance Ensemble for Out of Distribution Anomaly Detection in Astronomical Surveys

arXiv: https://arxiv.org/abs/2510.23702 · HTML: https://mlsanity.com/paper/2510.23702/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 34 references that are in the map.
- First posted on arXiv 27 Oct 2025.

## Builds on (most cited first, 8 of 8)

- [Generalized Out-of-Distribution Detection: A Survey](https://mlsanity.com/paper/2110.11334/) (2021)
- [A Deep Learning Approach for Active Anomaly Detection of Extragalactic Transients](https://mlsanity.com/paper/2103.12102/) (2021)
- [Real-Time Detection of Anomalies in Large-Scale Transient Surveys](https://mlsanity.com/paper/2111.00036/) (2021)
- [A Classifier-Based Approach to Multi-Class Anomaly Detection for Astronomical Transients](https://mlsanity.com/paper/2403.14742/) (2024)
- [Multi-Class Deep SVDD: Anomaly Detection Approach in Astronomy with Distinct Inlier Categories](https://mlsanity.com/paper/2308.05011/) (2023)
- [Light Curve Classification with DistClassiPy: a new distance-based classifier](https://mlsanity.com/paper/2403.12120/) (2024)
- [Exploring the Universe with SNAD: Anomaly Detection in Astronomy](https://mlsanity.com/paper/2410.18875/) (2024)
- [What ZTF Saw Where Rubin Looked: Anomaly Hunting in DR23](https://mlsanity.com/paper/2507.06217/) (2025)

## Built on by (most cited first, 1 of 1)

- [Probabilistic Data-Driven Modelling of Astrophysical Transients: The Neural Process Family for Ultrafast and Class-Agnostic Light Curve Reconstruction with NightLANP](https://mlsanity.com/paper/2605.27527/) (2026)

## Abstract (arXiv)

Distance-based methods involve the computation of distance values between features and are a well-established paradigm in machine learning. In anomaly detection, anomalies are identified by their large distance from normal data points. However, the performance of these methods often hinges on a single, user-selected distance metric (e.g., Euclidean), which may not be optimal for the complex, high-dimensional feature spaces common in astronomy. Here, we introduce a novel anomaly detection method, Distance Multi-Metric Anomaly Detection (DiMMAD), which uses an ensemble of distance metrics to find novelties. Using multiple distance metrics is effectively equivalent to using different geometries in the feature space. By using a robust ensemble of diverse distance metrics, we overcome the metric-selection problem, creating an anomaly score that is not reliant on any single definition of distance. We demonstrate this multi-metric approach as a tool for simple, interpretable scientific discovery on astronomical time series -- (1) with simulated data for the upcoming Vera C. Rubin Observatory Legacy Survey of Space and Time, and (2) real data from the Zwicky Transient Facility. We find that DiMMAD excels at out-of-distribution anomaly detection -- anomalies in the data that might be new classes -- and beats other state-of-the-art methods in the goal of maximizing the diversity of new classes discovered. For rare in-distribution anomaly detection, DiMMAD performs similarly to other methods, but may allow for improved interpretability. All our code is open source: DiMMAD is implemented within DistClassiPy: https://github.com/sidchaini/distclassipy/, while all code to reproduce the results of this paper is available here: https://github.com/sidchaini/dimmad/.
