Skip to main content
QUICK REVIEW

[Paper Review] Adaptive Adversarial Training to Improve Adversarial Robustness of DNNs for Medical Image Segmentation and Detection

Linhai Ma, Liang Liang|arXiv (Cornell University)|Jun 2, 2022
Adversarial Robustness in Machine LearningComputer Science4 citations
TL;DR

This paper proposes Adaptive-Margin Adversarial Training (AMAT), a novel method that generates sample-specific adversarial noise during training to enhance robustness in medical image segmentation, landmark detection, and object detection without sacrificing clean-data accuracy. AMAT outperforms standard adversarial training (SAT) in both robustness and clean accuracy while maintaining similar training efficiency.

ABSTRACT

It is known that Deep Neural networks (DNNs) are vulnerable to adversarial attacks, and the adversarial robustness of DNNs could be improved by adding adversarial noises to training data (e.g., the standard adversarial training (SAT)). However, inappropriate noises added to training data may reduce a model's performance, which is termed the trade-off between accuracy and robustness. This problem has been sufficiently studied for the classification of whole images but has rarely been explored for image analysis tasks in the medical application domain, including image segmentation, landmark detection, and object detection tasks. In this study, we show that, for those medical image analysis tasks, the SAT method has a severe issue that limits its practical use: it generates a fixed and unified level of noise for all training samples for robust DNN training. A high noise level may lead to a large reduction in model performance and a low noise level may not be effective in improving robustness. To resolve this issue, we design an adaptive-margin adversarial training (AMAT) method that generates sample-wise adaptive adversarial noises for robust DNN training. In contrast to the existing, classification-oriented adversarial training methods, our AMAT method uses a loss-defined-margin strategy so that it can be applied to different tasks as long as the loss functions are well-defined. We successfully apply our AMAT method to state-of-the-art DNNs, using five publicly available datasets. The experimental results demonstrate that: (1) our AMAT method can be applied to the three seemingly different tasks in the medical image application domain; (2) AMAT outperforms the SAT method in adversarial robustness; (3) AMAT has a minimal reduction in prediction accuracy on clean data, compared with the SAT method; and (4) AMAT has almost the same training time cost as SAT.

Motivation & Objective

  • To address the trade-off between adversarial robustness and clean-data accuracy in medical image analysis tasks such as segmentation, landmark detection, and object detection.
  • To overcome the limitation of standard adversarial training (SAT), which uses a fixed noise level ε for all training samples, leading to performance degradation on clean or low-noise data.
  • To develop a task-agnostic, loss-defined-margin strategy that enables adaptive noise generation per sample based on model uncertainty and loss dynamics.
  • To demonstrate the effectiveness of AMAT across diverse medical imaging tasks using five public datasets.
  • To achieve robustness improvements without increasing training time compared to SAT.

Proposed method

  • AMAT uses a loss-defined-margin strategy to dynamically compute the perturbation magnitude for each training sample based on the model's loss value during backpropagation.
  • Unlike SAT, which applies a fixed ε to all samples, AMAT generates sample-wise noise levels that are adaptive to the difficulty of each sample, ensuring stronger perturbations for hard examples and weaker ones for easy examples.
  • The method integrates adversarial training with a margin that adjusts according to the loss gradient, allowing the model to learn robust features without overfitting to high-noise samples.
  • AMAT is compatible with any deep learning model as long as the loss function is differentiable and well-defined, making it applicable to segmentation, detection, and landmark localization tasks.
  • The training objective combines standard loss and adversarial loss, with the adversarial noise generated via PGD attack using a sample-specific ε computed from the loss value.
  • The adaptive margin is derived from the loss magnitude, ensuring that samples with higher loss (harder samples) receive larger perturbations, improving generalization and robustness.

Experimental results

Research questions

  • RQ1Can adaptive adversarial training improve robustness in medical image segmentation without degrading performance on clean data?
  • RQ2Does a sample-wise adaptive noise level outperform a fixed noise level in adversarial training for medical image analysis tasks?
  • RQ3Can the proposed AMAT method maintain training efficiency while improving both robustness and clean-data accuracy?
  • RQ4How does AMAT compare to standard adversarial training (SAT) and standard models (STD) under diverse adversarial attacks (e.g., PGD, IFGSM) across multiple medical imaging tasks?
  • RQ5Is the AMAT framework generalizable across different medical image analysis tasks, including segmentation, landmark detection, and object detection?

Key findings

  • AMAT achieved the lowest average MRE (Mean Relative Error) on both clean and noisy data across all tested tasks, outperforming both SAT and STD models.
  • On the BCCD dataset, AMAT achieved an mAP0.5:0.95 of 0.5989 on clean data and 0.2262 on average noisy data, surpassing SAT1 (0.5810 and 0.1709) and SAT15 (0.2565 and 0.1320).
  • AMAT maintained near-STD performance on clean data (e.g., 0.5989 mAP vs. 0.5993 for STD) while significantly outperforming SAT models in robustness.
  • The STD model dropped to near-zero mAP on very small noise levels (e.g., 0.0005 mAP at IF.5), indicating extreme vulnerability to subtle adversarial perturbations.
  • AMAT showed minimal training time overhead compared to SAT, with nearly identical training costs across all experiments.
  • In segmentation tasks (Heart, Hippocampus, Prostate), AMAT even surpassed the standard model (STD) in clean-data Dice score, demonstrating that robustness can be achieved without accuracy trade-offs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.