atlas

Research map / Large language models / Language, safety and interpretability

MedAlign: A Clinician-Generated Dataset for Instruction Following with Electronic Medical Records

AAAI 2024 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 49 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces MedAlign, a clinician-authored benchmark of 983 instructions paired with longitudinal EHRs (303 with clinician gold responses), and evaluates six general LLMs with clinician correctness/ranking plus automated NLG metric correlations.

Problem

Existing EHR question answering datasets do not capture the complexity of clinician information needs or instruction-following over longitudinal, structured-plus-unstructured EHR data, and clinician review of LLM outputs is costly to repeat.

Approach

Decouple instruction collection from patient data: clinicians submit instructions without viewing EHRs, instructions are matched to EHRs via BM25 retrieval, and clinicians then write gold responses and rank LLM outputs; automated metrics (COMET, BERTScore) are checked for correlation with clinician rankings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase GPT-4 context length from 2k to 32k (ablation)GPT-4 · MedAligncorrectness: 51.8% -> 60.1%; 8.3%Helped
add multi-step refinement to GPT-4 with 32k context (ablation)GPT-4 · MedAligncorrectness: 60.1% -> 65.0%Helped
increase Vicuña model size from 7B to 13B (ablation)Vicuña · Calculation and scoring taskscorrectness: almost 20%Helped
increase Vicuña model size from 7B to 13B (ablation)Vicuña · Retrieve & Summarize and Diagnosis Support taskscorrectnessNo clear effect
increase Vicuña model size from 7B to 13B (ablation)Vicuña · Care Planning taskscorrectnessHurt
match instructions to the top 5 EHRs using BM25 rather than uniform random samplingInstruction-EHR matching · MedAlignrelevant-match rate: 38% -> 74%Helped
exclude instructions that triggered content-filtering errorsGPT-4 (32k) evaluation · MedAlign, 259 instructionscorrectness: 60.1% -> 69.9%; 9.8%Helped
exclude instructions that triggered content-filtering errorsGPT-4 (MR) evaluation · MedAlign, 259 instructionscorrectness: 65.0% -> 68.3%; 3.3%Helped
exclude instructions that triggered content-filtering errorsGPT-4 (2k) evaluation · MedAlign, 259 instructionscorrectness: 51.8% -> 52.5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: MedAlign

Benchmarks: MedAlign

Metrics: correctness rate win rate mean human rank Kendall's Tau

Baselines: Vicuna-13B Vicuna-7B MPT-7B-Instruct AlpaCare ClinicalCamel Med42

Builds on: BM25 OMOP CDM COMET UniEval

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy