TL;DR
This paper introduces a novel, plug-and-play compression framework that significantly boosts lossy compression ratios for unstructured scientific mesh data. By mapping unstructured data onto a regular rectilinear grid and separately compressing the grid approximation and the remaining residuals, the framework achieves a $2.3\times$ to $3.5\times$ improvement over standard methods while strictly respecting user-defined error bounds.
What Problem Does This Paper Address?
Modern scientific simulations—such as those modeling jet engines, climate systems, or fluid dynamics—frequently utilize unstructured meshes to accurately represent complex, irregular geometries. These simulations generate massive volumes of floating-point data, creating severe bottlenecks for storage and I/O operations.
To mitigate this, researchers rely on error-controlled lossy compressors (like SZ, ZFP, or MGARD). However, almost all state-of-the-art lossy compressors are designed under the assumption of a regular, rectilinear grid layout where spatial relationships are implicit and predictable. When forced to handle unstructured meshes, these tools typically flatten (serialize) the data into a 1D array. This serialization destroys the spatial coherence of the data, leading to highly suboptimal compression ratios.
Methods
The authors propose a multi-component framework that bridges the gap between unstructured meshes and rectilinear compressors without requiring invasive code modifications:
- Grid Construction & Adaptive Coarsening: The framework constructs a bounding rectilinear grid based entirely on the spatial coordinates of the mesh vertices. It then adaptively coarsens this grid to eliminate "blank" or unvisited regions (such as the hollow interior of an airfoil blade shown in Figure 1).
- Mesh-Grid Interpolation: The unstructured field values are mapped onto the newly constructed rectilinear grid to create a smooth approximation ($x_1$). The difference between this grid approximation and the original data is computed as a residual ($x_2$) on the original mesh.
- Error Budget Splitting: To guarantee strict mathematical error control, the user's total error bound ($\tau$) is split between the grid data ($\tau_1$) and the residuals ($\tau_2$) such that $\tau_1 + \tau_2 \le \tau$.
- Independent Multi-Component Compression: The grid data is compressed in its high-dimensional space (allowing standard compressors to exploit its regular spatial coherence), while the residuals are flattened and compressed separately.
Crucially, because the mesh geometry remains static across simulation timesteps, the vertex mapping table can be precomputed once and reused, drastically reducing runtime overhead.
Datasets
The framework was rigorously evaluated across 12 variables from four distinct datasets:
- OpenFoam-Airfoil (Small & Large): 2D synthetic datasets simulating fluid flow around an airfoil (evaluating pressure and velocity fields).
- Nek5000-turbPipe: A 3D simulation of highly fluctuated, fully-developed turbulent pipe flow (evaluating velocity fields).
- VKI Turbine Blade: A 3D real-world simulation of a gas turbine blade cascade generated by GE’s GENSIS software (evaluating pressure, density, and velocity fields).
Key Insights and Ideas
- Unlocking Implicit Coherence: Axis-aligned regular grids possess implicit geometric coherence that standard compressors excel at exploiting. Translating unstructured data into this format unlocks massive, previously inaccessible compression gains.
- Residuals as Low-Entropy Targets: Even though residuals are compressed as a 1D array, they represent small approximation errors. Their magnitudes are highly concentrated around zero, making them inherently low-entropy and highly compressible.
- Amortized Overhead: Since grid construction and mapping depend solely on mesh topology—not the simulation's physical values—the computational cost of the framework is amortized across thousands of simulation timesteps and multiple variables.
Key Results
- Compression Ratio Boost: The framework consistently outperformed default 1D serialization across all tested underlying compressors (MGARD, SZ3, and ZFP). On average, it achieved a $2.3\times$ to $3.5\times$ improvement in compression ratios, with peak improvements reaching up to $14\times$.
- Guaranteed Error Control: Reconstructed data strictly adhered to user-prescribed error bounds across a wide range of tolerances ($10^{-6}$ to $10^{-2}$).
- Throughput Overhead: The extra computation time required for interpolation and residual calculation introduced a throughput overhead ranging from 26% to 101%. However, the authors note this overhead is easily offset by the massive reductions in storage footprint and I/O transmission times.
Limitations and Future Work
- Interpolation Dependency: The efficiency of the framework is highly dependent on the choice of interpolation functions ($f$ and $g$). While the current implementation uses lightweight linear and cluster-based methods to maximize throughput, more sophisticated interpolation kernels could yield even smaller residuals at the cost of higher computation.
- End-to-End Time Evaluation: Future work will focus on evaluating the net time savings of the pipeline by directly factoring the compression overhead against the actual I/O time saved when writing smaller files to disk.
Summary updated