CAIEC: Co-Accelerating Inference and Entropy Coding for Learning-Based Scientific Data Compression
Wenjing Huang, Yuhan Chen, Bing Lu, Shuhan Zhang, Zedong Liu, Hansheng Wang, Zheng Wei, Yida Gu, Xingchen Liu, Zhuoru Zhang, Hao Hu, Shiyuan Fu, Jinyang Liu, Guangming Tan, Dingwen Tao
Abstract
Although learning-based scientific lossy compression can achieve strong rate--distortion performance, the original GPU implementations deliver less than 1~GB/s, limiting their practical deployment. Closing this throughput gap requires accelerating the complete learned-compression pipeline. We present CAIEC, a framework that co-accelerates model inference and latent entropy coding, the two major stages of learned-compression pipelines. On the inference side, CAIEC uses component-wise sensitivity profiling and quality-controlled precision recovery to derive a mixed-precision configuration under a user-specified quality budget. On the coding side, it introduces GA-ANS, a granularity-adaptive GPU ANS coder that combines parallel state decomposition with arithmetic and memory-access optimizations. CAIEC selects coding granularity according to the inference time of the quality-constrained precision configuration and pipelines both stages on separate GPU streams. Across two learned compression backbones and six real-world datasets, CAIEC achieves average compression/decompression throughputs of 23.40/15.23~GB/s on an NVIDIA H100 and 16.90/11.43~GB/s on an RTX~5090, with up to 112.72/101.04 speedups over the corresponding original CompressAI implementations using PyTorch FP32 inference and CPU ANS on H100. On CRA5-compressed ERA5 data, CAIEC increases compression/decompression throughput from 2.1/1.4 to 20.4/13.7~GB/s, with only minor accuracy degradation in an 8-day MPTRAC particle-trajectory simulation.
Create a lesson
Related papers
Robust Binary-Compressed Communication in Distributed Learning and the Optimality of SignSGD
Shared title terminologycs.DCHallison Paz, Arthur Danjou, El Mahdi El Mhamdi
ForkTide: Lineage-Aware Placement for Branching Code-Agent Sandboxes
Shared title terminologycs.DCQibin Gu
Activation-Aware Balancing of Fused CPU and GPU Expert Execution for Offline MoE Inference
Shared title terminologycs.DCBorui Xu, Weihao Cui, Yao Chen et al.
KVSeal: Serving Long-Context LLMs with Losslessly Compressed KV Caches
Shared title terminologycs.DCHangyu Liang, Zeyu Mi
Anatomy of a Data Pipeline in Deep Learning Training
Shared title terminologycs.DCJens Birk Andersen, Vivek Shah, Javier González et al.
GPUFREELINSCALELLM: Architecting Memory Hierarchy for Scalable LLM Inference on SIMD Multicores
Shared title terminologycs.DCMadhumitha Basetti, Vishva Ranjan Singh, Devashree Tripathy et al.