Multi-Scale Texture Loss for CT denoising with GANs

Francesco Di Feola, Lorenzo Tronchin, Valerio Guarrasi, Paolo SodaarXiv 2024 · DOI

TL;DR

This paper introduces the Multi-Scale Texture Loss Function (MSTLF), a novel approach that embeds complex, multi-scale texture information directly into GAN-based frameworks for low-dose CT denoising. By developing a differentiable version of the classic Gray-Level Co-occurrence Matrix (GLCM) and using self-attention to dynamically aggregate texture features across scales, the authors achieve superior noise reduction while preserving critical clinical details across multiple GAN architectures.

What Problem Does This Paper Address?

Computed Tomography (CT) scans are vital diagnostic tools, but the ionizing radiation they use poses health risks. To minimize exposure, clinical practice increasingly favors Low-Dose CT (LDCT) protocols. However, reducing the radiation dose introduces significant noise and artifacts, which can obscure fine anatomical details and compromise diagnostic accuracy.

While Generative Adversarial Networks (GANs) have emerged as a powerful tool for image denoising, they heavily rely on their loss functions to guide the generation of clean images. Standard pixel-wise loss functions (like $L_1$ or $L_2$ norms) tend to produce overly blurred images, while deep perceptual losses (often pre-trained on natural image datasets like ImageNet) frequently fail to translate well to the specialized, highly specific textures found in medical imaging. This paper addresses the lack of a dedicated, differentiable loss function capable of explicitly capturing and preserving multi-scale texture information in medical scans.

Methods

The authors propose the Multi-Scale Texture Loss Function (MSTLF), which integrates traditional texture analysis with end-to-end deep learning optimization. The framework consists of two primary innovations:

  1. Differentiable GLCM via Soft Assignment: The Gray-Level Co-occurrence Matrix (GLCM) is a classic, handcrafted texture descriptor that counts how often pairs of pixel intensities occur in specific spatial and angular relationships. Because standard histogramming is discrete and non-differentiable, it cannot normally be used in gradient-based optimization. The authors overcome this by implementing a Gaussian soft assignment function to continuously map pixel values to predefined bins, making the entire GLCM pipeline fully differentiable.
  2. Dynamic Self-Attention Aggregation: Texture features change depending on the scale. Instead of relying on static mathematical operators (like maximum or average) to combine texture descriptors across different spatial offsets and angles, the authors introduce a Self-Attention (SA) mechanism. This allows the model to dynamically weight and integrate multi-scale texture information based on the context of the image during training.
Overall framework of MSTLF, detailing the Multi-Scale Texture Extractor (MSTE) and the Self-Attention (SA) aggregation module.

The resulting texture loss ($\mathcal{L}_{txt}$) is combined with standard baseline losses and validated across three distinct GAN backbones: Pix2Pix (paired), CycleGAN (unpaired), and UNIT (unpaired).

Datasets

The method was evaluated using three publicly available datasets to ensure robustness across both simulated and real-world clinical scenarios:

  • Dataset A (Mayo Clinic LDCT-and-Projection Data): Contains thoracic and abdominal scans from 17 patients, where low-dose images were simulated using a quarter-dose protocol. This provided paired data for ground-truth comparison.
  • Dataset B (LIDC/IDRI): Real-world clinical scans from 8 patients, providing an unpaired dataset.
  • Dataset C (ELCAP Public Image Database): Real-world clinical scans from 50 patients, further validating the model on large-scale, unpaired data.

Key Insights and Ideas

  • Bridging Handcrafted Features and Deep Learning: Instead of completely abandoning classic texture descriptors in favor of pure deep learning features, this paper demonstrates that making traditional tools (like GLCM) differentiable can inject valuable domain-specific inductive biases into neural networks.
  • The Power of Dynamic Weighting: Static aggregation methods (like taking the average discrepancy across scales) favor paired distortion metrics like PSNR. In contrast, dynamic aggregation via self-attention excels at optimizing no-reference perceptual metrics (NIQE/PIQUE), proving that how you combine multi-scale data matters just as much as the data itself.
  • Backbone Agnosticism: The MSTLF framework acts as a plug-and-play loss component. It consistently improved performance regardless of whether it was paired with Pix2Pix, CycleGAN, or UNIT, showcasing its versatility.

Key Results

The authors compared MSTLF against five state-of-the-art loss functions (including VGG perceptual loss, SSIM loss, and Charbonnier edge loss):

  • Quantitative Performance: On the simulated dataset, static variants (MSTLF-average) achieved the highest PSNR and lowest MSE for Pix2Pix and CycleGAN. Meanwhile, the dynamic variant (MSTLF-attention) significantly outperformed all competitors in blind perceptual metrics (NIQE and PIQUE) across all three datasets.
  • Perception-Distortion Trade-Off: In a distance-based ranking evaluating the trade-off between image distortion (MSE) and human perception (NIQE/PIQUE), MSTLF-attention achieved the best global rank across all tested architectures.
  • Qualitative Edge Preservation: Visual inspections confirmed that MSTLF-attention effectively suppressed noise in uniform tissue areas while sharply preserving fine-grained details, such as lung boundaries, which competitor methods frequently blurred out.

Limitations and Future Work

The primary drawback of the proposed method is its computational cost. Constructing the Soft GLCM involves calculating the outer product of soft assignment vectors for each pixel pair, yielding a total computational complexity of $\mathcal{O}(N \cdot n^2)$, where $N$ is the number of pixels and $n$ is the number of gray-level bins. This added complexity increased training times by up to 65% compared to baseline models.

For future work, the authors plan to optimize this computational efficiency to make the framework viable for resource-constrained, real-time clinical applications. They also suggest exploring the integration of MSTLF with other generative model families, such as diffusion models, and expanding its validation to non-medical imaging domains.

Summary updated

BibTeX
@misc{feola2024multi,
  author = {Francesco Di Feola and Lorenzo Tronchin and Valerio Guarrasi and Paolo Soda},
  title = {{Multi-Scale Texture Loss for CT denoising with GANs}},
  year = {2024},
  eprint = {2403.16640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.16640},
}
Figure