Introduction
High-performance computing (HPC) simulations in fields like cosmology and climate science generate massive amounts of data, often reaching petabytes. This "data deluge" creates significant challenges for storage and I/O bandwidth. Lossy compression is a vital tool for managing these volumes, but existing state-of-the-art compressors like SZ or ZFP typically rely on absolute or relative error bounds. However, scientists often prioritize the overall quality of reconstructed data, commonly measured by the Peak Signal-to-Noise Ratio (PSNR). Previously, achieving a specific PSNR required a tedious "trial-and-error" process, repeatedly running the compressor with different settings. This paper introduces a novel technique that allows users to set a target PSNR directly, eliminating this computational overhead.
The Fixed-PSNR Method
The proposed method is built upon the SZ lossy compression framework and relies on two theoretical insights. First, the authors proved that for prediction-based and orthogonal-transform-based compressors, the overall $l^2$-norm distortion is essentially determined by the distortion introduced during the quantization step. Second, by analyzing the probability density function of prediction errors and uniform quantization mechanics, they derived a closed-form equation relating PSNR to the data's value range ($vr$) and the quantization bin size ($\delta$).
The simplified relationship is expressed as: $$eb_{rel} = \sqrt{3} \cdot 10^{-\frac{PSNR}{20}}$$ where $eb_{rel}$ is the value-range-based relative error bound. This allows the SZ compressor to automatically calculate the necessary error bound to meet a user's requested PSNR with negligible computational cost.
Experimental Evaluation
The method was evaluated using three real-world HPC simulation datasets: NYX (3D cosmology), ATM (2D climate simulation), and Hurricane (3D hurricane simulation). These datasets represent a diverse range of scientific fields and data characteristics, providing a robust testbed for the new compression mode.
Key Results and Insights
The evaluation demonstrated high precision, with the proposed method controlling PSNR within an average deviation of 0.1 to 5.0 dB across all datasets. As shown in the results, the accuracy of the PSNR control generally improved as the target PSNR increased. For the ATM dataset, the compressor met or exceeded the user-specified PSNR for over 90% of the data fields.
A significant insight from this work is the decoupling of data distribution from quality. With uniform quantization, the PSNR depends almost entirely on the quantization bin size, regardless of the underlying distribution of prediction errors. This "aha moment" allows for the predictability of loss; because the error introduced in the quantization step dominates the final distortion, the final quality of the data is highly predictable before the compression even finishes. This efficiency is paramount for large-scale scientific workflows where iterative quality control is impractical.
Conclusion and Future Work
While the method is highly effective, the authors noted that Mean Squared Error (MSE) estimation becomes less accurate when the quantization bin size is very large (low PSNR/high compression), leading to higher deviations. Future work will focus on improving accuracy in these low-quality scenarios and integrating this fixed-PSNR logic into other compression frameworks beyond SZ.
Summary updated