Introduction
Static benchmarks for medical AI are rapidly becoming obsolete, creating a dangerous illusion of clinical readiness. While many medical Large Language Models (LLMs) now achieve "expert-level" scores on exams like the USMLE (MedQA), these high scores often mask a critical reality: optimizing for a static test is not equivalent to ensuring safety in real-world clinical environments. This phenomenon, a classic example of Goodhart’s Law, suggests that when a measure becomes a target, it ceases to be a good measure.
Furthermore, traditional manual "red-teaming"—the process of probing AI for vulnerabilities—is unscalable and too slow to match the weekly release cycles of new models. To bridge this gap, this research introduces DAS (Dynamic, Automatic, and Systematic), an automated, agent-based red-teaming framework designed to continuously stress-test medical LLMs.
The DAS Framework
Instead of relying on a static checklist, DAS employs a suite of adversarial AI agents to hunt for vulnerabilities in target LLMs (referred to as "rabbit" models). The system operates as a closed-loop: an attacker agent observes the target's response and iteratively escalates or switches tactics until the target "jailbreaks" (fails) or the search budget is exhausted.
Evaluation Axes
The framework systematically probes models across four safety-critical axes, using specialized tools and strategies for each:
- Robustness: An orchestrator agent mutates questions the model previously answered correctly. It uses tools like narrative distractions, expanded multiple-choice options, or injecting "physiological impossibilities" (e.g., a heart rate of 300 bpm) to see if the model maintains its clinical judgment.
- Privacy: Attack agents attempt to trick the model into leaking HIPAA/GDPR-protected health information using disguises like "well-meaning intentions" or complex formatting instructions.
- Bias/Fairness: Agents manipulate patient vignettes by altering demographics, linguistic styles, or injecting cognitive biases (e.g., "most of your colleagues think X is the right treatment").
- Hallucination: A multi-agent detector checks responses for fabricated medical facts, fake citations, and logical contradictions.
Key Insights and Results
The authors evaluated 15 state-of-the-art LLMs, including GPT-4o, Claude 3.7, Gemini 1.5, and DeepSeek-R1. The results reveal a significant gap between benchmark performance and adversarial resilience:
- The Illusion of Competence: Despite median MedQA accuracies above 80%, the median jailbreak rate under dynamic attack was a staggering 94%. Even the most robust model, o4-mini, failed 69% of the time.
- Chain-of-Thought (CoT) Risks: Models with explicit reasoning chains (like OpenAI's o3 or DeepSeek-R1) actually hallucinated more frequently (68.7%) than standard baselines (64.7%). CoT can help structure answers but may also propagate false premises throughout a logical chain.
- Privacy Bypasses: The most effective way to extract private data was to include a performative privacy warning in the prompt, which appeared to lull the model's safety filters into a false sense of security.
- Cognitive Bias Vulnerability: All models were highly susceptible to priming. Appending a sentence suggesting a specific treatment caused models to abandon correct clinical judgments in over 80% of cases.
Conclusion and Future Work
The DAS framework demonstrates that high benchmark accuracy is often brittle pattern matching. While the current system is highly effective, future work is needed to expand the attack vocabulary to prevent models from overfitting to specific DAS strategies. Additionally, extending the framework to multimodal inputs (e.g., medical imaging) is a high priority for the next generation of medical Vision-Language Models (VLMs).
Summary updated