TinyML-Based Lightweight AI Healthcare Mobile Chatbot Deployment
Anita Christaline Johnvictor,M Poonkodi,N Prem Sankar,Thinesh VS
DOI: https://doi.org/10.2147/jmdh.s483247
2024-11-10
Journal of Multidisciplinary Healthcare
Abstract:Anita Christaline Johnvictor, 1 M Poonkodi, 1 N Prem Sankar, 1 Thinesh VS 2 1 School of Computer Science and Engineering, Vellore Institute of Technology, Chennai, Tamil Nadu, India; 2 Arista Networks Pvt Ltd, Bangalore, India Correspondence: Anita Christaline Johnvictor, School of Computer Science and Engineering, Vellore Institute of Technology, Chennai campus, Kelambakkam-Vandalur Road, Rajan Nagar, Chennai, 600127, India, Email Introduction: In healthcare applications, AI-driven innovations are set to revolutionise patient interactions and care, with the aim of improving patient satisfaction. Recent advancements in Artificial Intelligence have significantly affected nursing, assistive management, medical diagnoses, and other critical medical procedures. Purpose: Many artificial intelligence (AI) solutions operate online, posing potential risks to patient data security. To address these security concerns and ensure swift operation, this study has developed a chatbot tailored for hospital environments, running on a local server, and utilising TinyML for processing patient data. Patients and Methods: Edge computing technology enables secure on-site data processing. The implementation includes patient identification using a Histogram of Gradient (HOG)-based classification, followed by basic patient care tasks, such as temperature measurement and demographic recording. Results: The classification accuracy of patient detection was 95.8%. An autonomous temperature-sensing unit equipped with a medical-grade infrared temperature scanner detected and recorded patient temperature. Following the temperature assessment, the tinyML-powered chatbot engaged patients in a series of questions customised by doctors to train the model for diagnostic scenarios. Patients' responses, recorded as "yes" or "no", are stored and printed in their case sheet. The accuracy of the TinyML model is 95.3% and the on-device processing time is 217 ms. The implemented TinyML model uses only 8.8Kb RAM and 50.3Kb Flash memory, with a latency of only 4 ms. Conclusion: Each patient was assigned a unique ID, and their data were securely stored for further consultation and diagnosis via hospital management. This research demonstrates faster patient data recording and increased security compared to existing AI-based healthcare solutions, as all processes occur within the local host. Keywords: edge computing, healthcare, HOG descriptors, assistive management, autonomous robot Interest in leveraging Artificial Intelligence (AI) to enhance the performance, capacity, and efficacy of health care services is increasing. Despite the enormous growth in AI-based healthcare research, only a few AI-based applications have successfully transitioned to clinical use. The main challenges impeding the adoption of AI applications under clinically validated scenarios include lack of medical records in standard formats, minimal access to curated datasets, and strict legal and ethical requirements concerning patient privacy protection. Recently, the use of chatbots has expanded beyond customer service to encompass critical life and death scenarios. Chatbots are increasingly being integrated into the health care sector, offering solutions to various health issues. In the present scenario, patients visiting hospitals are delayed in queue waiting for doctors. However, health and fitness chatbots are gaining traction in the market, allowing users to enquire about their medical concerns and receive responses. Medical chatbots have been developed to address the issue of delays in hospital queues. 1–4 Communication with a chatbot equipped with Natural Language Processing (NLP) plays a significant role in enhancing the mental and physical health of individuals owing to the instantaneous responses they receive. According to Lee and Yoon, 1 the major applications of AI in healthcare include diagnostics, nursing, and managerial assistance. In addition, AI can be used for patient engagement, disease treatment, medical error reduction, and reduced healthcare costs. According to a report by the World Health Organization, 5 the major factors (around 60%) affecting the health conditions of individuals and their overall quality of life are linked to their lifestyle. These include exercise, dietary habits, sleep patterns, stress management, substance use, medication adherence, and recreational activities. 6 With the emergence of AI-driven technologies, personalised interventions and reminders tailored to individuals' daily routines can now be delivered via digital devices based on real-time vital sign data. In healthcare settings, AI-based technologies are poised to revolutionis -Abstract Truncated-
health care sciences & services