#ChronicPain: Automatic establishment of a chronic pain cohort from social media using machine learning for studying opioid-alternative therapies
Sarker, A.; Lakamana, S.; Guo, Y.; Leslie, A.; Okunromade, O.; Yang, Y.-C.; Gonzalez-Polledo, E.; Perrone, J.; McKenzie-Brown, A.
Show abstract
Due to the high economic and public health burden of chronic pain, and the risk of public health consequences of opioid-based treatments, there is a need to identify effective alternative therapies. The evidence basis for many alternative therapies is weak or nonexistent. Social media presents a unique opportunity to gather large-scale knowledge about such therapies self-reported by sufferers themselves. We attempted to (i) verify the presence of largescale chronic pain-related chatter on Twitter, (ii) develop natural language processing (NLP) and machine learning for automatically detecting chronic pain sufferers, and (iii) identify the types of chronic pain-related information reported by them. We collected data from Twitter using chronic pain-related hashtags and keywords. We manually performed binary annotation of a sample of 4998 posts to indicate if they were self-reports of chronic pain experiences or not, and obtained inter-annotator agreement of 0.82 (Cohens kappa). We trained and evaluated several state-of-the-art transformer-based text classification models using the annotated data. The RoBERTa model outperformed all others (F1 score = 0.84; 95% CI: 0.80-0.89), and we used this model to classify a large number of unlabeled posts. We identified 22,795 self-reported chronic pain sufferers and collected their past posted data. Via manual and NLP-driven analyses, we found information about but not limited to alternative treatments, sufferers sentiments about treatments, side effects, and self-management strategies. Our social media-based approach will result in an automatically growing massive cohort over time, and the data can be leveraged to identify self-reported effective alternative therapies for diverse chronic pain types.
Matching journals
The top 3 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Sociodemographically Differential Patterns of Chronic Pain Progression Revealed by Analyzing the All of Us Research Program Data 94%
- Which social media platforms facilitate monitoring the opioid crisis? 93%
- Suitability of just-in-time adaptive intervention in post-COVID-19-related symptoms: A systematic scoping review 91%
Similar papers in this journal
Similar papers in this journal
- Assessing ChatGPT’s Mastery of Bloom’s Taxonomy using psychosomatic medicine exam questions 92%
- Guided relaxation-based virtual reality transiently reduces acute postoperative pain and anxiety in a pediatric population 91%
- Developing an automatic system for classifying chatter about health services from Twitter: A case study for Medicaid 91%
Similar papers in this journal
- Acute Pain Pathways: protocol for a prospective cohort study 95%
- Distributions of Recorded Pain in Mental Health Records: A Natural Language Processing Based Study 94%
- A text messaging intervention to support patients with chronic pain during prescription opioid tapering: protocol for a double-blind randomised controlled trial 94%
Similar papers in this journal
- Improving Power and Accuracy in Randomized Controlled Trials of Pain Treatments by Accounting for Concurrent Analgesic Use 93%
- Real Bodies Not Required? Placebo Analgesia and Pain Perception in Immersive Virtual and Augmented Reality 92%
- Expectations and uncertainty shape pain perception during learning 91%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.