Matrix M. H. Fung, Eric H. M. Tang, Tingting Wu, Yan Luk, Ivan C. H. Au, Xiaodong Liu, Victor H. F. Lee, Chun Ka Wong, Zhili Wei, Wing Yiu Cheng, Isaac C. Y. Tai, Joshua W. K. Ho, Jason W. H. Wong, Brian H. H. Lang, Kathy S. M. Leung, Zoie S. Y. Wong, Joseph T. Wu, Carlos K. H. Wong
{"title":"Developing a named entity framework for thyroid cancer staging and risk level classification using large language models","authors":"Matrix M. H. Fung, Eric H. M. Tang, Tingting Wu, Yan Luk, Ivan C. H. Au, Xiaodong Liu, Victor H. F. Lee, Chun Ka Wong, Zhili Wei, Wing Yiu Cheng, Isaac C. Y. Tai, Joshua W. K. Ho, Jason W. H. Wong, Brian H. H. Lang, Kathy S. M. Leung, Zoie S. Y. Wong, Joseph T. Wu, Carlos K. H. Wong","doi":"10.1038/s41746-025-01528-y","DOIUrl":null,"url":null,"abstract":"<p>We developed a named entity (NE) framework for information extraction from semi-structured clinical notes retrieved from The Cancer Genome Atlas—Thyroid Cancer (TCGA-THCA) database and examined Large Language Models (LLMs) strategies to classify the 8<sup>th</sup> edition of American Joint Committee on Cancer (AJCC) staging and American Thyroid Association (ATA) risk category for patients with well-differentiated thyroid cancer. The NE framework consisted of annotation guidelines development, ground truth labelling, prompting approaches, and evaluation codes. Four LLMs (Mistral-7B-Instruct, Llama-3.1-8B-Instruct, Gemma-2-9B-Instruct, and Qwen2.5-7B-Instruct) were offline utilised for information extraction, comparing with expert-curated ground truth. Our framework was developed using 50 TCGA-THCA pathology notes. 289 TCGA-THCA notes and 35 pseudo-clinical cases were used for validation. Taking an ensemble-like majority-vote strategy achieved satisfactory performance for AJCC and ATA in both development and validation sets. Our framework and ensemble classifier optimised efficiency and accuracy of classifying stage and risk category in thyroid cancer patients.</p>","PeriodicalId":19349,"journal":{"name":"NPJ Digital Medicine","volume":"130 1","pages":""},"PeriodicalIF":12.4000,"publicationDate":"2025-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"NPJ Digital Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1038/s41746-025-01528-y","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"HEALTH CARE SCIENCES & SERVICES","Score":null,"Total":0}
引用次数: 0
Abstract
We developed a named entity (NE) framework for information extraction from semi-structured clinical notes retrieved from The Cancer Genome Atlas—Thyroid Cancer (TCGA-THCA) database and examined Large Language Models (LLMs) strategies to classify the 8th edition of American Joint Committee on Cancer (AJCC) staging and American Thyroid Association (ATA) risk category for patients with well-differentiated thyroid cancer. The NE framework consisted of annotation guidelines development, ground truth labelling, prompting approaches, and evaluation codes. Four LLMs (Mistral-7B-Instruct, Llama-3.1-8B-Instruct, Gemma-2-9B-Instruct, and Qwen2.5-7B-Instruct) were offline utilised for information extraction, comparing with expert-curated ground truth. Our framework was developed using 50 TCGA-THCA pathology notes. 289 TCGA-THCA notes and 35 pseudo-clinical cases were used for validation. Taking an ensemble-like majority-vote strategy achieved satisfactory performance for AJCC and ATA in both development and validation sets. Our framework and ensemble classifier optimised efficiency and accuracy of classifying stage and risk category in thyroid cancer patients.
期刊介绍:
npj Digital Medicine is an online open-access journal that focuses on publishing peer-reviewed research in the field of digital medicine. The journal covers various aspects of digital medicine, including the application and implementation of digital and mobile technologies in clinical settings, virtual healthcare, and the use of artificial intelligence and informatics.
The primary goal of the journal is to support innovation and the advancement of healthcare through the integration of new digital and mobile technologies. When determining if a manuscript is suitable for publication, the journal considers four important criteria: novelty, clinical relevance, scientific rigor, and digital innovation.