Hybrid LSTM–Seq2Seq Models: Improved Patient Interaction for Healthcare Chatbots

Healthcare chatbots play a critical role in improving communication between patients and healthcare providers by offering accurate and timely responses. A novel approach is proposed, which leverages a deep learning model that combines long short-term memory (LSTM) neural networks and a sequence-to-sequence (Seq2Seq) architecture to enhance text prediction accuracy in medical dialogue systems. The model leverages the capability of LSTM to capture long dependencies in sequential data alongside the contextual encoding of Seq2Seq, which improves predictive quality in dialogue responses. The encoder–decoder architecture, which utilizes tokenization and padding to standardize input sequences, contributes to the improvement in data processing. The validation accuracy of the model is 0.9766, with a loss of 0.0184. Specifically, the precision is 0.9961, the recall is 0.9981, and the F1 score is 0.9971. The capability of the model for sequence prediction is attributed to its robustness. Other methods of evaluation employing measures such as the Nash–Sutcliffe efficiency coefficient, correlation coefficient, and normalized root mean square error demonstrate that the model is superior to other machine learning algorithms utilizing linear regression and GP regression. Employing callback functions during training ensures the best-fit model is saved, which makes the method viable in different tasks described in the job descriptions.

Authors

Institutions

Publication Details

Journal
Iraqi Journal for Computers and Informatics
Published
2025-04-24
DOI
https://doi.org/10.25195/ijci.v51i1.547
Citations
1
Primary Topic
Digital Mental Health Interventions
Type
article
Field-Weighted Citation Impact
1.54
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid LSTM–Seq2Seq Models: Improved Patient Interaction for Healthcare Chatbots

Suha Mohammed Hadi, Mustafa Musa, Saba Abdalmnam
1 citations
Iraqi Journal for Computers and Informatics
Digital Mental Health Interventions
1.54
article

Hybrid LSTM–Seq2Seq Models: Improved Patient Interaction for Healthcare Chatbots

Suha Mohammed Hadi, Mustafa Musa, Saba Abdalmnam
article en
1 citations

Abstract

Healthcare chatbots play a critical role in improving communication between patients and healthcare providers by offering accurate and timely responses. A novel approach is proposed, which leverages a deep learning model that combines long short-term memory (LSTM) neural networks and a sequence-to-sequence (Seq2Seq) architecture to enhance text prediction accuracy in medical dialogue systems. The model leverages the capability of LSTM to capture long dependencies in sequential data alongside the contextual encoding of Seq2Seq, which improves predictive quality in dialogue responses. The encoder–decoder architecture, which utilizes tokenization and padding to standardize input sequences, contributes to the improvement in data processing. The validation accuracy of the model is 0.9766, with a loss of 0.0184. Specifically, the precision is 0.9961, the recall is 0.9981, and the F1 score is 0.9971. The capability of the model for sequence prediction is attributed to its robustness. Other methods of evaluation employing measures such as the Nash–Sutcliffe efficiency coefficient, correlation coefficient, and normalized root mean square error demonstrate that the model is superior to other machine learning algorithms utilizing linear regression and GP regression. Employing callback functions during training ensures the best-fit model is saved, which makes the method viable in different tasks described in the job descriptions.

Iraqi Journal for Computers and InformaticsVol. 51(1)
Institute for Postgraduate Medical Education (CZ), University of Information Technology and Communications (IQ), Institute of Informatics of the Slovak Academy of Sciences (SK)
Openalex Percentile: Top 18%
Digital Mental Health Interventions
1.54
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.