MétaCan
Menu
Back to cohort
Record W4307405414 · doi:10.2196/preprints.43630

Development of an Automated Drug Detection System on Social Media (Preprint)

2022· preprint· en· W4307405414 on OpenAlexaboutno aff
Andrew Fisher, Matthew M. Young, Doris Payer, Karen Pacheco, Chad Dubeau, Vijay Mago

Bibliographic record

Venuenot available
Typepreprint
Languageen
FieldMedicine
TopicData-Driven Disease Surveillance
Canadian institutionsnot available
Fundersnot available
KeywordsSocial mediaEnforcementInternet privacyLaw enforcementWarning systemTracking (education)BusinessPublic healthPreprintMedicinePublic relationsComputer sciencePolitical sciencePsychologyWorld Wide WebPathology

Abstract

fetched live from OpenAlex

BACKGROUND One of the hallmarks of unregulated drug markets is their unpredictability and constant evolution with newly introduced substances. People who use drugs and the public health workforce are often unaware of the appearance of new drugs on the unregulated market and their type, safe dosage, and potential adverse effects. This increases risks to people who use drugs, including the risk of unknown consumption and unintentional drug poisoning. Early Warning Systems can help monitor the landscape of emerging drugs in a given community by collecting and tracking up-to-date information and determining trends. However, there are currently few ways to systematically monitor the appearance and harms of new drugs on the unregulated market in Canada. OBJECTIVE The goal of this work is to examine how artificial intelligence can assist in identifying patterns of drug-related risks and harms, specifically by monitoring the social media activity of public health and law enforcement groups. This information is beneficial in the form of an Early Warning System as it can be used to identify new and emerging drug trends in various communities. METHODS To build a dataset for this study, 145 relevant Twitter accounts throughout Quebec (33), Ontario (78), and British Columbia (34) were manually identified. Tweets posted between August 23 and December 21, 2021 were collected via the Twitter API for a total of 40,393 tweets. Next, subject matter experts 1) developed a keyword filter that reduced the dataset to 3,746 tweets and 2) manually identified which tweets were relevant to monitoring and early warning efforts for a total of 464 tweets. Using this information, a zero-shot classifier was applied to tweets from step 1 with a set of keep (drug arrest, drug discovery, drug report) and not keep (drug addiction support, public safety report, other) labels to see how accurately it could extract the tweets identified in step 2. RESULTS When looking at the accuracy in identifying relevant posts, the system extracted a total of 523 tweets and had an overlap of 397/477 (specificity of ~83.2%) with the subject matter experts. Conversely, the system identified a total of 3,184 irrelevant tweets and had an overlap of 3,104/3,230 (sensitivity of ~96.1%) with the subject matter experts. CONCLUSIONS This study demonstrates the benefits of using artificial intelligence to assist in finding relevant tweets for an Early Warning System. The results showed that it can be quite accurate in filtering out irrelevant information which greatly reduces the amount of manual work required. Although the accuracy in retaining relevant information was observed to be lower, an analysis showed that the label definitions can impact the results significantly and would therefore be suitable for future work to refine. Nonetheless, the performance is promising and demonstrates the usefulness of artificial intelligence in this domain.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.001
metaresearch head score (Gemma)0.004
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Simulation or modeling · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: none
Teacher disagreement score0.021
Threshold uncertainty score0.042

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0010.004
Meta-epidemiology (narrow)0.0010.000
Meta-epidemiology (broad)0.0010.001
Bibliometrics0.0030.001
Science and technology studies0.0010.000
Scholarly communication0.0020.002
Open science0.0010.001
Research integrity0.0010.001
Insufficient payload (model declined to judge)0.0110.012

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.027
GPT teacher head0.307
Teacher spread0.280 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designSimulation or modeling
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2022
Admission routes1
Has abstractyes

Explore more

Same topicData-Driven Disease SurveillanceFrench-language works237,207