TL;DR
The paper introduces cuSZ-Hi, a fully open-source, high-ratio, GPU-accelerated error-bounded lossy compressor designed for massive scientific datasets. By co-optimizing parallel multi-dimensional interpolation and custom multi-stage lossless encoding pipelines, cuSZ-Hi achieves up to a 249% improvement in compression ratio over existing state-of-the-art GPU compressors while maintaining high throughput.
What Problem Does This Paper Address?
As supercomputing enters the exascale era, scientific simulations running on massive GPU clusters generate data at unprecedented rates, creating severe I/O and storage bottlenecks. Error-bounded lossy compression is a critical solution to reduce data volume while guaranteeing that the compressed data remains accurate enough for scientific analysis.
Most scientific lossy compressors follow a two-stage framework: lossy decomposition (predicting values and saving the integer errors, or "quantization codes") followed by lossless encoding (compressing those integers). However, existing GPU-based compressors face a harsh trade-off: they either prioritize speed at the expense of compression ratio, or they rely on closed-source, proprietary backends (such as NVIDIA Bitcomp) to achieve high compression ratios. This lack of a high-ratio, high-throughput, and fully open-source GPU compressor limits cross-platform deployment and customization for researchers.
Methods
The authors present cuSZ-Hi, which optimizes both stages of the compression pipeline to maximize the compression ratio without sacrificing GPU throughput:
- Optimized Lossy Prediction: cuSZ-Hi restructures the thread-block data partition (doubling the block size to $17^3$ for 3D data) and widens the anchor point stride from 8 to 16. This drastically reduces the storage overhead of uncompressed anchor points.
- Multi-Dimensional Interpolation: Instead of performing sequential 1D interpolations, cuSZ-Hi implements an isotropic multi-dimensional interpolation scheme ($1\text{D} \rightarrow 2\text{D} \rightarrow 3\text{D}$) that better captures multi-directional data correlations.
- Quantization Code Reordering: Because prediction errors are highly dependent on the interpolation stride (larger strides yield larger errors), flattening the data directly shuffles different error distributions together. cuSZ-Hi introduces a fixed mapping that groups quantization codes by their interpolation level, creating a smoother 1D sequence that is much easier for lossless encoders to compress.
- Synergistic Lossless Pipelines: The authors benchmarked numerous open-source configurations using the LC framework and designed two distinct user modes:
cuSZ-Hi-CR(Compression Ratio Preferred): Combines Huffman encoding with a multi-stage pipeline (RRE4-TCMS8-RZE1) to maximize size reduction.cuSZ-Hi-TP(Throughput Preferred): A Huffman-free pipeline (TCMS1-BIT1-RRE1) that leverages bit-shuffling to deliver ultra-fast compression speeds with competitive ratios.
Datasets
The framework was evaluated on 6 real-world scientific datasets from various simulation domains:
- CESM-ATM: Climate/atmosphere simulation.
- JHTDB: Numerical simulation of turbulence.
- Miranda: Hydrodynamics simulation.
- Nyx: Cosmological hydrodynamics simulation.
- QMCPack: Monte Carlo quantum simulation.
- RTM: Reverse time migration for seismic imaging.
Key Insights and Ideas
- The Anchor Overhead Trap: In previous interpolation-based compressors, losslessly storing the sparse "anchor grid" grid points consumed a surprisingly large portion of the final file size. Increasing the stride to 16 cuts anchor point overhead to just $1/8\text{th}$ of prior methods.
- Stride-Dependent Error Distributions: The "aha moment" for the lossless stage was realizing that quantization codes aren't uniformly distributed; errors from large-stride interpolations behave differently than small-stride ones. Separating them by interpolation level via custom reordering prevents token shuffling and unlocks massive latent compressibility.
- Beating Proprietary Software with Open-Source Blocks: By carefully orchestrating simple, open-source bit-manipulation components (like bit-shuffling and run-length elimination), the authors proved that open-source pipelines can match or outperform proprietary black-box solutions like NVIDIA Bitcomp.
Key Results
- Compression Ratio Boost: Under identical error bounds, cuSZ-Hi achieved up to a 249% compression ratio improvement over state-of-the-art baselines. When aligned to the same decompression quality (PSNR), it improved the compression ratio by up to 215%.
- Open-Source Advantage: Compared strictly against other open-source, non-proprietary GPU solutions, cuSZ-Hi demonstrated compression ratio improvements ranging from 113% to 2786% across the test suites.
- Throughput Efficiency: Despite the heavier mathematical optimization,
cuSZ-Hi-CRmaintains a throughput comparable to or better than previous high-ratio compressors, whilecuSZ-Hi-TPdoubles the compression speed of older interpolation baselines on modern architectures like the NVIDIA RTX 6000 Ada.
Limitations and Future Work
While cuSZ-Hi significantly advances GPU compression ratios, the authors note that multi-dimensional interpolation introduces notable computational overhead on the GPU.
Future work will focus on:
- Further optimizing and reducing the interpolation computing overhead on GPU hardware.
- Designing even more specialized lossless encoders tailored specifically for scientific quantization codes.
- Developing an intelligent, dynamic auto-selection mechanism to automatically swap compressor archetypes and lossless pipelines on-the-fly based on incoming data characteristics.
Summary updated