Impact of loss functions on the performance of a deep neural network designed to restore low-dose digital mammography

Hongming Shan, Rodrigo de Barros Vimieiro, Lucas Rodrigues Borges, Marcelo Andrade da Costa Vieira, Ge Wang · DOI

TL;DR

This paper introduces a Hierarchical Residual Network (HResNet) designed to restore low-dose digital mammography images to standard full-dose quality, significantly reducing patient radiation risk. By systematically evaluating various loss functions, the authors demonstrate that deep perceptual loss (PL4) successfully prevents the over-smoothing typical of standard metrics, preserving critical diagnostic details like microcalcifications while maintaining realistic noise textures.

What Problem Does This Paper Address?

Digital mammography is the gold standard for breast cancer screening, but it exposes patients to ionizing radiation. While the clinical benefits far outweigh the risks, the medical imaging community operates under the ALARA principle (As Low As Reasonably Achievable).

However, simply lowering the X-ray tube current-time product (mAs) introduces significant quantum and electronic noise. In mammography, this noise can mask subtle, high-frequency clinical features such as microcalcifications (MCs)—tiny calcium deposits that are often the earliest sign of breast cancer.

Deep learning models can denoise these images, but standard training objectives like Mean Squared Error (MSE) or Mean Absolute Error (MAE) optimize for pixel-level averages. This results in clinically unacceptable "plastic-looking," over-smoothed images where vital diagnostic details are smeared away. This paper tackles the challenge of finding a loss function that balances noise suppression with the strict preservation of structural details.

Methods

The authors propose a novel Hierarchical Residual Convolutional Neural Network (HResNet) tailored for low-dose image restoration.

Figure 1: Architecture of the proposed network used in this study.

The architecture stands out due to its multi-level skip connections:

  1. Global Level: Connects the network's input directly to its output, forcing the model to learn the residual noise field rather than reconstructing the entire anatomy from scratch. This drastically reduces the optimization search space.
  2. Block Level: Reuses feature maps across pairs of residual blocks.
  3. Intra-block Level: Standard residual connections within individual blocks to accelerate training.

The core of the study is a rigorous comparison of seven different loss functions: MSE, MAE, Structural Similarity Index (SSIM), and four variants of Perceptual Loss ($L_{PL1}$ to $L_{PL4}$) derived from different depths of a pre-trained VGG-16 network. Notably, for $L_{PL4}$ (the deepest layer), the authors removed all max-pooling layers to prevent the loss of spatial resolution, ensuring strict pixel-wise accountability in the feature space.

They benchmarked their deep learning models against a state-of-the-art analytical Model-Based (MB) pipeline that utilizes a Generalized Anscombe Transformation (GAT) combined with BM3D filtering.

Datasets

The study avoids the common pitfall of "inverse crime"—where a model is trained and tested on the exact same type of synthetic data—by using two distinct datasets:

  • Training Dataset: 400 clinical mammograms from 100 patients (Barretos Cancer Hospital, Brazil). To create low-dose pairs without re-exposing patients, the authors used a physics-validated simulation method to inject quantum and electronic noise into the raw data, generating 75% and 50% low-dose equivalents. From these, 256,000 patches (64×64) were extracted for training.
  • Testing Dataset: Real physical acquisitions of an anthropomorphic breast phantom embedded with actual pieces of calcium oxalate to simulate microcalcification clusters.
Figure 3: Image of the physical anthropomorphic breast phan- tom used in this study. The red arrow points to the pieces of calcium oxalate that were placed between the slabs to simulate a cluster of microcalcifications.

Images were acquired on a commercial Hologic system at full dose (160 mAs) and physical low doses (120 mAs and 80 mAs), providing a true experimental ground truth.

