1
|
Kwok KO, Huynh T, Wei WI, Wong SYS, Riley S, Tang A. Utilizing large language models in infectious disease transmission modelling for public health preparedness. Comput Struct Biotechnol J 2024; 23:3254-3257. [PMID: 39286528 PMCID: PMC11402906 DOI: 10.1016/j.csbj.2024.08.006] [Citation(s) in RCA: 1] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 04/19/2024] [Revised: 08/07/2024] [Accepted: 08/07/2024] [Indexed: 09/19/2024] Open
Abstract
Introduction OpenAI's ChatGPT, a Large Language Model (LLM), is a powerful tool across domains, designed for text and code generation, fostering collaboration, especially in public health. Investigating the role of this advanced LLM chatbot in assisting public health practitioners in shaping disease transmission models to inform infection control strategies, marks a new era in infectious disease epidemiology research. This study used a case study to illustrate how ChatGPT collaborates with a public health practitioner in co-designing a mathematical transmission model. Methods Using natural conversation, the practitioner initiated a dialogue involving an iterative process of code generation, refinement, and debugging with ChatGPT to develop a model to fit 10 days of prevalence data to estimate two key epidemiological parameters: i) basic reproductive number (Ro) and ii) final epidemic size. Verification and validation processes are conducted to ensure the accuracy and functionality of the final model. Results ChatGPT developed a validated transmission model which replicated the epidemic curve and gave estimates of Ro of 4.19 (95 % CI: 4.13- 4.26) and a final epidemic size of 98.3 % of the population within 60 days. It highlighted the advantages of using maximum likelihood estimation with Poisson distribution over least squares method. Conclusion Integration of LLM in medical research accelerates model development, reducing technical barriers for health practitioners, democratizing access to advanced modeling and potentially enhancing pandemic preparedness globally, particularly in resource-constrained populations.
Collapse
Affiliation(s)
- Kin On Kwok
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region of China
- Hong Kong Institute of Asia-Pacific Studies, The Chinese University of Hong Kong, Hong Kong Special Administrative Region of China
- Department of Infectious Disease Epidemiology, School of Public Health, Imperial College London, London, United Kingdom
| | - Tom Huynh
- School of Science, Engineering and Technology, RMIT University, Viet Nam
| | - Wan In Wei
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region of China
| | - Samuel Y S Wong
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region of China
| | - Steven Riley
- MRC Centre for Global Infectious Disease Analysis and Jameel Institute, Imperial College London, London, United Kingdom
- School of Public Health, Imperial College London, Norfolk Place, London W2 1PG, United Kingdom
| | - Arthur Tang
- School of Science, Engineering and Technology, RMIT University, Viet Nam
| |
Collapse
|
2
|
Tang A, Tung N, Nguyen HQ, Kwok KO, Luong S, Bui N, Nguyen G, Tam W. Health information for all: do large language models bridge or widen the digital divide? BMJ 2024; 387:e080208. [PMID: 39393817 DOI: 10.1136/bmj-2024-080208] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Indexed: 10/13/2024]
Affiliation(s)
- Arthur Tang
- School of Science, Engineering and Technology, RMIT University, Vietnam
| | - Neo Tung
- School of Mathematics and Statistics, University of Melbourne, Australia
| | | | - Kin On Kwok
- JC School of Public Health and Primary Care, Chinese University of Hong Kong, Hong Kong Special Administrative Region, China
| | - Stanley Luong
- School of Science, Engineering and Technology, RMIT University, Vietnam
| | - Nhat Bui
- School of Science, Engineering and Technology, RMIT University, Vietnam
| | - Giang Nguyen
- School of Science, Engineering and Technology, RMIT University, Vietnam
| | - Wilson Tam
- Alice Lee Centre for Nursing Studies, National University of Singapore, Singapore
| |
Collapse
|
3
|
Woo B, Huynh T, Tang A, Bui N, Nguyen G, Tam W. Transforming nursing with large language models: from concept to practice. Eur J Cardiovasc Nurs 2024; 23:549-552. [PMID: 38178303 DOI: 10.1093/eurjcn/zvad120] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 11/14/2023] [Accepted: 11/19/2023] [Indexed: 01/06/2024]
Abstract
Large language models (LLMs) such as ChatGPT have emerged as potential game-changers in nursing, aiding in patient education, diagnostic assistance, treatment recommendations, and administrative task efficiency. While these advancements signal promising strides in healthcare, integrated LLMs are not without challenges, particularly artificial intelligence hallucination and data privacy concerns. Methodologies such as prompt engineering, temperature adjustments, model fine-tuning, and local deployment are proposed to refine the accuracy of LLMs and ensure data security. While LLMs offer transformative potential, it is imperative to acknowledge that they cannot substitute the intricate expertise of human professionals in the clinical field, advocating for a synergistic approach in patient care.
Collapse
Affiliation(s)
- Brigitte Woo
- Alice Lee Centre for Nursing Studies, Yong Loo Lin School of Medicine, National University of Singapore, Singapore
| | - Tom Huynh
- School of Science, Engineering and Technology, RMIT University, 702 Nguyen Van Linh Blvd., District 7, Ho Chin Minh 756000, Ho Chin Minh City, Vietnam
| | - Arthur Tang
- School of Science, Engineering and Technology, RMIT University, 702 Nguyen Van Linh Blvd., District 7, Ho Chin Minh 756000, Ho Chin Minh City, Vietnam
| | - Nhat Bui
- School of Science, Engineering and Technology, RMIT University, 702 Nguyen Van Linh Blvd., District 7, Ho Chin Minh 756000, Ho Chin Minh City, Vietnam
| | - Giang Nguyen
- School of Science, Engineering and Technology, RMIT University, 702 Nguyen Van Linh Blvd., District 7, Ho Chin Minh 756000, Ho Chin Minh City, Vietnam
| | - Wilson Tam
- Alice Lee Centre for Nursing Studies, Yong Loo Lin School of Medicine, National University of Singapore, Singapore
| |
Collapse
|
4
|
Ngiam JN, Koh MCY, Lye P, Liong TS, Salada BMA, Tambyah PA, Oon JEL. Artificial intelligence models for pre-travel consultation and advice: yea or nay? J Travel Med 2024; 31:taad124. [PMID: 37788080 PMCID: PMC10823483 DOI: 10.1093/jtm/taad124] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 08/21/2023] [Revised: 09/15/2023] [Accepted: 09/21/2023] [Indexed: 10/04/2023]
Affiliation(s)
- Jinghao Nicholas Ngiam
- Division of Infectious Diseases, Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
| | - Matthew Chung Yi Koh
- Division of Infectious Diseases, Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
| | - Priscillia Lye
- Division of Infectious Diseases, Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
| | - Tze Sian Liong
- Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
| | - Brenda Mae Alferez Salada
- Division of Infectious Diseases, Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
- Yong Loo Lin School of Medicine, National University of Singapore, Singapore, 10 Medical Drive, Singapore 117597, Singapore
| | - Paul Anantharajah Tambyah
- Division of Infectious Diseases, Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
- Yong Loo Lin School of Medicine, National University of Singapore, Singapore, 10 Medical Drive, Singapore 117597, Singapore
- Infectious Diseases Translational Research Programme, Department of Medicine, Yong Loo Lin School of Medicine, National University of Singapore, Singapore, 10 Medical Drive, Singapore 117597, Singapore
| | - Jolene Ee Ling Oon
- Division of Infectious Diseases, Department of Medicine, National University Health System, Singapore, 1E Kent Ridge Rd, Singapore 119228, Singapore
- Yong Loo Lin School of Medicine, National University of Singapore, Singapore, 10 Medical Drive, Singapore 117597, Singapore
| |
Collapse
|
5
|
Wei WI, Leung CLK, Tang A, McNeil EB, Wong SYS, Kwok KO. Extracting symptoms from free-text responses using ChatGPT among COVID-19 cases in Hong Kong. Clin Microbiol Infect 2024; 30:142.e1-142.e3. [PMID: 37949111 DOI: 10.1016/j.cmi.2023.11.002] [Citation(s) in RCA: 6] [Impact Index Per Article: 6.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/26/2023] [Revised: 11/01/2023] [Accepted: 11/03/2023] [Indexed: 11/12/2023]
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.
Collapse
Affiliation(s)
- Wan In Wei
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China
| | - Cyrus Lap Kwan Leung
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China
| | - Arthur Tang
- Department of Information Technology, School of Science, Engineering and Technology, RMIT University, Vietnam
| | - Edward Braddon McNeil
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China
| | - Samuel Yeung Shan Wong
- JC School of Public Health and Primary Care, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China
| | - Kin On Kwok
- 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-Pacific Studies, The Chinese University of Hong Kong, Hong Kong Special Administrative Region, China; Department of Infectious Disease Epidemiology, School of Public Health, Imperial College London, London, United Kingdom.
| |
Collapse
|
6
|
Choudhary OP, Priyanka. ChatGPT in travel medicine: A friend or foe? Travel Med Infect Dis 2023; 54:102615. [PMID: 37399881 DOI: 10.1016/j.tmaid.2023.102615] [Citation(s) in RCA: 5] [Impact Index Per Article: 5.0] [Reference Citation Analysis] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/27/2023] [Accepted: 06/27/2023] [Indexed: 07/05/2023]
Affiliation(s)
- Om Prakash Choudhary
- Department of Veterinary Anatomy, College of Veterinary Science, Guru Angad Dev Veterinary and Animal Sciences University (GADVASU), Rampura Phul, Bathinda, 151103, Punjab, India.
| | - Priyanka
- Department of Veterinary Microbiology, College of Veterinary Science, Guru Angad Dev Veterinary and Animal Sciences University (GADVASU), Rampura Phul, Bathinda, 151103, Punjab, India
| |
Collapse
|