LVPNet: A Latent-Variable-Based Prediction-Driven End-to-End Framework for Lossless Compression of Medical Images

Chenyue Song, Chen Hui, Qing Lin, Wei Zhang, Siqiao Li, Haiqi Zhu, Shengping Zhang, Zhixuan Li, Shaohui Liu, Feng Jiang, Xiang Li

Abstract

Lossless compression is a critical requirement in medical imaging to ensure that no diagnostic information is lost during storage or transmission. Traditional deep learning approaches, such as Variational Autoencoders (VAEs), often suffer from posterior collapse, where latent variables become uninformative. We introduce LVPNet, an end-to-end framework that leverages global latent variables and a specialized quantization compensation module to achieve superior compression ratios and high-speed inference. LVPNet achieves a state-of-the-art bit rate of 2.65 BPP on Chest X-ray datasets, significantly outperforming traditional codecs and existing deep learning models.

Introduction

The increasing volume of medical imaging data necessitates efficient compression solutions that maintain bit-perfect fidelity. While deep learning models have shown promise, they often struggle with computational efficiency or fail to capture global spatial dependencies effectively. LVPNet addresses these challenges by processing images globally and utilizing a prediction-driven architecture that avoids the serial processing bottlenecks of autoregressive models.

Methodology

LVPNet's architecture is built around three core components designed to maximize information density and reconstruction accuracy.

The overall end-to-end framework of LVPNet, showing the progression from input image through GMSM, quantization, and entropy coding to final probabilistic prediction.

Global Multi-scale Sensing Module (GMSM)

To prevent posterior collapse, the GMSM extracts latent representations from the entire image rather than local patches. It aggregates features across multiple hierarchical levels of a convolutional neural network (CNN), using skip connections to preserve both low-level structural details (e.g., edges) and high-level semantic information (e.g., organ contours).

Quantization Compensation Module (QCM)

Quantization typically introduces noise that degrades prediction accuracy. LVPNet treats quantization as a learnable bias. The QCM is a dedicated sub-network that learns the error distribution introduced by the floor operation, refining the features before they are used for pixel prediction.

Architectural details of (a) the Global Multi-scale Sensing Module (GMSM) and (b) the Quantization Compensation Module (QCM).

End-to-End Probabilistic Prediction

The model predicts the probability distribution of pixel values globally based on the refined latent variables. These probabilities are then converted into a compact bitstream using arithmetic coding. By predicting the entire image at once, LVPNet achieves significant speedups over pixel-by-pixel autoregressive methods.

Experimental Results

LVPNet was evaluated on the Chest X-ray dataset as well as standard natural image benchmarks (CIFAR10, ImageNet32/64).

  • Compression Efficiency: On Chest X-ray images, LVPNet achieved 2.65 Bits Per Pixel (BPP), surpassing ArIB-BPS (2.74 BPP) and traditional PNG (3.07 BPP).
  • Inference Speed: The model demonstrates practical clinical utility with an encoding time of approximately 143ms and a decoding time of 184ms for a standard Chest X-ray sample.
  • Generalization: The framework maintained competitive performance on natural image datasets, proving its robustness across different image domains.

Conclusion

LVPNet provides a high-performance, end-to-end solution for lossless medical image compression. By combining global multi-scale sensing with intelligent quantization compensation, it overcomes the limitations of previous VAE-based and autoregressive models. Future work will explore extending this framework to 3D medical data, such as CT and MRI volumes.

Summary updated

BibTeX
@inproceedings{song2025lvpnet,
  author = {Chenyue Song and Chen Hui and Qing Lin and Wei Zhang and Siqiao Li and Haiqi Zhu and Shengping Zhang and Zhixuan Li and Shaohui Liu and Feng Jiang and Xiang Li},
  title = {{LVPNet: A Latent-Variable-Based Prediction-Driven End-to-End Framework for Lossless Compression of Medical Images}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
}
Figure