Saved in:
Bibliographic Details
Main Authors: Hennhöfer, Oliver, Kirsch, Maximilian, Preisach, Christine
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.13642
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909040443916288
author Hennhöfer, Oliver
Kirsch, Maximilian
Preisach, Christine
author_facet Hennhöfer, Oliver
Kirsch, Maximilian
Preisach, Christine
contents Most anomaly detection systems output scores rather than calibrated decisions, leaving practitioners to choose thresholds heuristically and without clear statistical interpretation. Conformal anomaly detection addresses this limitation by converting anomaly scores into calibrated p-values that are valid under the statistical assumption of data exchangeability, with a growing literature extending this idea beyond that setting. We present 'nonconform', a Python package for applying conformal anomaly detection within existing machine-learning workflows, and use it as the basis for an implementation-grounded introduction to the field. The package integrates with 'scikit-learn', 'pyod', and custom anomaly detectors, and provides a unified interface for calibration, p-value generation, and false discovery rate control. It supports several conformalization strategies, ranging from simple split-conformal calibration to more data-efficient and shift-aware extensions. Through a progression from foundational concepts to advanced conformalization strategies, complemented by code examples, the paper connects the statistical ideas behind conformal anomaly detection to their practical use in 'nonconform'. Empirical results demonstrate that the implemented methods enable statistically principled anomaly detection. Together, the package and exposition aim to make core conformal anomaly detection workflows more accessible and reproducible in experimental and production-oriented settings.
format Preprint
id arxiv_https___arxiv_org_abs_2605_13642
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Conformal Anomaly Detection in Python: Moving Beyond Heuristic Thresholds with 'nonconform'
Hennhöfer, Oliver
Kirsch, Maximilian
Preisach, Christine
Machine Learning
Computation
Most anomaly detection systems output scores rather than calibrated decisions, leaving practitioners to choose thresholds heuristically and without clear statistical interpretation. Conformal anomaly detection addresses this limitation by converting anomaly scores into calibrated p-values that are valid under the statistical assumption of data exchangeability, with a growing literature extending this idea beyond that setting. We present 'nonconform', a Python package for applying conformal anomaly detection within existing machine-learning workflows, and use it as the basis for an implementation-grounded introduction to the field. The package integrates with 'scikit-learn', 'pyod', and custom anomaly detectors, and provides a unified interface for calibration, p-value generation, and false discovery rate control. It supports several conformalization strategies, ranging from simple split-conformal calibration to more data-efficient and shift-aware extensions. Through a progression from foundational concepts to advanced conformalization strategies, complemented by code examples, the paper connects the statistical ideas behind conformal anomaly detection to their practical use in 'nonconform'. Empirical results demonstrate that the implemented methods enable statistically principled anomaly detection. Together, the package and exposition aim to make core conformal anomaly detection workflows more accessible and reproducible in experimental and production-oriented settings.
title Conformal Anomaly Detection in Python: Moving Beyond Heuristic Thresholds with 'nonconform'
topic Machine Learning
Computation
url https://arxiv.org/abs/2605.13642