Lightweight and Effective Coded-Slang Detection for Cyber-Drug Intelligence

Drug-related criminal activities on social media increasingly employ rapidly evolving coded languages, including fruit substitutions, numeric homophones, and dialectal metaphors, to evade detection. This adversarial obfuscation causes large-scale deep learning models to suffer from severe computational overhead during edge deployment, while reducing their robustness against evolving coded expressions. To mitigate these challenges, we construct a dedicated dataset containing 10,000 drug-related coded text samples and propose an optimized, lightweight TextCNN-based framework. The framework normalizes lexical variants of codewords using a domain-specific dictionary and adaptive normalization functions, and extracts local semantic patterns from the word embedding layer through multi-scale convolutional kernels (h∈{3,4,5}) to capture crucial short-text semantics in parallel. Experimental results demonstrate that the proposed framework achieves an F1 score of 99.3% with only 0.22 M parameters, significantly outperforming baseline models. These findings indicate that models optimized for local n-gram patterns provide a highly cost-effective deployment solution while outperforming representative pre-trained language models in specialized adversarial digital forensics tasks.

Authors

Publication Details

Journal
Electronics
Published
2026-07-16
DOI
https://doi.org/10.3390/electronics15143138
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lightweight and Effective Coded-Slang Detection for Cyber-Drug Intelligence

XinYang Yan, Tao Leng, Yong Dai
Electronics
Hate Speech and Cyberbullying Detection
article

Lightweight and Effective Coded-Slang Detection for Cyber-Drug Intelligence

XinYang Yan, Tao Leng, Yong Dai
article en

Abstract

Drug-related criminal activities on social media increasingly employ rapidly evolving coded languages, including fruit substitutions, numeric homophones, and dialectal metaphors, to evade detection. This adversarial obfuscation causes large-scale deep learning models to suffer from severe computational overhead during edge deployment, while reducing their robustness against evolving coded expressions. To mitigate these challenges, we construct a dedicated dataset containing 10,000 drug-related coded text samples and propose an optimized, lightweight TextCNN-based framework. The framework normalizes lexical variants of codewords using a domain-specific dictionary and adaptive normalization functions, and extracts local semantic patterns from the word embedding layer through multi-scale convolutional kernels (h∈{3,4,5}) to capture crucial short-text semantics in parallel. Experimental results demonstrate that the proposed framework achieves an F1 score of 99.3% with only 0.22 M parameters, significantly outperforming baseline models. These findings indicate that models optimized for local n-gram patterns provide a highly cost-effective deployment solution while outperforming representative pre-trained language models in specialized adversarial digital forensics tasks.

ElectronicsVol. 15(14)
Quality Education
Openalex Percentile: Top 6%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.