[Paper Review] emrQA: A Large Corpus for Question Answering on Electronic Medical Records
This paper introduces emrQA, a large-scale, patient-specific question answering dataset for electronic medical records (EMRs), generated by repurposing existing i2b2 clinical NLP annotations. The framework leverages expert-labeled entities and relations to automatically create 400,000 question-answer pairs and 1 million question-logical form pairs, enabling training of interpretable, clinically grounded QA models with support for complex reasoning tasks like temporal and arithmetic reasoning.
We propose a novel methodology to generate domain-specific large-scale question answering (QA) datasets by re-purposing existing annotations for other NLP tasks. We demonstrate an instance of this methodology in generating a large-scale QA dataset for electronic medical records by leveraging existing expert annotations on clinical notes for various NLP tasks from the community shared i2b2 datasets. The resulting corpus (emrQA) has 1 million question-logical form and 400,000+ question-answer evidence pairs. We characterize the dataset and explore its learning potential by training baseline models for question to logical form and question to answer mapping.
Motivation & Objective
- To address the lack of large-scale, publicly available EMR QA datasets for clinical NLP research.
- To develop a scalable, low-expert-effort framework for generating domain-specific QA datasets using existing NLP annotations.
- To create a dataset that captures the complexity of clinical narratives, including longitudinal records, temporal reasoning, and medical terminology.
- To support the development of interpretable QA models through symbolic logical forms linking questions to answers.
- To enable benchmarking of models on challenging reasoning tasks such as arithmetic and temporal reasoning not found in open-domain datasets.
Proposed method
- Repurpose existing i2b2 annotations—such as named entities and relations—from clinical notes to generate question-answer pairs and logical forms.
- Use a reverse-engineering approach: define question templates and logical form templates based on annotated entity-relation pairs.
- Map each annotated entity-relation pair to a natural language question and a symbolic logical form representing the semantic structure.
- Extract answer spans from the original clinical text, ensuring alignment with the question and logical form.
- Apply the framework to 1,000+ patient records from the i2b2 dataset, resulting in 1 million question-logical form pairs and 400,000 question-answer pairs.
- Extend the dataset with reasoning challenges by combining templates and introducing lexical variation or coreference to increase complexity.
Experimental results
Research questions
- RQ1Can existing clinical NLP annotations be systematically repurposed to generate large-scale, high-quality EMR QA datasets with minimal expert effort?
- RQ2How does the complexity of questions in emrQA compare to open-domain QA datasets like SQuAD, particularly in terms of reasoning and linguistic variation?
- RQ3To what extent do logical forms improve model interpretability and performance in clinical QA?
- RQ4What types of reasoning—such as temporal or arithmetic—emerge in real EMR QA tasks, and how can they be captured in a dataset?
- RQ5Can the proposed framework be generalized to other domains with limited annotation resources but existing NLP annotations?
Key findings
- The emrQA dataset contains 400,000 question-answer pairs and 1 million question-logical form pairs, making it the largest publicly available patient-specific EMR QA corpus.
- Baseline models for question-to-logical-form and question-to-answer mapping show lower performance on multiple-relation questions, indicating the dataset captures complex reasoning demands.
- Error analysis reveals that 38% of prediction failures involve multi-sentence reasoning, with 16% due to missing evidence in multi-evidence questions.
- Syntactic variation (14%) and medical reasoning (10%) are significant challenges, and 14% of errors stem from incomplete evidence spans predicted by DrQA.
- The dataset introduces novel reasoning challenges—arithmetic and temporal reasoning—absent in open-domain benchmarks like SQuAD, increasing its clinical relevance.
- The framework is extensible and can be applied to other domains, such as Wikipedia-based QA, using existing knowledge bases like DBPedia to generate synthetic QA pairs without crowdsourcing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.