RoboMed: On-Premise Medical Assistance Leveraging Large Language Models in Robotics

Abdul Basit, Khizar Hussain, Muhammad Abdullah Hanif, Muhammad Shafique

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Large language models (LLMs) are revolutionizing numerous domains with their remarkable natural language processing (NLP) capabilities, attracting significant interest and widespread adoption. However, deploying LLMs in resource-constrained environments, such as edge computing and robotics systems without server infrastructure, while also aiming to minimize latency, presents significant challenges. Another challenge lies in delivering medical assistance to remote areas with limited healthcare facilities and infrastructure. To address this, we introduce RoboMed, an on-premise healthcare robot that utilizes compact versions of large language models (tiny-LLMs) integrated with LangChain as its backbone. Moreover, it incorporates automatic speech recognition (ASR) models for user interface, enabling efficient, edge-based preliminary medical diagnostics and support. RoboMed employs model optimizations to achieve minimal memory footprint and reduced latency during inference on embedded edge devices. The training process optimization involves low-rank adaptation (LoRA), which reduces the model's complexity without significantly impacting its performance. For fine-tuning, the LLM is trained on a diverse medical dataset compiled from online health forums, clinical case studies, and a distilled medicine corpus. This fine-tuning process utilizes reinforcement learning from human feedback (RLHF) to further enhance its domain-specific capabilities. The system is deployed on Nvidia Jetson development board and achieves 78% accuracy in medical consultations and scores 56 in USMLE benchmark, enabling an resource-efficient healthcare assistance robot that alleviates privacy concerns due to edge-based deployment, thereby empowering the community.

Original languageEnglish (US)
Title of host publication2024 18th International Conference on Control, Automation, Robotics and Vision, ICARCV 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages710-717
Number of pages8
ISBN (Electronic)9798331518493
DOIs
StatePublished - 2024
Event18th International Conference on Control, Automation, Robotics and Vision, ICARCV 2024 - Dubai, United Arab Emirates
Duration: Dec 12 2024Dec 15 2024

Publication series

Name2024 18th International Conference on Control, Automation, Robotics and Vision, ICARCV 2024

Conference

Conference18th International Conference on Control, Automation, Robotics and Vision, ICARCV 2024
Country/TerritoryUnited Arab Emirates
CityDubai
Period12/12/2412/15/24

Keywords

  • Automatic Speech Recognition
  • Healthcare Assistance Robot
  • Large language Models
  • Low-Rank Adaptation (LoRA)
  • Preliminary Diagnosis
  • Reinforcement Learning from Human Feedback (RLHF)

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Science Applications
  • Computer Vision and Pattern Recognition
  • Control and Optimization

Fingerprint

Dive into the research topics of 'RoboMed: On-Premise Medical Assistance Leveraging Large Language Models in Robotics'. Together they form a unique fingerprint.

Cite this