Open (Clinical) LLMs are Sensitive to Instruction Phrasings

Alberto Mario Ceballos-Arroyo, Monica Munnangi, Jiuding Sun, Karen Y. C. Zhang, Denis Jered McInerney, Byron C. Wallace, Silvio Amir · DOI

Abstract

Large Language Models (LLMs) are increasingly being adapted for clinical applications through instruction tuning, promising a future where clinicians can interact with AI using natural language. However, the robustness of these models to the inherent variability of human speech remains a critical concern. This study evaluates seven open-source LLMs—including both general-purpose and clinical-specific variants—across 16 clinical tasks using prompts authored by medical professionals. The findings reveal significant performance volatility, with variations up to 0.6 AUROC based solely on instruction phrasing. Furthermore, these variations introduce unpredictable fairness gaps across demographic groups, where a simple change in wording can shift performance disparities by as much as 0.35 AUROC. These results highlight the "brittleness" of current clinical LLMs and underscore the need for instruction-robustness in high-stakes healthcare deployments.

Introduction

The integration of Large Language Models (LLMs) into healthcare aims to bridge the gap between complex data processing and clinical utility. Ideally, a clinician should be able to ask a model to "summarize this patient's history" or "predict mortality risk" without requiring specialized knowledge in prompt engineering. However, LLMs are notoriously sensitive to the specific phrasing of instructions.

This sensitivity creates a significant barrier to safe deployment. If a model's diagnostic or predictive accuracy fluctuates wildly because a doctor used the word "identify" instead of "extract," the consequences in a clinical setting could be catastrophic. This research quantifies the robustness of current open-source clinical LLMs when faced with the natural linguistic variations of medical experts, exploring whether domain-specific fine-tuning actually mitigates this fragility.

Methodology

The researchers employed a human-centric approach to evaluate model robustness across three primary dimensions: expert input, model diversity, and rigorous evaluation metrics.

Expert Prompt Collection

To simulate real-world usage, the study recruited 12 medical professionals, including doctors, nurses, and medical writers. These participants were tasked with writing natural, non-adversarial instructions for 16 distinct clinical tasks. This approach ensured that the prompts reflected the actual vocabulary and syntax used by healthcare providers rather than optimized strings generated by computer scientists.

Model Selection

The study benchmarked seven open-source LLMs, categorized into two groups:

  1. General-Domain Models: Mistral-7B, Llama-2-13B, Llama-2-7B, and Alpaca-7B.
  2. Clinical-Specific Models: Clinical Camel-13B, Asclepius-7B, and MedAlpaca-7B. These models were specifically fine-tuned on medical corpora to enhance their domain relevance.

Evaluation Framework

Models were tested in a "zero-shot" setting, meaning no prior examples were provided in the prompt. Evaluation focused on overall performance (AUROC for classification tasks and F1-score for information extraction), the variance in performance across different prompts, and the impact of phrasing on demographic fairness (specifically race and sex).

Datasets and Tasks

The study utilized established clinical NLP benchmarks to ensure reproducibility:

  • MIMIC-III: Utilized for predicting in-hospital mortality.
  • n2c2 & i2b2 Challenges: A comprehensive suite of tasks covering cohort selection (e.g., identifying alcohol abuse), obesity co-morbidity classification, and the extraction of medical problems, medications, and risk factors.

Key Insights

The Fragility of Clinical Specialization

One of the most significant findings was that clinical-specific models (e.g., Asclepius, Clinical Camel) often exhibited higher sensitivity to phrasing than general-purpose models. Training on medical text does not inherently grant a model the ability to understand the diverse ways a human might frame a request. In many cases, the general-domain Llama-2-13B outperformed its clinically-tuned counterparts in both stability and raw accuracy.

The "Fairness via Phrasing" Trap

Instruction sensitivity extends beyond accuracy into the realm of algorithmic equity. The researchers discovered that a prompt might yield high accuracy for White patients while performing poorly for Non-White patients. A simple change in instruction phrasing could shift this performance gap by as much as 0.35 AUROC points. This suggests that "prompt bias" is a hidden and dangerous dimension of unfairness in clinical AI.

Inconsistent Performance Profiles

No single model dominated across all tasks. Mistral-7B showed strength in classification but faltered in extraction tasks, while Llama-2-13B was superior for mortality prediction but less effective elsewhere. This inconsistency suggests that current clinical fine-tuning methods are highly variable in their outcomes.

The Expert Paradox

Interestingly, the study found that a user's prior experience with LLMs did not guarantee the creation of better prompts. Instructions written by "novice" clinicians occasionally outperformed those written by individuals with more AI experience, highlighting the unpredictable nature of current model heuristics.

Results Summary

  • Performance Volatility: The difference between the most and least effective prompts for a single task reached up to 0.6 AUROC in classification and 0.4 F1 in extraction.
  • Demographic Disparities: In mortality prediction, the performance gap between White and Non-White subgroups varied by 0.21 AUROC for Llama-2 and 0.35 AUROC for Asclepius, depending entirely on the prompt used.
  • Generalist Superiority: General-domain models frequently matched or exceeded the performance of clinical models, particularly in complex reasoning tasks like mortality prediction.

Limitations and Future Directions

While comprehensive, the study focused exclusively on open-source models in a zero-shot context. Future research should investigate whether proprietary models (like GPT-4) or "few-shot" prompting (providing examples) can stabilize performance. Additionally, the demographic analysis was limited by the broad categorizations available in the MIMIC-III dataset, which may mask more nuanced intersectional biases.

The authors conclude that the next generation of clinical LLMs must prioritize "instruction-robustness." Moving forward, development should focus not just on the volume of medical data used for training, but on ensuring that models can reliably interpret a clinician's intent, regardless of the specific words chosen to express it.

Summary updated

BibTeX
@inproceedings{ceballosarroyo2024open,
  author = {Alberto Mario Ceballos-Arroyo and Monica Munnangi and Jiuding Sun and Karen Y. C. Zhang and Denis Jered McInerney and Byron C. Wallace and Silvio Amir},
  title = {{Open (Clinical) LLMs are Sensitive to Instruction Phrasings}},
  booktitle = {BioNLP @ ACL},
  year = {2024},
  doi = {10.18653/v1/2024.bionlp-1.5},
}
Figure