自然語言處理進行自動分類的研究-以肺部磁振造影為例
Automatic Classification of Magnetic Resonance Imaging Reports Using Natural Language Processing
摘要
背景:現階段建議的肺癌篩檢工具為低劑量電腦斷層檢查,而自從肺部影像報告與資料系統(Lung CT Screening Reporting and Data System [Lung-RADS])公佈後,已顯示Lung-RADS可增加肺癌的偵測率與降低影像檢查的偽陽性結果。目前Lung-RADS尚未被運用於其他影像檢查,為增進早期肺癌篩檢,發展出可互補於現行低劑量電腦斷層的影像檢查,且將Lung-RADS應用於此是必須的。
目的:過去咸認為磁振造影不利於肺部檢查,但近來肺部磁振造影的掃瞄技術已有大幅進展,因此本研究目的有二,除評估以磁振造影進行肺癌檢測的可行性之外,亦發展一項自然語言處理工具將肺部磁振造影報告依據Lung-RADS自動分類。
方法與材料:第一部份為回溯性研究,針對於2000年10月至2007年12月期間,共11,766名接受全身磁振造影檢查的健康受測者,提取其肺部影像與報告進行分析。檢查為工具兩台1.5-T磁振造影掃描儀其中之一,標準的掃瞄內容包括T2-weighted 2-dimensional half Fourier acquisition single shot turbo spin echo和3-dimensional volumetric interpolated breath-hold examination。全部檢查時間不到10分鐘,掃描時間僅5分鐘。若檢查發可疑肺部病灶,則立即予以轉介並追蹤。本研究第二部分運用自然語言處理建立一項可將肺部磁振造影報告依據Lung-RADS自動分類的工具。首先從本研究第一部份的11,766份全身磁振造影報告中,剔除169份全中文報告、移除中文字與擷取關於肺部的影像報告後,剩餘11,597份報告交由放射科醫師依據Lung-RADS分類,再分別從各Lung-RADS中隨機選取200份報告而得到共800份報告進行後續處理。此自然語言處理工具包含Apache clinical Text Analysis Knowledge Extraction System 4.0中的default clinical pipeline和基於規則的分類器。此基於規則的分類器乃根據Lung-RADS中的分類說明與處置建議而建立。根據放射科醫師的分類為參考標準,此自然語言處理工具的能力以召回率、精確率、F1分數、準確率等指標來評估,並分別計算各Lung-RADS分類以及Lung-RADS 3 & 4的結果。
結果:第一部份中,共559 (4.8%)名受檢者發現可疑肺部病灶,其中46名受檢者確診罹患49例原發性肺癌,三名受試者患有雙原發性肺癌,這49例原發性肺癌有41例於基線檢查時發現,8例於後續檢查中發現。整體肺癌偵測率為0.4%。若針對51至70歲的吸菸者,肺癌偵測率為1.4%。49例原發性肺癌中,第一期肺癌有37 (75.5%)例,發現時的平均腫瘤大小為1.98公分,最多的肺癌種類為線癌,有38 (77.6%)例。第二部份中,在800份隨機選取的肺部磁振造影報告裡有692份被自然語言處理工具正確的分類,整體準確率為86.5%。若針對Lung-RADS 4,召回率、精確率、F1分數、準確率分別為86.0%、92.5%、89.1%與94.8%。若針對Lung-RADS 3 & 4,召回率、精確率、F1分數、準確率分別為97.5%、90.5%、93.9%、93.6%。
結論:快速且輻射零劑量的磁振造影可用於健康人群的肺癌檢測,而自然語言處理工具可協助放射科醫師,將肺部磁振造影報告依據Lung-RADS自動分類。此結果可作為未來研究的基礎,例如有助於未來針對肺部磁振造影臨床試驗的研究設計,有助於發展適用於肺部磁振造影的詞彙,或是整合於放射科醫師的報告系統成為即時決策輔助或事後稽核的工具。
目的:過去咸認為磁振造影不利於肺部檢查,但近來肺部磁振造影的掃瞄技術已有大幅進展,因此本研究目的有二,除評估以磁振造影進行肺癌檢測的可行性之外,亦發展一項自然語言處理工具將肺部磁振造影報告依據Lung-RADS自動分類。
方法與材料:第一部份為回溯性研究,針對於2000年10月至2007年12月期間,共11,766名接受全身磁振造影檢查的健康受測者,提取其肺部影像與報告進行分析。檢查為工具兩台1.5-T磁振造影掃描儀其中之一,標準的掃瞄內容包括T2-weighted 2-dimensional half Fourier acquisition single shot turbo spin echo和3-dimensional volumetric interpolated breath-hold examination。全部檢查時間不到10分鐘,掃描時間僅5分鐘。若檢查發可疑肺部病灶,則立即予以轉介並追蹤。本研究第二部分運用自然語言處理建立一項可將肺部磁振造影報告依據Lung-RADS自動分類的工具。首先從本研究第一部份的11,766份全身磁振造影報告中,剔除169份全中文報告、移除中文字與擷取關於肺部的影像報告後,剩餘11,597份報告交由放射科醫師依據Lung-RADS分類,再分別從各Lung-RADS中隨機選取200份報告而得到共800份報告進行後續處理。此自然語言處理工具包含Apache clinical Text Analysis Knowledge Extraction System 4.0中的default clinical pipeline和基於規則的分類器。此基於規則的分類器乃根據Lung-RADS中的分類說明與處置建議而建立。根據放射科醫師的分類為參考標準,此自然語言處理工具的能力以召回率、精確率、F1分數、準確率等指標來評估,並分別計算各Lung-RADS分類以及Lung-RADS 3 & 4的結果。
結果:第一部份中,共559 (4.8%)名受檢者發現可疑肺部病灶,其中46名受檢者確診罹患49例原發性肺癌,三名受試者患有雙原發性肺癌,這49例原發性肺癌有41例於基線檢查時發現,8例於後續檢查中發現。整體肺癌偵測率為0.4%。若針對51至70歲的吸菸者,肺癌偵測率為1.4%。49例原發性肺癌中,第一期肺癌有37 (75.5%)例,發現時的平均腫瘤大小為1.98公分,最多的肺癌種類為線癌,有38 (77.6%)例。第二部份中,在800份隨機選取的肺部磁振造影報告裡有692份被自然語言處理工具正確的分類,整體準確率為86.5%。若針對Lung-RADS 4,召回率、精確率、F1分數、準確率分別為86.0%、92.5%、89.1%與94.8%。若針對Lung-RADS 3 & 4,召回率、精確率、F1分數、準確率分別為97.5%、90.5%、93.9%、93.6%。
結論:快速且輻射零劑量的磁振造影可用於健康人群的肺癌檢測,而自然語言處理工具可協助放射科醫師,將肺部磁振造影報告依據Lung-RADS自動分類。此結果可作為未來研究的基礎,例如有助於未來針對肺部磁振造影臨床試驗的研究設計,有助於發展適用於肺部磁振造影的詞彙,或是整合於放射科醫師的報告系統成為即時決策輔助或事後稽核的工具。
Background: Since Lung Computed Tomography Screening Reporting and Data System (Lung-RADS) was published, it has been shown to increase the detection of lung cancer and to reduce the false-positive results. Currently, Lung-RADS has not been applied on the other imaging modalities. To facilitate the early detection of lung cancers, it is necessary to adapt an imaging exam which can be complement to low-dose CT, and to develop an automatic tool for the application of Lung-RADS on the complementary imaging exam.
Aim: Magnetic resonance imaging (MRI) was previously considered to be inappropriate for lung examinations. However, recent refinements of lung MRI techniques have reduced the examination time and improved diagnostic sensitivity and specificity. Therefore, this study aimed to assess the feasibility of performing rapid MRI for lung cancer detection and to develop a natural language processing (NLP) tool for automatically classify lung MRI reports by Lung-RADS.
Materials and methods: The first part was a retrospective study for the images of lung parenchyma, which were extracted from whole-body MRI examinations between October 2000 and December 2007. A total of 11,766 consecutive healthy individuals with a mean age of 50.4 years (56.8% male) were scanned using one of two 1.5-T scanners. The standard protocol included a quick whole-lung survey with T2-weighted 2-dimensional half Fourier acquisition single shot turbo spin echo and 3-dimensional volumetric interpolated breath-hold examination. Total examination time was less than 10 minutes, and scanning time was only 5 minutes. Prompt referrals and follow-ups were arranged in cases of suspicious lung nodules. The second part was to develop a rule-based NLP pipeline to automatically classify lung MRI reports by Lung-RADS. From the 11,766 whole-body MRI reports in the first part of the study, we excluded 169 full Chinese reports, removed the Chinese characters, and extracted the lung part from whole-body MRI reports. The remaining 11,597 lung MRI reports were classified by one radiologist according to Lung-RADS. Then we randomly selected 200 lung MRI reports from each Lung-RADS category to form a set of 800 lung MRI reports. The rule-based NLP pipeline consisted of the default clinical pipeline of Apache clinical Text Analysis Knowledge Extraction System 4.0 and a rule-based classifier. The rule-based classifier was constructed according to the category descriptors and management recommendations in Lung-RADS. By taking radiologists’ classification as reference standard, the performance of the rule-based NLP pipeline was evaluated by recall, precision, F1-measure, and accuracy. These performance measures were calculated for each category of Lung-RADS as well as Lung-RADS 3 & 4.
Results: A total of 559 individuals (4.8%) had suspicious lung nodules. A total of 49 primary lung cancers were diagnosed in 46 individuals: 41 prevalence cancers and 8 incidence cancers. The overall detection rate of primary lung cancers was 0.4%. For smokers aged 51 to 70 years, the detection rate was 1.4%. TNM stage I disease accounted for 37 (75.5%). The mean size of detected lung cancers was 1.98 cm. The most histological types were adenocarcinoma in 38 (77.6%). Among the randomly selected 800 lung MRI reports, 692 reports were correctly classified. The overall accuracy was 86.5%. For Lung-RADS 4, the recall, precision, F1-measure, and accuracy was 86.0%, 92.5%, 89.1%, 94.8%, respectively. For Lung-RADS 3 & 4, the recall, precision, F1-measure, and accuracy was 97.5%, 90.5%, 93.9%, 93.6%, respectively.
Conclusion: Rapid zero-dose MRI can be used for lung cancer detection in a healthy population and a rule-based NLP pipeline can assist radiologists to automatically classify lung MRI reports by Lung-RADS. The results can be a fundamental for future work, including to facilitate the study design of clinical trials for MRI lung cancer screening, to support the development of lexicon for lung MRI, and to be integrated into radiologists’ reporting system for real time decision support or post hoc auditing.
Aim: Magnetic resonance imaging (MRI) was previously considered to be inappropriate for lung examinations. However, recent refinements of lung MRI techniques have reduced the examination time and improved diagnostic sensitivity and specificity. Therefore, this study aimed to assess the feasibility of performing rapid MRI for lung cancer detection and to develop a natural language processing (NLP) tool for automatically classify lung MRI reports by Lung-RADS.
Materials and methods: The first part was a retrospective study for the images of lung parenchyma, which were extracted from whole-body MRI examinations between October 2000 and December 2007. A total of 11,766 consecutive healthy individuals with a mean age of 50.4 years (56.8% male) were scanned using one of two 1.5-T scanners. The standard protocol included a quick whole-lung survey with T2-weighted 2-dimensional half Fourier acquisition single shot turbo spin echo and 3-dimensional volumetric interpolated breath-hold examination. Total examination time was less than 10 minutes, and scanning time was only 5 minutes. Prompt referrals and follow-ups were arranged in cases of suspicious lung nodules. The second part was to develop a rule-based NLP pipeline to automatically classify lung MRI reports by Lung-RADS. From the 11,766 whole-body MRI reports in the first part of the study, we excluded 169 full Chinese reports, removed the Chinese characters, and extracted the lung part from whole-body MRI reports. The remaining 11,597 lung MRI reports were classified by one radiologist according to Lung-RADS. Then we randomly selected 200 lung MRI reports from each Lung-RADS category to form a set of 800 lung MRI reports. The rule-based NLP pipeline consisted of the default clinical pipeline of Apache clinical Text Analysis Knowledge Extraction System 4.0 and a rule-based classifier. The rule-based classifier was constructed according to the category descriptors and management recommendations in Lung-RADS. By taking radiologists’ classification as reference standard, the performance of the rule-based NLP pipeline was evaluated by recall, precision, F1-measure, and accuracy. These performance measures were calculated for each category of Lung-RADS as well as Lung-RADS 3 & 4.
Results: A total of 559 individuals (4.8%) had suspicious lung nodules. A total of 49 primary lung cancers were diagnosed in 46 individuals: 41 prevalence cancers and 8 incidence cancers. The overall detection rate of primary lung cancers was 0.4%. For smokers aged 51 to 70 years, the detection rate was 1.4%. TNM stage I disease accounted for 37 (75.5%). The mean size of detected lung cancers was 1.98 cm. The most histological types were adenocarcinoma in 38 (77.6%). Among the randomly selected 800 lung MRI reports, 692 reports were correctly classified. The overall accuracy was 86.5%. For Lung-RADS 4, the recall, precision, F1-measure, and accuracy was 86.0%, 92.5%, 89.1%, 94.8%, respectively. For Lung-RADS 3 & 4, the recall, precision, F1-measure, and accuracy was 97.5%, 90.5%, 93.9%, 93.6%, respectively.
Conclusion: Rapid zero-dose MRI can be used for lung cancer detection in a healthy population and a rule-based NLP pipeline can assist radiologists to automatically classify lung MRI reports by Lung-RADS. The results can be a fundamental for future work, including to facilitate the study design of clinical trials for MRI lung cancer screening, to support the development of lexicon for lung MRI, and to be integrated into radiologists’ reporting system for real time decision support or post hoc auditing.