Related Experiment Video
Updated: Jan 28, 2026

09:00
TBase - an Integrated Electronic Health Record and Research Database for Kidney Transplant Recipients
Published on: April 13, 2021
5.3K
MedAlign: A Clinician-Generated Dataset for Instruction Following with Electronic Medical Records
Scott L Fleming1,2, Alejandro Lozano1, William J Haberkorn3,4
1Department of Biomedical Data Science, Stanford School of Medicine, Stanford, CA, USA.
Summary
Evaluating large language models (LLMs) in healthcare is difficult. The new MedAlign dataset reveals high error rates for LLMs generating electronic health record data, highlighting the need for better evaluation methods.
Area of Science:
- Artificial Intelligence in Medicine
- Natural Language Processing for Healthcare
- Clinical Informatics
Background:
- Large language models (LLMs) show promise for reducing healthcare administrative burden and improving care quality.
- Evaluating LLMs on realistic healthcare text generation tasks, particularly with electronic health record (EHR) data, is challenging due to limitations in existing datasets.
- Current EHR question-answering datasets do not fully represent clinicians' complex information needs or documentation burdens.
Purpose of the Study:
- To introduce MedAlign, a novel benchmark dataset designed for evaluating LLMs on EHR data.
- To assess the performance of general-domain LLMs on realistic clinical instruction-following tasks using the MedAlign dataset.
- To explore correlations between human clinician rankings and automated metrics for LLM evaluation.
Main Methods:
- Developed MedAlign, a dataset comprising 983 natural language instructions for EHR data, curated by 15 clinicians across 7 specialties.
- Included clinician-written reference responses for 303 instructions and 276 longitudinal EHRs for grounding.
- Evaluated 6 general-domain LLMs using MedAlign, with clinicians ranking the accuracy and quality of generated responses.
Main Results:
- LLM error rates were substantial, ranging from 35% for GPT-4 to 68% for MPT-7B-Instruct.
- GPT-4 experienced an 8.3% decrease in accuracy when reducing context length from 32k to 2k tokens.
- Correlations were found between clinician rankings and automated natural language generation metrics, suggesting potential for automated LLM assessment.
Conclusions:
- Existing general-domain LLMs exhibit significant limitations in accurately processing and generating EHR data based on clinical instructions.
- The MedAlign dataset provides a crucial resource for developing and evaluating LLMs tailored to specific clinician needs and preferences in healthcare.
- Further research is needed to improve LLM performance and develop reliable automated evaluation methods for clinical applications.
Related Concept Videos
Electron Transport Chains
112.0K
The final stage of cellular respiration is oxidative phosphorylation that consists of two steps: the electron transport chain and chemiosmosis. The electron transport chain is a set of proteins found in the inner mitochondrial membrane in eukaryotic cells. Its primary function is to establish a proton gradient that can be used during chemiosmosis to produce ATP and generate electron carriers, such as NAD+ and FAD, that are used in glycolysis and the citric acid cycle.
The ETC is comprised of...
The ETC is comprised of...
112.0K
Electron Carriers
91.7K
Electron carriers can be thought of as electron shuttles. These compounds can easily accept electrons (i.e., be reduced) or lose them (i.e., be oxidized). They play an essential role in energy production because cellular respiration is contingent on the flow of electrons.
Over the many stages of cellular respiration, glucose breaks down into carbon dioxide and water. Electron carriers pick up electrons lost by glucose in these reactions, temporarily storing and releasing them into the electron...
Over the many stages of cellular respiration, glucose breaks down into carbon dioxide and water. Electron carriers pick up electrons lost by glucose in these reactions, temporarily storing and releasing them into the electron...
91.7K
Electron Affinity
43.2K
The electron affinity (EA) is the energy change for adding an electron to a gaseous atom to form an anion (negative ion).
43.2K
Inhaled Medications
785
Inhaled medications are crucial for managing chronic obstructive pulmonary disease (COPD) and asthma. They are essential for effective treatment and control, ensuring optimal respiratory health and well-being. Inhaled medication delivers drugs directly to the lungs, providing a rapid onset of action and reducing systemic side effects compared to oral or injectable medications. Three primary types of inhalation devices are used to administer these medications: nebulizers, metered-dose inhalers...
785
Electron Behavior
108.0K
Overview
Electrons are negatively charged subatomic particles that are attracted to an orbit around the positively-charged nucleus of an atom. They reside in locations that are associated with energy levels called shells and are further organized into sub-shells and orbitals within each shell.
Electrons Orbit the Nucleus
Electrons are found in specific locations outside of the nucleus. The shell in which an electron resides indicates the general energy level of the electron: those closer to the...
Electrons are negatively charged subatomic particles that are attracted to an orbit around the positively-charged nucleus of an atom. They reside in locations that are associated with energy levels called shells and are further organized into sub-shells and orbitals within each shell.
Electrons Orbit the Nucleus
Electrons are found in specific locations outside of the nucleus. The shell in which an electron resides indicates the general energy level of the electron: those closer to the...
108.0K
Electron Orbital Model
72.0K
Orbitals are the areas outside of the atomic nucleus where electrons are most likely to reside. They are characterized by different energy levels, shapes, and three-dimensional orientations. The location of electrons is described most generally by a shell or principal energy level, then by a subshell within each shell, and finally, by individual orbitals found within the subshells.
The first shell is closest to the nucleus, and it has only one subshell with a single spherical orbital called the...
The first shell is closest to the nucleus, and it has only one subshell with a single spherical orbital called the...
72.0K

