Papers › EHRXQA: A Multi-Modal Question Answering Dataset for Electronic Health Records with...

EHRXQA: A Multi-Modal Question Answering Dataset for Electronic Health Records with Chest X-ray Images

28 Oct 2023NeurIPS 2023 11arXiv:2310.18652archive 2025-07-28

Seongsu Bae, Daeun Kyung, Jaehee Ryu, Eunbyeol Cho, Gyubok Lee, Sunjun Kweon, JungWoo Oh, Lei Ji, Eric I-Chao Chang, Tackeun Kim, Edward Choi

Electronic Health Records (EHRs), which contain patients' medical histories in various multi-modal formats, often overlook the potential for joint reasoning across imaging and table modalities underexplored in current EHR Question Answering (QA) systems. In this paper, we introduce EHRXQA, a novel multi-modal question answering dataset combining structured EHRs and chest X-ray images. To develop our dataset, we first construct two uni-modal resources: 1) The MIMIC-CXR-VQA dataset, our newly created medical visual question answering (VQA) benchmark, specifically designed to augment the imaging modality in EHR QA, and 2) EHRSQL (MIMIC-IV), a refashioned version of a previously established table-based EHR QA dataset. By integrating these two uni-modal resources, we successfully construct a multi-modal EHR QA dataset that necessitates both uni-modal and cross-modal reasoning. To address the unique challenges of multi-modal questions within EHRs, we propose a NeuralSQL-based strategy equipped with an external VQA API. This pioneering endeavor enhances engagement with multi-modal EHR sources and we believe that our dataset can catalyze advances in real-world medical scenarios such as clinical decision-making and research. EHRXQA is available at https://github.com/baeseongsu/ehrxqa.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.18652")

Code

Syntology Ran 12 of 20 code samples harvested from 3 repositories linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 12 samples from 2 repositories, 12 ran; community (archive-listed): 8 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

baeseongsu/ehrxqa officialmentioned in papermentioned on GitHub report
baeseongsu/mimic-cxr-vqa officialmentioned in papermentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 12 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
9ran
8unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

format_answer baeseongsu/mimic-cxr-vqa/dataset_builder/generate_answer.py official repository ran MIT (permissive) · d3faf3a6ebbac897 · report
get_template_pk_to_program_idx baeseongsu/mimic-cxr-vqa/dataset_builder/internal_utils/_format_qa_dataset.py official repository ran MIT (permissive) · e29aa95576db1be5 · report
load_bbox_information baeseongsu/mimic-cxr-vqa/dataset_builder/generate_answer.py official repository ran MIT (permissive) · 7d221f83f5aed97e · report
load_database baeseongsu/ehrxqa/dataset_builder/generate_answer.py official repository ran · our draft was wrong MIT (permissive) · dd5e458df422425b · report
load_metadata baeseongsu/mimic-cxr-vqa/dataset_builder/generate_answer.py official repository ran MIT (permissive) · b97ea8675949406d · report
post_process_answer baeseongsu/ehrxqa/dataset_builder/generate_answer.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · d95e69a3370313dc · report
post_process_sql baeseongsu/ehrxqa/dataset_builder/generate_answer.py official repository ran · our draft was wrong MIT (permissive) · 5b629a16609f7161 · report
process_sample baeseongsu/mimic-cxr-vqa/dataset_builder/internal_utils/_format_qa_dataset.py official repository ran MIT (permissive) · 93a44f96ae2cca26 · report
program_1 baeseongsu/mimic-cxr-vqa/dataset_builder/program.py official repository ran MIT (permissive) · 1971017a9e91dd12 · report
program_2 baeseongsu/mimic-cxr-vqa/dataset_builder/program.py official repository ran MIT (permissive) · d4fec949b3f02995 · report
program_3 baeseongsu/mimic-cxr-vqa/dataset_builder/program.py official repository ran MIT (permissive) · ec654714859fcb55 · report
split_string baeseongsu/mimic-cxr-vqa/dataset_builder/internal_utils/_format_qa_dataset.py official repository ran fingerprinted MIT (permissive) · efbe2b090b9a718d · report
fixed_sincos1d_embeddings snoop2head/ehrxqa-2024/src/modelling_pt.py community (archive-listed) unverified Apache-2.0 (permissive) · 6e2a17d1112822e4 · report
fixed_sincos1d_embeddings snoop2head/ehrxqa-2024/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 15b4480443968277 · report
fixed_sincos2d_embeddings snoop2head/ehrxqa-2024/src/modelling_pt.py community (archive-listed) unverified Apache-2.0 (permissive) · f55aa01465579300 · report
fixed_sincos2d_embeddings snoop2head/ehrxqa-2024/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 26d7ceb9feb979a2 · report
mask_intersection snoop2head/ehrxqa-2024/src/utils_mae.py community (archive-listed) unverified Apache-2.0 (permissive) · cd63725ed150c8be · report
mask_not snoop2head/ehrxqa-2024/src/utils_mae.py community (archive-listed) unverified Apache-2.0 (permissive) · e0f860b8706ea27b · report
mask_union snoop2head/ehrxqa-2024/src/utils_mae.py community (archive-listed) unverified Apache-2.0 (permissive) · d049b3e2054cb151 · report
modified_lamb snoop2head/ehrxqa-2024/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 75ee7d495c2657a4 · report

Tasks

Decision MakingMedical Visual Question AnsweringQuestion AnsweringVisual Question AnsweringVisual Question Answering (VQA)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections