Why this topic matters
Concern about the mental health of doctoral researchers is well founded. A study of PhD students in Flanders linked psychological distress to work organisation, including job demands, control and supervisory style (Levecque et al., 2017), and an online survey of graduate students raised wide attention to the issue (Evans et al., 2018). A systematic review and meta-analysis that pooled studies using validated scales estimated that 24% of PhD students had depression (95% CI 18% to 31%) and 17% had anxiety (95% CI 12% to 23%) (Satinsky et al., 2021).
At the same time, researchers in computing have explored whether language on social media can signal mental health states (Guntuku et al., 2017). Noreen et al. (2025) bring these strands together for graduate researchers in Pakistan. Their paper is a useful case for doctoral researchers because its strengths and weaknesses are typical of the field.
What the study reports
According to its abstract, the study built a dataset of 5,096 social media posts from 1,170 users who were graduate students in Pakistan. Each post was labelled as anxiety (46.7%), depression (12.6%) or motivation (40.7%). Survey responses were combined with the social media data, and three machine learning models, a support vector machine (SVM), an artificial neural network (ANN) and a random forest (RF), were used to detect mental health status (Noreen et al., 2025).
The abstract concludes that 59.3% of graduate students in Pakistan face anxiety and mental health issues, and that policy for graduate programmes should be reformulated. The authors made the data available in a public repository containing a file of annotated tweets and a file of survey responses, which is good practice for transparency.
Two points of definition are worth noting before any critique. The title refers to PhD scholars, while the abstract describes graduate students, a group that can include master's students. And the three labels mix two clinical-sounding categories, anxiety and depression, with a positive category, motivation, which suggests that the scheme captures the emotional tone of posts rather than symptoms.
Strengths
- An under-studied setting. Doctoral training, funding and supervision differ between countries, so data from Pakistan add useful context to a literature in which national settings vary widely (Satinsky et al., 2021).
- Open data. Publishing the dataset allows others to check the labels, rerun the models and test alternative analyses.
- Two data sources. Pairing social media text with a survey creates the possibility of checking text signals against self-report, which much earlier work lacked (Chancellor & De Choudhury, 2020).
- Interpretable baseline models. SVM and random forest models are transparent baselines against which more complex models can be judged.
The central issue: posts are not people
The headline figure needs careful reading. The share of posts labelled anxiety (46.7%) plus the share labelled depression (12.6%) is exactly 59.3%. The figure therefore appears to describe posts, not students. With 5,096 posts from 1,170 users, the average user contributed more than four posts, and a small number of very active users could dominate the total.
| Question | Post-level figure (as in the abstract) | What a prevalence estimate would need |
|---|---|---|
| Unit of analysis | Posts | People, each counted once |
| Measure | Annotator labels on text | A validated instrument, such as the PHQ-9 or GAD-7, or a clinical assessment |
| Sample | Users who post publicly on one platform | A defined population with a known sampling frame |
| Time frame | Posts collected over the study window | A stated reference period for each person |
| Uncertainty | Not applicable to a simple share of posts | A confidence interval for the population estimate |
Validated screening instruments exist for exactly this purpose: the PHQ-9 for depression severity (Kroenke et al., 2001) and the GAD-7 for generalised anxiety (Spitzer et al., 2006). Even with such tools, a screening score indicates probable symptoms, not a diagnosis. Without them, labels such as "anxiety" describe the tone of a post, which is a different construct from a mental health condition.
Further methodological issues
Construct validity of the labels
A critical review of 75 studies predicting mental health status from social media found recurring problems in how conditions were operationalised and annotated (Chancellor & De Choudhury, 2020). When researchers compared common proxy signals with clinically confirmed diagnoses, proxies performed less well than reported results suggested (Ernala et al., 2019). A reader of Noreen et al. should ask who labelled the posts, with what guidelines, and how far annotators agreed.
Class imbalance and evaluation
Depression accounts for only 12.6% of posts. Overall accuracy can look high while the minority class is poorly detected, so per-class precision, recall and F1 scores, with a confusion matrix, are needed. Posts from the same user should not appear in both training and test sets, or the model may learn the person rather than the state.
Generalisation
Models trained on one platform, time period and population often transfer poorly to others (Harrigian et al., 2020). Language, code-switching between English and Urdu, and platform norms are all likely to matter in this setting.
Linking the survey and the posts
The abstract states that survey responses were combined with the social media dataset but does not explain how. This matters. If survey answers and posts come from the same individuals and are linked with consent, the survey can serve as a reference standard against which text signals are tested. If they come from different groups, the survey can describe the population but cannot validate the labels. Readers should check which design was used before treating the survey as support for the classifier.
From association to recommendation
The call for policy reform in graduate programmes is reasonable in general terms, but it does not follow from a post-level classifier. Policy needs evidence about causes and about what helps, such as supervision practices and workload, which questionnaire studies of work organisation are better placed to provide (Levecque et al., 2017).
Ethics and privacy
Public posts are not the same as consent. In a survey of Twitter users, most did not know that researchers could use their public tweets, and many felt researchers should ask permission (Fiesler & Proferes, 2018). Protocols for social media health research recommend review by an ethics committee, minimising stored identifiers, and avoiding verbatim quotation that can be searched back to an account (Benton et al., 2017). Because the repository includes annotated tweets, re-users should check what text and identifiers it contains before reuse.
Worked example: a stronger design
This example is illustrative and hypothetical. A doctoral researcher wants to study whether language on a professional social platform tracks stress among doctoral candidates.
- Recruit people, not posts. Invite doctoral candidates to take part, with informed consent to analyse their posts for a defined period.
- Measure the outcome properly. Administer the PHQ-9 and GAD-7 at the start and end of the period (Kroenke et al., 2001; Spitzer et al., 2006), with a clear protocol for signposting support if scores are high.
- Annotate with guidelines. Write a codebook, double-code a sample, and report agreement between annotators before training any model.
- Model at the person level. Aggregate features per participant, split training and test data by person, and report per-class metrics.
- Test transfer. Evaluate the model on a later time window or a second platform (Harrigian et al., 2020).
- Report prevalence only from the validated measures, with confidence intervals, and present text signals as correlates, not diagnoses.
The design is smaller than a scrape of thousands of posts, but every number it produces has a clear meaning. A study of a few hundred consenting participants with validated outcomes usually makes a stronger doctoral contribution than a much larger dataset whose labels cannot be interpreted. Table 2 summarises what such a study should report, following the gaps identified in reviews of the field (Chancellor & De Choudhury, 2020).
| Reporting item | Minimum content |
|---|---|
| Population and recruitment | Who was eligible, how they were invited, consent obtained and number who took part |
| Outcome measure | Instrument, cut-off used, reference period and who administered it |
| Text data | Platform, collection dates, inclusion rules and how identifiers were removed |
| Annotation | Codebook, annotator background, agreement statistics and how disagreements were resolved |
| Model evaluation | Person-level data split, per-class metrics, confusion matrix and baseline comparison |
| Generalisation | Results on a later time window, another platform or another population |
| Ethics | Approval body, data storage and access, and policy on quoting posts |
Common mistakes
- Reporting the share of labelled posts as the share of people with a condition.
- Using clinical terms for labels that describe tone or topic.
- Reporting only overall accuracy on imbalanced classes.
- Splitting data at post level so that the same person appears in training and test sets.
- Treating public posts as free of ethical obligations, or quoting them verbatim.
- Writing about participants in stigmatising terms; describe people as experiencing symptoms, not as their diagnosis.
What this means for doctoral researchers
Noreen and colleagues ask an important question and share their data, which makes their study a good starting point for replication and improvement. Their headline figure, however, should not be cited as a prevalence estimate. For prevalence, cite studies using validated instruments, such as the meta-analysis by Satinsky et al. (2021). For computational work, the contribution of a doctoral project lies in better measurement: person-level design, validated outcomes, transparent annotation, honest evaluation and an ethics protocol that respects the people behind the posts.
Mental health research also carries a responsibility in how results are written. Findings about a group should not be presented as judgements about individuals, models should not be described as diagnosing anyone, and recommendations should follow from the evidence. Institutional factors, such as supervision and workload, are well-documented correlates of distress (Levecque et al., 2017), and studies that keep the focus on those conditions are often more useful to universities than studies that profile individual students.
Key takeaways
- Noreen et al. (2025) labelled 5,096 posts from 1,170 graduate students in Pakistan and trained SVM, ANN and random forest models (Noreen et al., 2025).
- Their 59.3% figure equals the combined share of posts labelled anxiety or depression, so it is not a prevalence among students.
- Pooled estimates from validated scales put depression at about 24% and anxiety at about 17% among PhD students (Satinsky et al., 2021).
- Social media mental health models face well-documented problems of construct validity and generalisation (Chancellor & De Choudhury, 2020; Harrigian et al., 2020).
- Ethical use of public posts requires review, data minimisation and care with quotation (Benton et al., 2017; Fiesler & Proferes, 2018).