Key Insights and Ideas

  • The Pixel-vs-Feature Space Tradeoff: Minimizing pixel-level errors (MSE/MAE) yields exceptionally high Signal-to-Noise Ratios (SNR) on paper, but fails clinically because it treats structural details and random noise with the same blanket smoothing.
  • Deep Perceptual Loss as a Detail Preserver: As you move from shallow ($L_{PL1}$) to deep ($L_{PL4}$) perceptual loss layers, the network shifts its focus from local pixel matching to high-level feature representation. Deeper layers penalize errors on the underlying structural signal rather than the noise, naturally allowing a realistic noise texture to remain while keeping edges sharp.
  • Generalization to Real Hardware: Even though the network was trained on simulated low-dose clinical images, the HResNet architecture generalized remarkably well to actual low-dose hardware acquisitions from the physical phantom.

Key Results

The performance was evaluated using Mean Normalized Squared Error (MNSE), mathematically decomposed into Residual Noise ($R_N$) and Signal Bias ($B^2$) (where bias represents blurring/smearing).

  • Detail Preservation: At a 50% dose reduction, the deep perceptual loss ($L_{PL4}$) achieved the lowest signal bias ($B^2 = 0.57\%$) among all deep learning methods, significantly outperforming MSE ($B^2 = 0.90\%$) and MAE ($B^2 = 0.81\%$).
  • Noise Matching: $L_{PL4}$ brought the residual noise level ($R_N = 10.81\%$) closest to the ideal full-dose target ($10.49\%$), avoiding the artificial over-smoothing seen in MSE ($R_N = 7.49\%$).
  • Execution Speed: Once trained, the deep learning model restored a full-size raw mammogram ($4096 \times 3328$) in 9.0 seconds on a GPU, outperforming the model-based benchmark which took 16.5 seconds on a CPU.

Limitations and Future Work

While promising, the authors note several limitations:

  1. No Loss Combinations: The study evaluated loss functions in isolation. Combining metrics (e.g., SSIM + Perceptual Loss) might yield better results but introduces complex hyperparameter tuning.
  2. No Clinical Reader Study: The evaluation relied entirely on objective mathematical metrics ($B^2$, $R_N$, SNR). A formal observer study with radiologists is required to confirm that the $L_{PL4}$ images truly improve cancer detectability in practice.
  3. Population Bias: Training data was restricted to a specific local patient population, meaning further validation is needed to ensure generalization across different breast densities and demographic groups.

Summary updated

Abstract

Digital mammography is still the most common imaging tool for breast cancer screening. Although the benefits of using digital mammography for cancer screening outweigh the risks associated with the x-ray exposure, the radiation dose must be kept as low as possible while maintaining the diagnostic utility of the generated images, thus minimizing patient risks. Many studies investigated the feasibility of dose reduction by restoring low-dose images using deep neural networks. In these cases, choosing the appropriate training database and loss function is crucial and impacts the quality of the results. In this work, a modification of the ResNet architecture, with hierarchical skip connections, is proposed to restore low-dose digital mammography. We compared the restored images to the standard full-dose images. Moreover, we evaluated the performance of several loss functions for this task. For training purposes, we extracted 256,000 image patches from a dataset of 400 images of retrospective clinical mammography exams, where different dose levels were simulated to generate low and standard-dose pairs. To validate the network in a real scenario, a physical anthropomorphic breast phantom was used to acquire real low-dose and standard full-dose images in a commercially avaliable mammography system, which were then processed through our trained model. An analytical restoration model for low-dose digital mammography, previously presented, was used as a benchmark in this work. Objective assessment was performed through the signal-to-noise ratio (SNR) and mean normalized squared error (MNSE), decomposed into residual noise and bias. Results showed that the perceptual loss function (PL4) is able to achieve virtually the same noise levels of a full-dose acquisition, while resulting in smaller signal bias compared to other loss functions.
BibTeX
@inproceedings{shan2021impact,
  author = {Hongming Shan and Rodrigo de Barros Vimieiro and Lucas Rodrigues Borges and Marcelo Andrade da Costa Vieira and Ge Wang},
  title = {{Impact of loss functions on the performance of a deep neural network designed to restore low-dose digital mammography}},
  booktitle = {Artif. Intell. Medicine},
  year = {2021},
  doi = {10.1016/j.artmed.2023.102555},
}
Figure