De-identification of clinical notes with pseudo-labeling using regular expression rules and pre-trained BERT.

IF 3.8 3区 医学 Q2 MEDICAL INFORMATICS BMC Medical Informatics and Decision Making Pub Date : 2025-02-17 DOI:10.1186/s12911-025-02913-z
Jiyong An, Jiyun Kim, Leonard Sunwoo, Hyunyoung Baek, Sooyoung Yoo, Seunggeun Lee
{"title":"De-identification of clinical notes with pseudo-labeling using regular expression rules and pre-trained BERT.","authors":"Jiyong An, Jiyun Kim, Leonard Sunwoo, Hyunyoung Baek, Sooyoung Yoo, Seunggeun Lee","doi":"10.1186/s12911-025-02913-z","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>De-identification of clinical notes is essential to utilize the rich information in unstructured text data in medical research. However, only limited work has been done in removing personal information from clinical notes in Korea.</p><p><strong>Methods: </strong>Our study utilized a comprehensive dataset stored in the Note table of the OMOP Common Data Model at Seoul National University Bundang Hospital. This dataset includes 11,181,617 radiology and 9,282,477 notes from various other departments (non-radiology reports). From this, 0.1% of the reports (11,182) were randomly selected for training and validation purposes. We used two de-identification strategies to improve performance with limited and few annotated data. First, a rule-based approach is used to construct regular expressions on the 1,112 notes annotated by domain experts. Second, by using the regular expressions as label-er, we applied a semi-supervised approach to fine-tune a pre-trained Korean BERT model with pseudo-labeled notes.</p><p><strong>Results: </strong>Validation was conducted using 342 radiology and 12 non-radiology notes labeled at the token level. Our rule-based approach achieved 97.2% precision, 93.7% recall, and 96.2% F1 score from the department of radiology notes. For machine learning approach, KoBERT-NER that is fine-tuned with 32,000 automatically pseudo-labeled notes achieved 96.5% precision, 97.6% recall, and 97.1% F1 score.</p><p><strong>Conclusion: </strong>By combining a rule-based approach and machine learning in a semi-supervised way, our results show that the performance of de-identification can be improved.</p>","PeriodicalId":9340,"journal":{"name":"BMC Medical Informatics and Decision Making","volume":"25 1","pages":"82"},"PeriodicalIF":3.8000,"publicationDate":"2025-02-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11831849/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medical Informatics and Decision Making","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12911-025-02913-z","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MEDICAL INFORMATICS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: De-identification of clinical notes is essential to utilize the rich information in unstructured text data in medical research. However, only limited work has been done in removing personal information from clinical notes in Korea.

Methods: Our study utilized a comprehensive dataset stored in the Note table of the OMOP Common Data Model at Seoul National University Bundang Hospital. This dataset includes 11,181,617 radiology and 9,282,477 notes from various other departments (non-radiology reports). From this, 0.1% of the reports (11,182) were randomly selected for training and validation purposes. We used two de-identification strategies to improve performance with limited and few annotated data. First, a rule-based approach is used to construct regular expressions on the 1,112 notes annotated by domain experts. Second, by using the regular expressions as label-er, we applied a semi-supervised approach to fine-tune a pre-trained Korean BERT model with pseudo-labeled notes.

Results: Validation was conducted using 342 radiology and 12 non-radiology notes labeled at the token level. Our rule-based approach achieved 97.2% precision, 93.7% recall, and 96.2% F1 score from the department of radiology notes. For machine learning approach, KoBERT-NER that is fine-tuned with 32,000 automatically pseudo-labeled notes achieved 96.5% precision, 97.6% recall, and 97.1% F1 score.

Conclusion: By combining a rule-based approach and machine learning in a semi-supervised way, our results show that the performance of de-identification can be improved.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用正则表达式规则和预训练BERT的伪标记临床记录去识别。
背景:在医学研究中利用非结构化文本数据中的丰富信息,对临床笔记进行去识别是必不可少的。但是,国内在病历中删除个人信息的工作非常有限。方法:我们的研究利用了存储在首尔国立大学盆唐医院OMOP公共数据模型注释表中的综合数据集。该数据集包括11181617份放射学报告和9282477份来自其他科室的报告(非放射学报告)。从中,随机选择0.1%的报告(11,182)进行培训和验证。我们使用了两种去识别策略来提高有限和很少注释数据的性能。首先,使用基于规则的方法在领域专家注释的1,112条注释上构造正则表达式。其次,通过使用正则表达式作为标签器,我们采用半监督方法对带有伪标签注释的预训练的韩语BERT模型进行微调。结果:使用标记为标记水平的342个放射学笔记和12个非放射学笔记进行验证。我们基于规则的方法获得了97.2%的准确率、93.7%的召回率和96.2%的放射科记录F1评分。对于机器学习方法,通过32000个自动伪标记音符进行微调的KoBERT-NER达到了96.5%的准确率、97.6%的召回率和97.1%的F1分数。结论:通过将基于规则的方法与半监督方式的机器学习相结合,我们的研究结果表明可以提高去识别的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
7.20
自引率
5.70%
发文量
297
审稿时长
1 months
期刊介绍: BMC Medical Informatics and Decision Making is an open access journal publishing original peer-reviewed research articles in relation to the design, development, implementation, use, and evaluation of health information technologies and decision-making for human health.
期刊最新文献
A mobile app (mWITH ME) for family caregivers of persons living with Alzheimer's disease: development and initial evaluation. Comparing routine health information quality and associated factors among health facilities in the eastern zone of Tigray, Ethiopia, 2019/20: a cross-sectional study. Machine learning algorithms for identifying tuberculous pericardial effusion: insights from a retrospective study in Vietnam. A dual-modal machine learning framework integrating red blood indices and smartphone-captured microscopic images for β-thalassemia screening. AI-assisted tumor board decision-making in pancreatic oncology.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1