L-Diffusion: Laplace Diffusion for Efficient Pathology Image Segmentation

Weihan Li, Linyun Zhou, YangJian, Shengxuming Zhang, Xiangtong Du, Xiuming Zhang, Jing Zhang, ChaoqingXu, Mingli Song, Zunlei FengICML 2025

TL;DR

L-Diffusion reimagines the standard diffusion model by swapping traditional Gaussian noise for Laplace distributions to better handle the complex, "long-tail" distributions found in gigapixel pathology images. By combining this mathematical shift with contrastive learning on pixel latent vectors, the framework achieves massive performance gains—up to 26% in mean pixel accuracy—while remaining efficient enough for real-world clinical data.

The Challenge of Pathology Image Segmentation

Pathology image segmentation is the gold standard for cancer diagnosis, but it presents a unique nightmare for computer vision. These images are massive (often gigapixels in size), contain features at wildly different scales, and suffer from a severe "long-tail" problem. Common tissues dominate the image, while the most critical diagnostic markers—like specific tumor cells—might be incredibly rare.

Existing models, including standard Denoising Diffusion Probabilistic Models (DDPMs), often struggle to distinguish these rare "tail-class" components. Most diffusion models rely on Gaussian noise, which assumes a relatively smooth, bell-curved distribution of data. In the messy, multi-modal world of pathology, this "one-size-fits-all" Gaussian approach leads to blurry feature separation and poor accuracy on rare classes. Furthermore, annotating these images is labor-intensive, creating a pressing need for models capable of learning robust representations from limited labeled data.

Enter L-Diffusion: A Methodological Shift

To address these bottlenecks, the authors introduce L-Diffusion, a framework tailored for efficient pathology image segmentation that departs from standard practices in two major ways:

1. Laplace Distribution Modeling

Instead of adding Gaussian noise during the forward diffusion process, L-Diffusion utilizes multiple Laplace distributions. Theoretically, the gradient of a Laplace distribution is proportional to the sign of the value, whereas a Gaussian gradient is proportional to the value itself.

Probability density distributions over diffusion steps, comparing standard and Laplace approaches.

This mathematical shift makes the Laplace model much more sensitive to noise perturbations near zero and allows it to "decay" faster in the tails. Consequently, it yields a much sharper separation between different tissue types in the feature space. The model remains "alert" to subtle differences between classes that Gaussian models would simply smooth over.

2. Pixel Latent Vector Contrastive Learning

The model doesn't just look at the final denoised image. It treats the sequence of feature maps across all diffusion steps ($T$) as a temporal evolution. Each pixel is represented as a "latent vector" across time. The authors apply contrastive learning to these vectors, effectively "pushing" vectors of different tissue classes apart and "pulling" similar ones together.

The refined, highly discriminative vectors are then fed into a segmentation module (based on the ConvNeXT architecture) to produce final, high-precision masks.

Key Insights: Diffusion as a Feature Extractor

Rather than just using diffusion to generate images, L-Diffusion uses the process of denoising as a way to build a multi-dimensional signature for every pixel. Rare cells and common stroma "denoise" differently, and the model captures this unique trajectory.

Denoising process and the corresponding separation of cell classes (apoptosis, tumor, background) across diffusion steps.

The authors also prioritized efficiency over complexity. They compared Laplace noise against other heavy-tailed distributions like Cauchy and Student’s $t$. While Student’s $t$ is accurate, it is computationally expensive. Laplace provides the best "bang for the buck," offering superior accuracy with significantly lower runtime.

Datasets and Key Results

The researchers validated L-Diffusion across six diverse datasets, including tissue segmentation (CRCD, PUMA, BCSS), cellular segmentation (PanNuke, internal subsets), and even a remote sensing dataset (Massachusetts-Building) to prove its generalization capabilities.

L-Diffusion consistently outperformed state-of-the-art (SOTA) models like SAMPath, DeepLabv3+, and various Transformer-based architectures:

  • Tissue Segmentation: On the PUMA dataset, it achieved a staggering 26.74% improvement in Mean Pixel Accuracy (MPA) and a 15.11% boost in mIoU.
  • Cell Segmentation: It saw improvements of up to 20.09% in DICE score on cellular datasets.
  • Low-Data Regime: Perhaps most impressively, L-Diffusion with only 30% of annotated data performed comparably to other SOTA models using 100% of the data, highlighting its efficiency in learning from limited labels.

Limitations and Future Work

While L-Diffusion significantly reduces the need for massive datasets, it still requires a subset of annotated images for the contrastive learning phase. The segmentation module's performance remains tied to the quality and quantity of these labels.

Looking ahead, the team aims to explore unsupervised versions of this framework. This could potentially allow the model to discover and segment distinct tissue components in gigapixel images without any human labels at all, further optimizing the tool for rare disease research where data is exceptionally scarce.

Summary updated

BibTeX
@inproceedings{li2025l,
  author = {Weihan Li and Linyun Zhou and YangJian and Shengxuming Zhang and Xiangtong Du and Xiuming Zhang and Jing Zhang and ChaoqingXu and Mingli Song and Zunlei Feng},
  title = {{L-Diffusion: Laplace Diffusion for Efficient Pathology Image Segmentation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=2veJwf07RN},
}
Figure