English

LLMComp: A Language Modeling Paradigm for Error-Bounded Scientific Data Compression (Technical Report)

Machine Learning 2025-11-06 v2 Artificial Intelligence

Abstract

The rapid growth of high-resolution scientific simulations and observation systems is generating massive spatiotemporal datasets, making efficient, error-bounded compression increasingly important. Meanwhile, decoder-only large language models (LLMs) have demonstrated remarkable capabilities in modeling complex sequential data. In this paper, we propose LLMCOMP, a novel lossy compression paradigm that leverages decoder-only large LLMs to model scientific data. LLMCOMP first quantizes 3D fields into discrete tokens, arranges them via Z-order curves to preserve locality, and applies coverage-guided sampling to enhance training efficiency. An autoregressive transformer is then trained with spatial-temporal embeddings to model token transitions. During compression, the model performs top-k prediction, storing only rank indices and fallback corrections to ensure strict error bounds. Experiments on multiple reanalysis datasets show that LLMCOMP consistently outperforms state-of-the-art compressors, achieving up to 30% higher compression ratios under strict error bounds. These results highlight the potential of LLMs as general-purpose compressors for high-fidelity scientific data.

Keywords

Cite

@article{arxiv.2510.23632,
  title  = {LLMComp: A Language Modeling Paradigm for Error-Bounded Scientific Data Compression (Technical Report)},
  author = {Guozhong Li and Muhannad Alhumaidi and Spiros Skiadopoulos and Panos Kalnis},
  journal= {arXiv preprint arXiv:2510.23632},
  year   = {2025}
}
R2 v1 2026-07-01T07:08:10.798Z