Large Language Model Used to Improve the Ability of Detecting Cyberbullying

For cyberbullying detection in online platforms, balancing computational efficiency and contextual accuracy remains a critical challenge. Traditional machine learning (ML) models often lack deep semantic understanding, while standalone large language models (LLMs) suffer from prohibitive latency in real-time applications. To tackle this, we propose a two-stage hybrid framework: Stage 1 employs SVM or Random Forest for rapid filtering, and Stage 2 uses a lightweight DistilBERT for contextual analysis. Evaluated on a 50,000-sample English dataset from the Cyberbullying Research Center, comprising 40,000 training, 5,000 validation, and 5,000 test samples with a class distribution of 5% bullying (2,500 samples) and 95% non-bullyingthe framework achieves an F1-score of 0.89, outperforming traditional ML (0.80) and standalone LLMs (0.87), while delivering 83% faster inference than full LLM processing. Preprocessing involved lowercasing, SpaCy tokenization, and NLTK stopword removal. Key strengths include real-time scalability and enhanced detection of implicit bullying. However, limitations persist: dependency on Stage 1 filtering accuracy and challenges in interpreting sarcasm (contributing to 22% of errors) and novel slang, which necessitate further research.

Authors

Institutions

Publication Details

Journal
Applied and Computational Engineering
Published
2025-07-24
DOI
https://doi.org/10.54254/2755-2721/2025.ld25417
Citations
1
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Large Language Model Used to Improve the Ability of Detecting Cyberbullying

H. Wang
1 citations
Applied and Computational Engineering
Hate Speech and Cyberbullying Detection
2.48
article

Large Language Model Used to Improve the Ability of Detecting Cyberbullying

H. Wang
article en
1 citations

Abstract

For cyberbullying detection in online platforms, balancing computational efficiency and contextual accuracy remains a critical challenge. Traditional machine learning (ML) models often lack deep semantic understanding, while standalone large language models (LLMs) suffer from prohibitive latency in real-time applications. To tackle this, we propose a two-stage hybrid framework: Stage 1 employs SVM or Random Forest for rapid filtering, and Stage 2 uses a lightweight DistilBERT for contextual analysis. Evaluated on a 50,000-sample English dataset from the Cyberbullying Research Center, comprising 40,000 training, 5,000 validation, and 5,000 test samples with a class distribution of 5% bullying (2,500 samples) and 95% non-bullyingthe framework achieves an F1-score of 0.89, outperforming traditional ML (0.80) and standalone LLMs (0.87), while delivering 83% faster inference than full LLM processing. Preprocessing involved lowercasing, SpaCy tokenization, and NLTK stopword removal. Key strengths include real-time scalability and enhanced detection of implicit bullying. However, limitations persist: dependency on Stage 1 filtering accuracy and challenges in interpreting sarcasm (contributing to 22% of errors) and novel slang, which necessitate further research.

Applied and Computational EngineeringVol. 165(1)
Chengdu Medical College (CN)
Openalex Percentile: Top 9%
Hate Speech and Cyberbullying Detection
2.48
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.

Large Language Model Used to Improve the Ability of Detecting Cyberbullying — H. Wang · Applied and Computational Engineering (2025) | TGRS Research Map | TGRS