Next Article in Journal
Stigma Toward Mental Illness Among Non-Psychiatrist Doctors in India: A Cross-Sectional Study
Previous Article in Journal
Psychological Profiles and Resilience in Family Caregivers of People with Dementia: A Latent Profile Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Application of Artificial Intelligence in Social Media Depression Detection: A Narrative Review from Temporal Analysis

1
Santo Stefano Rehabilitation Institute, Porto Potenza Picena 62016, MC, Italy
2
Units of Psychiatry, Ast Fermo, 63900 Fermo, FM, Italy
3
School of Pharmacy, Experimental Center and Public Health “Stefania Scuri”, 62032 Camerino, MC, Italy
4
Department of Pharmacy, Health and Nutritional Sciences (DFSSN), University of Calabria, 87036 Rende, CS, Italy
5
IRCCS Humanitas Research Hospital, Via Manzoni 56, 20089 Rozzano, MI, Italy
6
Department of Medicine and Surgery, University of Parma, 43125 Parma, PR, Italy
7
Department of Healthcare Professions, Azienda Ospedaliera Complesso Ospedaliero San Giovanni Addolorata, 00184 Rome, RM, Italy
8
Department of Translation Medicine, University of Eastern Piedmont, 28100 Novara, NO, Italy
*
Authors to whom correspondence should be addressed.
Francesco Sacchini and Federico Biondini contributed equally as first authors.
Diego Lopane and Fabio Petrelli contributed equally as last authors.
Psychiatry Int. 2026, 7(1), 24; https://doi.org/10.3390/psychiatryint7010024
Submission received: 28 October 2025 / Revised: 7 December 2025 / Accepted: 22 January 2026 / Published: 26 January 2026

Abstract

Background: Depression remains a major global mental health concern, significantly intensified during the COVID-19 pandemic. As social media usage surged during this period, it emerged as a valuable source for identifying early signs of depression. Artificial intelligence (AI) offers powerful tools to analyze large volumes of user-generated content, enabling timely and effective detection of depressive symptoms. This review aims to preliminarily explore and compare evidence on the use of AI models for detecting depression in social content across the pre-, during, and post-pandemic phases, assessing their effectiveness and limitations. Methods: A narrative literature review was conducted using PubMed and Scopus, following the SANRA guidelines to ensure methodological quality and reproducibility. The study was pre-registered in the OSF database and employed the PICOS framework for the strategy. Inclusion criteria comprised studies in English from the past 10 years that analyzed depression detection via AI, machine learning (ML), and deep learning (DL) applied to textual data, images, and social metadata. This review addresses the following four research questions: (1) whether AI models improved effectiveness in detecting depression during/after the pandemic vs. pre-pandemic; (2) whether textual, visual, or multimodal data approaches became more effective during the pandemic; (3) whether AI models better addressed technical challenges (data quality/diversity) post-pandemic; and (4) whether strategies for responsible AI implementation improved during/after the pandemic. Results: Out of 349 identified records, nine primary studies were included, as most excluded articles had a predominantly technical focus and did not meet the clinical relevance criteria. AI models demonstrated strong potential in detecting depression, particularly through text-based classification and social content analysis. Several studies reported high predictive performance, with notable improvements in accuracy and sensitivity during and after the pandemic, although evidence remains limited. Conclusions: Our preliminary analysis suggests that AI-based depression detection on social media shows potential for clinical use, highlighting interdisciplinary collaboration, ethical considerations, and patient-centered approaches. These findings require confirmation and validation through larger, well-designed systematic reviews.

1. Introduction

Mental disorders are a major cause of the global burden of disease. The 2019 Global Burden of Diseases (GBD), Injuries, and Risk Factors Study found that depressive disorders are among the top twenty-five leading causes of global health burden [1,2]. According to the Fifth American Psychiatric Association’s Diagnostic and Statistical Manual of Mental Disorders (DSM-5), depressive disorders are divided into five categories, characterized by common symptoms such as sadness, feelings of emptiness or irritable mood, combined with somatic and cognitive changes that significantly affect the individual’s daily functions [3]. An estimated 280 million people worldwide suffer from this condition, with a prevalence that is 50% higher in women than in men. It is estimated that 5% of the world’s adult population is affected, with a distribution of 4% among men and 6% among women, while 5.7% of people over 60 years of age have the condition [World Health Organization (WHO)] [4]. With the COVID-19 pandemic, cases have increased significantly, with an estimated 53.2 million new patients with the major depressive disorder globally in 2020 alone [5]. In the same year, the US faced some of the highest social, economic, and health care costs in the world due to the pandemic. The spike in unemployment claims and severe financial hardship for workers and companies had a negative impact on mental health [6]. Many countries responded to the pandemic by imposing national lockdowns, which included social isolation measures such as closing schools and workplaces. Young people, who have a higher risk of developing mental health problems than adults [7], may be particularly vulnerable to the negative effects of such isolation [8]. In this context, social media platforms have played a key role as a constantly available communication tool [9]. The number of users amounted to 4.55 billion in October 2021 compared to 3.8 billion in January 2020 [10]. However, numerous studies have revealed that high consumption of social media is correlated with an increase in media addiction, especially among adolescents, and an increased risk of anxiety, loneliness, and depression [11,12]. In the face of these growing mental health problems, early screening plays a crucial role [13]. The diagnosis of depressive disorder is mainly based on clinical assessments conducted by health professionals using psychodiagnostic tests [14,15] and standardized questionnaires or scales [16] such as the Hamilton Depression Rating Scale (HDRS) [17], the Beck Depression Inventory-II [18], and the Patient Health Questionnaire-9 (PHQ-9) [19]. Despite this, depression often remains underdiagnosed and poorly managed due to psychosocial limitations, reduced access to mental health care services, and diagnostic and therapeutic inconsistencies [20]. The increase in data finding use of social media post-pandemic allows online monitoring to detect mental disorders, such as depression, at an early stage. [21,22]. In this context, artificial intelligence (AI) offers new perspectives and methods to address depressive disorders, complementing and enhancing traditional diagnostic techniques [23]. For instance, AI can employ automated algorithms that analyze sentiment and emotional tone, which can reveal the presence of depression, such as sadness or despair [24]. In addition, deep learning (DL) and machine learning (ML) techniques are used and can identify linguistic clues that suggest the presence of a mental disorder [25,26]. Despite concerns about privacy and ethics in the use of social media data that may limit research [27,28], the adoption of AI in social media could radically transform the diagnosis and treatment of depression, improving access to personalized resources for millions of people. The primary objective of this narrative review is to preliminarily explore temporal trends in AI model effectiveness for detecting depression on social media, using the COVID-19 pandemic as a contextual reference point for understanding potential changes in performance and methodological approaches.

2. Materials and Methods

2.1. Study Design

This study uses a narrative review [29] and follows the Scale for the Evaluation of Narrative Review Articles (SANRA) to ensure the quality of the study (Supplementary File S1). The aim is to provide a comprehensive quantitative and qualitative synthesis of the literature regarding the use of AI models for the identification of depression through social media, analyzing data collected before, during, and after the COVID-19 pandemic.

2.2. Defining the Research Question

