Abstract
Modern scientific simulations generate massive datasets that exceed storage and I/O capacities. While error-bounded lossy compression offers a solution, traditional methods apply a uniform error bound across all data points, leading to inefficiencies where "irrelevant" data consumes excessive bits while "features of interest" may lack necessary precision. This paper presents a novel framework built on the SZ compressor that supports diverse constraints, allowing for varying precision based on value ranges or spatial regions. By optimizing quantization for specific features and handling missing values, the proposed method significantly improves compression ratios—up to 116% in some cases—while maintaining high scientific fidelity.
Introduction
Scientific simulations in fields like climate modeling and cosmology produce petabytes of data. Error-bounded lossy compression (e.g., SZ or ZFP) is essential for managing this volume by guaranteeing that reconstructed data remains within a user-defined threshold of the original. However, a "one size fits all" approach to error bounds is often suboptimal. For instance, a climate scientist may require high precision over land but can tolerate lower precision over open oceans. Traditional compressors waste resources on background noise or missing values, potentially compromising the detail in critical regions. This research addresses the challenge of implementing diverse constraints—varying precision requirements—without introducing artifacts or degrading performance.
Methodology
The proposed framework extends the SZ compression framework, a state-of-the-art prediction-based compressor. The core innovation is the redesign of the quantization stage to accommodate multiple constraints.
Multi-Interval Quantization
The authors developed an algorithm that dynamically calculates quantization bins based on data value ranges. Points falling into "critical" ranges receive a tighter error bound (more bins), while those in "boring" ranges receive a looser bound. This allows the compressor to focus its bit budget where it matters most.
Spatial and Bitmap Constraints
Beyond value ranges, the framework allows users to define rectangular regions or provide bitmaps to specify high-precision zones (e.g., following a coastline). To prevent "striping" or blocky artifacts at the boundaries of these regions, the authors integrated an interpolation-based predictor that processes data level-by-level in a unified pattern.
Handling Irrelevant Data
Missing values, often represented by large constants like 1E35, typically disrupt the mathematical "smoothness" required for efficient compression. The framework identifies these values and replaces them with predicted values during the pipeline, significantly boosting the compression ratio for the surrounding valid data.
Experimental Evaluation
The framework was evaluated across six real-world scientific applications:
- Cosmology: Nyx (dark matter halo simulation).
- Climate/Weather: CESM, Hurricane Isabel, and Hurricane Katrina.
- Physics/Engineering: QMCPACK (electronic structure), RTM (seismic imaging), and Miranda (hydrodynamics).
Key Insights
- Data Cleaning for Compression: Replacing "missing" data points with predicted values preserves the data's continuity, which is crucial for prediction-based compressors like SZ.
- Efficient Constraint Maps: Storing the "map" of which error bound applies to which region adds negligible overhead, as these bitmaps are highly redundant and compress exceptionally well.
- Feature-Driven Utility: The goal shifts from global error minimization to preserving scientific features. By focusing on the storm surge in Hurricane Katrina, the method achieved a 116% improvement in compression ratio while enhancing visual fidelity.
Results
The proposed method demonstrates significant improvements in both data reduction and scientific validity.
Hurricane Katrina Simulation
In the Hurricane Katrina dataset, the framework increased the compression ratio from 37 to 80 compared to standard SZ. Crucially, it provided better visual detail of the storm surge, demonstrating that higher compression does not have to come at the cost of scientific utility.
Cosmology and Scalability
In Nyx cosmology simulations, the multi-interval approach preserved dark matter halos at a 78x compression ratio, whereas uniform bounds at the same ratio caused significant distortion. Furthermore, tests on the Argonne Bebop supercomputer using up to 2,100 cores showed excellent scalability, with compression speeds outperforming the I/O throughput of parallel file systems.
Conclusion
This research demonstrates that adaptive, feature-aware error bounds are superior to uniform constraints for scientific data. While current implementations require manual configuration of "interesting" ranges, future work aims to automate feature detection. Despite potential boundary distortions in extreme cases, the framework provides a scalable and efficient solution for the next generation of scientific data management.
Summary updated