TL;DR
This paper introduces a novel spatiotemporal data compression framework that combines Variational Autoencoders (VAEs) with conditional latent diffusion models. By storing only a sparse set of quantized "keyframes" and using diffusion to generative-interpolate the missing frames, the method achieves up to 10× higher compression ratios than traditional rule-based compressors and up to 63% better performance than existing deep learning approaches—all while guaranteeing strict scientific error bounds.
What Problem Does This Paper Address?
Modern scientific simulations (like climate modeling or combustion physics) generate massive, high-resolution spatiotemporal datasets that overwhelm existing storage pipelines. Traditional rule-based lossy compressors (e.g., SZ3, ZFP) are fast but struggle to capture complex domain-specific features, leading to lower compression ratios at high fidelity.
On the other hand, emerging machine learning methods like VAEs and diffusion models offer excellent reconstruction fidelity but suffer from a massive flaw: they typically require storing latent representations for every single frame or data block. This overhead severely limits their compression efficiency. Furthermore, scientists cannot rely on pure generative synthesis; they require strict, quantifiable error-bound guarantees to ensure downstream scientific analysis remains valid.
Methods
The authors bridge this gap with a two-stage framework that treats a conditional diffusion model not as a random image generator, but as a learned, non-linear spatiotemporal interpolator.
- VAE with Hyperprior: In the first stage, a VAE encoder compresses 2D data frames into a compact latent space. To maximize compression, only a sparse selection of these frames—termed keyframes—are quantized and losslessly compressed using an entropy-coding hyperprior module.
- Latent Diffusion Module (LDM): Instead of saving the latent vectors for the intermediate frames, the framework uses a conditional diffusion model (built on a space-time attention UNet) to reconstruct them. The model takes noisy inputs for the missing frames and progressively denoises them, heavily guided by the stored neighbor keyframe latents as side information.
- Error Bound Guarantee: To satisfy strict scientific constraints, a post-processing module applies Principal Component Analysis (PCA) to the reconstruction residuals. It extracts and stores only the top $M$ coefficients required to bring the final reconstruction error below a user-defined threshold ($\tau$).
Datasets
The framework was evaluated across three distinct, large-scale scientific domains:
- E3SM (Climate Simulation): High-resolution atmospheric data mapping the Earth's surface onto a planar grid (5 variables, 8,640 hourly timesteps).
- S3D (Combustion Simulation): Spatiotemporal data tracking the ignition of hydrocarbon fuels (58 chemical species over 200 timesteps).
- JHTDB (Johns Hopkins Turbulence Database): Direct numerical simulation data capturing fully resolved isotropic turbulence (3D velocity fields across 256 timesteps).
Key Insights and Ideas
- Repurposing Diffusion as Splines: Instead of using diffusion models to synthesize data from scratch, this work cleverly repurposes them as high-dimensional, non-linear splines that fill temporal gaps in a statistically coherent, data-driven manner.
- The Power of Interpolation over Prediction: The authors experimented with three keyframe selection strategies: prediction-based (storing the first few frames), mixed, and interpolation-based (evenly distributing keyframes). Evenly distributed keyframes yielded significantly lower reconstruction errors because they provide a more gradual transition and bound the temporal distance to the conditioning data.
- Latent-Space Efficiency: Previous diffusion-based compressors applied the denoising process directly in the high-dimensional pixel/data space. Performing diffusion in the compact latent space instead drastically cuts down computational overhead and decoding times.
Key Results
- Superior Compression Ratios: Under the same reconstruction error (NRMSE), the proposed method achieves 4–10× higher compression ratios than rule-based state-of-the-art tools like SZ3 and ZFP. It also outperforms leading learning-based methods (like VAE-SR and CDC) by 20% to 63%.
- Massive Decoding Speedups: By fine-tuning the diffusion model to operate with significantly fewer denoising steps (reducing steps from 1,000 down to 32) and working entirely in the latent space, the method achieves massive speedups. On an NVIDIA A100 GPU, it achieves an encoding speed of 1942 MB/s and a decoding speed of 61 MB/s—outperforming alternative diffusion methods (like GCD) by over 200× in decoding speed.
Limitations and Future Work
The primary bottleneck of the current implementation lies in its hybrid execution model. While the core VAE and diffusion inference steps run incredibly fast on the GPU, the PCA-based error-bounding post-processing module is currently implemented on the CPU. This creates a computational bottleneck that slows down the overall end-to-end pipeline.
The authors note that their immediate future work focuses on porting and optimizing this error-correction component into native GPU implementations to achieve a fully GPU-accelerated, end-to-end compression and decompression pipeline.
Summary updated