NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Abstract: Learned Image Compression for HE-stained Histopathological Images via Stain Deconvolution

Maximilian Fischer, Peter Neher, Tassilo Wald, Constantin Ulrich, Peter J. Schüffler, Shuhan Xiao, Silvia Dias Almeida, Alexander Muckenhuber, Rickmer Braren, Michael Götz, Jens Kleesiek, Marco Nolden, Klaus H. Maier-HeinBildverarbeitung für die Medizin 2025

Introduction

Digital pathology relies on Whole Slide Images (WSIs)—gigapixel-scale scans of tissue samples. These files are gargantuan, creating a massive storage and financial burden for healthcare institutions. While lossy compression like JPEG is standard during acquisition, further compression is often required for long-term archiving or remote consultation. However, JPEG was designed for natural images and human vision; at high compression ratios, it introduces artifacts that degrade the performance of downstream deep learning models used for automated diagnosis.

To address this, researchers have developed Stain Quantized Latent Compression (SQLC). This deep learning-based method incorporates "stain deconvolution" into the compression pipeline to preserve the biochemical information essential for AI diagnostic tools, outperforming traditional methods at extremely high compression ratios.

The SQLC Framework

The novelty of SQLC lies in combining domain-specific biological knowledge with modern Neural Image Compression (NIC). The pipeline consists of four main stages:

  1. Stain Deconvolution: The system separates the input RGB image into its constituent stains: Hematoxylin (nuclei), Eosin (cytoplasm), and DAB.
  2. Feature Fusion (The Stain Encoder): The 3 RGB channels and 3 HED (stain) channels are concatenated into a 6-channel input. This is processed by a specialized autoencoder, the "Stain Encoder" (SE), which fuses these domains into a compact representation.
  3. Quantized Latent Compression: This fused representation is fed into a NIC model based on a factorized prior architecture. The model applies non-linear transformations and quantization to minimize the bitrate.
  4. Optimized Loss: Training uses a "bitlength-distortion" optimization, balancing file size against image quality using Multi-Scale Structural Similarity Index (MS-SSIM) and Euclidean distance to ensure stain feature accuracy.
Overview of the SQLC pipeline including stain deconvolution, encoding, and neural compression.

Experimental Evaluation

The study utilized several histopathology datasets for training and evaluation. For compression training, the authors used H&E-stained breast and colon tissue images from the BreaKHis, Colon1, and Colon2 datasets. To evaluate the impact on downstream diagnostic tasks, they used the Camelyon16 dataset, where a pre-trained ResNet18 model classified patches as "metastasis" or "non-metastasis."

Key Insights

  • Inductive Bias: Simply modifying a standard neural compressor to handle 6 channels ($NICM_6$) directly performed poorly. The Stain Encoder provides a crucial inductive bias, guiding the network to learn meaningful biological representations before compression.
  • Preserving the H-Channel: Qualitative results showed that SQLC is significantly better at preserving the Hematoxylin channel (cell nuclei) compared to baseline neural compressors, which is vital for cancer diagnosis.

Results and Discussion

SQLC demonstrates a clear advantage over traditional and standard neural compression methods, particularly at high compression ratios.

  • Classification Stability: At a high compression ratio of 1:73, SQLC maintained an AUC of 86.5%. In contrast, JPEG performance dropped significantly at lower ratios (e.g., ~79% at 1:56), and the $NICM_6$ baseline plummeted to 63.9%.
  • Image Quality: SQLC consistently achieved higher MS-SSIM scores across various quality factors compared to baseline neural models, indicating superior preservation of structural details.
MS-SSIM comparison across different quality factors for SQLC and baseline models.

Conclusion

SQLC represents a significant step forward in clinical image management. By leveraging domain-specific knowledge through stain deconvolution, it achieves extreme compression without sacrificing the diagnostic utility of the images for AI models. Future work will explore extending this framework to Immunohistochemistry (IHC) stains and evaluating performance on other tasks like segmentation and cell detection.

Summary updated

BibTeX
@inproceedings{fischer2025abstract,
  author = {Maximilian Fischer and Peter Neher and Tassilo Wald and Constantin Ulrich and Peter J. Schüffler and Shuhan Xiao and Silvia Dias Almeida and Alexander Muckenhuber and Rickmer Braren and Michael Götz and Jens Kleesiek and Marco Nolden and Klaus H. Maier-Hein},
  title = {{Abstract: Learned Image Compression for HE-stained Histopathological Images via Stain Deconvolution}},
  booktitle = {Bildverarbeitung für die Medizin},
  year = {2025},
  doi = {10.1007/978-3-658-47422-5\_79},
}

Loading related content...

Figure