Abstract
Deep neural network (DNN) based medical image systems are vulnerable to adversarial examples. While many defense mechanisms have been proposed, they often assume a passive attacker. Recent research shows that strong adaptive attacks, where an attacker has full knowledge of the defense, can easily bypass these systems. We propose Medical Aegis, a novel two-tier defense system. The first tier, Cushion, weakens adversarial manipulation by removing high-frequency components. The second tier, Shield, utilizes a set of per-class DNN models to predict logits. Shield is inspired by the observation that shallow layers in a DNN retain "robust trails" of an attack that are difficult for adaptive attackers to hide. Experimental results demonstrate that Medical Aegis accurately detects adaptive attacks with negligible overhead.
Introduction
The integration of Deep Neural Networks (DNNs) into medical diagnostics, such as disease screening and organ segmentation, has shown great promise. However, these models are susceptible to adversarial attacks—carefully crafted, human-imperceptible perturbations that can lead to catastrophic misdiagnoses.
Most existing defense mechanisms are designed for "passive" attackers. In a real-world scenario, a sophisticated adversary might employ adaptive attacks (e.g., HFC or BPDA), leveraging knowledge of the defense to bypass it. Current medical AI defenses typically rely on "deep" features from the final layers of a network, which are highly manipulatable. Medical Aegis addresses this gap by protecting models against white-box, adaptive adversaries.
Methodology: A Two-Tier Defense
Medical Aegis employs a proactive and a reactive tier to ensure robustness:
Tier 1: Cushion (Proactive Defense)
Cushion is a pre-processing step that filters out high-frequency components from input images using techniques like JPEG compression or Total Variation Minimization (TVM). Since many adversarial perturbations rely on high-frequency signals to manipulate internal feature representations, Cushion effectively "weakens" the attacker's capability before the image reaches the diagnostic model.
Tier 2: Shield (Reactive Defense)
Shield is a separate DNN-based detector that extracts features from multiple layers of the network, ranging from shallow to deep. Through extensive "stress tests," the authors discovered a vulnerability gradient: while deep features are easily distorted to mimic a target class, shallow layers retain "robust trails" of the adversarial noise. Shield is adversarially trained to recognize these multi-layer patterns, distinguishing clean images from adversarial ones by incorporating features from early residual blocks (e.g., 1st, 4th, 8th, and 14th in ResNet-50).
Experimental Evaluation
The system was evaluated on two benchmark datasets: Kaggle Fundoscopy (APTOS 2019) for diabetic retinopathy and Kaggle Chest X-Ray for pneumonia classification. The defense was tested on ResNet-50 and VGG-16 backbones to demonstrate architecture-agnostic robustness.
Performance Against Standard Attacks
Medical Aegis achieved near-perfect detection rates across a wide variety of attack strategies. As shown in the evaluation results, the combined two-tier system consistently outperforms the standalone Shield detector, reaching 100% accuracy in most scenarios.
Comparison with Baselines and Synergy Analysis
A critical finding of this research is the synergy between Cushion and Shield. Cushion forces attackers to use more aggressive perturbations to bypass the filter, which in turn makes the attack more detectable by Shield. This allows Medical Aegis to remain robust where standard detectors like Kernel Density (KD), Local Intrinsic Dimensionality (LID), and Mahalanobis distance (MAHA) fail.
Conclusion
Medical Aegis represents a significant step forward in securing medical AI. By leveraging the inherent robustness of shallow network layers and combining it with proactive frequency filtering, the system provides a strong defense against even the most informed attackers. While the system shows slight performance variations against specific attacks like Carlini & Wagner (CW) on high-resolution fundus images, its overall performance is superior to existing baselines with negligible computational overhead.
Summary updated