TL;DR
MGARD+ is an optimized framework for scientific data reduction that significantly improves upon the original MultiGrid Adaptive Reduction of Data (MGARD) method. By introducing level-wise quantization, adaptive decomposition termination, and cache-friendly algorithmic optimizations, it achieves up to a 70x speedup in processing and a 2x improvement in compression ratios compared to state-of-the-art lossy compressors like SZ and ZFP.
Introduction
Modern high-performance computing (HPC) simulations—such as those modeling climate change or quantum molecular dynamics—generate staggering amounts of data. Because I/O bandwidth and storage capacity cannot keep pace with these volumes, scientists are often forced to discard the vast majority of their results. Lossy compression offers a solution, but scientific data requires error-bounded reduction to ensure the validity of subsequent analysis. While the original MGARD provided excellent error control, it was historically slow and yielded lower compression ratios than competitors. MGARD+ addresses these performance and quality gaps.
Methodology
The authors transform MGARD from a purely mathematical approach into a high-performance framework through three main pillars: level-wise coefficient quantization, adaptive decomposition, and algorithmic optimizations.
Adaptive Decomposition and Hybrid Prediction
MGARD+ treats multilevel decomposition as a "preconditioner" rather than a standalone compressor. It uses sampling-based error estimation to decide when to stop the multigrid process. If a simpler predictor, such as the Lorenzo predictor used in the SZ compressor, is expected to perform better at a certain level, the algorithm terminates early and hands the remaining data to an external compressor. This "best of both worlds" approach allows the framework to capture large-scale structures via MGARD while leveraging other predictors for fine-grained details.
Level-wise Coefficient Quantization
Instead of using a uniform "bin width" for all data, MGARD+ adaptively distributes the "error budget" across different levels of the multigrid hierarchy. The authors mathematically derived an optimal scaling factor ($\kappa = \sqrt{2^d}$) that minimizes the bit-rate for a given distortion level.
Performance Optimizations
To solve the "strided memory access" problem inherent in multigrid methods, which typically degrades CPU cache performance, the authors implemented several cache-friendly optimizations.
Level-centric Reordering
The most dramatic performance gains (the 70x speedup) came from re-engineering how the data sits in memory. By rearranging data so that nodal nodes are contiguous, the authors turned a memory-bound process into a compute-efficient one.
Other optimizations include batched operations to maximize cache hits and direct load vector computation to simplify the underlying linear algebra and reduce floating-point operations.
Key Results
The framework was evaluated using four real-world scientific datasets from the Scientific Data Reduction Benchmarks (SDRB), including Hurricane Isabel and NYX cosmology simulations.
- Throughput: MGARD+ improved decomposition/recomposition speed by 20x to 71x over the original implementation.
- Compression Quality: At a fixed Peak Signal-to-Noise Ratio (PSNR) of ~60 dB, MGARD+ achieved compression ratios up to 2x higher than SZ and ZFP. For the NYX dataset, it reached a compression ratio of 2525:1 while maintaining high data quality.
- Analysis Acceleration: In an iso-surface analysis use case, performing the analysis on a reduced MGARD+ representation was significantly faster than on the original data, with a relative error of only ~5-7%.
Conclusion
MGARD+ successfully bridges the gap between mathematical rigor and computational efficiency. By refactoring the multigrid approach for modern hardware and hybridizing it with existing predictors, it provides a powerful tool for managing the data deluge in HPC. Future work will explore higher-order basis functions and spatial adaptivity to further enhance compression performance.
Summary updated