NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Toward Quantity-of-Interest Preserving Lossy Compression for Scientific Data

Pu Jiao, Sheng Di, Hanqi Guo, Kai Zhao, Jiannan Tian, Dingwen Tao, Xin Liang, Franck CappelloPVLDB 2022

Abstract

Modern scientific simulations generate massive datasets, making lossy compression essential for storage and transfer. However, traditional compressors focus on raw data error, often compromising the scientific validity of derived Quantities of Interest (QoIs). This paper presents a novel framework that maps user-defined QoI tolerances to pointwise error bounds, ensuring scientific accuracy while achieving superior compression ratios. Evaluations on real-world datasets demonstrate up to 4x better compression compared to state-of-the-art methods with guaranteed feature preservation.

Introduction: The Semantic Gap in Data Reduction

Scientific simulations in fields like climate modeling and cosmology produce hundreds of petabytes of data. While lossy compression is a necessary tool to manage this volume, its adoption is hindered by a "semantic gap." Standard compressors like SZ or ZFP control error at the level of individual data points (e.g., ensuring a 1% maximum relative error). However, scientists typically analyze derived properties—Quantities of Interest (QoIs)—such as kinetic energy, regional averages, or isosurface topology.

Visualizing various Quantities of Interest (QoIs) derived from a single scientific dataset.

A small error in raw data can propagate non-linearly, leading to significant inaccuracies in these critical metrics. Consequently, researchers often resort to conservative, inefficient compression settings to avoid "breaking" their science.

A QoI-Preserving Compression Framework

The authors propose a framework that bridges this gap by deriving analytical mappings from a user-specified QoI tolerance ($\tau$) to a pointwise error bound ($\epsilon$). This allows the compressor to be "physics-aware," applying tighter constraints only where necessary to preserve the final scientific result.

System Architecture

The framework is designed as a modular layer that sits atop existing prediction-based compression pipelines. It consists of two primary components: a QoI preservation module and the compression engine itself.

The proposed compression pipeline, decoupling QoI preservation from the core compression logic.

Technical Components

  1. Univariate and Multivariate Strategies: The framework handles simple functions (polynomials, logs) through direct analytical derivation. For multivariate QoIs like regional averages, it employs a sequential strategy. As the compressor processes each point, it uses previously decompressed neighbor values to dynamically adjust the current point's error bound, allowing for error cancellation and higher efficiency.
  2. Arithmetic Closure: The authors prove that if individual QoIs are preservable, their combinations (sums, products, compositions) are also preservable. This enables the framework to support complex, custom scientific formulas.
  3. Decoupled Design: By separating the QoI solver from the compressor (e.g., SZ3), the system remains flexible and easily adaptable to new scientific metrics or future compression algorithms.

Evaluation and Key Results

The framework was tested using the SDRBench suite, including datasets from climate science (Hurricane Isabel, SCALE), cosmology (NYX), and quantum mechanics (QMCPACK).

  • Efficiency: The method achieved compression ratios up to 4x higher than state-of-the-art compressors like MGARD and ZFP while maintaining the same QoI error target. This efficiency stems from the ability to use non-uniform, pointwise error bounds rather than a single global "worst-case" bound.
  • Topological Integrity: In isosurface extraction tasks, the framework achieved zero false positives or negatives. Unlike traditional methods that might introduce artifacts like "islands" or "holes," this approach ensures the physical features of the data remain intact.
  • Multi-QoI Support: The system can simultaneously preserve multiple scientific properties by calculating the intersection of their required error bounds at every point.

Conclusion and Future Outlook

This research shifts the focus of lossy compression from raw data fidelity to scientific utility. By providing rigorous mathematical guarantees for derived metrics, it offers a path for scientists to confidently use high-ratio lossy compression. Future work will focus on reducing computational overhead through hardware acceleration and extending the framework to handle stochastic or irreversible analysis methods.

Summary updated

BibTeX
@article{jiao2022toward,
  author = {Pu Jiao and Sheng Di and Hanqi Guo and Kai Zhao and Jiannan Tian and Dingwen Tao and Xin Liang and Franck Cappello},
  title = {{Toward Quantity-of-Interest Preserving Lossy Compression for Scientific Data}},
  journal = {Proc. VLDB Endow.},
  year = {2022},
  doi = {10.14778/3574245.3574255},
}
Figure