TL;DR
Researchers have demonstrated that medical Vision-Language Models (VLMs) are highly vulnerable to adversarial image attacks, even when the attacker has no access to the model's internal weights. By using "zero-order optimization" to analyze next-token scores, they achieved attack success rates over 40% across various medical modalities, often using perturbations that are nearly invisible to human clinicians.
What Problem Does This Paper Address?
As Vision-Language Models (VLMs) like MedGemma are integrated into clinical workflows—assisting with radiology, pathology, and ECG interpretation—their security becomes a critical concern. While text-based "jailbreaks" are well-documented and relatively easy to log, image-based adversarial attacks represent a stealthier threat.
The authors address a major gap: most previous research assumes "white-box" access (where the attacker knows the model's gradients). In reality, most medical AI is deployed behind APIs (black-box). This paper asks: Can an attacker still manipulate a medical VLM's diagnosis just by repeatedly querying an API and observing the confidence scores of the output?
Methods
The authors employ a Query-Based Zero-Order Optimization approach. Since they don't have gradients, they use a technique called ZO-SignSGD with a Natural Evolutionary Strategies (NES) estimator.
Essentially, the attack works by:
- Restricted Decoding: Forcing the model to choose between specific options (A, B, C, D) to get a clear classification signal.
- Score Probing: Observing the "log-probabilities" (confidence scores) for the next token.
- Low-Frequency Prior: Instead of adding random "salt-and-pepper" noise, they apply smooth, low-frequency perturbations. This makes the changes look more like benign imaging artifacts (like lighting shifts or sensor noise) rather than digital tampering.
- Iterative Refinement: Slightly adjusting the image over ~1,000 queries to find the "decision boundary" where the model flips its answer from correct to incorrect.
Datasets
The study utilized the MedXpertQA benchmark, specifically the multimodal test split.
- Scope: 1,200 single-image examples after filtering.
- Modalities: Includes radiology (X-rays, CTs), pathology slides, ECGs, and clinical photographs.
- Models Tested: MedGemma (4B and 27B) and Qwen3-VL-Instruct (4B).
Key Insights and Ideas
- Logprobs are a Leaky Signal: The most significant takeaway is that exposing token-level confidence scores (log-probabilities) provides enough of a "gradient-like" signal for an attacker to reverse-engineer a successful attack.
- Color vs. Grayscale: Attacks were significantly more successful on color images than grayscale ones. This is because color images provide more "degrees of freedom"—more ways to subtly shift pixel values to confuse the vision encoder.
- Scale Provides Some Buffer: The larger MedGemma 27B model was more robust than the 4B version, likely because larger models rely more on internal "textual priors" and are slightly less sensitive to minor visual fluctuations.
- Clinical Stealth: Because the optimization uses a low-frequency prior, the resulting adversarial images don't look "broken." To a human eye, they often look identical to the original or appear to have slightly different lighting.
Key Results
- Attack Success Rate (ASR): On MedGemma 4B, the attack flipped the answer on 71.6% of initially correct color images using a tiny perturbation budget ($\epsilon = 0.02$).
- Efficiency: Most successful attacks required only 15–20 optimization steps, totaling about 1,000 queries—a volume easily achieved against many standard API rate limits.
- Human Perceptibility: In a study with a physician, the detection accuracy was only 57% (barely better than a coin flip). For color images, the "cannot tell" rate was a staggering 80%.
- Transferability: Perturbations found in the "restricted choice" setting often transferred to free-form generation, causing the model to give incorrect answers even in open-ended chat interfaces.
Limitations and Future Work
The authors acknowledge several constraints:
- The "Probe" Setting: The primary attack relies on "restricted decoding" (multiple choice). While they showed some transfer to free-form text, a full attack on long-form medical reasoning remains more complex.
- Small Human Study: The perceptibility test involved only one physician and 150 image pairs. Larger studies are needed to determine if these attacks could truly deceive specialists across different fields.
- Defense Strategies: The paper suggests that masking log-probabilities or adding stochastic noise to the image pipeline could mitigate these attacks, but these defenses might also degrade the model's helpfulness or "calibration" (its ability to express honest uncertainty).
Ultimately, the paper serves as a warning: simply keeping model weights private isn't enough. If an API is too "chatty" with its confidence scores, the door to adversarial manipulation remains wide open.
Summary updated