Lune

KDD2025Top-tier venue

PSSketch: Finding Persistent and Sparse Flow with High Accuracy and Efficiency

Jiayao Wang, Qilong Shi, Xiyan Liang, Han Wang, Wenjun Li, Ziling Wei, Weizhe Zhang, Shuhui Chen

Abstract

Finding persistent sparse (PS) flow is critical to early warning of various threats. Previous works have predominantly focused on either heavy or persistent flows, with limited attention given to PS flows. Although some recent studies pay attention to PS flows, they struggle to establish an objective criterion due to insufficient data-driven observations, resulting in reduced accuracy. In this paper, we define a new criterion ''anomaly boundary'' to distinguish PS flows from regular flows. Specifically, a flow whose persistence exceeds a threshold will be protected, while a protected flow with a density lower than a threshold is reported as a PS flow. We then introduce PSSketch, a high-precision layered sketch, to find PS flows. PSSketch employs variable-length bitwise counters, where the first layer tracks the frequency and persistence of all flows, and the second layer protects potential PS flows and records overflow counts from the first layer. Some optimizations have also been implemented to reduce memory consumption further and improve accuracy. The experiments show that PSSketch reduces memory consumption by 1-2 orders of magnitude compared to the strawman solution combined with existing work. Compared with SOTA solutions for finding PS flows, it outperforms up to 2.94x higher in F1 score and reduces ARE by 1-2 orders of magnitude. Meanwhile, PSSketch achieves a higher throughput than these solutions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BitMatcher: Bit-level Counter Adjustment for Sketches cites DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream Processing
  • JitterSketch: Finding Jittery Flows in Network Streams cites BitMatcher: Bit-level Counter Adjustment for Sketches
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. JitterSketch: Finding Jittery Flows in Network StreamsZhongxian Liang, Qilong Shi, Xiyan Liang, Zihan Li et al.WWW 2026

Builds on5

  1. On-Off Sketch: A Fast and Accurate Sketch on PersistenceYinda Zhang, Jinyang Li, Yutian Lei, Tong Yang et al.VLDB 2021 · 63 citations
  2. BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan et al.SIGMOD 2021 · 58 citations
  3. DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream ProcessingBohan Zhao, Xiang Li, Boyu Tian, Zhiyu Mei et al.KDD 2021 · 47 citations
  4. BitMatcher: Bit-level Counter Adjustment for SketchesQilong Shi, Chengjun Jia, Wenjun Li, Zaoxing Liu et al.ICDE 2024 · 22 citations
  5. Harry: A Scalable SIMD-based Multi-literal Pattern Matching Engine for Deep Packet InspectionHao Xu, Harry Chang, Wenjun Zhu, Yang Hong et al.INFOCOM 2023 · 10 citations

Related papers

  1. RekindleSketch: Time-Aware Detection of Recent Persistent Flows via Arrival-Driven RewardsXuyang Jing, Yingchao Dou, Jialin Dong, Zheng Yan et al.KDD 2026
  2. BurstDetector: Real-Time and Accurate Across-Period Burst Detection in High-Speed NetworksZhongyi Cheng, Guoju Gao, He Huang, Yu-e Sun et al.INFOCOM 2024 · 8 citations
  3. Pontus: A Memory-Efficient and High-Accuracy Approach for Persistence-Based Item Lookup in High-Velocity Data StreamsWeihe Li, Zukai Li, Beyza Bütün, Alec F. Diallo et al.WWW 2025 · 4 citations
  4. Scout Sketch: Finding Promising Items in Data StreamsTianyu Ma, Guoju Gao, He Huang, Yu-e Sun et al.INFOCOM 2024 · 4 citations
  5. Randomized Error Removal for Online Spread Estimation in Data StreamingHaibo Wang, Chaoyi Ma, Olufemi O. Odegbile, Shigang Chen et al.VLDB 2021 · 38 citations
Dusk over the sea between two cliffs drawn in fine vertical lines