Cited 0 times in

Information Extraction from Clinical Texts with Generative Pre-trained Transformer Models

Authors
 Min-Soo Kim  ;  Philip Chung  ;  Nima Aghaeepour  ;  Namo Kim 
Citation
 INTERNATIONAL JOURNAL OF MEDICAL SCIENCES, Vol.22(5) : 1015-1028, 2025-02 
Journal Title
INTERNATIONAL JOURNAL OF MEDICAL SCIENCES
Issue Date
2025-02
MeSH
Data Mining* / methods ; Female ; Humans ; Male ; Natural Language Processing
Keywords
Access to Information ; Medical Informatics. ; Medical Records ; Natural Language Processing
Abstract
Purpose: Processing and analyzing clinical texts are challenging due to its unstructured nature. This study compared the performance of GPT (Generative Pre-trained Transformer)-3.5 and GPT-4 for extracting information from clinical text. Materials and Methods: Three types of clinical texts, containing patient characteristics, medical history, and clinical test results extracted from case reports in open-access journals were utilized as input. Simple prompts containing queries for information extraction were then applied to both models using the Greedy Approach as the decoding strategy. When GPT models underperformed in certain tasks, we applied alternative decoding strategies or incorporated prompts with task-specific definitions. The outputs generated by GPT models were evaluated as True or False to determine the accuracy of information extraction. Results: Clinical texts containing patient characteristics (60 texts), medical history (50 texts), and clinical test results (25 texts) were extracted from 60 case reports. GPT models could extract information accurately with simple prompts to extract straightforward information from clinical texts. Regarding sex, GPT-4 demonstrated a significantly higher accuracy rate (95%) compared to GPT-3.5 (70%). GPT-3.5 (78%) outperformed GPT-4 (57%) in extracting body mass index (BMI). Utilizing alternative decoding strategies to sex and BMI did not practically improve the performance of the two models. In GPT-4, the revised prompts, including definitions of each sex category or the BMI formula, rectified all incorrect responses regarding sex and BMI generated during the main workflow. Conclusion: GPT models could perform adequately with simple prompts for extracting straightforward information. For complex tasks, incorporating task-specific definitions into the prompts is a suitable strategy than relying solely on simple prompts. Therefore, researchers and clinicians should use their expertise to create effective prompts and monitor LLM outcomes when extracting complex information from clinical texts.
Files in This Item:
T202501245.pdf Download
DOI
10.7150/ijms.103332
Appears in Collections:
1. College of Medicine (의과대학) > Dept. of Anesthesiology and Pain Medicine (마취통증의학교실) > 1. Journal Papers
Yonsei Authors
Kim, Namo(김남오) ORCID logo https://orcid.org/0000-0002-0829-490X
Kim, Min Soo(김민수) ORCID logo https://orcid.org/0000-0001-8760-4568
URI
https://ir.ymlib.yonsei.ac.kr/handle/22282913/205303
사서에게 알리기
  feedback

qrcode

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Browse

Links