Researchers use machine learning to identify illegal selling of opioids on Twitter

Using advanced machine learning, a cross disciplinary team of University of California San Diego researchers developed technology that mined Twitter to identify entities illegally selling prescription opioids online.

Between June and November 2015, some 619,937 tweets containing the keywords codeine, Percocet, fentanyl, Vicodin, Oxycontin, oxycodone and hydrocodone were collected. The findings, published online in the American Journal of Public Health in October, detected 1,778 posts that were marketing the sale of controlled substances, 90 percent included hyperlinks to online sites for purchase.

"An unhealthy use of prescription and non-prescription opioid drugs continues to rise in the United States. Public policy and law enforcement efforts are trying to address this crisis, but closer attention to the potential negative influence of digital technologies is needed," said Tim K. Mackey, PhD, UC San Diego School of Medicine associate professor of anesthesiology and global public health and first author. "Our study demonstrates the utility of a technology to aid in these efforts that searches social media for behavior that poses a public threat, such as the illegal sale of controlled substances."

Mackey and researchers with UC San Diego School of Medicine and Jacobs School of Engineering used a three-step process that involved cloud-based computing to collect large volumes of tweets filtered by keywords, machine learning to isolate tweets related to the marketing of opioids, and web forensic examination to analyze posts that included hyperlinks to external websites.

During the five-month study period, less than 1 percent of tweets mentioning opioids were marketing prescription opioids, and only 46 of the hyperlinks included in those tweets were still live when the team analyzed the data eight months later. However, if the technology were used for active surveillance the data could be used to find more live links and could also be used for surveillance and detection of other health-related illegal online activities, said Mackey.

The Ryan Haight Online Pharmacy Consumer Protection Act prohibits the sale and marketing of controlled substances directly to consumers online. It was passed in 2008 after 18-year-old Ryan Haight of San Diego died after purchasing Vicodin online.

"This technology could help improve enforcement of the Ryan Haight Act," said Mackey. "In addition, social media providers can use it to find or prohibit content that is illegal or violates laws to ensure consumers have a safer experience online."

Forensics researchers connected marketing on Twitter to blogs, other social media platforms, user forms, online classified ads and websites. The majority of sites had foreign addresses, with many linked to Pakistan -- a country recently identified as a source and exporter of fake, counterfeit and falsified medications, said Mackey.

"The online sale of controlled substances is directly prohibited by federal law. However, social media appears to act as a conduit for increased risk to substance abuse behavior," said Mackey.

An interactive map of study findings is available here: https://www.google.com/maps/d/u/0/edit?mid=13qnaNCAKlVJVOezTUObv3Szto1Q&ll=12.624085123383825%2C0&z=3

This study builds on a February 2017 study in the journal Addictive Behaviors, which used the same machine learning technology to filter Twitter content to identify nonmedical uses of prescription drugs and behavioral trends.​

Comments

The opinions expressed here are the views of the writer and do not necessarily reflect the views and opinions of News Medical.
Post a new comment
Post

While we only use edited and approved content for Azthena answers, it may on occasions provide incorrect responses. Please confirm any data provided with the related suppliers or authors. We do not provide medical advice, if you search for medical information you must always consult a medical professional before acting on any information provided.

Your questions, but not your email details will be shared with OpenAI and retained for 30 days in accordance with their privacy principles.

Please do not ask questions that use sensitive or confidential information.

Read the full Terms & Conditions.

You might also like...
Exploring opioid prescription trends in chronic cough treatment