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

QPET: A Versatile and Portable Quantity-of-Interest-Preservation Framework for Error-Bounded Lossy Compression

Jinyang Liu, Pu Jiao, Kai Zhao, Xin Liang, Sheng Di, Franck CappelloarXiv 2024

TL;DR

QPET is a versatile, "plug-and-play" framework that ensures lossy compression doesn't ruin the specific scientific metrics (Quantities of Interest) researchers actually care about. By using numerical strategies to calculate custom error bounds for every single data point, it achieves up to 10x faster compression and significantly higher compression ratios than existing specialized solutions.

What Problem Does This Paper Address?

Scientific simulations generate staggering amounts of data—sometimes petabytes in a single run. To store and move this data, researchers use error-bounded lossy compression, which shrinks files while guaranteeing that the decompressed values stay within a tiny margin (the error bound) of the original data.

The catch? Scientists rarely care about the raw data points themselves. Instead, they care about Quantities of Interest (QoIs)—derived values like kinetic energy, pressure gradients, or vorticity. Because many of these functions are non-linear, a tiny, "safe" error in the raw data can explode into a massive, misleading error in the QoI. Existing solutions to this problem are usually "one-trick ponies": they are hard-coded for one specific compressor or one specific type of math function, making them difficult to use in diverse scientific workflows.

Methods

The authors introduce QPET (QoI-oriented Point-wise Error-bound Tuning). Rather than building a new compressor from scratch, they designed a modular framework that can be integrated into existing state-of-the-art compressors like SZ3, HPEZ, and SPERR.

The framework consists of several key modules:

  • QoI Analyzer: Uses symbolic math to understand the derivatives of the user's target function.
  • Point-wise Error Bound Estimator: This is the "secret sauce." Instead of applying one flat error bound to the whole dataset, QPET uses a second-order Taylor expansion to estimate how much "slack" each individual data point has. If a point has a huge impact on the QoI, QPET gives it a tight bound; if it has a low impact, it allows more compression.
  • Global Error Bound Auto-tuner: Optimizes the trade-off between the data's compression ratio and the overhead of storing all those custom point-wise bounds.
  • QoI Validator: A final safety check that identifies any "outlier" points where the QoI error might still exceed the threshold and stores them losslessly to guarantee 100% compliance.
Figure 1: QPET framework and integration

Datasets

The researchers evaluated QPET across six diverse, real-world scientific datasets:

  1. Miranda: Turbulence simulation.
  2. Hurricane: Weather modeling.
  3. RTM: Seismic wave analysis.
  4. NYX: Cosmology simulation.
  5. SEGSalt: Geophysical exploration.
  6. SCALE-LetKF: Climate modeling.

These datasets cover a wide range of fields and data characteristics, ensuring the framework's "versatility" claim holds up.

Key Insights and Ideas

  • Numerical over Analytical: Previous methods tried to solve the "perfect" error bound analytically for every function. QPET uses numerical approximations (like Taylor expansions), which allows it to support almost any differentiable function (polynomials, logs, exponentials, etc.) without manual re-coding.
  • Sensitivity Matters: In many scientific functions, some data points are far more "sensitive" than others. By identifying and protecting these sensitive points while being aggressive elsewhere, QPET finds a "sweet spot" for compression that general-purpose tools miss.
  • Portability is King: By treating the compressor as a "black box" and only tuning the error bounds fed into it, QPET can immediately benefit from future improvements in compression technology.
Figure 2: Analytical and estimation point-wise data error bounds of different QoI function 𝑓(𝑥) and error threshold 𝑡.

Key Results

QPET was tested against "parameter-search" methods (which guess-and-check error bounds) and existing QoI-specific compressors.

  • Speed: QPET-integrated compressors were 2x to 10x faster than parameter-search baselines. Because QPET calculates the right bounds mathematically on the first pass, it avoids the expensive "compress-check-retry" loop.
  • Compression Ratio: QPET achieved up to 1000% higher compression ratios than general-purpose compressors on certain tasks (like preserving $x^3$ in the NYX dataset) while maintaining the same QoI accuracy.
  • Throughput: As shown in the performance charts, QPET maintains high throughput, often outperforming existing QoI-preserving tools like QoI-SZ3 by 2x to 3x in compression speed.
Compression speed comparison across different datasets. QPET (dark blue/orange/dark grey) consistently outperforms baselines.

Limitations and Future Work

While QPET is a major step forward, the authors note a few areas for growth:

  • Differentiability: The current numerical strategy relies on functions being differentiable. While this covers most common scientific QoIs, it might struggle with "discrete" or non-smooth features.
  • Computational Overhead: Although faster than search-based methods, calculating point-wise bounds still adds some overhead. Future work will focus on further optimizing these calculations to boost throughput.
  • Expanded Formats: The team plans to extend support to even more complex QoI formats used in specialized scientific domains.

Summary updated

BibTeX
@misc{liu2024qpet,
  author = {Jinyang Liu and Pu Jiao and Kai Zhao and Xin Liang and Sheng Di and Franck Cappello},
  title = {{QPET: A Versatile and Portable Quantity-of-Interest-Preservation Framework for Error-Bounded Lossy Compression}},
  year = {2024},
  eprint = {2412.02799},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.02799},
}
Figure