The final, formatted version of the article will be published soon.
ORIGINAL RESEARCH article
Front. Artif. Intell.
Sec. Medicine and Public Health
Volume 8 - 2025 |
doi: 10.3389/frai.2025.1517918
This article is part of the Research Topic Data Science and Digital Health Technologies for Personalized Healthcare View all 4 articles
Balancing Accuracy and User Satisfaction: The Role of Prompt Engineering in AI-Driven Healthcare Solutions
Provisionally accepted- 1 Zhuhai People's Hospital (Zhuhai Clinical Medical College of Jinan University), Zhuhai, Guangdong Province, China
- 2 Department of Ophthalmology and Visual Sciences, Faculty of Medicine, The Chinese University of Hong Kong, Shatin, Hong Kong Region, China
- 3 Faculty of Data Science, City University of Macau, Taipa, Macao, Macao, SAR China
- 4 Zhuhai Institute of Advanced Technology, Chinese Academy of Sciences (CAS), Zhuhai, Guangdong Province, China
- 5 igital Medicine and Artificial Intelligence Association , Macao, Macao, Macao, SAR China
- 6 Peking University-Hong Kong Polytechnic University Chinese Linguistics Research Center, Kowloon, Hong Kong, SAR China
- 7 Perspective Technology Group, Zhuhai, China
- 8 Tianjin Medical University, Tianjin, Tianjin Municipality, China
- 9 Zhuhai Aier Eye Hospital, Zhuai, China
- 10 Jinan University, Guangzhou, Guangdong Province, China
- 11 Shenzhen University of Advanced Technology, Shenzhen, China
The rapid evolution of the Internet of Things (IoT) and Artificial Intelligence (AI) technologies has opened new horizons in public healthcare. However, maximizing their potential requires precise and effective integration, particularly in obtaining specific healthcare information.This study focuses on Dry Eye Disease (DED), simulating 5,747 patient complaints to establish an IoT-enabled, AI-driven DED-detection system. Utilizing OpenAI GPT-4.0 and ERNIE Bot-4.0 APIs, a specialized prompt mechanism is developed to evaluate the urgency of medical attention required. The primary goal is to enhance the accuracy and interpretability of AI responses in interactions between DED patients and AI systems. A Bidirectional Encoder Representations from Transformers (BERT) machine learning model is also implemented for text classification to differentiate urgent from non-urgent cases based on AI-generated responses. User satisfaction, measured through Service Experiences (SE) and Medical Quality (MQ), yields a composite satisfaction score derived from these assessments' average. A comparison between prompted and non-prompted queries reveals a significant accuracy increase from 80.1% to 99.6%. However, this improvement is accompanied by a notable rise in response time, indicating a potential trade-off between accuracy and user satisfaction. In-depth analysis shows a decrease in SE (95.5 to 84.7) and a substantial increase in MQ satisfaction (73.4 to 96.7) with prompted queries. These results highlight the need to balance accuracy carefully, response time, and user satisfaction in developing and deploying IoT-integrated AI systems in medical applications. The study underscores the crucial role of prompt engineering in improving the quality of AI-based healthcare services with virtual assistants. Integrating IoT with GPT-based models in ophthalmic virtual assistant development presents a promising direction for enhancing healthcare delivery in eye care. Future research should focus on optimizing prompt structures, exploring dynamic prompting approaches, prioritizing user-centric evaluations, conducting real-time implementation studies, and considering hybrid model development to address identified strengths, weaknesses, opportunities, and threats. IoT-integrated AI enhances Dry Eye diagnosis accuracy by over 19%, though response time increases. Proposed prompt engineering significantly boosts AI precision in healthcare, improving decision-making quality. The study lays the groundwork for future AI advancements in ophthalmology, prioritizing accuracy and patient outcomes.
Keywords: Internet of Things (IoT), Artificial intelligence (AI), Dry eye disease (DED), Prompt Engineering, Healthcare Virtual Assistant, Generative Pre-trained Transformer-4 (GPT-4)
Received: 27 Oct 2024; Accepted: 22 Jan 2025.
Copyright: © 2025 Han Wang, Jiang, Zeng, Li, Chong, Hou, Fang, Yu, Yu, Fang and Pan. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Mini Han Wang, Zhuhai People's Hospital (Zhuhai Clinical Medical College of Jinan University), Zhuhai, Guangdong Province, China
Xudong Jiang, Peking University-Hong Kong Polytechnic University Chinese Linguistics Research Center, Kowloon, Hong Kong, SAR China
Peijin Zeng, Zhuhai Institute of Advanced Technology, Chinese Academy of Sciences (CAS), Zhuhai, Guangdong Province, China
Xinyue Li, Tianjin Medical University, Tianjin, 300070, Tianjin Municipality, China
Kelvin Kam-Lung Chong, Department of Ophthalmology and Visual Sciences, Faculty of Medicine, The Chinese University of Hong Kong, Shatin, Hong Kong Region, China
Guanghui Hou, Zhuhai Aier Eye Hospital, Zhuai, China
Xiaoxiao Fang, Zhuhai Aier Eye Hospital, Zhuai, China
Yang Yu, Zhuhai Aier Eye Hospital, Zhuai, China
Xiangrong Yu, Zhuhai People's Hospital (Zhuhai Clinical Medical College of Jinan University), Zhuhai, Guangdong Province, China
Junbin Fang, Jinan University, Guangzhou, 510632, Guangdong Province, China
Yi Pan, Shenzhen University of Advanced Technology, Shenzhen, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.