Introduction
Modern scientific simulations, such as climate modeling and seismic analysis, generate staggering volumes of data that often reach petabytes. Storing and transferring this information is a massive bottleneck in high-performance computing. While lossless compression preserves data perfectly, it rarely achieves more than a 2x reduction. Lossy compression can achieve much higher ratios, but scientists require strict guarantees that the errors introduced will not invalidate their results.
Existing "error-bounded" lossy compressors (like SZ or ZFP) typically operate on regular grids. However, scientific phenomena often exhibit complex, irregular spatial patterns and intricate temporal dynamics that grid-based methods fail to capture efficiently. GraphComp addresses this "compression gap" by treating scientific grid data as a temporal graph to unlock extreme compression ratios, outperforming state-of-the-art compressors by 22% to 50% while strictly guaranteeing data integrity.
Methods
GraphComp moves away from rigid grids and instead models data as a dynamic graph. The pipeline consists of three main stages:
- Data Segmentation and Graph Initialization: The framework uses the Felzenszwalb algorithm to partition data snapshots into irregular, roughly homogeneous regions. To minimize overhead, a dynamic programming approach selects "meta-timestamps" to represent the spatial structure of surrounding frames. These regions become nodes in a graph, with features representing mean values.
- Temporal Graph Autoencoder (T-AutoG): This core learning component uses Graph Convolutional Networks (GCNs) for spatial embeddings and Convolutional Neural Networks (CNNs) to capture temporal evolution, compressing high-dimensional graph data into a compact latent representation.
- Grid Reconstruction and Error Bounding: During decompression, the latent representation is decoded to reconstruct the graph and mapped back to the original grid. To ensure the point-wise error bound ($\epsilon$) is met, GraphComp calculates residual errors, quantizes them, and compresses them losslessly using Huffman encoding and Zstd.
Key Insights and Ideas
Graphs vs. Grids
By segmenting data into irregular regions, GraphComp groups similar values more effectively than a fixed grid, particularly in areas with complex boundaries like coastlines or weather fronts. This irregular modeling allows the system to capture spatial correlations that traditional block-based methods miss.
Temporal Exploitation
Most existing compressors focus on spatial blocks. GraphComp’s T-AutoG architecture explicitly targets temporal correlations across hundreds or thousands of timestamps. This is where the most significant redundancy often lies in scientific time-series data.
The "Meta-Timestamp" Balance
A key innovation is the optimization of segmentation storage. By using dynamic programming to find the optimal number of meta-timestamps, the authors balance the accuracy of the spatial model against the storage cost of the segmentation metadata.
Evaluation and Results
The authors evaluated GraphComp on diverse datasets, including REDSEA (high-resolution reanalysis), ERA5 (climate reanalysis), and standard benchmarks like MIRANDA and SCALE.
- Superior Compression: GraphComp consistently achieved the highest compression ratios. For the REDSEA temperature dataset at a relative error bound of $10^{-2}$, it achieved a 141.75x compression ratio, outperforming SZ3.1 by roughly 35%.
- Temporal Scaling: Unlike traditional methods that show diminishing returns as more timestamps are added, GraphComp’s performance improves with more data, demonstrating its ability to learn long-term temporal dynamics.
- High Fidelity: In Peak Signal-to-Noise Ratio (PSNR) tests, GraphComp offered higher data quality at lower bit rates compared to SPERR, SZ3.1, and HPEZ.
Limitations and Future Work
Despite its performance, GraphComp requires a training phase for its autoencoder, adding complexity compared to "plug-and-play" mathematical compressors. Additionally, its advantage narrows on small datasets (e.g., < 500 timestamps) where there isn't enough temporal data for the T-AutoG to fully exploit. Future work may involve refining loss functions to further concentrate error distributions and exploring externally trained models to reduce local training overhead.
Summary updated