Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data Streams
Yuan Feng, Yukun Cao, Hairu Wang, Xike Xie, S. Kevin Zhou
摘要
Sketches, probabilistic structures for estimating item frequencies in infinite data streams with limited space, are widely used across various domains. Recent studies have shifted the focus from handcrafted sketches to neural sketches, leveraging memory-augmented neural networks (MANNs) to enhance the streaming compression capabilities and achieve better space-accuracy trade-offs. However, existing neural sketches struggle to scale across different data domains and space budgets due to inflexible MANN configurations. In this paper, we introduce a scalable MANN architecture that brings to life the Lego sketch, a novel sketch with superior scalability and accuracy. Much like assembling creations with modular Lego bricks, the Lego sketch dynamically coordinates multiple memory bricks to adapt to various space budgets and diverse data domains. Our theoretical analysis guarantees its high scalability and provides the first error bound for neural sketch. Furthermore, extensive experimental evaluations demonstrate that the Lego sketch exhibits superior space-accuracy trade-offs, outperforming existing handcrafted and neural sketches. Our code is available at https://github.com/FFY0/LegoSketch ICML .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RatioSketch: Towards More Accurate Frequency Estimation in Data Streams via a Lightweight Neural Network 引用了 Meta-Sketch: A Neural Data Structure for Estimating Item Frequencies of Data Streams
- Discovering Data Structures: Nearest Neighbor Search and Beyond 引用了 Meta-Sketch: A Neural Data Structure for Estimating Item Frequencies of Data Streams
- Discovering Data Structures: Nearest Neighbor Search and Beyond 引用了 Improved Frequency Estimation Algorithms with and without Predictions
引用它的顶会 Paper2
- RatioSketch: Towards More Accurate Frequency Estimation in Data Streams via a Lightweight Neural NetworkMengbo Wang, Zhuochen Fan, Dayu Wang, Guorui Xie 等AAAI 2026 · 1 次引用
- Discovering Data Structures: Nearest Neighbor Search and BeyondOmar Salemohamed, Laurent Charlin, Shivam Garg, Vatsal Sharan 等NeurIPS 2025
它引用的 Paper10
- Memory-Efficient and Flexible Detection of Heavy Hitters in High-Speed NetworksHe Huang, Jiakun Yu, Yang Du, Jia Liu 等SIGMOD 2024 · 33 次引用
- Experimental Analysis of Large-scale Learnable Vector Storage CompressionHailin Zhang, Penghao Zhao, Xupeng Miao, Yingxia Shao 等VLDB 2024 · 20 次引用
- Panakos: Chasing the Tails for Multidimensional Data StreamsFuheng Zhao, Punnal Ismail Khan, Divyakant Agrawal, Amr El Abbadi 等VLDB 2023 · 18 次引用
- Improved Frequency Estimation Algorithms with and without PredictionsAnders Aamand, Justin Y. Chen, Huy Lê Nguyen, Sandeep Silwal 等NeurIPS 2023 · 16 次引用
- Meta-Sketch: A Neural Data Structure for Estimating Item Frequencies of Data StreamsYukun Cao, Yuan Feng, Xike XieAAAI 2023 · 13 次引用
相关 Paper
- The Stair Sketch: Bringing more Clarity to Memorize Recent EventsYikai Zhao, Yubo Zhang, Pu Yi, Tong Yang 等ICDE 2022 · 13 次引用
- Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026
- XY-Sketch: on Sketching Data Streams at Web ScaleYongqiang Liu, Xike XieWWW 2021 · 12 次引用
- OmniSketch: Efficient Multi-Dimensional High-Velocity Stream Analytics with Arbitrary PredicatesWieger R. Punter, Odysseas Papapetrou, Minos N. GarofalakisVLDB 2024 · 10 次引用
- CodingSketch: A Hierarchical Sketch with Efficient Encoding and Recursive DecodingQizhi Chen, Yisen Hong, Yuhan Wu, Tong Yang 等ICDE 2024 · 5 次引用
