OpenZL: A Graph-Based Model for Compression
By: Yann Collet , Nick Terrell , W. Felix Handte and more
Potential Business Impact:
Makes files smaller and faster to use.
Research in general-purpose lossless compression over the last decade has largely found improvements in compression ratio that come at great cost to resource utilization and processing throughput. However, most production workloads require high throughput and low resource utilization, so most research systems have seen little adoption. Instead, real world improvements in compression are increasingly often realized by building application-specific compressors which can exploit knowledge about the structure and semantics of the data being compressed. These systems easily outperform even the best generic compressors, but application-specific compression schemes are not without drawbacks. They are inherently limited in applicability and are difficult to maintain and deploy. We show that these challenges can be overcome with a new way of thinking about compression. We propose the ``graph model'' of compression, a new theoretical framework for representing compression as a directed acyclic graph of modular codecs. This motivates OpenZL, an implementation of this model that compresses data into a self-describing wire format, any configuration of which can be decompressed by a universal decoder. OpenZL's design enables rapid development of tailored compressors with minimal code, its universal decoder eliminates deployment lag, and its investment in a well-vetted standard component library minimizes security risks. Experimental results demonstrate that OpenZL achieves superior compression ratios and speeds compared to state-of-the-art general-purpose compressors on a variety of real-world datasets. Internal deployments at Meta have also shown consistent improvements in size and/or speed, with development timelines reduced from months to days. OpenZL thus represents an advance in practical, scalable, and maintainable data compression for modern data-intensive applications.
Similar Papers
OpenZL: A Graph-Based Model for Compression
Information Retrieval
Makes files smaller and faster to use.
Challenges and Solutions in Selecting Optimal Lossless Data Compression Algorithms
Information Theory
Finds best way to shrink files without losing info.
Reimagining Memory Access for LLM Inference: Compression-Aware Memory Controller Design
Hardware Architecture
Makes AI smarter using less computer memory.