Cadernos de Saúde Pública2024

Comparative analysis of BERT-based and generative large language models for detecting suicidal ideation: a performance evaluation study

Adonias Caetano de Oliveira, Renato Freitas Bessa e Ariel Soares Teles

em inglês

citado por 1 artigocita 59 obras, 1 no acervo

resumo

Abstract: Artificial intelligence can detect suicidal ideation manifestations in texts. Studies demonstrate that BERT-based models achieve better performance in text classification problems. Large language models (LLMs) answer free-text queries without being specifically trained. This work aims to compare the performance of three variations of BERT models and LLMs (Google Bard, Microsoft Bing/GPT-4, and OpenAI ChatGPT-3.5) for identifying suicidal ideation from nonclinical texts written in Brazilian Portuguese. A dataset labeled by psychologists consisted of 2,691 sentences without suicidal ideation and 1,097 with suicidal ideation, of which 100 sentences were selected for testing. We applied data preprocessing techniques, hyperparameter optimization, and hold-out cross-validation for training and testing BERT models. When evaluating LLMs, we used zero-shot prompting engineering. Each test sentence was labeled if it contained suicidal ideation, according to the chatbot’s response. Bing/GPT-4 achieved the best performance, with 98% across all metrics. Fine-tuned BERT models outperformed the other LLMs: BERTimbau-Large performed the best with a 96% accuracy, followed by BERTimbau-Base with 94%, and BERT-Multilingual with 87%. Bard performed the worst with 62% accuracy, whereas ChatGPT-3.5 achieved 81%. The high recall capacity of the models suggests a low misclassification rate of at-risk patients, which is crucial to prevent missed interventions by professionals. However, despite their potential in supporting suicidal ideation detection, these models have not been validated in a patient monitoring clinical setting. Therefore, caution is advised when using the evaluated models as tools to assist healthcare professionals in detecting suicidal ideation.

como citar · ABNT NBR 6023

OLIVEIRA, Adonias Caetano de; BESSA, Renato Freitas; TELES, Ariel Soares. Comparative analysis of BERT-based and generative large language models for detecting suicidal ideation: a performance evaluation study. Cadernos de Saúde Pública, 2024. DOI: 10.1590/0102-311XEN028824.

Referências

59 obras citadas · 1 no acervo

  1. 1World Health Organization. Suicide worldwide in 2019: global health estimates.quem mais cita →
  2. 2DCA Palma, BFA Oliveira e E Ignotti. Suicide rates between men and women in Brazil, 2000-2017. Cad Saúde Pública, 2021no acervo →
  3. 3RC O'Connor e OJ Kirtley. The integrated motivational-volitional model of suicidal behaviour.. Philos Trans R Soc Lond B Biol Sci, 2018quem mais cita →
  4. 4WX Zhao, K Zhou, J Li e mais 3. A survey of large language models.. arXiv, 2023quem mais cita →
  5. 5J Yang, H Jin, R Tang e mais 3. Harnessing the power of LLMs in practice: a survey on ChatGPT and beyond.. arXiv, 2023quem mais cita →
  6. 6Y Qiu e Y Jin. ChatGPT and finetuned BERT a comparative study for developing intelligent design support systems. Intell Syst Appl, 2024quem mais cita →
  7. 7H Zhao, H Chen, F Yang e mais 3. Explainability for large language models a survey. ACM Trans Intell Syst Technol, 2024quem mais cita →
  8. 8KS Kalyan. A survey of GPT-3 family large language models including ChatGPT and GPT-4. Natural Language Processing Journal, 2024quem mais cita →
  9. 9T Brown, B Mann, N Ryder e mais 3. Language models are few-shot learners. Adv Neural Inf Process Syst, 2020quem mais cita →
  10. 10C Peng, X Yang, A Chen e mais 3. A study of generative large language model for medical research and healthcare.. arXiv, 2023quem mais cita →
  11. 11K Singhal, S Azizi, T Tu e mais 3. Large language models encode clinical knowledge. Nature, 2023quem mais cita →
  12. 12B Meskó e EJ Topol. The imperative for regulatory oversight of large language models (or generative AI) in healthcare. NPJ Digit Med, 2023quem mais cita →
  13. 13AJ Thirunavukarasu, DSJ Ting, K Elangovan e mais 3. Large language models in medicine. Nature Med, 2023quem mais cita →
  14. 14M Sallam. ChatGPT utility in healthcare education, research, and practice systematic review on the promising perspectives and valid concerns. Healthcare (Basel), 2023quem mais cita →
  15. 15J Devlin, MW Chang, K Lee e mais 1. BERT: pre-training of deep bidirectional transformers for language understanding.. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologiesquem mais cita →
  16. 16R Qasim, WH Bangyal, MA Alqarni e mais 1. A fine-tuned BERT-based transfer learning approach for text classification. J Healthc Eng, 2022quem mais cita →
  17. 17S Senn, M Tlachac, R Flores e mais 1. Ensembles of BERT for depression classification.. 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC).quem mais cita →
  18. 18T Wael, A Hesham, M Youssef e mais 3. Intelligent Arabic-based healthcare assistant.. 2021 3rd Novel Intelligent and Leading Emerging Sciences Conference (NILES).quem mais cita →
  19. 19Y Guo, Y Ge, YC Yang e mais 2. Comparison of pretraining models and strategies for health-related social media text classification. Healthcare (Basel), 2022quem mais cita →
  20. 20ED Koch, TR Moukhtarian, C Skirrow e mais 3. Using e-diaries to investigate ADHD - state-of-the-art and the promising feature of just-in-time-adaptive interventions. Neurosci Biobehav Rev, 2021quem mais cita →
1–20 de 59 obras citadas

Quem cita esta obra

1 artigo do acervo

quem fala desta obra

6 pessoas

É sua obra?

Receba um aviso quando um artigo novo citar este trabalho.

também serve para acompanhar o autor que você estuda
Acompanhar as citações