Research Article

Discussion of a method for analysing adolescent depression based on BiLSTM and Attentional Mechanisms

Chang HaoXiang*
Hebei Normal University College of Mathematical Sciences

* Corresponding author: [email protected]

Abstract

The incidence of depression in adolescents has been commonplace, but the number of people diagnosed with depression in hospitals is not large, so it is important to analyze people's textual content in normal times to determine whether they are in a depressive mood, and then intervene in a timely manner. The article firstly introduces the research results of previous scholars in sentiment analysis, and then briefly introduces the LSTM(Long Short-Term Memory) model, explains the operation formula of the model, and points out that BiLSTM(Bi-directional Long Short-Term Memory) has greater predictive ability than the LSTM model by taking the before and after contexts of the sentences into full consideration, and by extracting bi-directional semantic features. After that, the principle of the Attention Mechanism and the application of its derivative models, Self-Attention Mechanism, Multi-Attention Mechanism and Cross-Attention Mechanism, in different scenarios are analyzed, and finally, the advantages and disadvantages of BiLSTM and the attention mechanism are compared in the prediction of textual sentiment, and it is proposed that the BiLSTM-Attention model can play a stronger performance in the analysis of textual sentiment.

Keywords: depression; content analysis; BiLSTM; Attention Mechanism
Published: February 23, 2024
DOI: 10.54254/2755-2721/42/20230785
Volume: ACE Vol.42
pp. 248-253
Download PDF

References

  1. Liu B. Sentiment Analysis and Opinion Mining[C]// Synthesis Lectures on Human Language Technologies. Morgan & Claypool, 2012:167.
  2. Yujin Hu, Xiaoling Zhou, Ling Ling, Xuelin Wang. A Bayesian text classification method based on vector space model[J]. Computer and Digital Engineering,2004,(06):28-30+77.
  3. Li Aiping, Di Peng, Duan Liguo. Chapter sentiment analysis based on sentence sentiment weighting algorithm[J]. Small Microcomputer Systems,2015,36(10):2252-2256.
  4. Gamon M, Choudhury M D, Counts S, et al. Predicting Depression via Social Media[C]//AAAI. 2013.
  5. Wang X, Zhang C, Ji Y, et al. A Depression Detection Model Based on Sentiment Analysis in Micro-blog Social Network[J]. Lecture Notes in Computer Science, 2013, 7867:201-213.
  6. GRAVES A, JAITLY N, MOHAMED A. Hybrid speech recognition with deep bidirectional LSTM[C]//2013 IEEE Workshop on Automatic Speech Recognition and Understanding. olomouc IEEE Press, 2013:273-278.
  7. SIAMI-NAMINI S, TAVAKOLI N, NAMIN A S. A comparative analysis of forecasting financial time series using ARIMA, LSTM, and BiLSTM [DB/OL]. [2023-01-18]. http://arXiv:1911.09512v1
  8. Zi You Ji YI, Explanation of the Attention Mechanism in Deep Learning, Apr 3, 2023. https://zhuanlan.zhihu.com/p/379722366
  9. MICHEL P,LEVY O,NEUBIG Graham. are sixteen heads really better than one?[J]. arXiv preprint arXiv:1905.10650,2019.
  10. VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[C]//Advances in Neural Information Processing Systems. Long Beach,California,USA :nips,2017:5998-6008.
  11. Zhi Linyun,Qu Jinshuai,Fan Jing et al. Text sentiment analysis based on BERT-BiLSTM-Attention[J/OL]. Journal of Yunnan University for Nationalities(Natural Science Edition):1-11[2023-08-24].http://kns.cnki.net/kcms/detail/53.1192.N.20230307.1708.006.html
  12. Z.Q. Xue,G.H. Zhang,M.H. Wang et al. Research on conversational text depression recognition based on Attention-BiLSTM model[J]. Computer Knowledge and Technology,2023,19(07):38-41.DOI:10.14004/j.cnki.ckt.2023.0477.