Maximum Mean Discrepancy on Exponential Windows for Online Change Detection

Florian Kalinke, Marco Heyden, Georg Gntuni, Edouard Fouché, Klemens Böhm
5/25/2022
cs.LG

Official code: FlopsKa/mmdew-change-detector (1 star, Jupyter Notebook, MIT, last commit 2025-04-18).

Abstract

Detecting changes is of fundamental importance when analyzing data streams and has many applications, e.g., in predictive maintenance, fraud detection, or medicine. A principled approach to detect changes is to compare the distributions of observations within the stream to each other via hypothesis testing.

Show full abstract

Maximum mean discrepancy (MMD), a (semi-)metric on the space of probability distributions, provides powerful non-parametric two-sample tests on kernel-enriched domains. In particular, MMD is able to detect any disparity between distributions under mild conditions. However, classical MMD estimators suffer from a quadratic runtime complexity, which renders their direct use for change detection in data streams impractical. In this article, we propose a new change detection algorithm, called Maximum Mean Discrepancy on Exponential Windows (MMDEW), that combines the benefits of MMD with an efficient computation based on exponential windows. We prove that MMDEW enjoys polylogarithmic runtime and logarithmic memory complexity and show empirically that it outperforms the state of the art on benchmark data streams.

View on arXivView PDF

Code Implementations(1)

MIT
10Jupyter Notebook, PythonJun 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{kalinke2022maximum,
  title  = {Maximum Mean Discrepancy on Exponential Windows for Online Change Detection},
  author = {Florian Kalinke and Marco Heyden and Georg Gntuni and Edouard Fouché and Klemens Böhm},
  year   = {2022},
  eprint = {2205.12706},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12706}
}

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/2205.12706.svg)](https://codeofpaper.com/paper/2205.12706)

Discussion