arXiv:2608.26912cs.PFAug 2026

Manuscript Offprint

arXiv:2608.26912

TOPIQ: Statistical Error Propagation for Quantity-of-Interest Prediction under Lossy Compression

Youyuan Liu, Bo Jiang, Taolue Yang, Sheng Di, Robert Underwood, Sian Jin

Youyuan Liu*, Bo Jiang*, Taolue Yang*, Sheng Di†, Robert Underwood†, Sian Jin*

*Department of Computer & Information Sciences, Temple University, Philadelphia, USA

†Mathematics and Computer Science Division, Argonne National Laboratory, Lemont, USA

Abstract—Lossy compression is essential for managing massive scientific data, but per-element error bounds do not translate into bounds on downstream quantities of interest (QoIs) such as regional averages, neural network predictions, or multi-field derived quantities. We present TOPIQ, a statistical error-propagation framework that predicts QoI-level bias and uncertainty from compact compression metadata (less than 0.1% of original data). TOPIQ decomposes QoIs into primitive operators with closed-form propagation rules accounting for spatial error correlation and data-error coupling; new QoIs are supported by composition at runtime with no per-QoI derivation or retraining. Across 552 evaluations spanning 4 datasets, 3 compressors, 4 QoI families, and 8 error bounds, 93.1% of configurations achieve well-calibrated predictions. Pre-computed metadata enables post-hoc uncertainty quantification for arbitrary query regions at 56x-402x speedup over direct computation. A case study demonstrates integration into an AI-driven analysis pipeline with end-to-end confidence intervals for dynamically composed queries.

Index Terms—Data compression, Lossy compression, Quantity of interest, Uncertainty quantification, High performance computing, Scientific data management

I. INTRODUCTION

Large-scale scientific simulations produce data at rates that far exceed storage and I/O capacity. Climate simulations can generate hundreds of terabytes every 16 seconds [1], [2]; Cosmology simulation such as Nyx simulation at 409634096^{3} resolution produces 2.8 TB per snapshot, reaching petabyte scale over a full campaign [3]; and fusion applications on exascale systems are projected to generate exabytes per run [1], [2]. This data volume poses fundamental challenges for storage, transfer, and post-hoc analysis, making compression a practical necessity rather than an optimization. Since lossless compression offers limited reduction for floating-point scientific data, error-bounded lossy compression has become the standard approach, offering substantially higher compression ratios while controlling per-element reconstruction error [4]–[7].

However, data-level error bounds do not directly translate into guarantees on downstream quantities of interest (QoIs), the derived analysis results that ultimately drive scientific interpretation and decision making. Scientists rarely inspect raw field values; they compute regional averages, derived physical quantities, or run inference models over compressed data. The gap between data-level fidelity and QoI-level reliability is especially critical as scientific workflows become more dynamic: AI-driven analysis pipelines and autonomous agents increasingly query compressed datasets at arbitrary locations and with QoIs not known at compression time [8], [9], making it impractical to fix the analysis target before compression. What is needed is a way to reason about the effect of compression on a broad class of QoIs, at any query location, after the data has already been compressed.

Compression errors propagate through application workflows in a QoI-dependent manner. Some QoIs remain stable under substantial perturbation, whereas others, especially those involving spatial aggregation, may amplify pixel-level errors by orders of magnitude when spatial correlation is present in the error field [1]. Traditional data-level metrics (pointwise error, PSNR, SSIM) are insufficient to capture these effects, because the relationship between data distortion and QoI distortion depends on the QoI's computational structure, the spatial correlation of errors, and the coupling between data values and their compression errors [10].

Existing work has mainly addressed this challenge through QoI-preserving compression. MGARD [11] provides guaranteed error control for bounded linear QoIs. cpSZ [12] and its extensions [13]–[15] preserve geometric features such as critical points and contour trees by deriving sufficient pointwise error bounds from the target QoI. QPET [1] further extends this idea to differentiable symbolic QoIs, primarily in the univariate setting, with limited multivariate support such as vector magnitude, through portable numerical error-bound tuning. Related efforts have also explored compressor tuning toward standard quality metrics, storage-budget-driven error-bound estimation, and learned quality prediction [16]–[19], but these do not model how compression errors propagate through downstream QoIs. All of the above are most effective when the target QoI is specified at compression time; their support is much weaker when the QoI is not known in advance or when analysis is performed later on previously compressed regions.

This limitation is becoming increasingly pressing as LLM-driven agents and autonomous analysis pipelines are deployed over scientific data [20]–[22]. Such systems dynamically compose queries at runtime—targeting arbitrary spatial regions, derived quantities, or multi-field comparisons making it impractical to anticipate every QoI at compression time.

We propose TOPIQ, a statistical error-propagation framework that addresses these limitations. Rather than preserving QoIs during compression or predicting quality metrics, TOPIQ

SC26, November 15-20, 2026, Chicago, Illinois, USA 979-8-3195-4789-7/26/$31.00 ©2026 IEEE characterizes the effect of compression on any runtime-defined QoI expressible through supported smooth primitive operators as a calibrated confidence interval, bias ± uncertainty, derived from compact error metadata (< 0.1% of the original data size). TOPIQ decomposes QoIs into primitive operators (linear, nonlinear, aggregation), each with a closed-form propagation rule that accounts for spatial error correlation and data-error coupling. New QoI are supported by composition at runtime, with no per-QoI derivation or retraining, a property that directly enables integration into AI-driven workflows where the QoI is constructed dynamically from user queries. Our main contributions are:

  1. A statistical error-propagation framework that predicts QoI-level bias and variance from compact per-block metadata, supporting runtime compositions of smooth linear, nonlinear, and aggregation operators. New QoIs are handled by composition, with no per-QoI derivation or retraining.

  2. Comprehensive empirical validation across 4 scientific datasets, 3 compressors (SZ3, SPERR, ZFP), and 4 QoI families including neural networks and multi-field ratios. Across 552 evaluations (several fields from 4 datasets, 3 compressors, 4 QoI families, 8 error bounds), 93.1% achieve well-calibrated predictions ( σz∈[0.7,1.3]\sigma_z \in [0.7, 1.3]); the failures are concentrated in two diagnosable mechanisms.

  3. Post-hoc spatial queries via pre-computed metadata (<0.1% of original data), enabling uncertainty quantification for arbitrary query regions without retaining the original data, and 56×56 \times to 402×402 \times faster than direct error computation on CESM-ATM dataset [23].

  4. A case study demonstrating integration into an AI-driven scientific analysis pipeline, where TOPIQ provides end-to-end confidence intervals for dynamically composed queries, a capability that QoIs-preserving compressors cannot offer for off-grid or runtime-defined QoIs.

References (33)