Skip to main content
QUICK REVIEW

[Paper Review] Detection and Characterization of Illegal Marketing and Promotion of Prescription Drugs on Twitter

Janani Kalyanam, Tim K. Mackey|arXiv (Cornell University)|Dec 1, 2017
Web Data Mining and AnalysisComputer Science1 references7 citations
TL;DR

This study develops a machine learning approach to detect and characterize illegal marketing of prescription drugs on Twitter by analyzing tweet content, metadata, and user behavior. Using topic modeling and supervised classification, the method achieves high accuracy (up to 96.6%) in identifying illicit pharmacy promotions, revealing distinct patterns in rogue users and their content.

ABSTRACT

Illicit online pharmacies allow the purchase of prescription drugs online without a prescription. Such pharmacies leverage social media platforms such as Twit- ter as a promotion and marketing tool with the intent of reaching out to a larger, potentially younger demographics of the population. Given the serious negative health effects that arise from abusing such drugs, it is important to identify the relevant content on social media and exterminate their presence as quickly as pos- sible. In response, we collected all the tweets that contained the names of certain preselected controlled substances over a period of 5 months. We found that an unsupervised topic modeling based methodology is able to identify tweets that promote and market controlled substances with high precision. We also study the meta-data characteristics of such tweets and the users who post them and find that they have several distinguishing characteristics that sets them apart. We were able to train supervised methods and achieve high performance in detecting such content and the users who post them.

Motivation & Objective

  • To detect and characterize illegal online marketing of prescription drugs on Twitter, particularly by illicit online pharmacies (IOPs).
  • To identify distinguishing features of rogue tweets and users promoting IOPs compared to regular social media content.
  • To develop a scalable, real-time surveillance system for detecting emerging illicit drug promotion on social media platforms.
  • To evaluate the performance of machine learning models in classifying illicit drug promotion content with high precision and recall.
  • To inform public health and regulatory strategies by exposing the behavioral and structural markers of IOPs on social media.

Proposed method

  • Collected 620,477 tweets containing names of controlled substances (e.g., oxycodone, fentanyl) from June to November 2015 using Twitter’s Streaming API.
  • Applied unsupervised topic modeling to identify thematic clusters in tweets, labeling those promoting IOPs as relevant based on keyword patterns.
  • Engineered 18 features from tweet metadata, user network behavior, and profile characteristics (e.g., URLs, retweets, follower count, account age).
  • Trained logistic regression classifiers on a 70/30 train-test split, using engineered features to predict whether a tweet promotes IOPs.
  • Evaluated model performance using standard metrics: accuracy, precision, recall, F1-score, and zero-one loss across six prescription drugs.
  • Conducted statistical significance tests and time-series analysis to validate differences between rogue and non-rogue content and users.

Experimental results

Research questions

  • RQ1What linguistic and structural patterns distinguish tweets promoting illicit online pharmacies from regular tweets on Twitter?
  • RQ2How do the metadata and network characteristics of users posting rogue content differ from those of regular users?
  • RQ3To what extent can machine learning models trained on tweet features detect illicit drug promotion with high accuracy and reliability?
  • RQ4What are the key behavioral markers (e.g., URL usage, engagement levels, account age) that signal illicit promotion on social media?
  • RQ5Can real-time detection systems be built using these features to monitor and respond to emerging IOP marketing campaigns?

Key findings

  • The logistic regression classifier achieved an F1-score of 0.9656 for Vicodin and 0.9749 for average precision on Oxycodone, indicating strong detection performance.
  • Rogue tweets consistently contained URLs (100% prevalence), with nearly all directing users to external IOP landing pages.
  • Rogue users had significantly smaller networks: average user_friends_count was 107× lower and user_followers_count was 188× lower than regular users.
  • Over 70% of rogue user accounts were created in or after 2014, indicating recent emergence of such accounts.
  • No verified users were found in the rogue set, and user_statuses_count was approximately 5× higher in the rogue set than in the regular set.
  • Rogue tweets showed minimal user engagement, with retweet_count and retweeted_status values mostly at 0, suggesting limited virality or organic sharing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.