cs.CVAug 29, 2026

Text-Guided Diffusion-Based Adversarial Attacks on Chest X-Ray Images

Authors: Basudha Pal, Arjun Narayanan, Neha Ajith, Vikas R Bhat, Muhammad Umair

Organizations: Department of Electrical and Computer Engineering, The Johns Hopkins University, Baltimore, 21218, MD, USA · Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, 576104, Karnataka, India · The Russell H. Morgan Department of Radiology and Radiological Sciences, The Johns Hopkins Hospital, Baltimore, 21287, MD, USA · Department of Radiology, Columbia University Irving Medical Center, New York, 10032, NY, USA

Abstract

As artificial intelligence is increasingly integrated into chest X-ray (CXR) interpretation, triage, and clinical decision support, understanding its vulnerability to adversarial manipulation is critical for safe deployment. Existing robustness evaluations, however, predominantly rely on pixel-space attacks that introduce numerically constrained perturbations but may not represent plausible radiographic variation. This limitation is particularly important in multi-disease CXR classification, where models simultaneously evaluate multiple overlapping pathologies and adversarial failures may alter several diagnostic predictions. We propose a text-guided diffusion-based adversarial framework that optimizes learnable text conditioning while keeping the diffusion generator and target classifier frozen, enabling adversarial generation through a learned image prior rather than direct pixel manipulation. We evaluate the framework across multiple classifier architectures in both binary atelectasis and multi-disease CXR classification and compare it with FGSM, PGD, and Carlini-Wagner attacks. Our approach consistently produced the greatest degradation in classifier performance, reducing AUROC to 0.3885-0.5646 in binary classification and 0.4441-0.4878 in the multi-disease setting, while achieving superior image fidelity (SSIM 0.9080, LPIPS 0.1670, FID 51.23). Importantly, clinician interpretation remained unchanged for 95.9% of binary and 73.8% of multi-disease adversarial images despite substantial changes in model predictions. These findings reveal a clinically important discrepancy between human and machine interpretation and demonstrate the need to extend medical AI robustness evaluation beyond conventional pixel-space attacks toward generative threat models that can expose failures under visually and clinically plausible image variations.

Figures & tables

Explore similar work

CardsList
  1. Anatomy-Grounded Weakly Supervised Prompt Tuning for Chest X-ray Latent Diffusion Models

    Jun 12, 2025Konstantinos Vilouras, Ilias Stogiannidis, Junyu Yan +2Diffusion Model AlignmentPrompt Tuning

  2. Clinically Aware Synthetic Image Generation for Concept Coverage in Chest X-ray Models

    Mar 16, 2026Amy Rafferty, Rishi Ramaesh, Ajitha RajanSynthetic Data AugmentationMedical Image Synthesis

  3. JustLLMGRPO: Radiographic Control for Chest X-Ray Generation

    Aug 8, 2026Pengxiang Cai, Xiaohan Li, Anglin Liu +3T2I GenerationRL for Image Generation