Impact of Social Media on Mental Health UsingAI-Based Sentiment Analysis

Authors

  • Shweta Waghmare
  • Neetu Pandey
  • Shubham Pandey

Keywords:

Social Media, Mental Health, Sentiment Analysis, Artificial Intelligence, Natural Language

Abstract

The article examines how social media affects mental health in a multifaceted manner by integrating the traditional analysis based on a survey method with the latest artificial intelligence (AI) methods. We are not just looking at the frequency and duration of social media usage among people, but also at the type of content that causes distress, the perception discrepancies between age groups, and how AI instruments can be used to diagnose people who might be at risk. The primary data is combined with secondary data to create blending data. Surveys using large-scale social media samples and using techniques, such as sentiment analysis and natural language processing (NLP), the research study will reveal significant trends between online behavior and psychological performance. The findings point to obvious correlations between the high usage and the negative feelings, as well as reveal the fact that the content type and age are important factors in the formation of experiences. Notably, the study shows that AI-based practices can help in the early identification and intervention. The paper ends by summarizing the practical approaches to more healthy digital interactions and recommending interdisciplinary cooperation to minimize the negative impact of social media on mental health and maintain all its positive aspects.

References

1.Aulia H, Zulfadhilah M, Prastya SE, Pebriadi MS. Analyzing public sentiment towards mental health on social media Twitter using machine learning. POSITIF J Sist Teknol Inf. 2024;10(2).

2. Barai M, Soni G. The application of sentiment analysis in mental health monitoring and support. J Android iOS Appl Test. 2025;10(1):34–55.

3. Benrouba F, Boudour R. Emotional sentiment analysis of content on social media in mental health safety contexts. Soc Netw Anal Min. 2023;13:17.

4. Braghieri L. Social media and mental health. Am Econ Rev. 2022;112(5):1576–1602.

5. Correia RB, Wood IB, Bollen J, Rocha LM. Mining social media data for biomedical signals and health-related behavior. arXiv preprint. 2020;arXiv:2001.10285v1:1–28.

6. Pamungkasari PD, Ningsih S, Rifai AP, Nandila AS, Nguyen HT, Penchala SK. Twitter sentiment analysis of mental health issues post COVID-19. Green Intell Syst Appl. 2025;5(1):51–60.

7. Gawas T, Makwana B. Research on sentimental analysis on mental health using social media. Int J Sci Res Technol. 2025;2(3):41–47.

8. Ivic R. Messaging and information in mental health communication: A content analysis. JMIR Infodemiology. 2025;5(1):e48230.

9. Jadhav PM, Sonia, Kulkarni AN. Depression predicting model of emotions of social media users with deep learning methods. J Adv Zool. 2024;44.

10. Khandelwal V, Gaur M, Kursuncu U, Shalin V, Sheth A. A domain-agnostic neurosymbolic model of big social data analysis: Mental health sentiment on social media during COVID-19. arXiv preprint. 2024;arXiv:2411.07163v1.

11. Liang JZ. Constructing a mental health analysis system for social media using large language models. Adv Eng Innov. 2025;16(1):13–22.

12. Liu Y, Wang Y, Zhao Y, Li Z. Transgender community sentiment analysis from social media data: A natural language processing approach. arXiv preprint. 2020;arXiv:2010.13062v2:1–6.

13. Magar AM, Kharosekar V, Patil A, Lakade S, Sangolgi R. Depression and stress monitoring system via social media data using deep learning framework: A review. Int J Adv Res Sci Commun Technol. 2022;2(5).

14. Mohd Rum SN, Saharudin NFA, Husin NA, Akbar A. Uncovering depression on social media using BERT model. J Adv Res Des. 2025;129(1):46–59.

15. Naslund JA. Social media and mental health: Benefits, risks, and opportunities for research and practice. Psychiatr Serv. 2020;71(6):591–598.

16. Odja KD. Mental illness detection with sentiment analysis in social media. Procedia Comput Sci. 2024;187:133–140.

17. Plackett R. The role of interventions using social media in mental health: A systematic review. J Med Internet Res. 2023;25(1):e44922.

18. Rajput A. Natural language processing, sentiment analysis and clinical analytics. arXiv preprint. 2019;arXiv:1902.00679v1:1–24.

19. Shao H, Zhu M, Zhai S. Mental health diagnosis in the digital age: Harnessing sentiment analysis on social media platforms upon ultra-sparse feature content. arXiv preprint. 2023;arXiv:2311.05075v1.

20. Villanueva-Miranda I. Sentiment analysis in the field of public health: A systematic review. J Med Internet Res. 2025;27(2):e12262.

21. Wijaya H, Hadi MF, Sulistianingsih N. Using sentiment analysis with BERT and SVM for mental health detection on social media. J Digit Health Innov Med Technol. 2025;1(2).

22. Wu S, Huang X, Lu D. Psychological health knowledge-enhanced LLM-based social network crisis intervention text transfer recognition method. arXiv preprint. 2024;arXiv:2504.07983v2:1–16.

23. Yadav A, Tiwari A, Kumar A, Verma AK. Social media mental health detection with NLP and machine learning: Text mining methodology. Int J Res Appl Sci Eng Technol. 2025.

24. Zsila Á. Pros and cons: Impacts of social media on mental health. BMC Psychol. 2023;11(1):1.

Published

2026-04-07

How to Cite

Impact of Social Media on Mental Health UsingAI-Based Sentiment Analysis. (2026). Indian Journal of Health and Medical Law, 9(1), 16-26. https://lawjournals.celnet.in/index.php/ijhml/article/view/2030

Similar Articles

1-10 of 77

You may also start an advanced similarity search for this article.