The research questions that guided this preliminary narrative review are as follows:
-
Have AI models improved effectiveness in detecting depression on social media during and after the pandemic compared to the pre-pandemic period?
-
During and after the pandemic, have AI models that utilize textual, visual, or multimodal data been more effective in detecting depression on social media compared to the pre-pandemic period?
-
Have AI models updated or developed during and after the pandemic shown improvements in addressing technical challenges such as data quality and diversity compared to pre-pandemic models?
-
Have the strategies implemented to improve AI models in detecting depression on social media during and after the pandemic been more effective in promoting responsible and inclusive use of AI compared to pre-pandemic strategies?
This research was developed using the PICOS framework [30] to ensure a structured and scientifically valid approach to the identified topic:
  • P (Population): social media users;
  • I (Intervention): AI models to detect signs of depression in social media during and after the pandemic;
  • C (Comparison): AI models used pre-pandemic for depression detection;
  • O (Outcome): improvement in detection effectiveness (accuracy, sensitivity, and specificity);
  • S (Study Type): primary studies.

2.3. Inclusion and Screening Criteria

The study included a preliminary registration in the OSF database with the code https://doi.org/10.17605/OSF.IO/VQRY5 (accessed on 16 April 2025). The inclusion criteria encompassed primary studies published in English within the last 10 years, relevant to the study’s objectives. Exclusion criteria eliminated other types of studies (e.g., editorials, commentaries, reviews, and protocol studies). The search strategy was conducted using the PubMed–Medline and Scopus databases, aiming to select primary studies published in the last 10 years. These databases were selected because they are among the most relevant and authoritative for biomedical and mental health research and they index the majority of clinically oriented studies in this field. In the initial search to identify the total number of records, the screening process was conducted blindly by two reviewers. In case of disagreement between the two, and to reach the necessary consensus for inclusion, a third researcher was involved in the selection process. After selecting the articles to be included from the specified databases, the search was extended to the gray literature and proceedings from sector conferences that met the inclusion criteria. Mendeley Reference Manager (free version, accessed May 2025) [31] was used for the bibliographic management of the analyzed records, and specific search strings were applied with principal keywords “Artificial Intelligence”, “Deep Learning”, “Machine Learning”, “Natural Language Processing”, “Cognitive Dysfunction”, “Mental Disorders”, “Psychological Distress”, “Depression”, “Depressive Disorder”, “Affective Disorders, Psychotic”, “Anxiety Disorders”, “Phobia, Social”, “Neurocognitive Disorders”, “Executive Function”, “Memory, Short-Term”, “Problem Solving”, “Social Media”, “Internet Addiction Disorder”, “Media Exposure”, “Social Networking”, “Social Network Analysis” combined with Boolean operators. The search was updated through 31 May 2025 (Supplementary File S2).

2.4. Data Synthesis and Risk of Bias

The selected studies underwent rigorous analysis in two phases. Initially, they were categorized based on author and year, country, study design, sample, type of AI, objective, results, and limitations. This categorization has ensured a structured approach to synthesizing the identified literature. Subsequently, a comprehensive narrative synthesis was conducted, integrating the results of the selected primary studies and providing an overall perspective on the topic, while also highlighting the unique characteristics and complexities of each included study. The risk of bias and the methodological quality of the included studies were independently assessed by two researchers using the Critical Appraisal Skills Program (CASP) checklists [32] (CASP Checklist for included studies: Supplementary File S3).

3. Results

From the search strategy, 349 records were identified from the PubMed–Medline and Scopus databases. After excluding 287 articles based on title and abstract, of which 29 duplicates, 62 articles were selected for screening. Of these, 25 were deemed irrelevant and 37 texts were assessed for suitability, with an additional 30 removed after review and expert opinion: 14 focused on mental health conditions other than depression specifically; 8 used AI for treatment/intervention rather than detection; 5 were conference abstracts without complete methodological details; and 3 had insufficient AI implementation description. The screening process ultimately included 7 primary studies and 2 from other sources added (Figure 1).

3.1. Characteristics of the Included Studies

Among the nine primary studies included [33,34,35,36,37,38,39,40,41], two were conducted in India [34,35], two in the USA [36,40], two in China [37,38], while one study each was conducted in Australia [33], Spain [39], and Bangladesh [41]. Of the nine studies, six were experimental/clinical [34,36,37,39,41] and three were observational [35,38,40]. The quality of the study design was assessed as high in all studies. (Table 1 and Table 2).

3.2. Pre-Pandemic Evolution: Foundations and Initial Applications of AI

In a diagnostic experimental study conducted in Bangladesh, Islam et al. [41] used advanced ML techniques [Decision Tree (DT), Support Vector Machine (SVM), K-Nearest Neighbors (KNNs), and Ensemble methods] to analyze 7145 Facebook comments in order to identify signs of depression. It has emerged that the DT, with a precision of 0.59, a recall of 0.99, and a F measure of 0.73, has proven particularly effective in recognizing psycholinguistic indicators of depression, managing to identify almost all relevant comments. This approach has demonstrated a high rate of correct identification of comments indicative of depression, suggesting the effectiveness of such methodologies in the analysis of social content for diagnostic purposes. In parallel, Ricard et al. [40] conducted an observational study on 749 Instagram users in the USA, using the Patient Health Questionnaire-8 (PHQ-8) as a reference to assess the ability of community-generated content to predict depression. The developed ML models have demonstrated significant predictive capabilities, with a combined model of user-generated and community-generated data achieving an area under the curve (AUC) of 0.72, surpassing the model that uses only community-generated data (AUC = 0.71) and the model based solely on user-generated data (AUC = 0.63). These results reinforce the idea that community-generated data can serve as valuable resources for identifying signals of depression. Meanwhile, Cacheda et al. [39] conducted an observational study in Spain involving 887 social media users and applied the Random Forest (RF) algorithm with a “time-aware approach.” This study showed that the dual model improves the detection of major depressive disorder (MDD) by over 10% compared to current standard models, highlighting the importance of timeliness in detection through social media. In parallel, Tadesse et al. [38] conducted an experimental study analyzing posts on Reddit to identify linguistic markers of depression, employing natural language processing (NLP) techniques and ML classifiers [Support Vector Machine (SVM) and Multilayer Perceptron (MLP)]. The results demonstrated that linguistic features can indicate the presence of depression with an accuracy of 91%, an F1-score of 0.93, a precision of 90%, and a recall of 91% using the MLP classifier, confirming the effectiveness of combining different feature extraction methods and ML algorithms. Finally, Sun et al. [37] conducted an experimental study in China developing a diagnostic network that uses “domain-adversarial” neural networks to improve depression diagnosis through skew-robust adversarial domain adaptation. The proposed method demonstrated performance comparable to the baseline, surpassing other DL models in depression diagnosis. The performance indicators used, Root Mean Square Error (RMSE) and Mean Absolute Error (MAE), provided standard metrics to evaluate the precision of a model’s predictions. Without top-down selection, the severity assessment network based on robust adversarial domain adaptation (SRADDA) achieved an RMSE of 6.38 and a MAE of 4.93. With top-down selection, the RMSE improved to 5.13 and the MAE to 4.08.

3.3. Impacts of the Pandemic: Adaptations and Challenges of AI in Depression Detection

