A General Framework for Error-controlled Unstructured Scientific Data Compression
Qian Gong, Zhe Wang, Viktor Reshniak, Xin Liang, Jieyang Chen, Qing Liu, Tushar M. Athawale, Yi Ju, Anand Rangarajan, Sanjay Ranka, Norbert Podhorszki, Rick Archibald, Scott Klasky
TL;DR
This work addresses the heavy data footprint of unstructured-mesh simulations by introducing a generic, error-bounded, multi-component compression framework that maps unstructured data to a rectilinear grid and independently compresses the grid-approximation and the interpolation residuals. The method provides mathematical guarantees that the reconstructed data satisfy a user-prescribed error bound $\tau$ by distributing this budget between $\tau_1$ and $\tau_2$ and using a linear interpolation $g(\cdot)$, with $x' = g(x_1') + x_2'$. It demonstrates broad compatibility by integrating with state-of-the-art compressors MGARD, SZ, and ZFP, achieving average improvements of $2.3$–$3.5\times$ in compression ratio across 12 variables from four datasets, with error bounds in the range $[1\times10^{-6}, 1\times10^{-2}]$; importantly, the mesh-grid mapping can be reused across timesteps and variables to amortize cost. The approach is general to arbitrary unstructured meshes, reduces storage and I/O costs in HPC workflows, and lays a foundation for further gains via alternative interpolation schemes and end-to-end throughput analysis including I/O.
Abstract
Data compression plays a key role in reducing storage and I/O costs. Traditional lossy methods primarily target data on rectilinear grids and cannot leverage the spatial coherence in unstructured mesh data, leading to suboptimal compression ratios. We present a multi-component, error-bounded compression framework designed to enhance the compression of floating-point unstructured mesh data, which is common in scientific applications. Our approach involves interpolating mesh data onto a rectilinear grid and then separately compressing the grid interpolation and the interpolation residuals. This method is general, independent of mesh types and typologies, and can be seamlessly integrated with existing lossy compressors for improved performance. We evaluated our framework across twelve variables from two synthetic datasets and two real-world simulation datasets. The results indicate that the multi-component framework consistently outperforms state-of-the-art lossy compressors on unstructured data, achieving, on average, a $2.3-3.5\times$ improvement in compression ratios, with error bounds ranging from $\num{1e-6}$ to $\num{1e-2}$. We further investigate the impact of hyperparameters, such as grid spacing and error allocation, to deliver optimal compression ratios in diverse datasets.
