NeurLZ: On Enhancing Lossy Compression Performance based on Error-Controlled Neural Learning for Scientific Data

Wenqi Jia, Youyuan Liu, Zhewen Hu, Jinzhen Wang, Boyuan Zhang, Wei Niu, Junzhou Huang, Stavros Kalafatis, Sian Jin, Miao Yin · DOI

Overview

NeurLZ is a novel "quality enhancer" for scientific data compression that utilizes tiny, online-trained neural networks to correct errors introduced by traditional lossy compressors. By training lightweight models on-the-fly, it achieves up to a 94% reduction in bit rate compared to state-of-the-art methods while maintaining high data fidelity and strict error bounds.

The Challenge: Data Explosion in HPC

Modern scientific simulations, such as those for weather forecasting or cosmology, generate terabytes of data daily. Researchers rely on lossy compression (e.g., SZ3, ZFP) to manage storage and bandwidth. However, these traditional tools often struggle to balance high compression ratios with data quality, particularly for irregular or "spiky" datasets.

Previous deep learning (DL) approaches faced three major hurdles:

  1. Data Shift: Models trained on one simulation type perform poorly on others.
  2. Model Size: Massive AI models are too slow and memory-intensive for High-Performance Computing (HPC) environments.
  3. Error Control: Scientists require strict guarantees that compressed data won't deviate from the original beyond a specific "error bound," a requirement black-box AI models typically cannot meet.

Methods: Online Residual Learning

NeurLZ shifts the paradigm from offline generalization to online customization. Instead of a pre-trained giant model, it trains a tiny model (approx. 3,000 parameters) during the compression process itself.

NeurLZ error residual learning and file format breakdown showing how the model captures the error of conventional decompression.

Key Innovations:

  • Residual Learning: The model learns to predict the residual error—the difference between the original data and the output of a traditional compressor—rather than the raw data itself.
  • Lightweight Skipping DNNs: Small models with skip connections capture patterns across spatial scales without the overhead of standard deep architectures.
  • Flexible Error Bounding: NeurLZ offers a "Strict" mode that records outlier coordinates to ensure data stays within user-defined bounds, and a "Relaxed" mode that uses mathematical constraints (Sigmoid layers) for better visual smoothness.

Key Results and Insights

Evaluating NeurLZ on HPC datasets like Nyx (cosmology), Miranda (turbulence), and Hurricane (weather) revealed significant performance gains:

  • Bit Rate Reduction: NeurLZ achieved an 89% reduction in bit rate within just five training epochs, eventually reaching a 94% reduction compared to SZ3 at equivalent distortion levels.
  • Visual Fidelity: Isosurface renderings of the Miranda dataset demonstrate that NeurLZ produces significantly fewer artifacts and smoother surfaces than traditional compression methods.
Comparison of isosurface renderings showing the improved visual fidelity and reduced artifacts achieved by NeurLZ.
  • Scalability: The method's efficiency increases with data dimensionality. On a 2048³ grid, it maintained a 93.9% bit rate reduction, making it highly suitable for future Exascale supercomputers.

Limitations and Future Work

While NeurLZ offers superior compression, training a neural network during the compression phase introduces computational overhead. This makes it ideal for long-term storage where bit rate is the priority, but potentially less suitable for real-time applications requiring extreme speed. Future research will focus on parallel optimization to reduce training time and addressing "sample conflict" issues that occur at extremely high precision levels (e.g., error bounds of 1E-5).

Summary updated

BibTeX
@inproceedings{jia2025neurlz,
  author = {Wenqi Jia and Youyuan Liu and Zhewen Hu and Jinzhen Wang and Boyuan Zhang and Wei Niu and Junzhou Huang and Stavros Kalafatis and Sian Jin and Miao Yin},
  title = {{NeurLZ: On Enhancing Lossy Compression Performance based on Error-Controlled Neural Learning for Scientific Data}},
  booktitle = {ICS},
  year = {2025},
  doi = {10.1145/3721145.3725763},
}
Figure