An unsupervised machine learning approach for the detection and characterization of illicit drug-dealing comments and interactions on Instagram
- PMID: 34214410
- PMCID: PMC9675406
- DOI: 10.1080/08897077.2021.1941508
An unsupervised machine learning approach for the detection and characterization of illicit drug-dealing comments and interactions on Instagram
Abstract
Background: Growing use of social media has led to the emergence of virtual controlled substance and illicit drug marketplaces, prompting calls for action by government and law enforcement. Previous studies have analyzed Instagram drug selling via posts. However, comments made by users involving potential drug selling have not been analyzed. In this study, we use unsupervised machine learning to detect and classify prescription and illicit drug-related buying and selling interactions on Instagram. Methods: We used over 1,000 drug-related hashtags on Instagram to collect a total of 43,607 Instagram comments between February 1st, 2019 and May 31st, 2019 using data mining approaches in the Python programming language. We then used an unsupervised machine learning approach, the Biterm Topic Model (BTM), to thematically summarize Instagram comments into distinct topic groupings, which were then extracted and manually annotated to detect buying and selling comments. Results: We detected 5,589 comments from sellers, prospective buyers, and online pharmacies from 531 unique posts. The vast majority (99.7%) of comments originated from drug sellers and online pharmacies. Key themes from comments included providing contact information through encrypted third-party messaging platforms, drug availability, and price inquiry. Commonly offered drugs for sale included scheduled controlled substances such as Adderall and Xanax, as well as illicit hallucinogens and stimulants. Comments from prospective buyers of drugs most commonly included inquiries about price and availability. Conclusions: We detected prescription controlled substances and other illicit drug selling interactions via Instagram comments to posts. We observed that comments were primarily used by sellers offering drugs, and typically not by prospective buyers interacting with sellers. Further research is needed to characterize these "social" drug marketplace interactions on this and other popular social media platforms.
Keywords: Instagram; Online drug marketplace; infoveillance; opioid use disorder; opioids; social media.
Figures
Similar articles
-
A Machine Learning Approach for the Detection and Characterization of Illicit Drug Dealers on Instagram: Model Evaluation Study.J Med Internet Res. 2019 Jun 15;21(6):e13803. doi: 10.2196/13803. J Med Internet Res. 2019. PMID: 31199298 Free PMC article.
-
Solution to Detect, Classify, and Report Illicit Online Marketing and Sales of Controlled Substances via Twitter: Using Machine Learning and Web Forensics to Combat Digital Opioid Access.J Med Internet Res. 2018 Apr 27;20(4):e10029. doi: 10.2196/10029. J Med Internet Res. 2018. PMID: 29613851 Free PMC article.
-
Big Data, Natural Language Processing, and Deep Learning to Detect and Characterize Illicit COVID-19 Product Sales: Infoveillance Study on Twitter and Instagram.JMIR Public Health Surveill. 2020 Aug 25;6(3):e20794. doi: 10.2196/20794. JMIR Public Health Surveill. 2020. PMID: 32750006 Free PMC article.
-
Understanding and preventing the advertisement and sale of illicit drugs to young people through social media: A multidisciplinary scoping review.Drug Alcohol Rev. 2024 Jan;43(1):56-74. doi: 10.1111/dar.13716. Epub 2023 Jul 31. Drug Alcohol Rev. 2024. PMID: 37523310
-
Problematizing content moderation by social media platforms and its impact on digital harm reduction.Harm Reduct J. 2024 Nov 9;21(1):194. doi: 10.1186/s12954-024-01104-9. Harm Reduct J. 2024. PMID: 39516798 Free PMC article. Review.
Cited by
-
Which social media platforms facilitate monitoring the opioid crisis?PLOS Digit Health. 2025 Apr 28;4(4):e0000842. doi: 10.1371/journal.pdig.0000842. eCollection 2025 Apr. PLOS Digit Health. 2025. PMID: 40293990 Free PMC article.
-
Is This Safe? Examining Safety Assessments of Illicit Drug Purchasing on Social Media Using Conjoint Analysis.Subst Use Misuse. 2024;59(7):999-1011. doi: 10.1080/10826084.2024.2310507. Epub 2024 Feb 6. Subst Use Misuse. 2024. PMID: 38319039 Free PMC article.
-
Illicit Online Pharmacies: A Scoping Review.Int J Environ Res Public Health. 2023 May 8;20(9):5748. doi: 10.3390/ijerph20095748. Int J Environ Res Public Health. 2023. PMID: 37174265 Free PMC article.
References
-
- Seaman I, Giraud-Carrier C. Prevalence and Attitudes about Illicit and Prescription Drugs on Twitter. IEEE; 2016. pp. 14–7.
-
- Moyle L, Childs A, Coomber R, Barratt MJ. #Drugsforsale: An exploration of the use of social media and encrypted messaging apps to supply and access drugs. International Journal of Drug Policy. Elsevier; 2019. Jan 1;63:101–10. - PubMed
-
- Demant J, Bakken SA, Oksanen A, Gunnlaugsson H. Drug dealing on Facebook, Snapchat and Instagram: A qualitative analysis of novel drug markets in the Nordic countries. Drug and Alcohol Review. John Wiley & Sons, Ltd (10.1111); 2019. May 1;38(4):377–85. - PubMed
Publication types
MeSH terms
Substances
Grants and funding
LinkOut - more resources
Full Text Sources