NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

cuSZ: An Efficient GPU-Based Error-Bounded Lossy Compression Framework for Scientific Data

Jiannan Tian, Sheng Di, Kai Zhao, Cody Rivera, Megan Hickman Fulp, Robert Underwood, Sian Jin, Xin Liang, Jon Calhoun, Dingwen Tao, Franck Cappello · DOI

Abstract

Modern High-Performance Computing (HPC) simulations generate petabytes of data, leading to a critical "I/O wall" where data storage and movement become primary bottlenecks. While error-bounded lossy compression like the SZ algorithm can significantly reduce data volume, its sequential nature makes it difficult to accelerate on GPUs. We present cuSZ, a high-performance framework that redesigns SZ for NVIDIA architectures. By introducing a "dual-quantization" scheme, cuSZ eliminates sequential data dependencies, achieving up to a 370x speedup over single-core CPUs and outperforming existing GPU compressors in both throughput and data quality.

1. Introduction

Scientific simulations in fields such as cosmology and climate science are increasingly limited by the time required to store and move data. Lossless compression typically yields only a 2:1 reduction for floating-point data, whereas error-bounded lossy compression can achieve ratios of 10:1 or higher while guaranteeing that reconstructed data remains within user-defined tolerances. The SZ compressor is a leading solution but relies on a sequential prediction-quantization-reconstruction loop, creating a "Read-After-Write" (RAW) dependency that prevents effective GPU parallelization.

2. Methodology

The core innovation of cuSZ is the decoupling of data dependencies to suit the Massively Parallel (SIMT) nature of GPUs.

2.1 Dual-Quantization and Dependency Breaking

Traditional SZ uses a sequential loop where each point's prediction depends on the reconstructed value of its neighbor. cuSZ replaces this with a two-phase "dual-quantization" approach. By "pre-quantizing" data into units of the error bound ($eb$), the framework transforms floating-point values into an integer representation. This allows the prediction step to proceed without loop-carried dependencies, enabling massive parallelism.

Comparison of the sequential SZ compression loop vs. the parallel cuSZ dual-quantization scheme.

2.2 Framework Pipeline

Beyond dual-quantization, cuSZ optimizes the entire compression pipeline for GPU architectures. This includes customized Huffman encoding that uses a canonical approach and adaptive memory representations (switching between 32-bit and 64-bit) to maximize memory bandwidth. The framework also employs chunking and padding to handle multi-dimensional data (1D to 4D) efficiently within local thread blocks without expensive global synchronization.

The cuSZ framework pipeline, illustrating the stages of dual-quantization, prediction, and customized Huffman encoding.

3. Experimental Evaluation

The authors evaluated cuSZ using the Scientific Data Reduction Benchmarks (SDRB), covering datasets from cosmology (HACC, Nyx), climate (CESM-ATM), weather (Hurricane ISABEL), and quantum mechanics (QMCPACK).

3.1 Performance and Throughput

On an NVIDIA V100 GPU, cuSZ achieved compression throughputs in the tens of GB/s. This represents a 370.1× speedup over a single-core CPU and a 13.1× improvement over a 32-core parallel CPU implementation. The framework is designed to saturate high GPU memory bandwidth, which is the primary bottleneck for $O(n)$ compression operations.

3.2 Compression Quality

Compared to cuZFP, the primary GPU-based competitor, cuSZ achieved up to 3.48× higher compression ratios for the same Peak Signal-to-Noise Ratio (PSNR). Crucially, the reconstructed data quality remains identical to the original CPU-based SZ, ensuring scientific validity for post-analysis.

4. Discussion and Future Work

cuSZ demonstrates that the RAW dependency in SZ is not a mathematical requirement but an algorithmic artifact. By shifting to a representation based on error-bound units, cuSZ enables high-throughput parallel processing. While decompression is currently slightly slower than compression due to remaining sequential patterns in Huffman decoding, it remains highly efficient. Future work includes incorporating more complex predictors, such as linear regression, and integrating cuSZ into parallel I/O libraries like ADIOS for end-to-end data reduction.

Summary updated

BibTeX
@inproceedings{tian2020cusz,
  author = {Jiannan Tian and Sheng Di and Kai Zhao and Cody Rivera and Megan Hickman Fulp and Robert Underwood and Sian Jin and Xin Liang and Jon Calhoun and Dingwen Tao and Franck Cappello},
  title = {{cuSZ: An Efficient GPU-Based Error-Bounded Lossy Compression Framework for Scientific Data}},
  booktitle = {PACT},
  year = {2020},
  doi = {10.1145/3410463.3414624},
}
Figure