DOI QR코드

DOI QR Code

Detection of Depression Trends in Literary Cyber Writers Using Sentiment Analysis and Machine Learning

  • Faiza Nasir (Department of Computer Science, University of Engineering and Technology) ;
  • Haseeb Ahmad (Department of Computer Science, University of Engineering and Technology) ;
  • CM Nadeem Faisal (Department of Computer Science, University of Engineering and Technology) ;
  • Qaisar Abbas (Department of Computer Science, Imam Mohammad Ibn Saud Islamic University (IMSIU)) ;
  • Mubarak Albathan (Department of Computer Science, Imam Mohammad Ibn Saud Islamic University (IMSIU)) ;
  • Ayyaz Hussain (Department of Computer Science, Quaid-i-Azam University)
  • Received : 2023.03.05
  • Published : 2023.03.30

Abstract

Rice is an important food crop for most of the population in Nowadays, psychologists consider social media an important tool to examine mental disorders. Among these disorders, depression is one of the most common yet least cured disease Since abundant of writers having extensive followers express their feelings on social media and depression is significantly increasing, thus, exploring the literary text shared on social media may provide multidimensional features of depressive behaviors: (1) Background: Several studies observed that depressive data contains certain language styles and self-expressing pronouns, but current study provides the evidence that posts appearing with self-expressing pronouns and depressive language styles contain high emotional temperatures. Therefore, the main objective of this study is to examine the literary cyber writers' posts for discovering the symptomatic signs of depression. For this purpose, our research emphases on extracting the data from writers' public social media pages, blogs, and communities; (3) Results: To examine the emotional temperatures and sentences usage between depressive and not depressive groups, we employed the SentiStrength algorithm as a psycholinguistic method, TF-IDF and N-Gram for ranked phrases extraction, and Latent Dirichlet Allocation for topic modelling of the extracted phrases. The results unearth the strong connection between depression and negative emotional temperatures in writer's posts. Moreover, we used Naïve Bayes, Support Vector Machines, Random Forest, and Decision Tree algorithms to validate the classification of depressive and not depressive in terms of sentences, phrases and topics. The results reveal that comparing with others, Support Vectors Machines algorithm validates the classification while attaining highest 79% f-score; (4) Conclusions: Experimental results show that the proposed system outperformed for detection of depression trends in literary cyber writers using sentiment analysis.

Keywords

Acknowledgement

The authors extend their appreciation to the Deanship of Scientific Research at Imam Mohammad Ibn Saud Islamic University (IMSIU) for funding and supporting this work through Research Partnership Program no. RP-21-07-11.

