GraphComp: Extreme Error-bounded Compression of Scientific Data via Temporal Graph Autoencoders

Guozhong Li, Muhannad Alhumaidi, Spiros Skiadopoulos, Ibrahim Hoteit, Panos KalnisarXiv 2025 · DOI · arXiv

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:

  1. 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.
  2. 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.
  3. 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.
Overview of the GraphComp pipeline, showing the transition from raw scientific data to a compressed latent representation and back.

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 T-AutoG architecture uses shared-weight GCNs for spatial learning and CNNs for temporal patterns.

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

Abstract

The generation of voluminous scientific data poses significant challenges for efficient storage, transfer, and analysis. Recently, error-bounded lossy compression methods emerged due to their ability to achieve high compression ratios while controlling data distortion. However, they often overlook the inherent spatial and temporal correlations within scientific data, thus missing opportunities for higher compression. In this paper we propose GRAPHCOMP, a novel graph-based method for error-bounded lossy compression of scientific data. We perform irregular segmentation of the original grid data and generate a graph representation that preserves the spatial and temporal correlations. Inspired by Graph Neural Networks (GNNs), we then propose a temporal graph autoencoder to learn latent representations that significantly reduce the size of the graph, effectively compressing the original data. Decompression reverses the process and utilizes the learnt graph model together with the latent representation to reconstruct an approximation of the original data. The decompressed data are guaranteed to satisfy a user-defined point-wise error bound. We compare our method against the state-of-the-art error-bounded lossy methods (i.e., HPEZ, SZ3.1, SPERR, and ZFP) on large-scale real and synthetic data. GRAPHCOMP consistently achieves the highest compression ratio across most datasets, outperforming the second-best method by margins ranging from 22% to 50%.
BibTeX
@misc{li2025graphcomp,
  author = {Guozhong Li and Muhannad Alhumaidi and Spiros Skiadopoulos and Ibrahim Hoteit and Panos Kalnis},
  title = {{GraphComp: Extreme Error-bounded Compression of Scientific Data via Temporal Graph Autoencoders}},
  year = {2025},
  eprint = {2505.06316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.06316},
}
Figure