A Weak Supervision Approach for Monitoring Recreational Drug Use Effects in Social Media

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Prieto-Santamaría, Lucía, Iglesias, Alba Cortés, Giné, Claudio Vidal, Calderón, Fermín Fernández, Lozano, Óscar M., Rodríguez-González, Alejandro
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918144074842112
author Prieto-Santamaría, Lucía
Iglesias, Alba Cortés
Giné, Claudio Vidal
Calderón, Fermín Fernández
Lozano, Óscar M.
Rodríguez-González, Alejandro
author_facet Prieto-Santamaría, Lucía
Iglesias, Alba Cortés
Giné, Claudio Vidal
Calderón, Fermín Fernández
Lozano, Óscar M.
Rodríguez-González, Alejandro
contents Understanding the real-world effects of recreational drug use remains a critical challenge in public health and biomedical research, especially as traditional surveillance systems often underrepresent user experiences. In this study, we leverage social media (specifically Twitter) as a rich and unfiltered source of user-reported effects associated with three emerging psychoactive substances: ecstasy, GHB, and 2C-B. By combining a curated list of slang terms with biomedical concept extraction via MetaMap, we identified and weakly annotated over 92,000 tweets mentioning these substances. Each tweet was labeled with a polarity reflecting whether it reported a positive or negative effect, following an expert-guided heuristic process. We then performed descriptive and comparative analyses of the reported phenotypic outcomes across substances and trained multiple machine learning classifiers to predict polarity from tweet content, accounting for strong class imbalance using techniques such as cost-sensitive learning and synthetic oversampling. The top performance on the test set was obtained from eXtreme Gradient Boosting with cost-sensitive learning (F1 = 0.885, AUPRC = 0.934). Our findings reveal that Twitter enables the detection of substance-specific phenotypic effects, and that polarity classification models can support real-time pharmacovigilance and drug effect characterization with high accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2509_15266
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Weak Supervision Approach for Monitoring Recreational Drug Use Effects in Social Media
Prieto-Santamaría, Lucía
Iglesias, Alba Cortés
Giné, Claudio Vidal
Calderón, Fermín Fernández
Lozano, Óscar M.
Rodríguez-González, Alejandro
Machine Learning
Understanding the real-world effects of recreational drug use remains a critical challenge in public health and biomedical research, especially as traditional surveillance systems often underrepresent user experiences. In this study, we leverage social media (specifically Twitter) as a rich and unfiltered source of user-reported effects associated with three emerging psychoactive substances: ecstasy, GHB, and 2C-B. By combining a curated list of slang terms with biomedical concept extraction via MetaMap, we identified and weakly annotated over 92,000 tweets mentioning these substances. Each tweet was labeled with a polarity reflecting whether it reported a positive or negative effect, following an expert-guided heuristic process. We then performed descriptive and comparative analyses of the reported phenotypic outcomes across substances and trained multiple machine learning classifiers to predict polarity from tweet content, accounting for strong class imbalance using techniques such as cost-sensitive learning and synthetic oversampling. The top performance on the test set was obtained from eXtreme Gradient Boosting with cost-sensitive learning (F1 = 0.885, AUPRC = 0.934). Our findings reveal that Twitter enables the detection of substance-specific phenotypic effects, and that polarity classification models can support real-time pharmacovigilance and drug effect characterization with high accuracy.
title A Weak Supervision Approach for Monitoring Recreational Drug Use Effects in Social Media
topic Machine Learning
url https://arxiv.org/abs/2509.15266