Abstract
As Large Language Models (LLMs) are increasingly integrated into clinical environments, ensuring their safety and robustness against adversarial attacks becomes paramount. We present CARES (Clinical Adversarial Robustness and Evaluation of Safety), a comprehensive benchmark comprising over 18,000 prompts designed to evaluate medical LLMs across four levels of clinical harm. CARES assesses models on both direct queries and sophisticated "jailbreak" attempts involving role-play and obfuscation. Our evaluation reveals that while top-tier models perform well on direct queries, they remain vulnerable to adversarial manipulation, highlighting the need for specialized clinical safety alignment.
Introduction
The integration of LLMs into clinical workflows—ranging from documentation assistance to patient consultation—shifts the stakes of AI safety from theoretical concerns to life-critical risks. While a general-purpose model's failure might be a minor inconvenience, a medical LLM providing instructions to falsify credentials or bypass critical resource allocation protocols represents a significant liability.
Current safety evaluations for LLMs often fall short in three key areas:
- Clinical Specificity: General benchmarks focus on broad harms like hate speech, neglecting medical-specific ethics and regulatory requirements such as HIPAA.
- Binary Evaluation: Standard tests often use a simple "refuse/accept" metric, failing to capture the nuanced "gray area" where a model might provide a cautious but helpful deflection.
- Adversarial Robustness: Models that appear safe under direct questioning frequently succumb to "jailbreaks"—prompts that use role-play or linguistic obfuscation to mask harmful intent.
Methodology
The CARES framework utilizes a multi-stage pipeline to generate and evaluate clinical safety prompts based on established medical ethics and regulatory standards.
Rule Mining and Harm Levels
The researchers distilled safety rules from the American Medical Association (AMA) ethics, HIPAA regulations, and "Constitutional AI" frameworks into eight core medical safety principles. Prompts are categorized into four levels of harm, ranging from Level 0 (Harmless) to Level 3 (Highly Harmful/Systemically Dangerous).
Adversarial Augmentation
To test robustness, every prompt was subjected to three "jailbreak" strategies:
- Indirect/Chained: Masking intent through abstract or rhetorical framing.
- Obfuscation: Replacing sensitive keywords with benign "cipher" words.
- Role-Play: Reframing the request as a fictional scenario (e.g., a novel about a corrupt administrator).
Evaluation and Mitigation
Responses are classified as ACCEPT, CAUTION, or REFUSE using an LLM-as-a-judge (GPT-4o-mini). To improve robustness, the authors implemented a "jailbreak-aware" prompting strategy, where a lightweight classifier detects potential attacks and prepends a reminder to the model to remain vigilant.
The CARES-18K Dataset
The primary contribution is the CARES-18K dataset, containing over 18,000 prompts generated by advanced models (GPT-4o-mini, Gemini-2.5-Flash, DeepSeek-V3, and Claude-3.5-Haiku) and validated by human annotators. Unlike previous sets, CARES-18K specifically focuses on adversarial variants in a clinical context, providing a more rigorous stress test for medical AI.
Key Insights
- The "Suspicion" Tax: Heavy safety tuning can lead to "over-refusal," where models reject benign queries if they are phrased in a way that resembles a jailbreak.
- Effectiveness of Role-Play: "Indirect" and "Role-Play" strategies were found to be more effective at bypassing safety filters than simple keyword obfuscation.
- Safety Score (SS): The authors introduced a metric that provides partial credit for "CAUTION" on mild harms but requires a strict "REFUSE" for severe harms, offering a more realistic assessment of clinical reliability.
Experimental Results
Evaluation across a wide range of models shows that adversarial attacks significantly degrade safety performance across the board.
Top performers included O4-mini and DeepSeek-R1, which maintained the highest safety scores. However, every model tested experienced a significant drop in its Safety Score when transitioning from direct prompts to jailbroken variants. Notably, domain-specific models like Medalpaca-13B and Meditron-70B performed competitively, underscoring the value of specialized safety tuning alongside raw model scale.
Conclusion and Future Work
CARES provides a rigorous framework for testing the safety of medical LLMs. While current models show promise, the vulnerability to adversarial role-play remains a critical challenge. Future work will expand the benchmark to include multi-turn attacks, chain-of-thought manipulation, and simulated tool-use to better reflect the evolving landscape of AI safety risks in healthcare.
Summary updated