Zhang et al. [36] conducted an observational study involving 5150 Twitter users to monitor depression trends during the COVID-19 pandemic. To analyze the data, advanced DL models [Bidirectional Encoder Representations from Transformers (BERT), robustly optimized BERT approach (RoBERTa), and a generalized autoregressive pretraining method (XLNet)] were employed. The fusion model achieved an accuracy of 78.9%, while the chunk-level results (data divided into segments of text) showed significant improvements in classification as the size of the training and validation set increased. In particular, the XLNet model demonstrated the highest performance, with an AUC of 84.9%, a precision of 78.1%, an F1-score of 79.2%, and an accuracy of 78.4% when trained on a sample of 4650 users. These data underscore how the integration of sophisticated DL models and a large dataset can significantly improve accuracy in classifying depressive states based on the language used by users on social media platforms like Twitter. In a similar context, Zogan et al. [33] conducted an experimental study developing a model called “Hierarchical Attenuation Convolutional Neural Network” (HCN), designed to identify and analyze depression among social media users. Focusing on the repercussions of the COVID-19 pandemic on user behavior and the content of their tweets, the model detected an increase in depression rates during the pandemic period. The HCN demonstrated high effectiveness in identifying depression, using metrics such as accuracy (93.4%), precision (85.6%), recall (91.8%), and F1-score (89.7%), providing a detailed overview of how changes in digital behavior can reflect significant depressive states.

3.4. Post-Pandemic: Advances of AI in Monitoring Mental Health

Anshul et al. [35] conducted an experimental study in India using a DL methodology that integrates Visual Neural Network (VNN) and textual analysis. The study aimed to detect depression among social media users by leveraging a new framework based on AI. The results showed a high accuracy of 93.1% on the Tsinghua dataset and 91.7% on a new COVID-19 dataset, demonstrating the effectiveness of the multimodal approach. The evaluation criteria used in the study include accuracy, precision, recall, and F1 score. Meanwhile, another experimental study conducted in India by Chatterjee et al. [34] led to the creation of a model for real-time depression detection through the analysis of tweets that exhibit depressive symptoms. Using advanced ML techniques and an SVM classifier, the study developed a model based on sentiment analysis and user interactions on social media to track trends in mental health. The model recorded an accuracy of 89%, with precision, recall, and F1-score values highlighting its ability to detect signals of depression from Twitter posts. The maximum accuracy achieved was 89%, and the F1 score was 0.88, representing the best performance among the tested classifiers.

4. Discussion

The adoption of AI techniques in mental health diagnosis through social media analysis has garnered significant attention, particularly in understanding temporal trends across different periods [42]. This discussion systematically addresses our four research questions by examining the limited evidence from our nine included studies, while acknowledging the preliminary nature of these findings (Figure 2).
These models have demonstrated a remarkable ability to identify indicators of depression based on linguistic patterns, user sentiment analysis, and interaction data [41]. However, the advent of the COVID-19 pandemic has led to a reevaluation of these methods, particularly regarding their effectiveness before and during the post-pandemic period. While the pandemic provided a natural experiment with increased social media data, it remains unclear whether observed improvements in AI performance reflect pandemic-specific methodological advances or the natural evolution of AI technology that would have occurred regardless [33,36].

4.1. AI Model Effectiveness Evolution (Pre vs. During/Post-Pandemic)

Our analysis suggests potential improvements in AI model performance over time, though attribution to pandemic-specific factors remains uncertain. Pre-pandemic studies showed moderate effectiveness, with Islam et al. [41] achieving an F-measure of 0.73 using Decision Tree algorithms on Facebook data, and Benjamin et al. [40] reaching an AUC of 0.72 with Instagram content analysis. Before the pandemic, the effectiveness of AI models in detecting depression in social networks was primarily based on the various types of data that these models processed. Previous studies [40] predominantly leveraged textual data from user posts, analyzed through NLP techniques. These techniques, along with ML, have been crucial for analyzing the emotional states represented in online interactions [43]. The initial efforts highlighted the development of models capable of identifying linguistic signals and patterns related to depressive symptoms, with flexible methodologies that allowed for the incorporation of various types of data, including text, images, and even behavioral signals [44].
During the pandemic, Zhang et al. [36] reported improved accuracy of 78.9% using advanced transformer models (BERT, RoBERTa, and XLNet), while Zogan et al. [33] achieved notably high performance metrics (accuracy: 93.4%, F1-score: 89.7%) with their Hierarchical Convolutional Network. Post-pandemic studies by Anshul et al. [35] demonstrated accuracy rates of 93.1% and 91.7% on different datasets, and Chatterjee et al. [34] achieved 89% accuracy. In this pre-pandemic era, the data landscape was relatively stable, characterized by well-defined markers of depressive behavior that could be easily captured through existing technologies [38]. Platforms like Twitter and Facebook were primarily used for personal expression, making the data more accessible for AI analysis [45]. However, the onset of the pandemic introduced variables that significantly altered the types of data and the performance of the resulting model. The mental health crisis due to isolation, widespread fear, and uncertainty increased the volume and variance of data available for AI models, as users shared emotionally charged content as their mental states deteriorated [46].
Assessment of Hypothesis 1: The evidence suggests improved performance metrics in later studies, but this trend likely reflects natural AI technological evolution rather than pandemic-specific improvements. The progression from traditional machine learning approaches to deep learning and transformer models represents expected technological advancement that would have occurred regardless of the pandemic context.

4.2. Data Modality Effectiveness Across Time Periods

Pre-pandemic approaches predominantly focused on textual analysis. Tadesse et al. [38] achieved 91% accuracy using natural language processing on Reddit posts, while Sun et al. [37] employed domain-adversarial neural networks primarily on textual data. During and post-pandemic periods showed increased adoption of multimodal approaches.
This change necessitated a reevaluation of existing models, as the nature and context of communication transformed. The incorporation of new types of data, such as emojis, memes, and engagement metrics (likes, shares, and comments), became essential to capture the nuanced expressions of mental distress that emerged during the pandemic. Consequently, AI models began to integrate multimodal approaches to data, seeking to synthesize textual and visual elements to improve precision [35,37,39].
Anshul et al. [35] explicitly integrated Visual Neural Network (VNN) with textual analysis, demonstrating the effectiveness of multimodal frameworks with accuracies exceeding 90%. However, Zhang et al. [36] during the pandemic period still relied primarily on textual analysis through transformer models, suggesting that the shift toward multimodal approaches was not universally adopted.
Moreover, hierarchical attention networks have significantly improved the detection of depression on social media during the pandemic [33].
Assessment of Hypothesis 2: Limited evidence suggests a trend toward multimodal approaches in later studies, but this appears to be part of general AI development rather than a pandemic-driven innovation. The small sample size prevents definitive conclusions about the superior effectiveness of multimodal versus text-only approaches across time periods.

4.3. Technical Challenges and Data Quality Improvements

