Literature DB >> 29888070

NegBio: a high-performance tool for negation and uncertainty detection in radiology reports.

Yifan Peng1, Xiaosong Wang2, Le Lu2, Mohammadhadi Bagheri2, Ronald Summers2, Zhiyong Lu1.   

Abstract

Negative and uncertain medical findings are frequent in radiology reports, but discriminating them from positive findings remains challenging for information extraction. Here, we propose a new algorithm, NegBio, to detect negative and uncertain findings in radiology reports. Unlike previous rule-based methods, NegBio utilizes patterns on universal dependencies to identify the scope of triggers that are indicative of negation or uncertainty. We evaluated NegBio on four datasets, including two public benchmarking corpora of radiology reports, a new radiology corpus that we annotated for this work, and a public corpus of general clinical texts. Evaluation on these datasets demonstrates that NegBio is highly accurate for detecting negative and uncertain findings and compares favorably to a widely-used state-of-the-art system NegEx (an average of 9.5% improvement in precision and 5.1% in F1-score). AVAILABILITY: https://github.com/ncbi-nlp/NegBio.

Entities:  

Year:  2018        PMID: 29888070      PMCID: PMC5961822     

Source DB:  PubMed          Journal:  AMIA Jt Summits Transl Sci Proc


Introduction

In radiology, findings are observations regarding each area of the body examined in the imaging study and their mentions in radiology reports can be positive, negative or uncertain. In this paper, we call a finding negative if it is negated, and uncertain if in an equivocal or hypothetical statement. For example, “pneumothorax” is negative in “no evidence of pneumothorax” and is uncertain in “suspicious pneumothorax”. Negative and uncertain findings are frequent in radiology reports[1]. Since they may indicate the absence of findings mentioned within the radiology report, identifying them is as important as identifying positive findings. Otherwise, information extraction algorithms that do not distinguish negative and uncertain findings from positive ones may return many irrelevant results. Even though many natural language processing applications have been developed in recent years that successfully extract findings mentioned in medical reports, discriminating between positive, negative, and uncertain findings remains challenging[2-5]. Previous efforts in this area include both rule-based and machine-learning approaches. Rule-based systems rely on negation keywords and rules to determine the negation[6]. NegEx is a widely used algorithm that utilizes regular expressions[7, 8]. However, regular expressions rely solely on surface text, and thus are limited when attempting to capture complex syntactic constructions such as long noun phrases. In its early version, NegEx limited the scope by hard-coded word windows size. For example, NegEx cannot detect negative “effusion” in “clear of focal airspace disease, pneumothorax, or pleural effusion” because “effusion” is beyond the scope of “clear” (5 words). In its later versions, the algorithm (ConText[9]) extended scope to the end of the sentence (or allow the user to set a window size). In this work, we use the NegEx enhanced version via MetaMap[10]. In addition to regular expressions, there were proposals to use parse trees or dependency graph to capture long distance information between negation keywords and the target. However, none defined patterns directly on the syntactic structures to take the advantage of linguistic knowledge[11-13]. For example, Sohn et al, 2012) used regular expressions on the dependency path[12] and (Mehrabi et al, 2015) used dependency patterns as a post-processing step after NegEx to remove false positives of negative findings[13]. Moreover, none of these dependency graph-based methods is made publicly available. Finally, machine learning offers another approach to extract negations[2, 14–16]. These approaches need manually annotated in-domain data to ensure their performance. Unfortunately, such data are generally not publicly available[17-20]. Furthermore, machine learning based approaches often suffer in generalizability the ability to perform well on text previously unseen. In this work, we propose NegBio, a new and open-source rule-based tool for negation and uncertain detection in radiology reports. Unlike previous methods, NegBio utilizes universal dependencies for pattern definition and subgraph matching for graph traversal search so that the scope for negation/uncertainty is not limited to fixed word distance[21, 22]. In addition to negation, NegBio also detects uncertainty, a useful feature that is not well studied before. For evaluating NegBio, we first assessed its ability to improve the correct extraction of positively asserted medical findings, which is a practical task where negation detection is often required. That is, NegBio is applied to remove negated and uncertain findings in an end-to-end information extraction system, which takes raw clinical text as input and aims to extract only positively asserted findings in its output. By doing so, we expect to see improvements in precision for the whole system. In the meantime, we compared NegBio with the widely-used NegEx system. For ensuring NegBio is a robust and generalizable approach, two data sets were used for this purpose. One is a public benchmarking dataset, OpenI[23]. The other is a newly created corpus, ChestX-ray, which includes 900 radiology with 14 informative yet generic types of medical findings. In both datasets, only positive findings are annotated. Furthermore, we also evaluated NegBio on its performance to detect negations in two additional corpora (BioScope[24] and PK[*]) where negated expressions were fully annotated. On BioScope, we followed the lead of (Demner-Fushman et al, 2017) in our evaluation by using MetaMap to annotate the negative findings and treat them as ground truth[25]. Also note that unlike the radiology reports in the other three corpora, the PK corpus consists of general clinical texts.

