Your browser doesn't support javascript.
loading
Extracting symptoms from free-text responses using ChatGPT among COVID-19 cases in Hong Kong.
Wei, Wan In; Leung, Cyrus Lap Kwan; Tang, Arthur; McNeil, Edward Braddon; Wong, Samuel Yeung Shan; Kwok, Kin On.
Afiliação
  • Wei WI; JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China.
  • Leung CLK; JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China.
  • Tang A; Department of Information Technology, School of Science, Engineering and Technology, RMIT University, Vietnam.
  • McNeil EB; JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China.
  • Wong SYS; JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China.
  • Kwok KO; JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China; Stanley Ho Centre for Emerging Infectious Diseases, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China; Hong Kong Institute of Asia-Pacif
Clin Microbiol Infect ; 30(1): 142.e1-142.e3, 2024 Jan.
Article em En | MEDLINE | ID: mdl-37949111
ABSTRACT

OBJECTIVES:

To investigate the feasibility and performance of Chat Generative Pretrained Transformer (ChatGPT) in converting symptom narratives into structured symptom labels.

METHODS:

We extracted symptoms from 300 deidentified symptom narratives of COVID-19 patients by a computer-based matching algorithm (the standard), and prompt engineering in ChatGPT. Common symptoms were those with a prevalence >10% according to the standard, and similarly less common symptoms were those with a prevalence of 2-10%. The precision of ChatGPT was compared with the standard using sensitivity and specificity with 95% exact binomial CIs (95% binCIs). In ChatGPT, we prompted without examples (zero-shot prompting) and with examples (few-shot prompting).

RESULTS:

In zero-shot prompting, GPT-4 achieved high specificity (0.947 [95% binCI 0.894-0.978]-1.000 [95% binCI 0.965-0.988, 1.000]) for all symptoms, high sensitivity for common symptoms (0.853 [95% binCI 0.689-0.950]-1.000 [95% binCI 0.951-1.000]), and moderate sensitivity for less common symptoms (0.200 [95% binCI 0.043-0.481]-1.000 [95% binCI 0.590-0.815, 1.000]). Few-shot prompting increased the sensitivity and specificity. GPT-4 outperformed GPT-3.5 in response accuracy and consistent labelling.

DISCUSSION:

This work substantiates ChatGPT's role as a research tool in medical fields. Its performance in converting symptom narratives to structured symptom labels was encouraging, saving time and effort in compiling the task-specific training data. It potentially accelerates free-text data compilation and synthesis in future disease outbreaks and improves the accuracy of symptom checkers. Focused prompt training addressing ambiguous descriptions impacts medical research positively.
Assuntos
Palavras-chave

Texto completo: 1 Coleções: 01-internacional Base de dados: MEDLINE Assunto principal: Pesquisa Biomédica / COVID-19 Limite: Humans País/Região como assunto: Asia Idioma: En Revista: Clin Microbiol Infect Assunto da revista: DOENCAS TRANSMISSIVEIS / MICROBIOLOGIA Ano de publicação: 2024 Tipo de documento: Article País de afiliação: China

Texto completo: 1 Coleções: 01-internacional Base de dados: MEDLINE Assunto principal: Pesquisa Biomédica / COVID-19 Limite: Humans País/Região como assunto: Asia Idioma: En Revista: Clin Microbiol Infect Assunto da revista: DOENCAS TRANSMISSIVEIS / MICROBIOLOGIA Ano de publicação: 2024 Tipo de documento: Article País de afiliação: China