| Literature DB >> 31199298 |
Jiawei Li1,2, Qing Xu1,2, Neal Shah2, Tim K Mackey1,2,3,4.
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.Entities:
Keywords: artificial intelligence; internet; machine learning; narcotics; opioids; prescription drug abuse; social media; substance abuse
Mesh:
Substances:
Year: 2019 PMID: 31199298 PMCID: PMC6598421 DOI: 10.2196/13803
Source DB: PubMed Journal: J Med Internet Res ISSN: 1438-8871 Impact factor: 5.428
Figure 1Summary of study methodology.
Figure 2Structure of deep learning model. Embedding layer: input_dim is 29,832, which is the size of the dictionary; the input_length for text is 50, input_length for hashtag is 15; the output_dim is 400. Long short-term memory layer: contains 800 units, with dropout=0.2, recurrent_dropout=0.2. Dense layer 1: unit=200, activation=sigmoid. Dense layer 2: unit=200, activation=sigmoid. Dense layer 3: unit=200, activation=sigmoid. Dense layer 4: unit=1, activation=sigmoid. Optimizer: Adam (learning rate set at 0.0001). Loss: Binary_crossentropy. LSTM: long short-term memory.
Performance for each model based on variations of text and hashtag use.
| Performance measure | Decision tree | Random forest | Support vector machine | Study model | |
| Precision | 95.05 | 96.00 | 96.86 | 94.81 | |
| Recall | 82.15 | 86.08 | 81.21 | 91.42 | |
| F1 score | 88.13 | 90.77 | 88.35 | 93.09 | |
| Area under the curve | 96.67 | 96.85 | 97.18 | 98.12 | |
| Precision | 86.22 | 94.14 | 95.39 | 89.60 | |
| Recall | 86.50 | 87.13 | 84.24 | 88.89 | |
| F1 score | 86.36 | 90.50 | 89.47 | 89.24 | |
| Area under the curve | 95.95 | 95.23 | 95.43 | 94.32 | |
| Precision | 88.49 | 97.07 | 97.80 | 93.60 | |
| Recall | 93.08 | 91.31 | 89.32 | 98.31 | |
| F1 score | 90.73 | 94.11 | 93.37 | 95.90 | |
| Area under the curve | 95.56 | 94.85 | 93.49 | 99.12 | |
Number of posts related to controlled substance hashtags (N=1228).
| Drug namea | Hashtagb | Posts, n (%)c |
| Xanax | #xanax | 802 (65.3) |
| #xanaxfamily | 530 (43.1) | |
| #2mgxanax | 321 (26.1) | |
| #zanax | 112 (9.1) | |
| #greenxanax | 84 (6.8) | |
| Total | 1078 (87.8) | |
| Oxycodone/OxyContin | #oxycodone | 30 (2.4) |
| #oxycodine | 261 (21.3) | |
| #oxy80s | 213 (17.3) | |
| #oxycontin | 215 (17.5) | |
| #oxicotin | 233 (18.9) | |
| #oxicodone | 212 (17.2) | |
| Total | 321 (26.1) | |
| Lysergic acid diethylamide | #LSD25 | 138 (11.2) |
| #LSDtabs | 130 (10.5) | |
| Total | 213 (17.3) | |
| 3,4-Methylenedioxy-methamphetamine | #mdmapills | 50 (4.1) |
| #mdmaforsale | 21 (1.7) | |
| #mdmazing | 40 (3.3) | |
| #mdmaonline | 21 (1.7) | |
| Total | 94 (7.6) |
aDrug name column relates to drug detected in the image and text of the post.
bHashtag refers to the presence of a hashtag in a post detected.
cPosts is the number of posts with the hashtag and the percentage of total posts that contained the hashtag.
Figure 3Examples of Instagram posts of illegal drug sale categories (user information and text from post have removed). (1) A post of prescription drugs; (2) a post of lysergic acid diethylamide (LSD); (3) a post with written contact information imbedded in the image; and (4) post with multiple drug types.
Figure 4Examples of Instagram posts with suspected drug products (user information removed). The 5 unclassified pictures include (1) clear capsules with white crystalline granules, (2) cups with pink liquid, (3) blue and white capsules with no drug identification, (4) plastic bags of blue crystals, and (5) a bag of white crystals with a label “B”.
Figure 5Examples of Instagram posts with written contact information. There were 60 images that included either typed or written contact information.