Skip to content

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

Sep 2026 · Journal of Medical Internet Research · 42 references
Mental Health via Writing

Abstract

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 ( F 1 -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.

View source

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Conference Open access Dec 2013

Affordable and Energy-Efficient Cloud Computing Clusters: The Bolzano Raspberry Pi Cloud Cluster Experiment

The ongoing work building a Raspberry Pi cluster consisting of 300 nodes is presented, with potential use cases being an inexpensive and green test bed for cloud computing research and a robust and mobile data center for operating in adverse environments.

P. Abrahamsson, S. Helmer, Nattakarn Phaphoom et al. · 110 citations · ⚡7
#computer vision Book Open access Mar 2017

On the Unhappiness of Software Developers

The results indicate that software developers are a slightly happy population, but the need for limiting the unhappiness of developers remains, and 219 factors representing causes of unhappiness while developing software are identified.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 84 citations · ⚡6

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.