MGARD+: Optimizing Multilevel Methods for Error-Bounded Scientific Data Reduction

Xin Liang, Ben Whitney, Jieyang Chen, Lipeng Wan, Qing Liu, Dingwen Tao, James Kress, David Pugmire, Matthew Wolf, Norbert Podhorszki, Scott Klasky

TL;DR

This paper introduces MGARD+, an optimized multilevel data reduction framework that significantly boosts compression ratios and speeds up scientific data compression and decompression. By introducing level-wise quantization and adaptive decomposition, MGARD+ achieves up to 2x better compression ratios and 70x faster performance compared to existing methods, making large-scale scientific data more manageable.

What Problem Does This Paper Address?

Modern scientific simulations and instruments generate massive datasets, posing significant challenges for storage, transfer, and analysis. Storing all this data is often infeasible due to limited bandwidth and storage capacity. While existing error-bounded lossy compression techniques can reduce data size, they often struggle to achieve high compression ratios without introducing unacceptable distortion, especially for data-intensive applications. Furthermore, many methods lack the performance needed for real-time or near-real-time processing. This paper addresses the need for a scientific data compression method that offers both high compression ratios and high performance, while strictly controlling data distortion.

Methods

MGARD+ builds upon the existing Multilevel Adaptive Reduction of Data (MGARD) framework, which decomposes data into components of varying scales and resolutions. The key innovations in MGARD+ are:

  • Level-wise Coefficient Quantization: Instead of using a uniform error tolerance across all levels of decomposition, MGARD+ applies different error tolerances to coefficients at each level. This adaptive approach allows for more efficient distribution of the "error budget," leading to improved compression ratios for a given distortion level.
  • Adaptive Decomposition Termination: The multilevel decomposition process is no longer run to completion. Instead, it's treated as a preconditioner, and the decomposition is terminated at an appropriate level. The remaining coarse-grained data is then compressed using external, state-of-the-art error-bounded compressors (like SZ). This hybrid approach further enhances compression ratios.
  • Algorithmic Optimizations: Several strategies are employed to boost performance:
  • Level-centric Data Reordering: Rearranges data to improve cache coherence and memory access efficiency during decomposition and recomposition.
  • Direct Load Vector Computation: Derives a more efficient formula for computing load vectors, reducing computational cost.
  • Batched Correction Computation: Utilizes batch operations to optimize memory access patterns for intermediate corrections.
  • Intermediate Variable Elimination & Reuse: Identifies and eliminates redundant computations and reuses intermediate variables.

Datasets

The paper evaluates MGARD+ using four real-world scientific datasets from various domains:

  • Hurricane Isabel climate simulation: 13 fields, 100x500x500 dimensions, 1.21 GB.
  • NYX cosmology simulation: 6 fields, 512x512x512 dimensions, 3 GB.
  • SCALE-LETKF weather simulation: 12 fields, 98x1200x1200 dimensions, 6.31 GB.
  • QMCPACK quantum Monte Carlo simulation: 1 field, 288x115x69x69 dimensions, 0.59 GB.

These datasets are part of the Scientific Data Reduction Benchmarks.

Key Insights and Ideas

  • Adaptive error control is crucial: The paper demonstrates that applying different error tolerances at different decomposition levels (level-wise quantization) is more effective than a uniform approach for achieving better compression ratios.
  • Hybrid compression is powerful: Combining a specialized multilevel decomposition with general-purpose, high-performance compressors (like SZ) via adaptive termination yields superior results. This leverages the strengths of both approaches.
  • Performance bottlenecks are in memory access: The significant performance gains from optimizations like data reordering and batched operations highlight that memory access patterns are a major limiting factor in multilevel methods.
  • Coarse-grained analysis is viable: Performing scientific analysis on partially decompressed, coarser representations can be significantly faster and still yield comparable results to analyzing the full dataset, especially for tasks like iso-surface computation.

Key Results

  • Performance: MGARD+ achieves decomposition/recomposition speeds that are 20x to 71x faster than the original multilevel method (MGARD) on the evaluated datasets.
  • Compression Ratio: MGARD+ offers up to 2x improvement in compression ratio compared to state-of-the-art error-bounded lossy compressors (SZ, ZFP, Hybrid Model) at the same level of data distortion (PSNR).
  • Quality: The method maintains comparable or slightly better error control than MGARD, and significantly improves rate-distortion performance over the baseline MGARD.
  • Scalability: The algorithm exhibits almost linear speedup with an increasing number of cores, demonstrating its suitability for exascale computing.
  • Use Case: For iso-surface analysis, MGARD+ significantly reduces the overall analysis time, with analysis on level 0 representation achieving comparable performance to strong-scaling experiments on multiple cores.

Limitations and Future Work

  • External Compressor Choice: While the paper uses SZ as the external compressor in the adaptive decomposition strategy, it notes that for certain scenarios (e.g., QMCPACK with large bit-rates), other compressors like ZFP or the hybrid model might be more suitable. Future work could involve adapting the strategy to dynamically select the best external compressor.
  • Higher-Order Basis Functions: The authors plan to explore higher-order basis functions and adapt them to different data regions to further improve the quality of multilevel data reduction.
  • Transform-based Decorrelation: For datasets where transform-based methods (like ZFP) excel, integrating them into the adaptive decomposition strategy is a potential future direction.

Summary updated

BibTeX
@article{liang2022mgard,
  author = {Xin Liang and Ben Whitney and Jieyang Chen and Lipeng Wan and Qing Liu and Dingwen Tao and James Kress and David Pugmire and Matthew Wolf and Norbert Podhorszki and Scott Klasky},
  title = {{MGARD+: Optimizing Multilevel Methods for Error-Bounded Scientific Data Reduction}},
  journal = {IEEE Trans. Computers},
  year = {2022},
  doi = {10.1109/tc.2021.3092201},
}
Figure