Nicolas Wagneur, Olivier Capitain, Stéphane Supiot, Florent Le Borgne, François Bocquet, Mario Campone, Tanguy Perennec
{"title":"Hybrid ReGex and Natural Language Inference Model as a Zero-Shot Classifier for Extracting Data From Medical Reports.","authors":"Nicolas Wagneur, Olivier Capitain, Stéphane Supiot, Florent Le Borgne, François Bocquet, Mario Campone, Tanguy Perennec","doi":"10.1200/CCI-25-00130","DOIUrl":null,"url":null,"abstract":"<p><strong>Purpose: </strong>This study presents a new method based on regular expressions (ReGex) and artificial intelligence for extracting relevant medical data from clinical reports. This hybrid approach is designed to address the limitations of each technique. The pipeline is evaluated for its effectiveness in extracting key clinical information from prostate cancer medical reports.</p><p><strong>Methods: </strong>We developed a hybrid pipeline that combines ReGex for initial data extraction with a Natural Language Inference model for classification. This approach was retrospectively applied to 1,000 reports randomly selected among all consultation reports of patients with prostate cancer treated at the institute, focusing on identifying key clinical information such as rectal bleeding, dysuria, pollakiuria, and hematuria. The model's performance was evaluated using precision, recall, accuracy, F1-score, and Cohen's kappa coefficient.</p><p><strong>Results: </strong>The pipeline demonstrated high performance, with precision scores ranging from 0.778 to 0.954 and recall consistently high at 0.920 to 1.00. F1-scores indicated balanced accuracy across symptoms, and Cohen's kappa values (0.871 to 0.951) reflected strong agreement with physician-labeled data.</p><p><strong>Conclusion: </strong>The proposed pipeline is both efficient and fast while being computationally lightweight. It achieves high accuracy in extracting medical data from clinical reports, making it an effective and practical tool for clinical research and health care applications.</p>","PeriodicalId":51626,"journal":{"name":"JCO Clinical Cancer Informatics","volume":"9 ","pages":"e2500130"},"PeriodicalIF":2.8000,"publicationDate":"2025-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"JCO Clinical Cancer Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1200/CCI-25-00130","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/9/22 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"ONCOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Purpose: This study presents a new method based on regular expressions (ReGex) and artificial intelligence for extracting relevant medical data from clinical reports. This hybrid approach is designed to address the limitations of each technique. The pipeline is evaluated for its effectiveness in extracting key clinical information from prostate cancer medical reports.
Methods: We developed a hybrid pipeline that combines ReGex for initial data extraction with a Natural Language Inference model for classification. This approach was retrospectively applied to 1,000 reports randomly selected among all consultation reports of patients with prostate cancer treated at the institute, focusing on identifying key clinical information such as rectal bleeding, dysuria, pollakiuria, and hematuria. The model's performance was evaluated using precision, recall, accuracy, F1-score, and Cohen's kappa coefficient.
Results: The pipeline demonstrated high performance, with precision scores ranging from 0.778 to 0.954 and recall consistently high at 0.920 to 1.00. F1-scores indicated balanced accuracy across symptoms, and Cohen's kappa values (0.871 to 0.951) reflected strong agreement with physician-labeled data.
Conclusion: The proposed pipeline is both efficient and fast while being computationally lightweight. It achieves high accuracy in extracting medical data from clinical reports, making it an effective and practical tool for clinical research and health care applications.