Technical challenges remained consistent across all time periods. Pre-pandemic studies reported issues with data selection bias, limited generalization, and self-reporting limitations [40,41]. During pandemic studies faced similar challenges, with Zhang et al. [36] noting limited representativeness and uncertain identification issues. Post-pandemic studies continued to report comparable limitations, including selection bias and classification accuracy concerns [34,35].
Despite these advancements, several technical challenges persist in the deployment of AI models for mental health assessment. Data privacy and ethical concerns are paramount, especially when it comes to sensitive information on public platforms [47]. There is an ongoing debate about the robustness of algorithmic predictions, particularly to ensure that models are not biased by users’ demographic characteristics [48]. Moreover, the need for explainability in AI models is fundamental, particularly in clinical applications where trust and transparency can significantly influence user acceptance and adherence to interventions [49].
All included studies, regardless of time period, struggled with similar fundamental challenges as follows: demographic bias, linguistic and cultural variability, privacy concerns, and generalization limitations. No clear evidence emerged of systematic improvements in addressing these technical challenges over time.
Assessment of Hypothesis 3: The evidence does not support the hypothesis that pandemic-era models better addressed technical challenges. Fundamental methodological issues persisted across all time periods, suggesting that these challenges reflect inherent difficulties in social media-based mental health detection rather than time-specific problems.

4.4. Responsible AI Strategy Evolution

The period following the pandemic has seen a demand for responsible AI practices in mental health research. Incorporating ethical considerations into the design of AI models is essential to prevent potential harm associated with misdiagnoses or misinterpretation of results. Technologies must integrate principles of fairness and accountability to ensure equitable access to resources and demographic data processing options for all users [50].
Ethical considerations and responsible AI practices were discussed across all time periods without clear temporal progression. Pre-pandemic studies acknowledged privacy concerns and ethical issues [38,40]. Pandemic and post-pandemic studies continued to identify similar ethical challenges without evidence of substantially improved approaches to responsible AI implementation.
As mental health crises have been exacerbated by the pandemic, the importance of ongoing research into the social implications of AI detection models has never been clearer. Furthermore, the refinement of algorithms and their dependence on qualitative and quantitative data raise important discussions about the types of data used for analysis. Studies have shown multifaceted approaches that include the analysis of emotional language, pictorial content, and even online behavior on platforms like Twitter and Facebook [51].
The integration of interdisciplinary collaboration and user-centered approaches was mentioned across different time periods without clear indication that such practices became more prevalent or sophisticated in later studies. These different types of data provide AI models with a greater degree of contextual understanding, contributing to their overall effectiveness. For example, Chen et al. [52] highlighted the role of emotional AI in assessing interactions on social media, illustrating a comprehensive framework for monitoring mental health.
The era of the pandemic has also ushered in greater attention to interdisciplinary collaborations between mental health professionals and data scientists, promoting the development of robust AI solutions. Researchers have recognized that a multidimensional perspective is necessary to effectively identify and manage depression through social media. Furthermore, direct interaction with users to obtain feedback can enhance the performance and relevance of the model, indicating the need for user-centered approaches [53].
Assessment of Hypothesis 4: Based on our limited sample, there is insufficient evidence to support improved responsible AI strategies over time. Ethical considerations appear to be consistently acknowledged without clear indication of enhanced implementation approaches in later periods.

4.5. Limitations and Implications

Several critical limitations must be acknowledged in interpreting these findings:
  • Sample Size Limitations: With only nine studies, our analysis lacks the statistical power to draw robust conclusions about temporal trends in AI effectiveness for depression detection.
  • Attribution Challenges: While the pandemic provided increased social media data availability, observed improvements in AI performance likely reflect natural technological evolution (e.g., advancement from traditional ML to deep learning and transformers) rather than pandemic-specific innovations.
  • Review design constraints: Although we applied structured methods (PICOS, independent screening, and PRISMA-like flow), the restricted time frame, English-only inclusion, and limited database search prevent classification as a true scoping review. These methodological constraints, together with study heterogeneity, justify the narrative approach and are now explicitly acknowledged to enhance transparency.
  • Methodological Heterogeneity: Differences in datasets, evaluation metrics, and study populations across the included studies limit direct comparisons and trend analysis.
  • The persistent technical and ethical challenges across all time periods suggest that fundamental issues in social media-based depression detection, including privacy concerns, cultural bias, and generalization limitations, require ongoing research attention rather than representing time-specific problems.
  • Missing Literature: Our exclusion of key technical databases such as ACL Anthology, IEEE Xplore, and major AI conferences represents a significant limitation. This may have led to the omission of important developments in computational approaches to mental health detection. While this is acknowledged as a limitation, it also frames a future research perspective.
These limitations should be considered in interpreting the findings; they highlight the preliminary nature of this narrative review, while also informing directions for future research.

4.6. Future Research Directions

The intersection of AI and technological support in general consolidated in chronic care [54,55,56,57,58,59,60] presents multifaceted opportunities for future research, particularly in the areas of privacy, model strength, and integration of multimodal data. Based on our preliminary data findings, future research should prioritize:
-
These reflections also align with earlier critical insights, which highlight the need for clearer framing when interpreting temporal trends in AI-based analyses;
-
Comprehensive Systematic Reviews: Larger studies incorporating computational linguistics conferences and AI research databases to provide more robust evidence about temporal trends;
-
Longitudinal Validation Studies: Research designed specifically to distinguish between technological evolution and contextual factors (such as increased data availability during the pandemic) in AI performance improvements;
-
Ethical Framework Development: Systematic approaches to responsible AI implementation in mental health applications, moving beyond acknowledgment of ethical concerns to practical implementation strategies;
-
Cross-Cultural Validation: Studies addressing linguistic and cultural biases that persist across all time periods in our review;
-
As artificial intelligence technologies evolve, ensuring the privacy of sensitive mental health data becomes fundamental, necessitating robust methodologies that preserve confidentiality while leveraging vast data sets. In addition, improving the robustness of the model against adversarial attacks is essential to maintain trust and effectiveness in therapeutic contexts. The integration of multimodal data—signs of voice, text, and physiological data—can enrich the assessments of mental health; however, the challenges in the harmonization of disparate data types require further exploration;
-
The interdisciplinary collaboration between IT, psychologists, and doctors is essential to encourage innovative solutions that are ethically sound and clinically relevant. Incorporating user feedback into the development of the AI model can help align technological progress with the needs of the real-world practice [61]. Finally, understanding post-pandemic behavioral changes will inform artificial intelligence applications that address mental health problems emerging in an increasingly digital landscape in clinical procedure in general [62,63,64,65];
-
Our analysis represents an exploratory examination that requires validation through more comprehensive research before definitive conclusions can be drawn about temporal trends in AI-based depression detection on social media;
-
The advancements of AI models for detecting depression on social media have evolved significantly, particularly in response to the COVID-19 pandemic. The effectiveness of these models heavily relies on the integration of various types of data, addressing the technical challenges of bias, privacy, and interpretability. As AI continues to play a crucial role in mental health research, responsible strategies must be prioritized to ensure that these innovations serve the best interests of all users. Exploring these dynamics will be fundamental in shaping the future of mental health interventions in social media contexts, facilitating timely support for individuals struggling with depression. The research landscape continues to generate insights that can lead to better health outcomes, further strengthening the critical intersection between technology and mental well-being [66,67,68].

5. Conclusions

The use of AI for detecting depression through social media has gained attention for its potential relevance to mental health care. Despite early technological advances, clinical application remains central, requiring careful attention to ethical, privacy, and cultural considerations. Our analysis of nine studies highlights the need for interdisciplinary collaboration and cautious interpretation. These reflections also align with earlier critical insights, linking temporal trends in AI analyses to potential future developments in clinical practice. Future research should focus on patient-centered outcomes and clinically applicable strategies to support multidisciplinary mental health care. Finally, a clear and structured ethical action is urgently needed to ensure that AI applications evolve responsibly alongside their rapid technological advancement.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/psychiatryint7010024/s1, File S1: SANRA; File S2: Search Strategy; File S3: CASP checklist.

