Machine Learning Techniques for Data Reduction of Climate Applications

Xiao Li, Qian Gong, Jaemoon Lee, Scott Klasky, Anand Rangarajan, Sanjay RankaarXiv 2024

TL;DR

This paper introduces a hybrid machine learning and deterministic pipeline for compressing massive climate simulation data. By using a customized UNet to identify critical regions of interest (like tropical cyclones and atmospheric rivers) and a Guaranteed Autoencoder (GAE) to enforce strict local error bounds, the method achieves up to double the compression ratios of existing state-of-the-art techniques without compromising downstream scientific analysis.

What Problem Does This Paper Address?

Modern climate simulations generate data at an unprecedented scale, rapidly outpacing our storage, computation, and network capacities. To cope, scientists rely on lossy data compression. However, standard lossy compressors apply a uniform error bound across the entire dataset.

This global approach is highly inefficient for climate science. Scientists are typically interested in specific, localized phenomena—known as Quantities of Interest (QoI)—such as tropical cyclones (TCs) or atmospheric rivers (ARs). A uniform compressor might introduce too much error into a small, critical storm region, ruining downstream tracking analysis, or it might over-preserve empty space, wasting valuable storage. The challenge lies in compressing data aggressively where nothing is happening, while guaranteeing high fidelity in regions where extreme weather events occur.

Methods

The authors propose a three-stage pipelined compression approach:

  1. ROI Detection (Deep Learning): The pipeline uses a customized UNet architecture to predict where QoIs are likely to be present. To jointly predict different climate events, the network splits into two decoder branches sharing a single encoder: a shallow branch for tropical cyclones (which are sparse and coordinate-focused) and a deep branch for atmospheric rivers (which feature complex spatial structures). The output is a probability map that can be thresholded to define Regions of Interest (ROIs).
  2. Guaranteed Autoencoder (GAE): The data is broken into spatiotemporal blocks and passed through a 3D convolutional autoencoder to capture spatial and temporal correlations. Crucially, to overcome the lack of error guarantees inherent to pure neural network compressors, the authors apply Principal Component Analysis (PCA) to the residual error (the difference between the original and reconstructed data). They retain just enough top PCA coefficients to mathematically guarantee that the reconstruction error stays below a target threshold ($\ell_2$ norm).
  3. Differential Compression: Finally, the pipeline applies a multi-level decomposition method (leveraging MGARD) to execute pixel-wise variable error bounds. ROI patches receive a strict, low-error bound, neighboring "buffer zones" receive a moderate bound, and non-ROI patches are compressed aggressively with a high-error bound.
Overview of the proposed compression pipeline, combining UNet-based ROI detection with a Guaranteed Autoencoder (GAE).

Datasets

The approach was validated using simulation data from a high-resolution configuration of the Energy Exascale Earth System Model (E3SM) spanning one year.

  • Variables used: Pressure at sea level (PSL), temperature at 500 hPa and 200 hPa (T500, T200), meridional and zonal wind speeds (VBOT, UBOT), and integrated vapor transport (IVT).
  • Size: The dataset was split into 34,560 images for training and 21,600 images for testing.
  • Ground Truth: Downstream tracking and detection labels for TCs and ARs were generated using TempestExtremes (v2.1), a standard climate feature-tracking software package.

Key Insights and Ideas

  • Hybridizing ML with Deterministic Bounds: Pure neural network compressors are notoriously difficult to bound mathematically. By using the autoencoder only for lossy representation and applying PCA to the residual, the authors create a safety net that guarantees user-specified error bounds are never violated.
  • Asymmetric Decoder Depths: The authors discovered that a shallow decoder branch is sufficient for tracking localized tropical cyclones, whereas atmospheric rivers require a deeper network to capture wide-spanning spatiotemporal structures.
  • Probability-Tuned Compression: Because the UNet outputs a continuous probability map, scientists can adjust the acceptance threshold to dynamically trade off between the false-negative rate of storm detection and the overall compression ratio.
Fig. 2: The structure of the autoencoder: Conv3D denotes the 3D convolution layer, FC denotes the fully connected layer, and h denotes the latent space. Leaky ReLU is adopted as the activation function. We use a 3D average pooling layer to reduce the size of features and trilinear upsampling for interpolation.

Key Results

The hybrid GAE-UNet pipeline significantly outperformed both uniform compression and previous region-adaptive methods:

  • ROI Accuracy: The UNet achieved a 0% false-negative ratio for tropical cyclones while isolating them to just 10% of the total data area. For atmospheric rivers, it achieved a false-negative ratio under 0.9% within an 8% area footprint.
  • Cyclone Preservation: For tropical cyclone tracking, GAE-UNet achieved an overall compression ratio of 60.1 with a tiny TC error rate of 0.29%. This represents a 50% compression ratio improvement over MGARD-UNet and a massive leap over uniform baseline methods.
  • Atmospheric River Preservation: For atmospheric rivers, GAE-UNet achieved a compression ratio of 23.4 with an Intersection-over-Union (IoU) accuracy of 99.4%, outperforming prior state-of-the-art region-adaptive methods by 1.5×.
Fig. 4: ROI ratio versus false negative ratio curve for TC and AR. These results show that a NN-based prediction approach for both TC and AR can achieve close to zero false negatives while keeping the ROIs to be less than 12 percent.

Limitations and Future Work

The paper does not explicitly detail its limitations, but a few open challenges are apparent:

  • Hyperparameter Tuning: The pipeline relies on several manually tuned thresholds, such as the percentage of pixels required to classify a patch as an ROI and the size of the buffer zones.
  • Generalizability: While highly effective for TCs and ARs, the framework's performance on other continuous or highly localized climate phenomena (e.g., wildfires or localized extreme precipitation) remains to be tested.

Summary updated

BibTeX
@misc{li2024machine,
  author = {Xiao Li and Qian Gong and Jaemoon Lee and Scott Klasky and Anand Rangarajan and Sanjay Ranka},
  title = {{Machine Learning Techniques for Data Reduction of Climate Applications}},
  year = {2024},
  eprint = {2405.00879},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.00879},
}
Figure