Distance metric learning for conditional anomaly detection

arXiv cs.LG / 5/4/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes instance-based methods for conditional anomaly detection, where anomaly status depends on the values of the other (conditioning) attributes.
  • It argues that the distance metric is central to performance because it determines which dataset examples are most relevant for detecting conditional anomalies.
  • The authors study how to design and optimize the distance metric specifically to align it with the structure of conditional anomaly patterns.
  • They introduce a metric learning approach intended to learn a distance function that improves detection effectiveness under the conditional anomaly setting.

Abstract

Anomaly detection methods can be very useful in identifying unusual or interesting patterns in data. A recently proposed conditional anomaly detection framework extends anomaly detection to the problem of identifying anomalous patterns on a subset of attributes in the data. The anomaly always depends (is conditioned) on the value of remaining attributes. The work presented in this paper focuses on instance-based methods for detecting conditional anomalies. The methods depend heavily on the distance metric that lets us identify examples in the dataset that are most critical for detecting the anomaly. To optimize the performance of such methods we study and devise a metric learning method that learns the distance metric to reflect best the conditional anomaly pattern.