JoinSketch: A Sketch Algorithm for Accurate and Unbiased Inner-Product Estimation
Feiyu Wang, Qizhi Chen, Yuanpeng Li, Tong Yang, Yaofeng Tu, Lian Yu, Bin Cui
摘要
The inner-product estimation is the base of many important tasks in various big data scenarios, including measuring the similarity of streams in data stream processing, estimating join size in the database, and analyzing cosine similarity in various applications. Sketch, as a class of probabilistic algorithms, is promising in inner-product estimation. However, existing sketch solutions suffer from low accuracy due to neglecting the high skewness of real data. In this paper, we design a new sketch algorithm for accurate and unbiased inner-product estimation, namely JoinSketch. To improve accuracy, JoinSketch consists of multiple components and records items with different frequencies in different components. We theoretically prove that JoinSketch is unbiased and has lower variance than the well-known AGMS and Fast-AGMS sketch. The experimental results show that JoinSketch improves the accuracy of inner-product by 10 times on average while maintaining a comparable throughput.
All code is open-sourced at Github [1].
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- HeavyLocker: Lock Heavy Hitters in Distributed Data Streams 引用了 SALSA: Self-Adjusting Lean Streaming Analytics
- HeavyLocker: Lock Heavy Hitters in Distributed Data Streams 引用了 BurstSketch: Finding Bursts in Data Streams
- HeavyLocker: Lock Heavy Hitters in Distributed Data Streams 引用了 DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream Processing
- Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency Estimation 引用了 SALSA: Self-Adjusting Lean Streaming Analytics
引用它的顶会 Paper7
- Convolution and Cross-Correlation of Count Sketches Enables Fast Cardinality Estimation of Multi-Join QueriesMike Heddes, Igor Nunes, Tony Givargis, Alex NicolauSIGMOD 2024 · 5 次引用
- Sketches-Based Join Size Estimation Under Local Differential PrivacyMeifan Zhang, Xin Liu, Lihua YinICDE 2024 · 4 次引用
- HeavyLocker: Lock Heavy Hitters in Distributed Data StreamsQilong Shi, Xirui Li, Hanyue Zheng, Tong Yang 等KDD 2025 · 2 次引用
- DaVinci Sketch: A Versatile Sketch for Efficient and Comprehensive Set MeasurementsYanshu Wang, Jianan Ji, Chao-Hsuan Liu, Hengyang Zhou 等ICDE 2025 · 2 次引用
- Enabling Adaptive Sampling for Intra-Window Join: Simultaneously Optimizing Quantity and QualityXilin Tang, Feng Zhang, Shuhao Zhang, Yani Liu 等SIGMOD 2025 · 1 次引用
它引用的 Paper8
- On-Off Sketch: A Fast and Accurate Sketch on PersistenceYinda Zhang, Jinyang Li, Yutian Lei, Tong Yang 等VLDB 2021 · 63 次引用
- BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan 等SIGMOD 2021 · 58 次引用
- Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency EstimationHaoyu Li, Qizhi Chen, Yixin Zhang, Tong Yang 等VLDB 2022 · 54 次引用
- DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream ProcessingBohan Zhao, Xiang Li, Boyu Tian, Zhiyu Mei 等KDD 2021 · 47 次引用
- SALSA: Self-Adjusting Lean Streaming AnalyticsRan Ben Basat, Gil Einziger, Michael Mitzenmacher, Shay VargaftikICDE 2021 · 45 次引用
相关 Paper
- CodingSketch: A Hierarchical Sketch with Efficient Encoding and Recursive DecodingQizhi Chen, Yisen Hong, Yuhan Wu, Tong Yang 等ICDE 2024 · 5 次引用
- Hyper-USS: Answering Subset Query Over Multi-Attribute Data StreamRuijie Miao, Yiyao Zhang, Guanyu Qu, Kaicheng Yang 等KDD 2023 · 6 次引用
- Sampling Methods for Inner Product SketchingMajid Daliri, Juliana Freire, Christopher Musco, Aécio S. R. Santos 等VLDB 2024 · 8 次引用
- XY-Sketch: on Sketching Data Streams at Web ScaleYongqiang Liu, Xike XieWWW 2021 · 12 次引用
- Bayesian Sketches for Volume Estimation in Data StreamsFrancesco Da Dalt, Simon Scherrer, Adrian PerrigVLDB 2023 · 5 次引用
