A High-Quality Workflow for Multi-Resolution Scientific Data Reduction and Visualization

Daoce Wang, Pascal Grosset, Jesus Pulido, Tushar M. Athawale, Jiannan Tian, Kai Zhao, Zarija Lukic, Axel Huebl, Zhe Wang, James P. Ahrens, Dingwen Tao

Introduction

Modern High-Performance Computing (HPC) simulations in domains such as cosmology and plasma physics generate petabytes of data. This volume creates a significant bottleneck for storage and I/O operations. While Adaptive Mesh Refinement (AMR) techniques—which allocate high resolution only to critical regions—help manage data size, they introduce complexities for standard lossy compression algorithms. This paper presents a high-quality workflow that integrates multi-resolution data structures with optimized lossy compression and uncertainty visualization, achieving up to a 3.3x improvement in compression ratios over existing state-of-the-art methods.

The Challenge of Multi-Resolution Data

Standard compressors like SZ and ZFP are optimized for uniform grids. When applied to the hierarchical and sparse nature of AMR data, several issues arise:

  1. Boundary Artifacts: Block-wise compression often results in visible "seams" or discontinuities at the edges of data blocks.
  2. Inefficient Prediction: Global compressors lose accuracy when data is partitioned into small, non-contiguous units, as they lack the necessary context for interpolation.
  3. Scientific Trust: The impact of lossy compression on downstream analysis, such as identifying "halos" in cosmological data, is difficult to quantify, leading to researcher hesitation.
Fine and coarse resolution levels in a fluid dynamics simulation illustrating the complexity of AMR data.

Proposed Methodology

The authors propose a three-stage workflow to optimize the compression of multi-resolution data:

1. Compression-Oriented ROI Extraction

For simulations without native AMR support, the workflow identifies Regions of Interest (ROIs) using range thresholding. Critical areas are maintained at full resolution, while less important regions are downsampled, effectively converting uniform data into a more compressible multi-resolution format.

Region of Interest (ROI) extraction applied to the Nyx cosmology dataset.

2. SZ3MR: Optimized Global Compression

The SZ3 global compressor was adapted for multi-resolution data through two primary innovations:

  • Dynamic Padding: A single layer of padded data, calculated via linear extrapolation, is added to small blocks. This provides the necessary neighbors for global interpolation, significantly improving efficiency.
  • Adaptive Error Bounds: By tightening error bounds for early interpolation levels, the system prevents small errors in "parent" data points from cascading into larger errors in "child" points.

3. Adaptive Post-Processing and Visualization

To mitigate blocking artifacts, the workflow employs Bézier curves to smooth transitions between blocks. This smoothing is constrained to remain within the user-defined error bounds. Furthermore, a probabilistic marching cubes algorithm is used to visualize uncertainty, highlighting potential "cracks" in isosurfaces caused by compression.

Experimental Results

The workflow was evaluated across diverse datasets, including Nyx (cosmology), WarpX (plasma physics), and Rayleigh-Taylor (fluid dynamics). Key findings include:

  • Compression Efficiency: SZ3MR improved compression ratios by up to 3.3x compared to baselines like AMRIC and TAC.
  • Visual Fidelity: On the Nyx baryon density field, the method achieved a Structural Similarity Index (SSIM) of 0.91, significantly higher than the 0.57–0.64 range of existing methods.
  • Post-Processing Gains: Bézier-based smoothing improved the PSNR of ZFP-compressed data by over 2.4 dB on the WarpX dataset with minimal computational overhead (1.3% to 3.5%).

Conclusion

By combining hierarchical error control, dynamic padding, and constrained smoothing, this workflow addresses the primary barriers to adopting lossy compression in multi-resolution scientific simulations. Future work will focus on more sophisticated feature-based ROI selection and extending uncertainty visualization to volume rendering.

Summary updated

BibTeX
@inproceedings{wang2024high,
  author = {Daoce Wang and Pascal Grosset and Jesus Pulido and Tushar M. Athawale and Jiannan Tian and Kai Zhao and Zarija Lukic and Axel Huebl and Zhe Wang and James P. Ahrens and Dingwen Tao},
  title = {{A High-Quality Workflow for Multi-Resolution Scientific Data Reduction and Visualization}},
  booktitle = {SC},
  year = {2024},
}
Figure