Stability-Aware Prompt Optimization for Clinical Data Abstraction

Arinbjörn Kolbeinsson, Daniel Timbie, Sajjan Narsinghani, Sanjay Hariharan
1/29/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Large language models used for clinical abstraction are sensitive to prompt wording, yet most work treats prompts as fixed and studies uncertainty in isolation. We argue these should be treated jointly. Across two clinical tasks (MedAlign applicability/correctness and MS subtype abstraction) and multiple open and proprietary models, we measure prompt sensitivity via flip rates and relate it to calibration and selective prediction. We find that higher accuracy does not guarantee prompt stability, and that models can appear well-calibrated yet remain fragile to paraphrases. We propose a dual-objective prompt optimization loop that jointly targets accuracy and stability, showing that explicitly including a stability term reduces flip rates across tasks and models, sometimes at modest accuracy cost. Our results suggest prompt sensitivity should be an explicit objective when validating clinical LLM systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kolbeinsson2026stabilityaware,
  title  = {Stability-Aware Prompt Optimization for Clinical Data Abstraction},
  author = {Arinbjörn Kolbeinsson and Daniel Timbie and Sajjan Narsinghani and Sanjay Hariharan},
  year   = {2026},
  eprint = {2601.22373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.22373v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.22373.svg)](https://codeofpaper.com/paper/2601.22373)

Discussion