Methods

NegBio tasks as inputting a sentence with pre-tagged mentions of medical findings, and checks whether a specific finding is negative or uncertain. Figure 1 shows the overall pipeline of NegBio. In the case of using MetaMap alone, the system will skip the NegBio part and produce the labels directly. Detailed steps are described in the following sub-sections.
Figure 1.

An overall pipeline of NegBio.

Medical findings recognition

Our approach labeled the reports in two passes. We first detected all the findings and their corresponding UMLS© concepts using MetaMap[10]. Here we only focused on 14 common disease finding types as described in Table 2. The 14 finding types are most common in our institute, which are selected by radiologists from a clinical perspective. The next steps involved applying NegBio to all identified findings and subsequently ruling out those that are negative and uncertain.
Table 2:

Number of findings in OpenI and ChestX-ray.

FindingOpenIChestX-ray
Atelectasis315311
Cardiomegaly345202
Consolidation3079
Edema4243
Effusion155381
Emphysema10354
Fibrosis2315
Hernia462
Infiltration60383
Mass15114
Nodule106154
Pleural Thickening5252
Pneumonia4062
Pneumothorax22279
Total1,3542,131

Universal dependency graph construction

In this work, we utilized the universal dependency graph to define patterns. It was designed to provide a simple description of the grammatical relationships in a sentence that can be easily understood by non-linguists and effectively used by downstream language understanding tasks. All universal dependencies information can be represented by a directed graph, called universal dependency graph (UDG). The vertices in a UDG are labeled with information such as the word, part-of-speech and the word lemma. The edges in a UDG represent typed dependencies from the governor to its dependent and are labeled with dependency type such as “nsubj” (nominal subject) or “conj” (conjunction). Figure 2(a) shows a UDG of sentence “Lungs are clear of acute infiltrates or pleural effusion.” where “Lung” is the subject and “acute infiltrates” and “pleural effusion” are two coordinating findings.
Figure 2.

The dependency graph of (a) “Lungs are clear of acute infiltrates or pleural effusion”, (b) “There is no evidence of tuberculous disease, and (c) “Definite infiltrate is not excluded”.

To obtain the UDG of a sentence, we first split and tokenized each report into sentences using NLTK[26]. Next, we parsed each sentence with the Bllip parser trained with the biomedical model[27, 28]. The universal dependencies were then obtained by applying the Stanford dependencies converter on the parse tree with the CCProcessed and Universal option[21, 29].

Negation and uncertainty detection

