Detecting Flow Gaps in Data Streams

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dong, Siyuan, Tian, Yuxuan, Ma, Wenhan, Yang, Tong, Zhang, Chenye, Wu, Yuhan, Yang, Kaicheng, Wang, Yaojing
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915293690855424
author Dong, Siyuan
Tian, Yuxuan
Ma, Wenhan
Yang, Tong
Zhang, Chenye
Wu, Yuhan
Yang, Kaicheng
Wang, Yaojing
author_facet Dong, Siyuan
Tian, Yuxuan
Ma, Wenhan
Yang, Tong
Zhang, Chenye
Wu, Yuhan
Yang, Kaicheng
Wang, Yaojing
contents Data stream monitoring is a crucial task which has a wide range of applications. The majority of existing research in this area can be broadly classified into two types, monitoring value sum and monitoring value cardinality. In this paper, we define a third type, monitoring value variation, which can help us detect flow gaps in data streams. To realize this function, we propose GapFilter, leveraging the idea of Sketch for achieving speed and accuracy. To the best of our knowledge, this is the first work to detect flow gaps in data streams. Two key ideas of our work are the similarity absorption technique and the civilian-suspect mechanism. The similarity absorption technique helps in reducing memory usage and enhancing speed, while the civilian-suspect mechanism further boosts accuracy by organically integrating broad monitoring of overall flows with meticulous monitoring of suspicious flows.We have developed two versions of GapFilter. Speed-Oriented GapFilter (GapFilter-SO) emphasizes speed while maintaining satisfactory accuracy. Accuracy-Oriented GapFilter (GapFilter-AO) prioritizes accuracy while ensuring considerable speed. We provide a theoretical proof demonstrating that GapFilter secures high accuracy with minimal memory usage. Further, extensive experiments were conducted to assess the accuracy and speed of our algorithms. The results reveal that GapFilter-AO requires, on average, 1/32 of the memory to match the accuracy of the Straw-man solution. GapFilter-SO operates at a speed 3 times faster than the Straw-man solution. All associated source code has been open-sourced and is available on GitHub.
format Preprint
id arxiv_https___arxiv_org_abs_2505_13945
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Detecting Flow Gaps in Data Streams
Dong, Siyuan
Tian, Yuxuan
Ma, Wenhan
Yang, Tong
Zhang, Chenye
Wu, Yuhan
Yang, Kaicheng
Wang, Yaojing
Databases
Data stream monitoring is a crucial task which has a wide range of applications. The majority of existing research in this area can be broadly classified into two types, monitoring value sum and monitoring value cardinality. In this paper, we define a third type, monitoring value variation, which can help us detect flow gaps in data streams. To realize this function, we propose GapFilter, leveraging the idea of Sketch for achieving speed and accuracy. To the best of our knowledge, this is the first work to detect flow gaps in data streams. Two key ideas of our work are the similarity absorption technique and the civilian-suspect mechanism. The similarity absorption technique helps in reducing memory usage and enhancing speed, while the civilian-suspect mechanism further boosts accuracy by organically integrating broad monitoring of overall flows with meticulous monitoring of suspicious flows.We have developed two versions of GapFilter. Speed-Oriented GapFilter (GapFilter-SO) emphasizes speed while maintaining satisfactory accuracy. Accuracy-Oriented GapFilter (GapFilter-AO) prioritizes accuracy while ensuring considerable speed. We provide a theoretical proof demonstrating that GapFilter secures high accuracy with minimal memory usage. Further, extensive experiments were conducted to assess the accuracy and speed of our algorithms. The results reveal that GapFilter-AO requires, on average, 1/32 of the memory to match the accuracy of the Straw-man solution. GapFilter-SO operates at a speed 3 times faster than the Straw-man solution. All associated source code has been open-sourced and is available on GitHub.
title Detecting Flow Gaps in Data Streams
topic Databases
url https://arxiv.org/abs/2505.13945