A comparative study of retrieval-based and generative-based chatbots using Deep Learning and Machine Learning
Open accessThe DOI matches its Crossref record; 21 of the 21 references it cites were found in a registry or an index.
Abstract
Increased screen time may cause significant health impacts, including harmful effects on mental health. Studies on the association between technological obsessions and their influence on health have been conducted using Deep Learning (DL) and Machine Learning (ML) techniques. The deployment of chatbots in different industries has been proven as a game-changer. We study conversational Artificial Intelligence (AI) systems enabling operators to conduct conversations with machines that resemble those with humans. We design and develop two retrieval-based and generative-based chatbots, each with six designs. Among the retrieval-based chatbots, Vanilla Recurrent Neural Network (RNN) has an accuracy of 83.22%, Long Short Term Memory (LSTM) is 89.87% accurate, Bidirectional LSTM (Bi-LSTM) is 91.57% accurate, Gated Recurrent Unit (GRU) is 65.57% accurate, and Convolution Neural Network (CNN) is 82.33% accurate. In comparison, generative-based chatbots have encoder–decoder designs that are 94.45% accurate. The most significant distinction is that while generative-based chatbots can generate new text, retrieval-based chatbots are restricted to responding to inputs that match the best of the outputs they already know.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Fitzpatrick, K. K., Darcy, A., & Vierhile, M. (2017) · JMIR Mental Health · doi:10.2196/mental.7785 · Cited by 2,730
Pre-trained models for natural language processing: A survey
Qiu, X., Sun, T., Xu, Y., Shao, Y., Dai, N., & Huang, X. (2020) · Science China Technological Sciences · doi:10.1007/s11431-020-1647-3 · Cited by 1,591
Conversational agents in healthcare: a systematic review
Laranjo, L., Dunn, A. G., Tong, H. L., Kocaballi, A. B., Chen, J., Bashir, R., Surian, D., Gallego, B., Magrabi, F., Lau, A. Y. S., et al. (2018) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocy072 · Cited by 1,388
Sagar, R., Dandona, R., Gururaj, G., Dhaliwal, R. S., Singh, A., Ferrari, A., Dua, T., Ganguli, A., Varghese, M., Chakma, J. K., et al. (2020) · The Lancet Psychiatry · doi:10.1016/s2215-0366(19)30475-4 · Cited by 886
The design and implementation of Xiaoice, an empathetic social chatbot
Zhou, L., Gao, J., Li, D., & Shum, H.-Y. (2020) · Computational Linguistics · doi:10.1162/coli_a_00368 · Cited by 777
The Design and Implementation of XiaoIce, an Empathetic Social Chatbot
Zhou, L., Gao, J., Li, D., & Shum, H.-Y. (2018) · arXiv · doi:10.48550/arxiv.1812.08989 · Cited by 777
National mental health survey of India 2015–2016
Murthy, R. (2017) · Indian Journal of Psychiatry · doi:10.4103/psychiatry.indianjpsychiatry_102_17 · Cited by 677
An overview of the features of chatbots in mental health: A scoping review
Abd-alrazaq, A. A., Alajlani, M., Alalwan, A. A., Bewick, B. M., Gardner, P., & Househ, M. (2019) · International Journal of Medical Informatics · doi:10.1016/j.ijmedinf.2019.103978 · Cited by 605
Cited by
Zhong, W., Luo, J., & Zhang, H. (2024) · Journal of Affective Disorders · doi:10.1016/j.jad.2024.04.057 · Cited by 173
AI Chatbots in Education: Challenges and Opportunities
Davar, N. F., Dewan, M. A. A., & Zhang, X. (2025) · Information · doi:10.3390/info16030235 · Cited by 123
Omarov, B., Zhumanov, Z., Gumar, A., & Kuntunova, L. (2023) · International Journal of Advanced Computer Science and Applications · doi:10.14569/ijacsa.2023.0140616 · Cited by 60
“As artificial intelligence is applied in different aspects in our life from smart home, smart energy, smart city, natural language processing tasks to different applied problems [10-12], in this research, we try to use artificial intelligence to solve psychological problems.”
BackgroundZhang, X., Li, Z., Zhang, M., Yin, M., Yang, Z., Gao, D., & Li, H. (2025) · Journal of Affective Disorders · doi:10.1016/j.jad.2025.03.141 · Cited by 56
Liu, I., Liu, F., Xiao, Y., Huang, Y., Wu, S., & Ni, S. (2025) · International Journal of Human–Computer Interaction · doi:10.1080/10447318.2023.2300015 · Cited by 44
Metadata
- Authors
- Pandey, S., & Sharma, S.
- Venue
- Healthcare Analytics
- Publisher
- Elsevier BV
- Published
- 2023-11
- Volume
- 3
- Pages
- 100198
- ISSN
- 2772-4425 (ISSN-L)
- OpenAlex
- W4377291971
- Cited by
- 77
- References
- 21
- FWCI
- 6.76
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: A comparative study of retrieval-based and generative-based chatbots using Deep Learning and Machine Learning. https://app.cochat.ai/papers/10.1016/j.health.2023.100198
- The paper
- Pandey, S., & Sharma, S. (2023). A comparative study of retrieval-based and generative-based chatbots using Deep Learning and Machine Learning. Healthcare Analytics. https://doi.org/10.1016/j.health.2023.100198
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.