Language-based detection of depression with machine learning: systematic review and meta-analysis

Early detection of depression is critical for timely intervention. Natural language processing (NLP) and machine learning (ML) approaches have increasingly been used to automatically detect depression from text data, yet evidence regarding their performance remains limited. We systematically reviewed and meta-analyzed studies applying NLP and ML to identify depression from spoken or written language. Six electronic databases and additional sources were searched, yielding 892 articles, of which 123 met the inclusion criteria. One representative result per dataset was selected for quantitative synthesis. Pooled accuracy, based on 43 studies including 40,983 text samples, was 0.80. Pooled precision (28 studies) was 0.78, recall (33 studies) was 0.76, AUC (14 studies) was 0.79, and balanced accuracy (16 studies) was 0.71. Subgroup analyses showed significant differences by language, text source, feature type, and classifier. Accuracy was highest in studies using structured clinical interviews, non-English languages, and linguistic or embedding-based features. However, in one-at-a-time meta-regressions, only the text source remained a significant predictor, explaining 13.6% of the between-study variance. Publication bias was minimal. Automated depression detection from text shows promising performance with substantial heterogeneity. Findings highlight both limitations and potential of text-based depression detection and underscore the need for methodological standardization and validation before clinical use.

Institutions

Publication Details

Journal
npj Digital Medicine
Published
2026-02-24
DOI
https://doi.org/10.1038/s41746-026-02448-1
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Language-based detection of depression with machine learning: systematic review and meta-analysis

npj Digital Medicine
Mental Health via Writing
article

Language-based detection of depression with machine learning: systematic review and meta-analysis

article en

Abstract

Early detection of depression is critical for timely intervention. Natural language processing (NLP) and machine learning (ML) approaches have increasingly been used to automatically detect depression from text data, yet evidence regarding their performance remains limited. We systematically reviewed and meta-analyzed studies applying NLP and ML to identify depression from spoken or written language. Six electronic databases and additional sources were searched, yielding 892 articles, of which 123 met the inclusion criteria. One representative result per dataset was selected for quantitative synthesis. Pooled accuracy, based on 43 studies including 40,983 text samples, was 0.80. Pooled precision (28 studies) was 0.78, recall (33 studies) was 0.76, AUC (14 studies) was 0.79, and balanced accuracy (16 studies) was 0.71. Subgroup analyses showed significant differences by language, text source, feature type, and classifier. Accuracy was highest in studies using structured clinical interviews, non-English languages, and linguistic or embedding-based features. However, in one-at-a-time meta-regressions, only the text source remained a significant predictor, explaining 13.6% of the between-study variance. Publication bias was minimal. Automated depression detection from text shows promising performance with substantial heterogeneity. Findings highlight both limitations and potential of text-based depression detection and underscore the need for methodological standardization and validation before clinical use.

npj Digital Medicine
Harvard University (US), McLean Hospital (US), Virginia Tech (US)
Tommy Fuss Fund, National Alliance for Research on Schizophrenia and Depression
Quality Education
Openalex Percentile: Top 51%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.