Continuous Outlier Mining of Streaming Data in Flink

Theodoros Toliopoulos, Anastasios Gounaris, Kostas Tsichlas, Apostolos Papadopoulos, Sandra Sampaio
2/21/2019
cs.DBcs.DCcs.LG

Official code: tatoliop/parallel-streaming-outlier-detection (10 stars, Scala, last commit 2020-01-12).

Abstract

In this work, we focus on distance-based outliers in a metric space, where the status of an entity as to whether it is an outlier is based on the number of other entities in its neighborhood. In recent years, several solutions have tackled the problem of distance-based outliers in data streams, where outliers must be mined continuously as new elements become available.

Show full abstract

An interesting research problem is to combine the streaming environment with massively parallel systems to provide scalable streambased algorithms. However, none of the previously proposed techniques refer to a massively parallel setting. Our proposal fills this gap and investigates the challenges in transferring state-of-the-art techniques to Apache Flink, a modern platform for intensive streaming analytics. We thoroughly present the technical challenges encountered and the alternatives that may be applied. We show speed-ups of up to 117 (resp. 2076) times over a naive parallel (resp. non-parallel) solution in Flink, by using just an ordinary four-core machine and a real-world dataset. When moving to a three-machine cluster, due to less contention, we manage to achieve both better scalability in terms of the window slide size and the data dimensionality, and even higher speed-ups, e.g., by a factor of 510. Overall, our results demonstrate that oulier mining can be achieved in an efficient and scalable manner. The resulting techniques have been made publicly available as open-source software.

View on arXivView PDF

Code Implementations(1)

Parallel approach on distance based outlier detection on streaming data

107Scala, JavaFeb 7, 20186 years ago

Similar Papers

Cite this paper

@article{toliopoulos2019continuous,
  title  = {Continuous Outlier Mining of Streaming Data in Flink},
  author = {Theodoros Toliopoulos and Anastasios Gounaris and Kostas Tsichlas and Apostolos Papadopoulos and Sandra Sampaio},
  year   = {2019},
  eprint = {1902.07901},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.07901}
}

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

Discussion