Learned Data Compression: Challenges and Opportunities for the Future
Qiyu Liu, Siyuan Han, Jianwei Liao, Jin Li, Jingshu Peng, Jun Du, Lei Chen
TL;DR
This work investigates learned data compression for lossless, sorted integer keys, framing the approach as learning an ICDF mapping with an error-bounded piecewise-linear model and residuals to guarantee exact reconstruction. It presents the epsilon-PLA methodology, analyzes its relationship to learned indexing, and reports SIMD-optimized benchmarks showing competitive decompression throughput against state-of-the-art compressors. The authors outline concrete application scenarios across inverted indexes, KV stores, DBMS queries, and vector databases, while detailing critical challenges—hyper-parameter tuning, dynamic updates, model choice, floating-point extension, and hardware acceleration. Overall, the paper argues that learned compression can become a high-performance, flexible foundation for modern data systems, pending further optimization and integration work.
Abstract
Compressing integer keys is a fundamental operation among multiple communities, such as database management (DB), information retrieval (IR), and high-performance computing (HPC). Recent advances in \emph{learned indexes} have inspired the development of \emph{learned compressors}, which leverage simple yet compact machine learning (ML) models to compress large-scale sorted keys. The core idea behind learned compressors is to \emph{losslessly} encode sorted keys by approximating them with \emph{error-bounded} ML models (e.g., piecewise linear functions) and using a \emph{residual array} to guarantee accurate key reconstruction. While the concept of learned compressors remains in its early stages of exploration, our benchmark results demonstrate that an SIMD-optimized learned compressor can significantly outperform state-of-the-art CPU-based compressors. Drawing on our preliminary experiments, this vision paper explores the potential of learned data compression to enhance critical areas in DBMS and related domains. Furthermore, we outline the key technical challenges that existing systems must address when integrating this emerging methodology.
