Finite sample guarantees for quantile estimation: An application to detector threshold tuning

David Umsonst, Justin Ruths, Henrik Sandberg
5/25/2021
eess.SY

Official code: DavidUmsonst/FiniteSampleGuaranteesForQuantileEstimation (0 stars, MATLAB, MIT, last commit 2022-07-21).

Abstract

In threshold-based anomaly detection, we want to tune the threshold of a detector to achieve an acceptable false alarm rate. However, tuning the threshold is often a non-trivial task due to unknown detector output distributions.

Show full abstract

A detector threshold that provides an acceptable false alarm rate is equivalent to a specific quantile of the detector output distribution. Therefore, we use quantile estimators based on order statistics to estimate the detector threshold. The estimation of quantiles from sample data has a more than a century long tradition and we provide three different distribution-free finite sample guarantees for a class of quantile estimators. The first is based on the Dworetzky-Kiefer-Wolfowitz inequality, the second utilizes the Vysochanskij-Petunin inequality, and the third is based on exact confidence intervals for a beta distribution. These guarantees are then compared and used in the detector threshold tuning problem. We use both simulated data as well as data obtained from an experimental setup with the Temperature Control Lab to validate the guarantees provided.

View on arXivView PDF

Code Implementations(1)

MIT

This repository provides code that implements finite sample guarantees for quantile estimation with an application to detector threshold tuning.

00MATLAB, JuliaJan 30, 20224 years agoMIT
quantilethreshold-selection

Similar Papers

Cite this paper

@article{umsonst2021finite,
  title  = {Finite sample guarantees for quantile estimation: An application to detector threshold tuning},
  author = {David Umsonst and Justin Ruths and Henrik Sandberg},
  year   = {2021},
  eprint = {2105.12239},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.12239}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.12239.svg)](https://codeofpaper.com/paper/2105.12239)

Discussion