Open-source small language models for personal medical assistant chatbots

Medical chatbots are becoming essential components of telemedicine applications as tools to assist patients in the self-management of their conditions. This trend is particularly driven by advancements in natural language processing techniques with pre-trained language models (LMs). However, the integration of LMs into clinical environments faces challenges related to reliability and privacy concerns. This study seeks to address these issues by exploiting a privacy by design architectural solution that utilises the fully local deployment of open-source LMs. Specifically, to mitigate any risk of information leakage, we focus on evaluating the performance of open-source language models (SLMs) that can be deployed on personal devices, such as smartphones or laptops, without stringent hardware requirements. We assess the effectiveness of this solution adopting hypertension management as a case study. Models are evaluated across various tasks, including intent recognition and empathetic conversation, using Gemini Pro 1.5 as a benchmark. The results indicate that, for certain tasks such as intent recognition, Gemini outperforms other models. However, by employing the “large language model (LLM) as a judge” approach for semantic evaluation of response correctness, we found several models that demonstrate a close alignment with the ground truth. In conclusion, this study highlights the potential of locally deployed SLM as components of medical chatbots, while addressing critical concerns related to privacy and reliability. • Exploration of integrating language models into medical chatbots. • Comprehensive examination of challenges including reliability and privacy concerns. • Insights into the complexities of balancing data privacy with effective language model-based healthcare solutions in practical resource-limited settings. • Adoption of open-source small language models and experimental evaluation of their performances. • Focus on self-management of chronic hypertension.

Authors

Institutions

Publication Details

Journal
Intelligence-Based Medicine
Published
2025-01-01
DOI
https://doi.org/10.1016/j.ibmed.2024.100197
Citations
12
Primary Topic
AI in Service Interactions
Type
article
Field-Weighted Citation Impact
29.77
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Open-source small language models for personal medical assistant chatbots

Sara Montagna, Gianluca Aguzzi, Matteo Magnini
12 citations
Intelligence-Based Medicine
AI in Service Interactions
29.77
article

Open-source small language models for personal medical assistant chatbots

Sara Montagna, Gianluca Aguzzi, Matteo Magnini
article en
12 citations

Abstract

Medical chatbots are becoming essential components of telemedicine applications as tools to assist patients in the self-management of their conditions. This trend is particularly driven by advancements in natural language processing techniques with pre-trained language models (LMs). However, the integration of LMs into clinical environments faces challenges related to reliability and privacy concerns. This study seeks to address these issues by exploiting a privacy by design architectural solution that utilises the fully local deployment of open-source LMs. Specifically, to mitigate any risk of information leakage, we focus on evaluating the performance of open-source language models (SLMs) that can be deployed on personal devices, such as smartphones or laptops, without stringent hardware requirements. We assess the effectiveness of this solution adopting hypertension management as a case study. Models are evaluated across various tasks, including intent recognition and empathetic conversation, using Gemini Pro 1.5 as a benchmark. The results indicate that, for certain tasks such as intent recognition, Gemini outperforms other models. However, by employing the “large language model (LLM) as a judge” approach for semantic evaluation of response correctness, we found several models that demonstrate a close alignment with the ground truth. In conclusion, this study highlights the potential of locally deployed SLM as components of medical chatbots, while addressing critical concerns related to privacy and reliability. • Exploration of integrating language models into medical chatbots. • Comprehensive examination of challenges including reliability and privacy concerns. • Insights into the complexities of balancing data privacy with effective language model-based healthcare solutions in practical resource-limited settings. • Adoption of open-source small language models and experimental evaluation of their performances. • Focus on self-management of chronic hypertension.

Intelligence-Based MedicineVol. 11
University of Urbino (IT), University of Bologna (IT)
Openalex Percentile: Top 1%
AI in Service Interactions
29.77
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.