View on Pubmed.gov 31199298 | View on doi.org 10.2196/13803
A Machine Learning Approach for the Detection and Characterization of Illicit Drug Dealers on Instagram: Model Evaluation Study.
- Department of Healthcare Research and Policy, University of California - San Diego, Extension, La Jolla, CA, United States.
- Global Health Policy Institute, La Jolla, CA, United States.
- Department of Healthcare Research and Policy, University of California - San Diego, Extension, La Jolla, CA, United States. Global Health Policy Institute, La Jolla, CA, United States.
- Department of Anesthesiology, University of California - San Diego, School of Medicine, La Jolla, CA, United States.
- Division of Infectious Disease and Global Public Health, University of California - San Diego, School of Medicine, La Jolla, CA, United States.
Abstract
BACKGROUND
Social media use is now ubiquitous, but the growth in social media communications has also made it a convenient digital platform for drug dealers selling controlled substances, opioids, and other illicit drugs. Previous studies and news investigations have reported the use of popular social media platforms as conduits for opioid sales. This study uses deep learning to detect illicit drug dealing on the image and video sharing platform Instagram.
OBJECTIVE
The aim of this study was to develop and evaluate a machine learning approach to detect Instagram posts related to illegal internet drug dealing.
METHODS
In this paper, we describe an approach to detect drug dealers by using a deep learning model on Instagram. We collected Instagram posts using a Web scraper between July 2018 and October 2018 and then compared our deep learning model against 3 different machine learning models (eg, random forest, decision tree, and support vector machine) to assess the performance and accuracy of the model. For our deep learning model, we used the long short-term memory unit in the recurrent neural network to learn the pattern of the text of drug dealing posts. We also manually annotated all posts collected to evaluate our model performance and to characterize drug selling conversations.
RESULTS
From the 12,857 posts we collected, we detected 1228 drug dealer posts comprising 267 unique users. We used cross-validation to evaluate the 4 models, with our deep learning model reaching 95% on F1 score and performing better than the other 3 models. We also found that by removing the hashtags in the text, the model had better performance. Detected posts contained hashtags related to several drugs, including the controlled substance Xanax (1078/1228, 87.78%), oxycodone/OxyContin (321/1228, 26.14%), and illicit drugs lysergic acid diethylamide (213/1228, 17.34%) and 3,4-methylenedioxy-methamphetamine (94/1228, 7.65%). We also observed the use of communication applications for suspected drug trading through user comments.
CONCLUSIONS
Our approach using a combination of Web scraping and deep learning was able to detect illegal online drug sellers on Instagram, with high accuracy. Despite increased scrutiny by regulators and policymakers, the Instagram platform continues to host posts from drug dealers, in violation of federal law. Further action needs to be taken to ensure the safety of social media communities and help put an end to this illicit digital channel of sourcing.
References
J Med Internet Res. 2011 Sep 30;13(3):e74
Prev Sci. 2016 Aug;17(6):710-20
J Med Internet Res. 2018 Apr 27;20(4):e10029
J Clin Pharm Ther. 2017 Dec;42(6):790-792
Cited by 83 citations (total)
Journal Article
The Role of Artificial Intelligence in Fighting the COVID-19 Pandemic.
Electronic publication date May 4, 2021
Francesco Piccialli [...] Salvatore Cuomo et al.
The first few months of 2020 have profoundly changed the way we live our lives and carry out our daily...
Journal Article
Characterizing Weibo Social Media Posts From Wuhan, China During the Early Stages of the COVID-19 Pandemic: Qualitative Content Analysis.
Electronic publication date December 22, 2020
Qing Xu [...] Tim Mackey et al.
BACKGROUND
The COVID-19 pandemic has reached 40 million confirmed cases worldwide. Given its rapid progression, it is important to examine its...
Conflict of interest statement
MeSH
- •
- •
- •
- •
- •
- •
- •
- •
- •
- •
- •
- •
- •
- •
Specialties
- •
- •
- •
- •
- •
- •
Substances
- •
Copyright
©Jiawei Li, Qing Xu, Neal Shah, Tim K Mackey. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 15.06.2019.