LightMed: A Light-weight and Robust FFT-Based Model for Adversarially Resilient Medical Image Segmentation

Viet Tien Pham, Minh Hiếu Hà, Bao V. Q. Bui, Truong Son HybioRxiv 2024

TL;DR

This paper introduces LightMed, a novel, lightweight deep learning model for medical image segmentation that operates directly in the frequency domain using the Fast Fourier Transform (FFT). By leveraging the inherent noise resilience and reduced computational complexity of the frequency domain, LightMed achieves state-of-the-art segmentation accuracy while being robust to noise and adversarial attacks, making it highly suitable for resource-constrained medical environments.

What Problem Does This Paper Address?

Accurate medical image segmentation is crucial for diagnosis and treatment planning, but current deep learning models often struggle with real-world challenges. These include suboptimal image quality (like noise and uneven brightness) and high computational demands that limit their deployment in resource-constrained clinical settings. Furthermore, existing models are often vulnerable to adversarial attacks – subtle, imperceptible perturbations that can drastically degrade performance. The paper aims to bridge this gap by developing a segmentation model that is efficient, robust to noise, and resilient to adversarial attacks.

Methods

The core innovation of LightMed lies in its frequency-domain processing. Instead of operating on raw pixel data, LightMed transforms medical images into the frequency domain using the Fast Fourier Transform (FFT). This approach offers several advantages:

  • Noise Resilience: The frequency domain is naturally more resistant to noise and uneven illumination, common artifacts in medical imaging. By focusing on low-frequency components, LightMed effectively filters out noise.
  • Computational Efficiency: By concentrating on low-frequency information and leveraging the Conjugate Symmetry Property of the Fourier Transform, LightMed significantly reduces computational complexity and the number of parameters required. This is achieved by discarding high-frequency components and processing only a portion of the frequency map.
  • Novel Architecture: LightMed employs a U-shaped architecture, similar to U-Net, but adapted for complex-valued frequency domain data. It introduces Complex Conv-Blocks and a Complex Convolutional Block Attention Module (CCBAM). These components are designed to handle both the real and imaginary parts of the frequency spectrum, enabling discriminative feature extraction directly from the Fourier domain.
  • Adversarial Robustness: The frequency-domain approach inherently makes the model more robust to adversarial attacks, which often manifest as high-frequency perturbations.

Datasets

The paper evaluates LightMed on several publicly available medical image datasets:

  • ISIC-2017 and ISIC-2018: Datasets for skin lesion segmentation.
  • PH2 dataset: A dataset of dermoscopic images.
  • Lung Covid-19 dataset: Chest X-ray images for lung segmentation.
  • ACDC dataset: Cardiac MRI data for left ventricle segmentation.

Additionally, the authors introduce a new benchmark dataset specifically designed to assess noise susceptibility. This benchmark incorporates various levels of Gaussian noise and is used during the inference phase to evaluate the noise resilience of different models.

Key Insights and Ideas

  • Frequency Domain as a Natural Defense: Operating in the frequency domain is a powerful strategy for handling noisy medical images. The inherent properties of FFT allow for noise suppression and a focus on essential structural information.
  • Low-Frequency Focus for Efficiency: By intelligently discarding high-frequency components, LightMed achieves remarkable computational savings without sacrificing significant image quality, a critical factor for deployment in clinical settings.
  • Complex-Valued Networks for Frequency Data: The development of specialized complex-valued convolutional blocks and attention mechanisms is crucial for effectively processing the complex-valued nature of Fourier-transformed images.
  • Adversarial Resilience through Frequency Domain: The paper demonstrates that models operating in the frequency domain are inherently more robust to adversarial attacks, which often target high-frequency components. This offers a promising avenue for building more secure medical AI systems.

Key Results

LightMed demonstrates superior performance across various medical image segmentation tasks, often outperforming established CNN and Transformer-based models.

  • Accuracy: Achieves state-of-the-art F1 scores and mIoU on datasets like ISIC-2017 (F1: 80.38%, mIoU: 67.21%), ISIC-2018 (F1: 81.75%), Lung Covid-19 (F1: 93.02%, mIoU: 86.94%), and PH2 (F1: 88.20%, mIoU: 78.98%).
  • Efficiency: Significantly reduces computational cost (GFLOPS) and memory usage. For example, LightMed has only 3.98 million parameters and 1.72 GFLOPS, compared to models like U-Net (33.12M parameters) or TransUNet (67.07M parameters).
  • Noise Robustness: Exhibits stable performance even with increasing levels of Gaussian noise, outperforming other methods in qualitative and quantitative evaluations.
  • Adversarial Robustness: Shows remarkable resilience against adversarial attacks (FGSM, BIM, PGD) when combined with Gaussian noise, maintaining significantly higher F1 and mIoU scores compared to baseline models.

Limitations and Future Work

  • Limitations: While LightMed shows excellent robustness, the paper acknowledges that adversarial attacks can still degrade performance to some extent, especially under severe attack conditions. The paper also implicitly highlights the trade-off between model complexity (number of channels) and performance, with simpler models achieving slightly lower accuracy but being more efficient.
  • Future Work: The authors propose integrating LightMed with Large Language Models (LLMs) to create Medical Vision-Language Models (VLMs). This integration aims to enable automated interpretation of segmented images, providing both visual outputs and accompanying diagnostic narratives, thereby creating a more comprehensive diagnostic tool.

Summary updated

Abstract

Abstract Accurate and reliable medical image segmentation is essential for computer-aided diagnosis and formulating appropriate treatment plans. However, real-world challenges such as suboptimal image quality and computational resource constraints hinder the effective deployment of deep learning-based segmentation models. To address these issues, we propose LightMed, a novel efficient neural architecture based on Fast Fourier Transform (FFT). Different from prior works, our model directly learns on the frequency domain, harnessing its resilience to noise and un-even brightness, which common artifacts found in medical images. By focusing on low-frequency image components, we significantly reduce computational complexity while preserving essential image features. Our deep learning architecture extracts discriminative features directly from the Fourier domain, leading to improved segmentation accuracy and robustness compared to traditional spatial domain methods. Additionally, we propose a new benchmark incorporating various levels of Gaussian noise to assess susceptibility to noise attacks. The experimental results demonstrate that LightMed not only effectively eliminates noise and consistently achieves accurate image segmentation but also shows robust resistance to imperceptible adversarial attacks compared to other baseline models. Our new benchmark datasets and source code are publicly available at https://github.com/HySonLab/LightMed .
BibTeX
@misc{pham2024lightmed,
  author = {Viet Tien Pham and Minh Hiếu Hà and Bao V. Q. Bui and Truong Son Hy},
  title = {{LightMed: A Light-weight and Robust FFT-Based Model for Adversarially Resilient Medical Image Segmentation}},
  year = {2024},
  doi = {10.1101/2024.09.28.615584},
  howpublished = {bioRxiv},
}
Figure