LeCo: Lightweight Compression via Learning Serial Correlations
Yihao Liu, Xinyu Zeng, Huanchen Zhang
摘要
Lightweight data compression is a key technique that allows column stores to exhibit superior performance for analytical queries. Despite a comprehensive study on dictionary-based encodings to approach Shannon's entropy, few prior works have systematically exploited the serial correlation in a column for compression. In this paper, we propose LeCo (i.e., Learned Compression), a framework that uses machine learning to remove the serial redundancy in a value sequence automatically to achieve an outstanding compression ratio and decompression performance simultaneously. LeCo presents a general approach to this end, making existing (ad-hoc) algorithms such as Frame-of-Reference (FOR), Delta Encoding, and Run-Length Encoding (RLE) special cases under our framework. Our microbenchmark with three synthetic and eight real-world data sets shows that a prototype of LeCo achieves a Pareto improvement on both compression ratio and random access speed over the existing solutions. When integrating LeCo into widely-used applications, we observe up to 5.2× speed up in a data analytical query in the Arrow columnar execution engine, and a 16% increase in RocksDB 's throughput.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- An Empirical Evaluation of Columnar Storage Formats 引用了 Good to the Last Bit: Data-Driven Encoding with CodecDB
- The FastLanes File Format 引用了 An Empirical Evaluation of Columnar Storage Formats
- The FastLanes File Format 引用了 Good to the Last Bit: Data-Driven Encoding with CodecDB
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems 引用了 ALEX: An Updatable Adaptive Learned Index
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- Learned Compression of Nonlinear Time Series with Random Access 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
- F3: The Open-Source Data File Format for the Future 引用了 An Empirical Evaluation of Columnar Storage Formats
- Making In-Memory Learned Indexes Efficient on Disk 引用了 ALEX: An Updatable Adaptive Learned Index
- Making In-Memory Learned Indexes Efficient on Disk 引用了 FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory Systems
- Making In-Memory Learned Indexes Efficient on Disk 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
引用它的顶会 Paper10
- An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo 等VLDB 2024 · 59 次引用
- Making In-Memory Learned Indexes Efficient on DiskJiaoyi Zhang, Kai Su, Huanchen ZhangSIGMOD 2024 · 18 次引用
- F3: The Open-Source Data File Format for the FutureXinyu Zeng, Ruijun Meng, Martin Prammer, Wes McKinney 等SIGMOD 2026 · 10 次引用
- The FastLanes File FormatAzim Afroozeh, Peter BonczVLDB 2025 · 9 次引用
- Learned Compression of Nonlinear Time Series with Random AccessAndrea Guerra, Giorgio Vinciguerra, Antonio Boffa, Paolo FerraginaICDE 2025 · 5 次引用
它引用的 Paper11
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
- The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 次引用
- SAND: Streaming Subsequence Anomaly DetectionPaul Boniol, John Paparrizos, Themis Palpanas, Michael J. FranklinVLDB 2021 · 128 次引用
- FINEdex: A Fine-grained Learned Index Scheme for Scalable and Concurrent Memory SystemsPengfei Li, Yu Hua, Jingnan Jia, Pengfei ZuoVLDB 2022 · 97 次引用
- Good to the Last Bit: Data-Driven Encoding with CodecDBHao Jiang, Chunwei Liu, John Paparrizos, Andrew A. Chien 等SIGMOD 2021 · 45 次引用
相关 Paper
- LICO: An SIMD-Aware High-Performance Learned Inverted Index Compression FrameworkXianyu Zhu, Qiyu Liu, Guangyi Zhang, Zhibing Sha 等SIGMOD 2026
- DeepSqueeze: Deep Semantic Compression for Tabular DataAmir Ilkhechi, Andrew Crotty, Alex Galakatos, Yicong Mao 等SIGMOD 2020 · 30 次引用
- Adaptive Compression for Fast Scans on String ColumnsYannis Foufoulas, Lefteris Sidirourgos, Elefterios Stamatogiannakis, Yannis E. IoannidisSIGMOD 2021 · 6 次引用
- Data Chunk Compaction in Vectorized ExecutionYiming Qiao, Huanchen ZhangSIGMOD 2025 · 2 次引用
- Improving LZ4 for Effective Compression and Efficient QueryZhiheng Liu, Shaoxu SongSIGMOD 2026 · 1 次引用
