Medical Specialty Recommendations by an Artificial Intelligence Chatbot on a Smartphone: Development and Deployment.

Lee, Hyeonhoon; Kang, Jaehyun; Yeo, Jonghyeon
Journal of medical Internet research
2021May ; 23 ( 5 ) :e27460.
ÀúÀÚ »ó¼¼Á¤º¸
Lee, Hyeonhoon - Department of Clinical Korean Medicine, Graduate School, Kyung Hee University, Seoul, Republic of Korea.
Kang, Jaehyun - Department of Computer Science, Yonsei University, Seoul, Republic of Korea.
Yeo, Jonghyeon - School of Computer Science and Engineering, Pusan National University, Busan, Republic of Korea.
ABSTRACT
BACKGROUND: The COVID-19 pandemic has limited daily activities and even contact between patients and primary care providers. This makes it more difficult to provide adequate primary care services, which include connecting patients to an appropriate medical specialist. A smartphone-compatible artificial intelligence (AI) chatbot that classifies patients' symptoms and recommends the appropriate medical specialty could provide a valuable solution. OBJECTIVE: In order to establish a contactless method of recommending the appropriate medical specialty, this study aimed to construct a deep learning-based natural language processing (NLP) pipeline and to develop an AI chatbot that can be used on a smartphone.

METHODS: We collected 118,008 sentences containing information on symptoms with labels (medical specialty), conducted data cleansing, and finally constructed a pipeline of 51,134 sentences for this study. Several deep learning models, including 4 different long short-term memory (LSTM) models with or without attention and with or without a pretrained FastText embedding layer, as well as bidirectional encoder representations from transformers for NLP, were trained and validated using a randomly selected test data set. The performance of the models was evaluated on the basis of the precision, recall, F(1)-score, and area under the receiver operating characteristic curve (AUC). An AI chatbot was also designed to make it easy for patients to use this specialty recommendation system. We used an open-source framework called "Alpha" to develop our AI chatbot. This takes the form of a web-based app with a frontend chat interface capable of conversing in text and a backend cloud-based server application to handle data collection, process the data with a deep learning model, and offer the medical specialty recommendation in a responsive web that is compatible with both desktops and smartphones.

RESULTS: The bidirectional encoder representations from transformers model yielded the best performance, with an AUC of 0.964 and F(1)-score of 0.768, followed by LSTM model with embedding vectors, with an AUC of 0.965 and F(1)-score of 0.739. Considering the limitations of computing resources and the wide availability of smartphones, the LSTM model with embedding vectors trained on our data set was adopted for our AI chatbot service. We also deployed an Alpha version of the AI chatbot to be executed on both desktops and smartphones.

CONCLUSIONS: With the increasing need for telemedicine during the current COVID-19 pandemic, an AI chatbot with a deep learning-based NLP model that can recommend a medical specialty to patients through their smartphones would be exceedingly useful. This chatbot allows patients to identify the proper medical specialist in a rapid and contactless manner, based on their symptoms, thus potentially supporting both patients and primary care providers. CI - ?’Hyeonhoon Lee, Jaehyun Kang, Jonghyeon Yeo. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 06.05.2021.
keyword
*COVID-19; *artificial intelligence; *chatbot; *deep learning; *deployment; *development; *machine learning; *medical specialty; *natural language processing; *recommendation; *smartphone
MESH
COVID-19/*epidemiology, *Deep Learning, Humans, Pandemics, Primary Health Care/*methods, *Referral and Consultation, SARS-CoV-2/isolation & purification, *Smartphone, Specialization, Telemedicine/*methods
¸µÅ©

ÁÖÁ¦ÄÚµå
ÁÖÁ¦¸í(Target field)
¿¬±¸´ë»ó(Population)
¿¬±¸Âü¿©(Sample size)
´ë»ó¼ºº°(Gender)
Áúº´Æ¯¼º(Condition Category)
¿¬±¸È¯°æ(Setting)
¿¬±¸¼³°è(Study Design)
¿¬±¸±â°£(Period)
ÁßÀç¹æ¹ý(Intervention Type)
ÁßÀç¸íĪ(Intervention Name)
Å°¿öµå(Keyword)
À¯È¿¼º°á°ú(Recomendation)
This study developed a deep learning–based NLP model and deployed the novel AI chatbot. This type of non–face-to-face medical service is a promising strategy to overcome the current difficulties associated with the COVID-19 pandemic.
¿¬±¸ºñÁö¿ø(Fund Source)
±Ù°Å¼öÁØÆò°¡(Evidence Hierarchy)
ÃâÆdz⵵(Year)
Âü¿©ÀúÀÚ¼ö(Authors)
´ëÇ¥ÀúÀÚ
DOI
10.2196/27460
KCDÄÚµå
ICD 03
°Ç°­º¸ÇèÄÚµå