Author Contributions

Conceptualization, F.S., F.B. and G.C. (Giovanni Cangelosi); methodology, G.C. (Giovanni Cangelosi) and G.C. (Gabriele Caggianelli); software, S.M.P. and S.M.; validation, F.P., S.R. and M.P.; formal analysis, F.S. and F.B.; investigation, D.L. and S.M.; resources, D.L. and A.M.; data curation, G.C. (Giovanni Cangelosi); writing—original draft preparation, F.S., F.B., G.C. (Giovanni Cangelosi), S.M.P., S.M., M.P., G.C. (Gabriele Caggianelli), S.R., A.M., D.L. and F.P.; writing—review and editing, F.S., F.B., G.C. (Giovanni Cangelosi), S.M.P., S.M., M.P., G.C. (Gabriele Caggianelli), S.R., A.M., D.L. and F.P.; supervision, A.M., D.L. and F.P.; project administration, G.C. (Giovanni Cangelosi). All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. GBD 2019 Diseases and Injuries Collaborators. Global burden of 369 diseases and injuries in 204 countries and territories, 1990–2019: A systematic analysis for the Global Burden of Disease Study 2019. Lancet 2020, 396, 1204–1222. [Google Scholar] [CrossRef]
  2. GBD 2019 Mental Disorders Collaborators. Global, regional, and national burden of 12 mental disorders in 204 countries and territories, 1990–2019: A systematic analysis for the Global Burden of Disease Study 2019. Lancet Psychiatry 2022, 9, 137–150. [Google Scholar] [CrossRef] [Scilit]
  3. Chand, S.P.; Arif, H. Depression. In StatPearls [Internet]; StatPearls Publishing: Treasure Island, FL, USA, 2025. Available online: https://www.ncbi.nlm.nih.gov/books/NBK430847/ (accessed on 17 July 2023).
  4. World Health Organization (WHO). Depressive Disorder (Depression). Available online: https://www.who.int/news-room/fact-sheets/detail/depression (accessed on 11 January 2025).
  5. Zhu, C.; Zhang, T.; Li, Q.; Chen, X.; Wang, K. Depression and Anxiety During the COVID-19 Pandemic: Epidemiology, Mechanism, and Treatment. Neurosci. Bull. 2023, 39, 675–684. [Google Scholar] [CrossRef] [Scilit]
  6. Khubchandani, J.; Sharma, S.; Webb, F.J.; Wiblishauser, M.J.; Bowman, S.L. Post-lockdown depression and anxiety in the USA during the COVID-19 pandemic. J. Public Health 2021, 43, 246–253. [Google Scholar] [CrossRef] [Scilit]
  7. Deighton, J.; Lereya, S.T.; Casey, P.; Patalay, P.; Humphrey, N.; Wolpert, M. Prevalence of mental health problems in schools: Poverty and other risk factors among 28,000 adolescents in England. Br. J. Psychiatry 2019, 215, 565–567. [Google Scholar] [CrossRef] [Scilit]
  8. Panchal, U.; Salazar de Pablo, G.; Franco, M.; Moreno, C.; Parellada, M.; Arango, C.; Fusar-Poli, P. The impact of COVID-19 lockdown on child and adolescent mental health: Systematic review. Eur. Child Adolesc. Psychiatry 2023, 32, 1151–1177. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Tsao, S.F.; Chen, H.; Tisseverasinghe, T.; Yang, Y.; Li, L.; Butt, Z.A. What social media told us in the time of COVID-19: A scoping review. Lancet Digit. Health 2021, 3, e175–e194. [Google Scholar] [CrossRef] [Scilit]
  10. Rosen, A.O.; Holmes, A.L.; Balluerka, N.; Hidalgo, M.D.; Gorostiaga, A.; Gómez-Benito, J.; Huedo-Medina, T.B. Is Social Media a New Type of Social Support? Social Media Use in Spain during the COVID-19 Pandemic: A Mixed Methods Study. Int. J. Environ. Res. Public Health 2022, 19, 3952. [Google Scholar] [CrossRef] [Scilit]
  11. Kim, A.C.H.; Du, J.; Andrew, D.P.S. Social media consumption and depressive symptoms during the COVID-19 lockdown: The mediating effect of physical activity. Front. Psychiatry 2023, 14, 1120230. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Spina, G.; Bozzola, E.; Ferrara, P.; Zamperini, N.; Marino, F.; Caruso, C.; Antilici, L.; Villani, A. Children and Adolescent’s Perception of Media Device Use Consequences. Int. J. Environ. Res. Public Health 2021, 18, 3048. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. US Preventive Services Task Force; Mangione, C.M.; Barry, M.J.; Nicholson, W.K.; Cabana, M.; Chelmow, D.; Coker, T.R.; Davidson, K.W.; Davis, E.M.; Donahue, K.E.; et al. Screening for Depression and Suicide Risk in Children and Adolescents: US Preventive Services Task Force Recommendation Statement. JAMA 2022, 328, 1534–1542. [Google Scholar] [CrossRef] [Scilit]
  14. Young, A.S.; Meers, M.R.; Vesco, A.T.; Seidenfeld, A.M.; Arnold, L.E.; Fristad, M.A. Predicting Therapeutic Effects of Psychodiagnostic Assessment Among Children and Adolescents Participating in Randomized Controlled Trials. J. Clin. Child Adolesc. Psychol. 2019, 48, S1–S12. [Google Scholar] [CrossRef] [Scilit]
  15. Meloni, M.E.; Cherchi, S.; Tonolo, G. Psychodiagnostic Investigation between Diabetes and Depression: There Is a Correlation. Psychiatr. Danub. 2022, 34, 262–264. [Google Scholar]
  16. Teusen, C.; Bühner, M.; Hapfelmeier, A.; von Schrottenberg, V.; Linde, K.; Gensichen, J.; Schneider, A. Development and psychometric evaluation of a questionnaire for the assessment of depression in primary care: A cross-sectional study. BMJ Open 2024, 14, e084102. [Google Scholar] [CrossRef] [Scilit]
  17. Obeid, S.; Abi Elias Hallit, C.; Haddad, C.; Hany, Z.; Hallit, S. Validation of the Hamilton Depression Rating Scale (HDRS) and sociodemographic factors associated with Lebanese depressed patients. Encephale 2018, 44, 397–402. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Stepankova Georgi, H.; Horakova Vlckova, K.; Lukavsky, J.; Kopecek, M.; Bares, M. Beck Depression Inventory-II: Self-report or interview-based administrations show different results in older persons. Int. Psychogeriatr. 2019, 31, 735–742. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Costantini, L.; Pasquarella, C.; Odone, A.; Colucci, M.E.; Costanza, A.; Serafini, G.; Aguglia, A.; Belvederi Murri, M.; Brakoulias, V.; Amore, M.; et al. Screening for depression in primary care with Patient Health Questionnaire-9 (PHQ-9): A systematic review. J. Affect. Disord. 2021, 279, 473–483. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Owusu, P.N.; Reininghaus, U.; Koppe, G.; Dankwa-Mullan, I.; Bärnighausen, T. Artificial intelligence applications in social media for depression screening: A systematic review protocol for content validity processes. PLoS ONE 2021, 16, e0259499. [Google Scholar] [CrossRef] [Scilit]
  21. Venegas-Vera, A.V.; Colbert, G.B.; Lerma, E.V. Positive and negative impact of social media in the COVID-19 era. Rev. Cardiovasc. Med. 2020, 21, 561–564. [Google Scholar] [CrossRef] [Scilit]
  22. McClellan, C.; Ali, M.M.; Mutter, R.; Kroutil, L.; Landwehr, J. Using social media to monitor mental health discussions—Evidence from Twitter. J. Am. Med. Inform. Assoc. 2017, 24, 496–502. [Google Scholar] [CrossRef] [Scilit]
  23. Yazdavar, A.H.; Mahdavinejad, M.S.; Bajaj, G.; Romine, W.; Sheth, A.; Monadjemi, A.H.; Thirunarayan, K.; Meddar, J.M.; Myers, A.; Pathak, J.; et al. Multimodal mental health analysis in social media. PLoS ONE 2020, 15, e0226248. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Babu, N.V.; Kanaga, E.G.M. Sentiment Analysis in Social Media Data for Depression Detection Using Artificial Intelligence: A Review. SN Comput. Sci. 2022, 3, 74. [Google Scholar] [CrossRef] [Scilit]
  25. Alkhaldi, N.A.; Asiri, Y.; Mashraqi, A.M.; Halawani, H.T.; Abdel-Khalek, S.; Mansour, R.F. Leveraging Tweets for Artificial Intelligence Driven Sentiment Analysis on the COVID-19 Pandemic. Healthcare 2022, 10, 910. [Google Scholar] [CrossRef] [Scilit]
  26. Mehta, A.; Niles, A.N.; Vargas, J.H.; Marafon, T.; Couto, D.D.; Gross, J.J. Acceptability and Effectiveness of Artificial Intelligence Therapy for Anxiety and Depression (Youper): Longitudinal Observational Study. J. Med. Internet Res. 2021, 23, e26771. [Google Scholar] [CrossRef] [Scilit]
  27. Ford, E.; Curlewis, K.; Wongkoblap, A.; Curcin, V. Public Opinions on Using Social Media Content to Identify Users With Depression and Target Mental Health Care Advertising: Mixed Methods Survey. JMIR Ment. Health 2019, 6, e12942. [Google Scholar] [CrossRef] [Scilit]
  28. Arigo, D.; Pagoto, S.; Carter-Harris, L.; Lillie, S.E.; Nebeker, C. Using social media for health research: Methodological and ethical considerations for recruitment and intervention delivery. Digit. Health 2018, 4, 2055207618771757. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Baethge, C.; Goldbeck-Wood, S.; Mertens, S. SANRA—A scale for the quality assessment of narrative review articles. Res. Integr. Peer Rev. 2019, 4, 5. [Google Scholar] [CrossRef] [Scilit]
  30. Amir-Behghadami, M.; Janati, A. Population, Intervention, Comparison, Outcomes and Study (PICOS) Design as a Framework to Formulate Eligibility Criteria in Systematic Reviews. Emerg. Med. J. 2020, 37, 387. [Google Scholar] [CrossRef] [Scilit]
  31. Mendeley. (n.d.). Available online: https://www.mendeley.com/download-reference-manager/windows (accessed on 1 May 2025).
  32. Critical Appraisal Skills Programme, CASP. Available online: https://casp-uk.net/casp-tools-checklists/ (accessed on 13 January 2025).
  33. Zogan, H.; Razzak, I.; Jameel, S.; Xu, G. Hierarchical Convolutional Attention Network for Depression Detection on Social Media and Its Impact During Pandemic. IEEE J. Biomed. Health Inform. 2024, 28, 1815–1823. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Chatterjee, M.; Kumar, P.; Sarkar, D. Generating a Mental Health Curve for Monitoring Depression in Real Time by Incorporating Multimodal Feature Analysis Through Social Media Interactions. Int. J. Intell. Inf. Technol. 2023, 19, 1–25. [Google Scholar] [CrossRef] [Scilit]
  35. Anshul, A.; Pranav, G.S.; Rehman, M.Z.U.; Kumar, N. A Multimodal Framework for Depression Detection During COVID-19 via Harvesting Social Media. IEEE Trans. Comput. Soc. Syst. 2024, 11, 2872–2888. [Google Scholar] [CrossRef] [Scilit]
  36. Zhang, Y.; Lyu, H.; Liu, Y.; Zhang, X.; Wang, Y.; Luo, J. Monitoring Depression Trends on Twitter During the COVID-19 Pandemic: Observational Study. JMIR Infodemiology 2021, 1, e26769. [Google Scholar] [CrossRef] [Scilit]
  37. Sun, B.; Zhang, Y.; He, J.; Xiao, Y.; Xiao, R. An automatic diagnostic network using skew-robust adversarial discriminative domain adaptation to evaluate the severity of depression. Comput. Methods Programs Biomed. 2019, 173, 185–195. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  38. Tadesse, M.M.; Lin, H.; Xu, B.; Yang, L. Detection of Depression-Related Posts in Reddit Social Media Forum. IEEE Access 2019, 7, 44883–44893. [Google Scholar] [CrossRef] [Scilit]
  39. Cacheda, F.; Fernandez, D.; Novoa, F.J.; Carneiro, V. Early Detection of Depression: Social Network Analysis and Random Forest Techniques. J. Med. Internet Res. 2019, 21, e12554. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Ricard, B.J.; Marsch, L.A.; Crosier, B.; Hassanpour, S. Exploring the Utility of Community-Generated Social Media Content for Detecting Depression: An Analytical Study on Instagram. J. Med. Internet Res. 2018, 20, e11817. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  41. Islam, M.R.; Kabir, M.A.; Ahmed, A.; Kamal, A.R.M.; Wang, H.; Ulhaq, A. Depression detection from social network data using machine learning techniques. Health Inf. Sci. Syst. 2018, 6, 8. [Google Scholar] [CrossRef] [Scilit]
  42. Kim, J.; Lee, D.; Park, E. Machine Learning for Mental Health in Social Media: Bibliometric Study. J. Med. Internet Res. 2021, 23, e24870. [Google Scholar] [CrossRef] [Scilit]
  43. Malhotra, A.; Jindal, R. Deep learning techniques for suicide and depression detection from online social media: A scoping review. Appl. Soft Comput. 2022, 130, 109713. [Google Scholar] [CrossRef] [Scilit]
  44. Zheng, Q.; Liu, F.; Xu, S.; Hu, J.; Lu, H.; Liu, T.T. Artificial intelligence empowering research on loneliness, depression and anxiety—Using COVID-19 as an opportunity. J. Saf. Sci. Resil. 2023, 4, 396–409. [Google Scholar] [CrossRef] [Scilit]
  45. Di Cara, N.H.; Maggio, V.; Davis, O.S.P.; Haworth, C.M.A. Methodologies for Monitoring Mental Health on Twitter: Systematic Review. J. Med. Internet Res. 2023, 25, e42734. [Google Scholar] [CrossRef] [Scilit]
  46. Lee, Y.; Jeon, Y.J.; Kang, S.; Shin, J.I.; Jung, Y.C.; Jung, S.J. Social media use and mental health during the COVID-19 pandemic in young adults: A meta-analysis of 14 cross-sectional studies. BMC Public Health 2022, 22, 995. [Google Scholar] [CrossRef] [Scilit]
  47. Tornero-Costa, R.; Martinez-Millana, A.; Azzopardi-Muscat, N.; Lazeri, L.; Traver, V.; Novillo-Ortiz, D. Methodological and Quality Flaws in the Use of Artificial Intelligence in Mental Health Research: Systematic Review. JMIR Ment. Health 2023, 10, e42045. [Google Scholar] [CrossRef] [Scilit]
  48. Adarsh, V.; Kumar, P.A.; Vilvanathan, L.; Gangadharan, G.R. Fair and Explainable Depression Detection in Social Media. Inf. Process. Manag. 2023, 60, 103168. [Google Scholar] [CrossRef] [Scilit]
  49. Zogan, H.; Razzak, I.; Wang, X.; Jameel, S.; Xu, G. Explainable depression detection with multi-aspect features using a hybrid deep learning model on social media. World Wide Web 2022, 25, 281–304. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  50. Garg, M. Mental Health Analysis in Social Media Posts: A Survey. Arch. Comput. Methods Eng. 2023, 30, 1819–1842. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  51. Dhelim, S.; Chen, L.; Das, S.; Nugent, C.; Leavey, G.; Pesch, D.; Bantry White, E.; Burns, D. Detecting Mental Distresses Using Social Behavior Analysis in the Context of COVID-19: A Survey. ACM Comput. Surv. 2023, 55, 318. [Google Scholar] [CrossRef] [Scilit]
  52. Chen, M.; Shen, K.; Wang, R.; Miao, Y.; Jiang, Y.; Hwang, K.; Hao, Y.; Tao, G.; Hu, L.; Liu, Z. Negative Information Measurement at AI Edge: A New Perspective for Mental Health Monitoring. ACM Trans. Internet Technol. 2022, 22, 62. [Google Scholar] [CrossRef] [Scilit]
  53. Lin, Y.H.; Chen, C.Y.; Wu, S.I. Efficiency and Quality of Data Collection Among Public Mental Health Surveys Conducted During the COVID-19 Pandemic: Systematic Review. J. Med. Internet Res. 2021, 23, e25118. [Google Scholar] [CrossRef] [Scilit]
  54. Sguanci, M.; Mancin, S.; Gazzelloni, A.; Diamanti, O.; Ferrara, G.; Morales Palomares, S.; Parozzi, M.; Petrelli, F.; Cangelosi, G. The internet of things in the nutritional management of patients with chronic neurological cognitive impairment: A scoping review. Healthcare 2024, 13, 23. [Google Scholar] [CrossRef] [Scilit]
  55. Cangelosi, G.; Mancin, S.; Morales Palomares, S.; Pantanetti, P.; Quinzi, E.; Debernardi, G.; Petrelli, F. Impact of School Nurse on Managing Pediatric Type 1 Diabetes with Technological Devices Support: A Systematic Review. Diseases 2024, 12, 173. [Google Scholar] [CrossRef] [Scilit]
  56. Tabashum, T.; Snyder, R.C.; O’Brien, M.K.; Albert, M.V. Machine learning models for Parkinson disease: Systematic review. JMIR Med. Inform. 2024, 12, e50117. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  57. Pantanetti, P.; Cangelosi, G.; Morales Palomares, S.; Ferrara, G.; Biondini, F.; Mancin, S.; Caggianelli, G.; Parozzi, M.; Sguanci, M.; Petrelli, F. Real-World Life Analysis of a Continuous Glucose Monitoring and Smart Insulin Pen System in Type 1 Diabetes: A Cohort Study. Diabetology. 2025, 6, 7. [Google Scholar] [CrossRef] [Scilit]
  58. Sguanci, M.; Palomares, S.M.; Cangelosi, G.; Petrelli, F.; Sandri, E.; Ferrara, G.; Mancin, S. Artificial Intelligence in the Management of Malnutrition in Cancer Patients: A Systematic Review. Adv Nutr. 2025, 16, 100438. [Google Scholar] [CrossRef] [Scilit]
  59. Carbone, S. Artificial intelligence in cancer-related malnutrition and cachexia: A transformative tool in clinical nutrition. Adv Nutr. 2025, 16, 100447. [Google Scholar] [CrossRef] [Scilit]
  60. Palomares, S.M.; Ferrara, G.; Sguanci, M.; Gazineo, D.; Godino, L.; Palmisano, A.; Paderno, A.; Vrenna, G.; Faraglia, E.; Petrelli, F.; et al. The Impact of Artificial Intelligence Technologies on Nutritional Care in Patients With Chronic Kidney Disease: A Systematic Review. J Ren Nutr. 2025, 36, 13–23. [Google Scholar] [CrossRef] [Scilit]
  61. Ignatowicz, A.; Slowther, A.M.; Bassford, C.; Griffiths, F.; Johnson, S.; Rees, K. Evaluating interventions to improve ethical decision making in clinical practice: A review of the literature and reflections on the challenges posed. J. Med. Ethics 2023, 49, 136–142. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  62. Cangelosi, G.; Biondini, F.; Sguanci, M.E.; Nguyen, C.T.T.; Palomares, S.M.; Mancin, S.; Petrelli, F. Systematic review protocol: Anhedonia in youth and the role of internet-related behavior. Psychiatry Int. 2024, 5, 447–457. [Google Scholar] [CrossRef] [Scilit]
  63. Cangelosi, G.; Biondini, F.; Sguanci, M.; Nguyen, C.T.T.; Ferrara, G.; Diamanti, O.; Palomares, S.M.; Mancin, S.; Petrelli, F. Anhedonia in youth and the role of internet-related behavior: A systematic review. Psychiatry Int. 2025, 6, 1. [Google Scholar] [CrossRef] [Scilit]
  64. Saha, K.; Torous, J.; Caine, E.D.; De Choudhury, M. Psychosocial Effects of the COVID-19 Pandemic: Large-scale Quasi-Experimental Study on Social Media. J. Med. Internet Res. 2020, 22, e22600. [Google Scholar] [CrossRef] [Scilit]
  65. Abbas, J.; Wang, D.; Su, Z.; Ziapour, A. The Role of Social Media in the Advent of COVID-19 Pandemic: Crisis Management, Mental Health Challenges and Implications. Risk Manag. Healthc. Policy 2021, 14, 1917–1932. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  66. Nanath, K.; Balasubramanian, S.; Shukla, V.; Islam, N.; Kaitheri, S. Developing a mental health index using a machine learning approach: Assessing the impact of mobility and lockdown during the COVID-19 pandemic. Technol. Forecast. Soc. Chang. 2022, 178, 121560. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  67. Wei, X.; Zhou, H.; Zheng, Q.; Ren, L.; Chen, N.; Wang, P.; Liu, C. Longitudinal interactions between problematic internet gaming and symptoms of depression among university students: Differentiating anhedonia and depressed mood. Addict. Behav. 2025, 160, 108184. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  68. Ye, X.; Fong, T.C.T.; Yip, P.S.F. A cross-lagged panel network model on internet gaming disorder and depressive symptoms concerning preferences for game genres. J. Affect. Disord. 2025, 375, 27–34. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Flowchart selection.