References

  1. A. G. Reece and C. M. Danforth, "Instagram photos reveal predictive markers of depression," EPJ Data Science, vol. 6, p. 15, 2017.
  2. World Health Organization, "Depression and other common mental disorders: global health estimates," World Heal. Organ., pp. 1-24, 2017.
  3. P. Howlader and A. Cuzzocrea. "Predicting Facebook-Users' Personality based on Status and Linguistic Features via Flexible Regression Analysis Techniques," In Proceedings of the 33rd Annual ACM Symposium on Applied Computing (SAC '18), pp. 339-345, 2018.
  4. C. Tai, Z. Tan, and Y. Lin, "Mental Disorder Detection and Measurement using Latent Dirichlet Allocation and Senti WordNet," IEEE International Conference on Systems, Man, and Cybernetics, pp. 1215-1220, Oct. 2015.
  5. A. Abboute, Y. Boudjeriou, G. Entringer, J. Aze, S. Bringay, and P. Poncelet, "Mining twitter for suicide prevention," in International Conference on Applications of Natural Language to Data Bases/Information Systems, pp. 250-253, 2014.
  6. A. Jeri-Yabar et al., "Association between social media use (Twitter, Instagram, Facebook) and depressive symptoms: Are Twitter users at higher risk?", International Journal of Social Psychiatry, vol. 65, no. 1, pp. 14-19, 2018. https://doi.org/10.1177/0020764018814270
  7. W. Count, "Word Use in the Poetry of Suicidal and Nonsuicidal Poets," Psychosomatic Medicine, vol. 522, no. 12, pp. 517-522, 2001. https://doi.org/10.1097/00006842-200107000-00001
  8. T. Nguyen, D. Phung, B. Dao, S. Venkatesh, and M. Berk, ''Affective and content analysis of online depression communities,'' IEEE Trans. Affect. Comput., vol. 5, no. 3, pp. 217-226, Jul. 2014. https://doi.org/10.1109/TAFFC.2014.2315623
  9. M. M. Tadesse, H. Lin, B. O. Xu, and L. Yang, "Detection of Depression-Related Posts in Reddit Social Media Forum," IEEE Access, vol. 3536, no. c, pp. 1-12, 2019.
  10. J. Wolohan, M. Hiraga, A. Mukherjee, Z. A. Sayyed, and M. Millard, "Detecting Linguistic Traces of Depression in Topic-Restricted Text: Attending to Self-Stigmatized Depression with NLP," in Proceedings of the First International Workshop on Language Cognition and Computational Models, pp. 11-21, 2018.
  11. Z. Yin, L. Cao, Q. Gu and J. Han, "Latent Community Topic Analysis", ACM Transactions on Intelligent Systems and Technology, vol. 3, no. 4, pp. 1-21, 2012. Available: 10.1145/2337542.2337548.
  12. W. Speier, M. K. Ong, and C. W. Arnold, "Using phrases and document metadata to improve topic modeling of clinical reports," Journal of Biomedical Informatics, vol. 61, pp. 260-266, 2016. https://doi.org/10.1016/j.jbi.2016.04.005
  13. C. Lin, E. Ibeke, A. Wyner and F. Guerin, "Sentiment-topic modeling in text mining", Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 5, no. 5, pp. 246-254, 2015. Available: 10.1002/widm.1161.
  14. X. Wang, C. Zhang, Y. Ji, L. Sun, L. Wu and Z. Bao, "A Depression Detection Model Based on Sentiment Analysis in Micro-blog Social Network", Lecture Notes in Computer Science, pp. 201-213, 2013.
  15. C. H. E. Gilbert, "Vader: A parsimonious rule-based model for sentiment analysis of social media text," in Eighth International Conference on Weblogs and Social Media (ICWSM-14). Available at (20/04/16) http://comp.social.gatech.edu/papers/icwsm14. vader. hutto. pdf, 2014.
  16. J. Neidhardt, N. Rummele, and H. Werthner, "Predicting happiness: user interactions and sentiment analysis in an online travel forum," Information Technology & Tourism, vol. 17, pp. 101-119, 2017. https://doi.org/10.1007/s40558-017-0079-2
  17. H. Park, M. Lee, S. Hwang and S. Oh, "TF-IDF Based Association Rule Analysis System for Medical Data," KIPS Transactions on Software and Data Engineering, vol. 5, no. 3, pp. 145-154, 2016. Available: 10.3745/ktsde.2016.5.3.145.
  18. Rahman, F. "Cyber Literature: A Reader - Writer Interactivity," International Journal of Social Sciences & Educational Studies, vol. 3, no. 4, pp. 156-164, 2017.
  19. M. De Choudhury, S. Counts, E. J. Horvitz, and A. Hoff, "Characterizing and predicting postpartum depression from shared facebook data," in Proceedings of the 17th ACM conference on Computer supported cooperative work & social computing, pp. 626-638, 2014.
  20. M. De Choudhury, M. Gamon, S. Counts, and E. Horvitz, "Predicting depression via social media," ICWSM, vol. 13, pp. 1-10, 2013.
  21. A. Abboute, Y. Boudjeriou, G. Entringer, J. Aze, S. Bringay, and P. Poncelet, "Mining twitter for suicide prevention," in International Conference on Applications of Natural Language to Data Bases/Information Systems, pp. 250-253, 2014.
  22. M. Trotzek, S. Koitka, and C. M. Friedrich, "Utilizing Neural Networks and Linguistic Metadata for Early Detection of Depression Indications in Text Sequences," pp. 1-14, 2018.
  23. Wang, M.; Shi, H. Research on sentiment analysis technology and polarity computation of sentiment words. In Proceedings of the 2010 IEEE International Conference on Progress in Informatics and Computing, Shanghai, China, 10-12 December 2010; pp. 331-334, 2010.
  24. M. Thelwall, "TensiStrength: Stress and relaxation magnitude detection for social media texts," Information Processing & Management, vol. 53, pp. 106-121, 2017.
  25. M. Thelwall, "Heart and soul: Sentiment strength detection in the social web with sentistrength, 2013," Cyberemotions: Collective emotions in cyberspace, 2013.
  26. Y. R. Tausczik and J. W. Pennebaker. "The psychological meaning of words: LIWC and computerized text analysis methods," Journal of Language and Social Psychology, 29(1):24-54, 2010. https://doi.org/10.1177/0261927X09351676
  27. Mikal J, Hurst S, Conway M. Investigating patient attitudes towards the use of social media data to augment depression diagnosis and treatment: a qualitative study. In: Proceedings of the fourth workshop on computational linguistics and clinical psychology-from linguistic signal to clinical reality. 2017.
  28. J. Abbas et al., "The moderating role of social support for marital adjustment, depression, anxiety, and stress: Evidence from Pakistani working and nonworking women", Journal of Affective Disorders, vol. 244, pp. 231-238, 2019. https://doi.org/10.1016/j.jad.2018.07.071
  29. Thelwall, M., Buckley, K., Paltoglou, G., Cai, D., Kappas, A.: Sentiment strength detection in short informal text. Journal of the American Society for Information Science and Technology, 61(12), 2444-2558, 2010. https://doi.org/10.1002/asi.21416
  30. Z. LIU, Y. FU, X. LING and X. XIONG, "Blog community detection based on formal concept analysis", Journal of Computer Applications, vol. 33, no. 1, pp. 189-191, 2013. https://doi.org/10.3724/SP.J.1087.2013.00191
  31. R. Yesha and A. Gangopadhyay, "A method for analyzing health behavior in online forums," in Proceedings of the 6th ACM Conference on Bioinformatics, Computational Biology and Health Informatics, pp. 615-621, 2015.
  32. A. Park and M. Conway, "Longitudinal changes in psychological states in online health community members: understanding the long-term effects of participating in an online depression community," Journal of medical Internet research, vol. 19, 2017.
  33. Z. LIU, Y. FU, X. LING and X. XIONG, "Blog community detection based on formal concept analysis", Journal of Computer Applications, vol. 33, no. 1, pp. 189-191, 2013. https://doi.org/10.3724/SP.J.1087.2013.00191
  34. G. Nimrod, "From knowledge to hope: Online depression communities," International Journal on Disability and Human Development, vol. 11, pp. 23-30, 2012. https://doi.org/10.1515/ijdhd.2012.009
  35. Laganas C, McLeod K, Lowe E. "Political posts on Facebook: an examination of voting, perceived intelligence, and motivations," Pepperdine J Commun Res. Vol. 5 no. 1, p.18, 2017.
  36. J. A. K. Johnsen, J. H. Rosenvinge, and D. Gammon, "Online group interaction and mental health: An analysis of three online discussion forums," Scandinavian journal of psychology, vol. 43, pp. 445-449, 2012. https://doi.org/10.1111/1467-9450.00313
  37. Islam MR, Kamal ARM, Sultana N, Moni MA, Islam R. Depression detection using K-Nearest Neighbors (KNN) classification technique. in International conference on computer, communication, chemical, materials and electronic engineering, February 8-9, 2018, Rajshahi, Bangladesh.
  38. M. Islam, M. Kabir, A. Ahmed, A. Kamal, H. Wang and A. Ulhaq, "Depression detection from social network data using machine learning techniques", Health Information Science and Systems, vol. 6, no. 1, 2018. Available: 10.1007/s13755-018-0046-0.
  39. J. Culpeper, A. Findlay, B. Cortese, and M. Thelwall, "Measuring emotional temperatures in Shakespeare's drama," English Text Construction, vol. 11, pp. 10-37, 2018. https://doi.org/10.1075/etc.00002.cul
  40. R. Islam and M. F. Zibran, "SentiStrength-SE: Exploiting domain specificity for improved sentiment analysis in software engineering text," The Journal of Systems & Software, vol. 145, no. August, pp. 125-146, 2018. https://doi.org/10.1016/j.jss.2018.08.030
  41. Y. Tyshchenko, "Depression and anxiety detection from blog posts data", 2018.
  42. M. Hiraga, "Predicting Depression for Japanese Blog Text", in Proceedings of ACL 2017, Student Research Workshop, Vancouver, Canada, 2017, pp. 107-113.
  43. Chawla, Nitesh V., Kevin W. Bowyer, Lawrence O. Hall, and W. Philip Kegelmeyer. "SMOTE: synthetic minority oversampling technique." Journal of artificial intelligence research 16 (2002): 321-357. https://doi.org/10.1613/jair.953