LLM-Augmented Therapy Normalization and Aspect-Based Sentiment Analysis for Treatment-Resistant Depression on Reddit
Organizations: Department of Biomedical Informatics, Emory University, Atlanta, GA · Department of Pharmaceutical Outcomes and Policy, University of Florida, Gainesville, FL
Abstract
Treatment-resistant depression (TRD) is a severe form of major depressive disorder in which patients do not achieve remission despite multiple adequate treatment trials. Evidence across pharmacologic options for TRD remains limited, and trials often do not fully capture patient-reported tolerability. Large-scale online peer-support narratives therefore offer a complementary lens on how patients describe and evaluate medications in real-world use. In this study, we curated a corpus of 5,059 Reddit posts explicitly referencing TRD from 3,480 subscribers across 28 mental health-related subreddits from 2010 to 2025. Of these, 3,839 posts mentioned at least one medication, yielding 23,399 mentions of 81 generic-name medications after lexicon-based normalization of brand names, misspellings, and colloquialisms. We developed an aspect-based sentiment classifier by fine-tuning DeBERTa-v3 on the SMM4H 2023 therapy-sentiment Twitter corpus with large language model based data augmentation, achieving a micro-F1 score of 0.800 on the shared-task test set. Applying this classifier to Reddit, we quantified sentiment toward individual medications across three categories: positive, neutral, and negative, and tracked patterns by drug, subscriber, subreddit, and year. Overall, 72.1% of medication mentions were neutral, 14.8% negative, and 13.1% positive. Conventional antidepressants, especially SSRIs and SNRIs, showed consistently higher negative than positive proportions, whereas ketamine and esketamine showed comparatively more favorable sentiment profiles. These findings show that normalized medication extraction combined with aspect-based sentiment analysis can help characterize patient-perceived treatment experiences in TRD-related Reddit discourse, complementing clinical evidence with large-scale patient-generated perspectives.
Figures & tables
| Characteristic | Value |
|---|---|
| Number of TRD posts | 5,059 |
| Number of unique subscribers | 3,480 |
| Number of subreddits | 28 |
| Time span | Feb 7, 2010 – Jul 12, 2025 |
| Posts with at least one medication mention | 3,839 (75.9%) |
| Posts with no medication mention | 1,220 (24.1%) |
| Dataset | Negative | Neutral | Positive | Total |
|---|---|---|---|---|
| Original train | 319 (10.6%) | 2,120 (70.4%) | 570 (18.9%) | 3,009 |
| Augmented train | 1,914 (25.7%) | 2,120 (28.4%) | 3,420 (45.9%) | 7,454 |
| Model | Micro- (95% CI) | Macro-F 1 | (negative) | (neutral) | (positive) |
|---|---|---|---|---|---|
| BERT-base (baseline) | 0.758 (0.738, 0.780) | 0.544 | 0.225 | 0.858 | 0.549 |
| RoBERTa-base (baseline) | 0.782 (0.762, 0.802) | 0.633 | 0.416 | 0.871 | 0.612 |
| DeBERTa-v3-base (baseline) | 0.780 (0.760, 0.801) | 0.656 | 0.466 | 0.869 | 0.633 |
| BERT-base (augmented) | 0.768 (0.748, 0.789) | 0.619 | 0.420 | 0.860 | 0.577 |
| RoBERTa-base (augmented) | 0.785 (0.765, 0.805) | 0.639 | 0.461 | 0.869 | 0.587 |
| DeBERTa-v3-base (augmented) | 0.800 (0.780, 0.820) | 0.659 | 0.467 | 0.874 | 0.636 |
| Medication | Positive | Negative | (Positive) | 95% CI for | |
|---|---|---|---|---|---|
| Nefazodone | 10 | 0 | 1.000 | [0.692, 1.000] | |
| Lisdexamfetamine | 179 | 44 | 0.803 | [0.744, 0.853] | |
| Pregabalin | 97 | 28 | 0.776 | [0.693, 0.846] | |
| Phenelzine | 100 | 62 | 0.617 | [0.538, 0.692] | |
| Vilazodone | 7 | 30 | 0.189 | [0.080, 0.352] | |
| Citalopram | 11 | 47 | 0.190 | [0.099, 0.314] |
| Class | Medication | Misspellings and Variants |
|---|---|---|
| Anxiolytics / Sedatives | alprazolam | alprazlam, alprazolm, alprzolam, alparzolam, alpraozlam, alprazalam, alprazloam, alprazoalm, xanax bars, zannies, zanz, bars, xanax, xanex |
| Anxiolytics / Sedatives | clonazepam | clnazepam, clonazepm, clonazpam, clonzepam, clanazepam, clnoazepam, cloanzepam, clonaezpam, klonies, klons, clonazepam, klonopin, bromazepam, klonipin, clonazapam, clonopin |
| Anxiolytics / Sedatives | diazepam | dazepam, diazepm, diazpam, dizepam, daizepam, deazepam, diaezpam, diazeapm, vallies, diazepam, diazapam, aluminum |
| Anxiolytics / Sedatives | lorazepam | lorazepm, lorazpam, lorzepam, lrazepam, larazepam, loarzepam, loraezpam, lorazeapm, lorazepam, atavan |
| Anxiolytics / Sedatives | buspirone | buspiron, buspar, bspirone, buspirne, busprone, bospirone, bsupirone, bupsirone, busiprone, busperone, Buspar, buscopan |
| Anxiolytics / Sedatives | hydroxyzine | hydroxyzene, hydroxazine, hydroxyzin, hydroxyzne, hydrxyzine, hdyroxyzine, hidroxizine, hydorxyzine, hydraxyzine, hydroxyizne, Vistaril, Atarax, hydroxyzine |
| Category | Subreddit | Notes |
|---|---|---|
| General posts | r/mentalhealth | |
| General posts | r/MentalHealthUK | |
| General posts | r/depressionregimens | |
| General posts | r/depression | |
| General posts | r/mentalillness | |
| General posts | r/depression_help |
| Category | Keyword/phrase |
|---|---|
| Core clinical terms | treatment-resistant depression |
| Core clinical terms | treatment resistant depression |
| Core clinical terms | treatment-resistant MDD |
| Core clinical terms | difficult-to-treat depression |
| Core clinical terms | difficult-to-treat MDD |
| Abbreviations & related terms | TRD |
| Medication | Positive | Negative | Non-neutral | (Positive) | 95% CI for | |
|---|---|---|---|---|---|---|
| Lisdexamfetamine | 179 | 44 | 223 | 0.803 | [0.744, 0.853] | |
| Sertraline | 52 | 174 | 226 | 0.230 | [0.177, 0.291] | |
| Venlafaxine | 46 | 158 | 204 | 0.225 | [0.170, 0.289] | |
| Mirtazapine | 49 | 147 | 196 | 0.250 | [0.191, 0.317] | |
| Pregabalin | 97 | 28 | 125 | 0.776 | [0.693, 0.846] | |
| Citalopram | 11 | 47 | 58 | 0.190 | [0.099, 0.314] |
| Category | Keyword/phrase |
|---|---|
| Core clinical terms | treatment-resistant depression |
| Core clinical terms | treatment resistant depression |
| Core clinical terms | treatment-resistant MDD |
| Abbreviations & related terms | TRD |
| Abbreviations & related terms | refractory depression |
| Abbreviations & related terms | SSRI-resistant depression |
| Therapy (generic name) | Paraphrased first-person example (therapy in bold ) | Label | |
|---|---|---|---|
| alprazolam | I have tried 16 different antidepressants and failed. I was prescribed alprazolam at age 16 which caused me to develop a dependence (successfully came off that except PRN last year). Last year, my doctor prescribed TMS and Ketamine therapy. | Negative | 0.989 |
| alprazolam | drinking alcohol? no problemo!, you can spend as much money as you want on that, as long as big gov is making some money, pick up some smokes while your at it!, taking some diazepam/ alprazolam ? where is your prescription, you are a drug addict, why are you self medicating, you need a fine, criminal record … | Neutral | 0.989 |
| alprazolam | Not exactly where I want to be but an improvement for sure. My Dr prescribed .5 alprazolam for anxiety as needed. I have found it sooo helpful. | Positive | 0.999 |
| amitriptyline | Has anyone had a similar experience? or had any luck with amitriptyline ? I just hate feeling like this. | Negative | 0.995 |
| amitriptyline | Have you tried the tcas? specifically, amitriptyline , imipramine and clomipramine? 3. | Neutral | 0.990 |
| amitriptyline | I’ve wondered why tricyclic medications have never been brought up as a possible choice for me. I do take 25mg of amitriptyline at bedtime for migraine prevention; it has been extremely helpful for this. I have never noticed any adverse effects but I know it’s a low dose. | Positive | 0.999 |