Figure 1. Flowchart selection.
Psychiatryint 07 00024 g001
Figure 2. Graphical representation of data finding. Legend. ML: machine learning; NLP: natural language processing; DL: deep learning; HCNs: hierarchical convolutional Network; AUC: area under curve.
Figure 2. Graphical representation of data finding. Legend. ML: machine learning; NLP: natural language processing; DL: deep learning; HCNs: hierarchical convolutional Network; AUC: area under curve.
Psychiatryint 07 00024 g002
Table 1. Characteristics of the included studies.
Table 1. Characteristics of the included studies.
CharacteristicFrequency
(n = 9)
Percentage
Publication year
2024111.1%
2023222.2%
2021111.1%
2019333.3%
2018222.2%
Country
USA222.2%
China222.2%
Australia111.1%
Spain111.1%
India222.2%
Bangladesh111.1%
Study Design
Experimental study666.7%
Observational study333.3%
Type of AI
HCN111.1%
NLP111.1%
ML444.4%
DL333.3%
Quality of study
Positive9100%
Negative00%
Unknown00%
Legend. HCN: hierarchical convolutional network; NLP: natural language processing; ML: machine learning; and DL: deep learning.
Table 2. Summary of included studies.
Table 2. Summary of included studies.
Author and YearCountryStudy DesignSampleType of AIObjectiveResultsLimitations
Zogan et al. [33]
2024
AustraliaExperimental studyTweets from
depressed and
non-depressed users
HCNDevelop a model to detect depression in social media users by analyzing changes in behavior and tweet content during the COVID-19 pandemicThe HCN model demonstrated high
effectiveness in identifying depression, with an increase in depression rates among users during the pandemic
Limited generalization of results; bias in the dataset; technical
limitations;
problematic labeling
Chatterjee et al. [34] 2023IndiaExperimental studyDepressive symptoms tweetML
(SVM
classifier)
Develop a real-time depression detection model through multimodal analysis of Twitter postsThe model showed an accuracy of 89% in detecting depression, combining sentiment analysis and user interaction data to track mental health trendsSelection bias; limited reliability; linguistic interpretation; limited generalization; lack of clinical comparison
Anshul et al. [35] 2023IndiaExperimental studyDepressed and non-depressed social media
users
DL
(VNN and
textual
analysis)
To detect depression among social media users using a novel AI
framework
Achieved high accuracy with 93.1% on the Tsinghua dataset and 91.7% on the novel COVID-19 dataset, demonstrating the effectiveness of the multimodal
approach
Limited data from social media;
self-selection bias; classification accuracy; difficult multimodal
interpretation;
non-generalizable results
Zhang
et al. [36]
2021
USAObservational study5150 Twitter usersDL
(BERT,
RoBERTa, XLNet)
Monitor depression trends on Twitter during the pandemic by identifying depressed users through AIThe fusion model achieved an accuracy of 78.9%, identifying key linguistic and
psychological markers related to
depression
Limited representativeness;
uncertain identification; control group contamination;
linguistic limitations; analysis based on social media
Sun et al. [37]
2019
ChinaExperimental studyVarious
datasets
DL
(Domain-
adversarial
neural
networks)
Improving depression diagnosis through a skew-robust adversarial domain adaptation networkThe study showed performance
comparable to the baseline, surpassing other DL models in depression
diagnosis
Dimensional discrepancy
between datasets; distribution variations; dependence on
pre-selection; limited
generalization; bias in model training
Tadesse et al. [38]
2019
ChinaExperimental studyReddit postsNLP;
ML
(SVM, MLP, etc.)
Identify linguistic markers of depression in Reddit postsLinguistic features indicate depression with 91% accuracy and F1-score 0.93
using MLP
Dependence on self-reports; linguistic and cultural biases; limitations of NLP models; ethical issues; variability in user behavior
Cacheda et al. [39] 2019SpainObservational study887 users from social mediaML
(RF Algorithm)
Improve early diagnosis of MDD with social dataThe dual model showed an
improvement of over 10% compared to current standard detection models
Data selection and limited
self-reporting; linguistic focus; non-generalizable results; bias in machine learning models; timing of predictions
Ricard et al. [40] 2018USAObservational study749 Instagram usersMLEvaluate Instagram content for depression detection using
PHQ-8.
Model with AUC 0.73 demonstrates
predictive capability; data combination slightly improves AUC to 0.71
Limited participant selection; limited data from Instagram; lack of demographic data; limited use of comment data;
small sample of depressed
individuals
Islam et al. [41]
2018
BangladeshExperimental study7145 comments from FacebookML
(DT, SVM, KNN,
Ensemble
methods)
Detect depression among
Facebook users by
analyzing comments for psycholinguistic features.
The DT highlighted maximum precision,
recall, and F-measure of 0.59, 0.99, and 0.74, identifying key psycholinguistic
markers in depressive comments
Limited data source; lack of
external validation; reliance on
self-reporting; label
imbalance; limited linguistic
interpretation
Legend. AI: artificial intelligence; HCN: hierarchical convolutional network; SVM: support vector machine; KNN: K-nearest neighbors; ML: machine learning; DL: deep learning; VNN: visual neural network; BERT: bidirectional encoder representations from transformers; RoBERTa: robustly optimized BERT approach; RF: random forest; XLNet: generalized autoregressive pretraining method; MLP: multilayer perceptron; AUC: area under curve; PHQ-8: Patient Health Questionnaire-8; MDD: major depressive disorder; NLP: natural language processing.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sacchini, F.; Biondini, F.; Cangelosi, G.; Morales Palomares, S.; Mancin, S.; Parozzi, M.; Caggianelli, G.; Russotto, S.; Masini, A.; Lopane, D.; et al. Application of Artificial Intelligence in Social Media Depression Detection: A Narrative Review from Temporal Analysis. Psychiatry Int. 2026, 7, 24. https://doi.org/10.3390/psychiatryint7010024

