MSz: An Efficient Parallel Algorithm for Correcting Morse-Smale Segmentations in Error-Bounded Lossy Compressors
Yuxiao Li, Xin Liang, Bei Wang, Yongfeng Qiu, Lin Yan, Hanqi Guo
TL;DR
This work tackles the problem of preserving Morse-Smale segmentations in error-bounded lossy compression by introducing an edit-based paradigm that generates per-vertex edits at compression time and applies them during decompression to recover exact MS segmentations within the prescribed bound. It develops a parallel workflow comprising C-loops (fixing false critical points) and R-loops (fixing mislabelled regular points) that converges in finite iterations. The method is applicable to existing compressors (demonstrated with SZ3 and ZFP) and is accelerated on shared memory and GPUs, achieving substantial speedups on NVIDIA A100 hardware. Key contributions include a theoretically grounded, convergence-guaranteed editing framework, a parallel implementation to mitigate runtime overhead, and comprehensive evaluation across fluid dynamics, ocean, and cosmology datasets showing improved MS fidelity with competitive compression ratios. This approach enables topology-preserving data analysis in large-scale simulations, offering practical gains for end-users needing reliable topological features without sacrificing overall data fidelity.
Abstract
This research explores a novel paradigm for preserving topological segmentations in existing error-bounded lossy compressors. Today's lossy compressors rarely consider preserving topologies such as Morse-Smale complexes, and the discrepancies in topology between original and decompressed datasets could potentially result in erroneous interpretations or even incorrect scientific conclusions. In this paper, we focus on preserving Morse-Smale segmentations in 2D/3D piecewise linear scalar fields, targeting the precise reconstruction of minimum/maximum labels induced by the integral line of each vertex. The key is to derive a series of edits during compression time; the edits are applied to the decompressed data, leading to an accurate reconstruction of segmentations while keeping the error within the prescribed error bound. To this end, we developed a workflow to fix extrema and integral lines alternatively until convergence within finite iterations; we accelerate each workflow component with shared-memory/GPU parallelism to make the performance practical for coupling with compressors. We demonstrate use cases with fluid dynamics, ocean, and cosmology application datasets with a significant acceleration with an NVIDIA A100 GPU.
