ResearchJournal of Medical Internet Research · Sep 17, 2026

Language, Social Support, and Recovery-Stage Transitions in Opioid Use Disorder on Reddit: Computational Analysis

Yu X, Chen HY, Chi Y
Digital Health & AIPsychiatry & Mental HealthAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Background Recovery from opioid use disorder (OUD) is a complex, nonlinear process involving substantial health, psychological, and social challenges. Although online social support has been shown to benefit individuals with OUD, less is known about how recovery stages, such as the initial or stable stages, are expressed and experienced in online communities. Specifically, the linguistic features characterizing each stage, the social support exchanged at each stage, and the feasibility of predicting these stage transitions from user-generated content remain largely unexplored. Objective This study aimed to develop a computational framework and present empirical insights for understanding OUD recovery in online communities by characterizing the language individuals use at different stages, the social support they receive, and the transitions they undergo over time. Methods We collected 32,810 posts and 324,224 comments from r/OpiatesRecovery, the largest Reddit community dedicated to opioid recovery from 2014 to 2022. We fine-tuned pretrained language models to classify posts into 5 recovery stages and identify 11 categories of social support in comments. Recovery trajectories were constructed for 2936 users who posted multiple times. Mann-Whitney U tests and one-way multivariate analysis of covariance were used to compare linguistic features and social support across recovery stages and transitions. In addition, we predicted recovery-stage transitions using fine-tuned RoBERTa (Robustly Optimized BERT Pretraining Approach) and open-source large language models (Llama-3.1-8B-Instruct and Qwen2.5-14B-Instruct) evaluated in zero-shot and few-shot settings. Results Individuals in early-stage recovery used significantly more negative, painful, and passive language compared to those in later stages (P<.001). They also received more informational support (eg, advice and factual guidance) but less emotional support (eg, encouragement and sympathy; P<.001). Notably, posts followed by observed recovery-stage progression were associated with significantly more informational support than posts followed by no observed stage change (P<.001). Regarding the prediction of individuals' future recovery transitions, fine-tuned RoBERTa outperformed prompted open-source large language model baselines in this benchmark (F1-score=0.59 vs 0.43), although this task remained highly challenging. Conclusions This study reveals distinct linguistic and social support patterns across OUD recovery stages, identifying an association between informational support and observed recovery-stage progression. Although automatically detecting stage transitions remains challenging, these findings may inform future research on timely, stage-appropriate support strategies in online recovery communities.

More on this topic

Opioids and opioid use disorder

Subject terms

Humans; Social Support; Opioid-Related Disorders; Language

DOI: 10.2196/91054 · PubMed: 42752349

Headline, design, result, key points, caveat and citation as plain text.

Cite this article

Yu X, Chen HY, Chi Y. Language, Social Support, and Recovery-Stage Transitions in Opioid Use Disorder on Reddit: Computational Analysis. J Med Internet Res. 2026;28:e91054. doi:10.2196/91054

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Digital Health & AI studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · Ann Emerg Med · Jun 13, 2026 · Emergency Medicine, Psychiatry & Mental Health

Computable Structured Phenotype Versus Large Language Model Identification of Opioid Use Disorder Using Electronic Health Record Data

Research · J Med Internet Res · Oct 7, 2026 · Digital Health & AI

From Innovation to Impact: The CREATE Framework as a Blueprint for Large Language Model Adoption in Opioid Treatment Programs

Research · J Med Internet Res · Aug 12, 2026 · Digital Health & AI

Quantifying the Intensity of Online Social Support via Large Language Model-Based Evidence Extraction: Development and Validation Study

Secondary analysis of a trial n = 102 · Obstet Gynecol · Apr 5, 2023 · Obstetrics & Gynecology, Psychiatry & Mental Health

High rates of overdose history reported among pregnant individuals with opioid use disorder

Randomized trial n = 70 · Psychol Med · Dec 27, 2024 · Psychiatry & Mental Health

Peer support intervention shows feasibility for reducing stigma and discrimination in people with psychosis