[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Database Credentialed Access

RadNLI: A natural language inference dataset for the radiology domain

Yasuhide Miura ysmiura

" data-html="true" style="cursor: pointer;">Yuhao Zhang yuhaozhang

" data-html="true" style="cursor: pointer;">
Emily Tsai ebtsai

" data-html="true" style="cursor: pointer;">
Curtis Langlotz langlotz

" data-html="true" style="cursor: pointer;">
Dan Jurafsky jurafsky

" data-html="true" style="cursor: pointer;">

Published: June 29, 2021. Version: 1.0.0


When using this resource, please cite: (show more options)
Miura, Y., Zhang, Y., Tsai, E., Langlotz, C., & Jurafsky, D. (2021). RadNLI: A natural language inference dataset for the radiology domain (version 1.0.0). PhysioNet. https://doi.org/10.13026/mmab-c762.

Additionally, please cite the original publication:

Miura, Y., Zhang, Y., Tsai, E., Langlotz, C., & Jurafsky, D. (2021). Improving Factual Completeness and Consistency of Image-to-Text Radiology Report Generation. In Proceedings of NAACL-HLT 2021.

Please include the standard citation for PhysioNet: (show more options)
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.

Abstract

The problem of natural language inference (NLI) determines whether a natural language hypothesis can be justifiably inferred from a natural language premise. NLI has attracted researchers to benchmark it in a number of settings including medical ones. While NLI datasets such as the MedNLI dataset exist for the clinical domain, systems trained with them do not generalize well to applications that require understanding of radiology reports. We therefore introduce an NLI dataset in the radiology domain, in which NLI information is annotated on sentences drawn from radiology reports. Sentence pairs in our dataset are sampled from MIMIC-CXR and we annotated them with NLI labels by two experts: one medical expert and one computer science expert. Each pair is annotated twice, swapping its premise and hypothesis, resulting in 960 pairs. The set is then split in half, resulting in 480 pair for a validation set and 480 pairs for a test set. We confirmed that a BERT-based NLI model trained with a distant supervision approach can achieve the accuracy of 77.8% on this test set.


Background

Natural language inference (NLI) in natural language processing is the task determining a systems ability to understand language beyond simple word or character matches. Recently, NLI has achieved attention for evaluating the factual correctness in natural language generation (NLG) [1, 2]. An important new application of NLG is to build assistive systems that take radiology images of a patient and generate a textual report describing clinical observations in the images. While NLI datasets such as the MedNLI dataset [3] exist for the clinical domain, systems trained with them do not generalize well to applications that require understanding of radiology reports.

Automatic radiology report generation systems have achieved promising performance as measured by widely used NLG metrics such as CIDEr and BLEU. However, reports that achieve high performance on these NLG metrics are not always factually complete or consistent. To improve the factual consistency of generated reports, we have worked to construct an NLI dataset that can be used to evaluate the performance of an NLI model in the radiology domain. Sentence pairs in our dataset are sampled from MIMIC-CXR [4,5] and we annotated them with NLI labels by two experts: one medical expert and one computer science expert. We confirmed that a BERT-based NLI model [6] trained with a distant supervision approach can achieve the accuracy of 77.8% on this test set [7].


Methods

We sampled 480 sentence pairs that satisfy the following conditions from the validation section of MIMIC-CXR [2,3]:

  1. Two sentences ( s 1 s_1 and s 2 s_2 ) have s i m ( s 1 , s 2 ) 0.5 sim(s_1, s_2) \ge 0.5

  2. MedNLI labels are equally distributed over three labels: entailment, neutral, and contradiction

We used BERTScore [8] as the above similarity function sim. These conditions are introduced to reduce neutral pairs since most pairs will be neutral with random sampling. The sampled pairs are annotated twice—swapping their premise and hypothesis—by two experts: one medical expert and one computer science expert. For pairs that the two annotators disagreed, the labels are decided by discussion between the two labelers and one additional computer science expert. The resulting 960 bidirectional pairs are split in half to give 480 pairs for a validation set and 480 pairs for a test set. More detailed descriptions of the dataset construction process can be found in the original publication [7].


Data Description

The dataset consists of two JSON files:

  1. radnli_dev_v1.jsonl: The development set.
  2. radnli_test_v1.jsonl: The test set.

Each line in the development/test set is a json consisting of the following keys:

  1. pair_id: The ID of the NLI pair.
  2. sentence1: The premise sentence.
  3. sentence2: The hypothesis sentence.
  4. gold_label: The NLI label in one of entailment, contradiction, or neutral.

The three NLI labels are defined as followings:

  • entailment: The hypothesis can be inferred from the premise.
  • contradiction: The hypothesis can NOT be inferred from the premise.
  • neutral: The inference relation of the premise and the hypothesis is undetermined.

An example of the dataset is shown below:

{"pair_id": "0", "sentence1": "Pulmonary vascularity is normal.", "sentence2": "The heart size is normal.", "gold_label": "neutral"}
{"pair_id": "1", "sentence1": "The heart size is normal.", "sentence2": "Pulmonary vascularity is normal.", "gold_label": "neutral"}
{"pair_id": "2", "sentence1": "Previously seen pneumothorax is no longer visualized.", "sentence2": "No pleural effusions or pneumothorax.", "gold_label": "neutral"}
{"pair_id": "3", "sentence1": "No pleural effusions or pneumothorax.", "sentence2": "Previously seen pneumothorax is no longer visualized.", "gold_label": "entailment"}

The ifcc-code folder contains a snapshot of the code used in our associated paper entitled "Improving Factual Completeness and Consistency of Image-to-text Radiology Report Generation" [7]. The latest version of this code can be found on GitHub [9].


Usage Notes

This dataset may be useful for researchers seeking to explore computer assisted generation of imaging reports. In an associated paper, we demonstrate a promising method for generating such reports [7]. Code for reproducing the paper is provided in the ifcc-code folder and is also available on GitHub [9]. Please refer to the MIMIC-CXR Database (v2.0.0) for the source data for the annotations [4,5].


Conflicts of Interest

The authors have no conflicts of interest to declare.


References

  1. Falke, T., Ribeiro, L., Utama, P., Dagan, I., & Gurevych, I. (2019). Ranking Generated Summaries by Correctness: An Interesting but Challenging Application for Natural Language Inference. In Proceedings of ACL 2019.
  2. Maynez, J., Narayan, S., Bohnet, B., & McDonald, R. (2020). On Faithfulness and Factuality in Abstractive Summarization. In Proceedings of ACL 2020.
  3. Romanov, A., & Shivade, C. (2018). Lessons from Natural Language Inference in the Clinical Domain. In Proceedings of EMNLP 2018.
  4. Johnson, A., Pollard, T., Berkowitz, S., Greenbaum, N., Lungren, M., Deng, C., Mark, R., & Horng, S. (2019). MIMIC-CXR, a de-identified publicly available database of chest radiographs with free-text reports. Scientific Data, 6.
  5. Johnson, A., Pollard, T., Mark, R., Berkowitz, S., & Horng, S. (2019). MIMIC-CXR Database (version 2.0.0). PhysioNet. https://doi.org/10.13026/C2JT1Q.
  6. Devlin, J., Chang, M., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of NAACL-HLT 2019.
  7. Miura, Y., Zhang, Y., Tsai, E., Langlotz, C., & Jurafsky, D. (2021). Improving Factual Completeness and Consistency of Image-to-Text Radiology Report Generation. In Proceedings of NAACL-HLT 2021. https://www.aclweb.org/anthology/2021.naacl-main.416.pdf
  8. Zhang, T., Kishore, V., Wu, F., Weinberger, K., & Artzi, Y. (2020). BERTScore: Evaluating text generation with BERT. In ICLR 2020.
  9. Code for "Improving Factual Completeness and Consistency of Image-to-text Radiology Report Generation". https://github.com/ysmiura/ifcc [Accessed: 25 June 2021]]

Parent Projects
RadNLI: A natural language inference dataset for the radiology domain was derived from: Please cite them when using this project.
Share
Access

Access Policy:
Only credentialed users who sign the DUA can access the files.

License (for files):
PhysioNet Credentialed Health Data License 1.5.0

Data Use Agreement:
PhysioNet Credentialed Health Data Use Agreement 1.5.0

Required training:
CITI Data or Specimens Only Research

Discovery

DOI (version 1.0.0):
https://doi.org/10.13026/mmab-c762

DOI (latest version):
https://doi.org/10.13026/qk1q-vq60

Corresponding Author
You must be logged in to view the contact information.

Files