AMA Style

Sacchini F, Biondini F, Cangelosi G, Morales Palomares S, Mancin S, Parozzi M, Caggianelli G, Russotto S, Masini A, Lopane D, et al. Application of Artificial Intelligence in Social Media Depression Detection: A Narrative Review from Temporal Analysis. Psychiatry International. 2026; 7(1):24. https://doi.org/10.3390/psychiatryint7010024

Chicago/Turabian Style

Sacchini, Francesco, Federico Biondini, Giovanni Cangelosi, Sara Morales Palomares, Stefano Mancin, Mauro Parozzi, Gabriele Caggianelli, Sophia Russotto, Alice Masini, Diego Lopane, and et al. 2026. "Application of Artificial Intelligence in Social Media Depression Detection: A Narrative Review from Temporal Analysis" Psychiatry International 7, no. 1: 24. https://doi.org/10.3390/psychiatryint7010024

APA Style

Sacchini, F., Biondini, F., Cangelosi, G., Morales Palomares, S., Mancin, S., Parozzi, M., Caggianelli, G., Russotto, S., Masini, A., Lopane, D., & Petrelli, F. (2026). Application of Artificial Intelligence in Social Media Depression Detection: A Narrative Review from Temporal Analysis. Psychiatry International, 7(1), 24. https://doi.org/10.3390/psychiatryint7010024

Article Metrics

Back to TopTop