English

Mitigating Long-Tailed Anomaly Score Distributions with Importance-Weighted Loss

Machine Learning 2026-01-07 v1 Artificial Intelligence Machine Learning

Abstract

Anomaly detection is crucial in industrial applications for identifying rare and unseen patterns to ensure system reliability. Traditional models, trained on a single class of normal data, struggle with real-world distributions where normal data exhibit diverse patterns, leading to class imbalance and long-tailed anomaly score distributions (LTD). This imbalance skews model training and degrades detection performance, especially for minority instances. To address this issue, we propose a novel importance-weighted loss designed specifically for anomaly detection. Compared to the previous method for LTD in classification, our method does not require prior knowledge of normal data classes. Instead, we introduce a weighted loss function that incorporates importance sampling to align the distribution of anomaly scores with a target Gaussian, ensuring a balanced representation of normal data. Extensive experiments on three benchmark image datasets and three real-world hyperspectral imaging datasets demonstrate the robustness of our approach in mitigating LTD-induced bias. Our method improves anomaly detection performance by 0.043, highlighting its effectiveness in real-world applications.

Keywords

Cite

@article{arxiv.2601.02440,
  title  = {Mitigating Long-Tailed Anomaly Score Distributions with Importance-Weighted Loss},
  author = {Jungi Lee and Jungkwon Kim and Chi Zhang and Sangmin Kim and Kwangsun Yoo and Seok-Joo Byun},
  journal= {arXiv preprint arXiv:2601.02440},
  year   = {2026}
}

Comments

8 pages, Published as a conference paper at IJCNN 2025

R2 v1 2026-07-01T08:51:33.215Z