In NegBio, we defined rules on the UDG by utilizing the dependency label and direction information[†]’. We searched the UDG from the head word of a finding mention (e.g., “effusion” in Figure 2(a)). If the word node matches one of our pre-defined patterns, we treated it as negative/uncertain. For example, the finding “pleural effusion” in Figure 2(a) is negated because it matches the rule “{} effusion” with a dependency “nmod:of”. In NegBio, we use “Semgrex”, a pattern language, for rapid development of dependency rules[30]. Rules in NegBio can be either a chain of dependencies or a sub-graph. Figure 2(b) shows how a chain rule “{} tuberculous disease” as negative. Figure 2(c) shows how a sub-graph rule “{} < ({lemma:/exclude/} >neg {word:/not/})” matches “infiltrate”. We call the latter case sub-graph matching because “not” is attached to “excluded” and is the sibling of “infiltrate” in the UDG. Since our patterns are defined on the graph, the negation/uncertainty scope is thus not limited to word distance. Instead, it is based on syntactic context. Specifically, we converted each rule to a subgraph for matching nodes/edges in the dependency graph. Here, we applied sub-graph matching algorithm to search the patterns in the graph[22]. Therefore, the negation/uncertainty scope is all vertices covered in the subgraph. The computational complexity of the Bllip parser and subgraph-matching algorithm is O(m3) and O(m2k respectively where m is the length of an input sentence and k is the vertex degree.

Results

Evaluations on findings detection in an end-to-end system

First, we evaluated NegBio by comparing the final extracted findings to the gold standard. Precision, recall, and F1–score were computed accordingly based on the number of true positives, false positives, and false negatives. We used the following dataset to evaluate NegBio negation/uncertainty detection (1st and 2nd rows in Table 1).
Table 1:

Descriptions of OpenI, ChestX-ray, BioScope, and PK.

DatasetReportsPositivesNegatives
OpenI3,8511,354
ChestX-ray9002,131
BioScope test set977466
PK116491
OpenI is a publicly available radiology dataset[23]. Using the OpenI API[‡], we retrieved 3,851 unique radiology reports where each OpenI report was annotated with key concepts including body parts (e.g., “lung”), findings (e.g., “pneumothorax”) and diagnoses (e.g., “tuberculosis”). Then, the radiologist (Bagheri M) manually checked the annotations in OpenI and explicitly distinguished between a body part, a finding and a diagnosis. The findings were then organized into fine-grained categories for two reasons. First, each category should have enough examples for the evaluation. Second, such categories should contain enough details to facilitate correlation of findings with the diagnosis. As a result, we obtained 14 domain-important yet generic types of medical findings, enabling computational inference from symptoms to a disease in the future. The final dataset is shown in Table 1 and Table 2. ChestX-ray is a newly constructed gold-standard dataset to assess the robustness of NegBio[31]. We randomly selected 900 reports from a larger radiology dataset collected from a national hospital and asked two annotators to mark the above 14 types of findings. A trial set of 30 reports was first used to help us better understand the annotation task. Then, each report was independently annotated by two experts. In this paper, we used the inter-rater agreement (IRA) to measure the level of agreement between two experts[32]. The Cohen’s kappa is 84.3%. In the experiments, we considered three scenarios: using (1) MetaMap only, (2) MetaMap with the baseline algorithm NegEx, and (3) MetaMap with NegBio. In this paper, we used 80% of the OpenI to design the patterns, and used the remaining 20% for testing. We did not further tune the NegBio patterns for ChestX-ray, thus the full dataset was used for testing. Please also note that “negative” and “uncertain” cases are not annotated on the document level in both OpenI and ChestX-ray. Table 3 shows the results on OpenI and ChestX-ray corpora, as measured by precision (P), recall (R), and Fl-score (F). The 1st and 2nd rows demonstrate that negation/uncertainty detection dramatically improves the precision (from 13.8% to 77.2%), even with a baseline approach. As a result, the Fl-score also increases significantly (from 23.8% to 80.7%). This observation proves the usefulness of negation detection in the task of information extraction. The 2nd and 3rd rows compare NegEx with our method NegBio. Overall, NegBio achieved a higher precision of 89.8%, recall of 85.0%, and Fl-score of 87.3% on OpenI.
Table 3:

Evaluation results on OpenI, ChestX-ray using (1) MetaMap, (2) MetaMap and NegEx, and (3) MetaMap and NegBio. Performance is measured by precision (P), recall (R), and F1–score (F) on positive findings.

MethodOpenIChestX-ray
PRFPRF
MetaMap13.885.723.872.395.782.4
MetaMap+NegEx77.284.680.782.895.588.7
MetaMap+NegBio89.885.087.394.494.494.4
To test the generalizability of NegBio, we repeated the experiments on the second dataset ChestX-ray. We observed that on ChestX-ray, the overall precision with NegBio was substantially higher (11.6% improvement) than that of NegEx with comparable recall (94.4%) and overall higher Fl-score (94.4%).

Experiments on negation detection

On these two datasets, we evaluated NegBio by comparing the “negations” recognition results to the gold standard. In other words, the extracted results are considered a true positive if they are annotated as negative in the document. We used the following dataset to evaluate NegBio negation/uncertainty detection (3rd and 4th rows in Table 1). BioScope consists of medical and biological texts annotated for negation, speculation and their linguistic scope[24]. Here, we considered only negation annotations in BioScope for our purpose. Hence, the test set of medical free-texts consists of 977 radiology reports with 466 negative scopes. To set the ground truth for negations, we followed the lead of (Demner-Fushman et al, 2017) in our evaluation[25]. We used the MetaMap to annotate the findings in the negative scopes and treat them as ground truth. As a result, we obtained 233 findings within the 466 annotated negative scopes. PK (prepared by Peter Kang) consists of 116 documents with 1,885 “affirmed” and 491 “negated” phrases. Different from OpenI, ChestX-ray, and BioScope that are all radiological reports, PK consists of general clinical text thus is suitable to test the generalizability of NegBio on other types of clinical texts. Table 4 shows the results on BioScope and PK respectively. On BioScope, we observed that, the overall performance of NegBio was higher than that of NegEx with a substantial 25.5% increase in precision and 13.6% increase in F1–score. On PK, NegBio also achieved slightly higher precision (2.7%) and F1–scores (0.2%).
Table 4:

Evaluation results on BioScope and PK using NegEx and NegBio. Performance is measured by precision (P), recall (R), and F1–score (F) on negations.

MethodBioScopePK
PRFPRF
NegEx70.698.782.395.191.293.1
NegBio96.195.795.998.488.693.3

Discussion

Overall, NegBio achieved a significant improvement on all datasets over the popular method NegEx. This indicates that the use of negation and uncertainty detection on the syntactic level successfully removes false positive cases of “positive” findings. In general, NegBio leverages syntactic structures in the rules. Hence, its rules are expected to be not only stricter than the regular expressions but also more generalizable to match more text variations. In the negation detection task, NegBio achieved higher precision because the patterns are stricter. For example, the “difficult to keep focused” is positive in “His review of systems is limited by the fact that he is not terribly cooperative and he is difficult to keep focused”. The regular expression “not.*” used in NegEx over-extends the negation scope of “not” to the end of the sentence. Therefore, NegEx incorrectly detects “difficult to keep focused” as a negative. On the other hand, NegBio can detect that the negation scope of “not” is “terribly cooperative” according to the conjunction syntactic structure of this sentence. Therefore, NegBio correctly detects “difficult to keep focused” as a positive. As for the recall, NegBio did not achieve higher recall because both datasets are relatively small and contain limited text variation. In the positive findings detection tasks, the recalls of NegBio are comparable to NegEx because we count positive findings on the document level. In other words, even if the NegBio patterns miss one negation in one sentence, it might detect others in the same document. More interestingly, NegBio achieved higher precision for two main reasons. One is due to the uncertainty detection. We further assessed the effects of uncertain finding detection rules. When disabled in NegBio, the overall performance dropped 7.4% and 2.5% relatively in F-score on OpenI and ChestX-ray datasets respectively. The results demonstrate that uncertain finding detection is important in this task. The second reason is due to the text variations. Comparing the size of our four datasets, OpenI and ChestX-ray are much larger, in terms of unique mentions, than BioScope and PK. Therefore, they contain more text variations. Furthermore, we analyzed the errors of our method and categorized them into three major types. The first type is related to Named Entity Recognition accuracy where some findings are difficult to be recognized correctly by MetaMap. For example, 30% of “Nodule” were not correctly recognized on the OpenI corpus. The second type of errors is due to parsing, on which our patterns rely on input. In X-ray reports, instead of using a full sentence, radiologists tend to use long noun phrases without verbs to describe the findings (e.g., “No definite pleural effusion seen, no typical findings of pulmonary edema.”). The Bllip parser could not parse these noun phrases accurately. Finally, our rules missed double negation (e.g., “Findings cannot exclude increasing pleural effusions.”). The double negation cancels one another and indicates a positive finding. Our method currently lacks rules to recognize double negatives and thus generates more false negatives. While there are studies discussing this topic by providing limited double-negation triggers[33, 34], it is not yet known if they are generalizable to complex sentences and applicable on the dependency structure. We therefore regard double-negation as an open challenge that warrants further investigation. We also noticed that MetaMap had a much lower performance on OpenI than its results on ChestX-ray without negation detection. This is largely due to its low precisions on “Pneumothorax” and “Consolidation” in the OpenI dataset. Since only positive findings are annotated in OpenI and ChestX-ray, we are unable to evaluate and report all the “negation” and “uncertain” cases in these two corpora. Fully annotating all the negations and uncertainties in these two corpora remains as future work for us.

Conclusion

In this paper, we propose an algorithm, NegBio, to determine negative and uncertain findings in radiology reports. This information is also useful for improving the precision of information extraction from radiology reports. We evaluated NegBio on two publicly available corpora and a newly constructed corpus. We showed that NegBio achieved a significant improvement on all datasets over the state of the art. By making NegBio an open source tool, we believe it can contribute to the research and development in healthcare informatics community for real-world applications. In the future, we plan to explore its applicability in clinical texts beyond radiology reports.
  21 in total

1.  Use of general-purpose negation detection to augment concept indexing of medical documents: a quantitative study using the UMLS.

Authors:  P G Mutalik; A Deshpande; P M Nadkarni
Journal:  J Am Med Inform Assoc       Date:  2001 Nov-Dec       Impact factor: 4.497

2.  Evaluation of negation phrases in narrative clinical reports.

Authors:  W W Chapman; W Bridewell; P Hanbury; G F Cooper; B G Buchanan
Journal:  Proc AMIA Symp       Date:  2001

3.  MITRE system for clinical assertion status classification.

Authors:  Cheryl Clark; John Aberdeen; Matt Coarr; David Tresner-Kirsch; Ben Wellner; Alexander Yeh; Lynette Hirschman
Journal:  J Am Med Inform Assoc       Date:  2011-04-22       Impact factor: 4.497

4.  An overview of MetaMap: historical perspective and recent advances.

Authors:  Alan R Aronson; François-Michel Lang
Journal:  J Am Med Inform Assoc       Date:  2010 May-Jun       Impact factor: 4.497

5.  Representing information in patient reports using natural language processing and the extensible markup language.

Authors:  C Friedman; G Hripcsak; L Shagina; H Liu
Journal:  J Am Med Inform Assoc       Date:  1999 Jan-Feb       Impact factor: 4.497

6.  DEEPEN: A negation detection system for clinical text incorporating dependency relation into NegEx.

Authors:  Saeed Mehrabi; Anand Krishnan; Sunghwan Sohn; Alexandra M Roch; Heidi Schmidt; Joe Kesterson; Chris Beesley; Paul Dexter; C Max Schmidt; Hongfang Liu; Mathew Palakal
Journal:  J Biomed Inform       Date:  2015-03-16       Impact factor: 6.317

7.  MetaMap Lite: an evaluation of a new Java implementation of MetaMap.

Authors:  Dina Demner-Fushman; Willie J Rogers; Alan R Aronson
Journal:  J Am Med Inform Assoc       Date:  2017-07-01       Impact factor: 4.497

8.  Preparing a collection of radiology examinations for distribution and retrieval.

Authors:  Dina Demner-Fushman; Marc D Kohli; Marc B Rosenman; Sonya E Shooshan; Laritza Rodriguez; Sameer Antani; George R Thoma; Clement J McDonald
Journal:  J Am Med Inform Assoc       Date:  2015-07-01       Impact factor: 4.497

9.  Information Extraction for Clinical Data Mining: A Mammography Case Study.

Authors:  Houssam Nassif; Ryan Woods; Elizabeth Burnside; Mehmet Ayvaci; Jude Shavlik; David Page
Journal:  Proc IEEE Int Conf Data Min       Date:  2009

10.  Towards comprehensive syntactic and semantic annotations of the clinical narrative.

Authors:  Daniel Albright; Arrick Lanfranchi; Anwen Fredriksen; William F Styler; Colin Warner; Jena D Hwang; Jinho D Choi; Dmitriy Dligach; Rodney D Nielsen; James Martin; Wayne Ward; Martha Palmer; Guergana K Savova
Journal:  J Am Med Inform Assoc       Date:  2013-01-25       Impact factor: 4.497

View more
  26 in total

1.  Understanding spatial language in radiology: Representation framework, annotation, and spatial relation extraction from chest X-ray reports using deep learning.

Authors:  Surabhi Datta; Yuqi Si; Laritza Rodriguez; Sonya E Shooshan; Dina Demner-Fushman; Kirk Roberts
Journal:  J Biomed Inform       Date:  2020-06-18       Impact factor: 6.317

2.  Using Radiomics as Prior Knowledge for Thorax Disease Classification and Localization in Chest X-rays.

Authors:  Yan Han; Chongyan Chen; Liyan Tang; Mingquan Lin; Ajay Jaiswal; Song Wang; Ahmed Tewfik; George Shih; Ying Ding; Yifan Peng
Journal:  AMIA Annu Symp Proc       Date:  2022-02-21

3.  Trustworthy assertion classification through prompting.

Authors:  Song Wang; Liyan Tang; Akash Majety; Justin F Rousseau; George Shih; Ying Ding; Yifan Peng
Journal:  J Biomed Inform       Date:  2022-07-08       Impact factor: 8.000

4.  Rule-based natural language processing for automation of stroke data extraction: a validation study.

Authors:  Dane Gunter; Paulo Puac-Polanco; Olivier Miguel; Rebecca E Thornhill; Amy Y X Yu; Zhongyu A Liu; Muhammad Mamdani; Chloe Pou-Prom; Richard I Aviv
Journal:  Neuroradiology       Date:  2022-08-01       Impact factor: 2.995

Review 5.  A scoping review of publicly available language tasks in clinical natural language processing.

Authors:  Yanjun Gao; Dmitriy Dligach; Leslie Christensen; Samuel Tesch; Ryan Laffin; Dongfang Xu; Timothy Miller; Ozlem Uzuner; Matthew M Churpek; Majid Afshar
Journal:  J Am Med Inform Assoc       Date:  2022-09-12       Impact factor: 7.942

6.  Contrastive Cross-Modal Pre-Training: A General Strategy for Small Sample Medical Imaging.

Authors:  Gongbo Liang; Connor Greenwell; Yu Zhang; Xin Xing; Xiaoqin Wang; Ramakanth Kavuluru; Nathan Jacobs
Journal:  IEEE J Biomed Health Inform       Date:  2022-04-14       Impact factor: 7.021

7.  Qualifying Certainty in Radiology Reports through Deep Learning-Based Natural Language Processing.

Authors:  F Liu; P Zhou; S J Baccei; M J Masciocchi; N Amornsiripanitch; C I Kiefe; M P Rosen
Journal:  AJNR Am J Neuroradiol       Date:  2021-08-19       Impact factor: 4.966

8.  Radiology Text Analysis System (RadText): Architecture and Evaluation.

Authors:  Song Wang; Mingquan Lin; Ying Ding; George Shih; Zhiyong Lu; Yifan Peng
Journal:  IEEE Int Conf Healthc Inform       Date:  2022-09-08

9.  A decision support system for mammography reports interpretation.

Authors:  Marzieh Esmaeili; Seyed Mohammad Ayyoubzadeh; Nasrin Ahmadinejad; Marjan Ghazisaeedi; Azin Nahvijou; Keivan Maghooli
Journal:  Health Inf Sci Syst       Date:  2020-04-01

10.  Discriminative ensemble learning for few-shot chest x-ray diagnosis.

Authors:  Angshuman Paul; Yu-Xing Tang; Thomas C Shen; Ronald M Summers
Journal:  Med Image Anal       Date:  2020-11-19       Impact factor: 8.545

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.