U-GIFT: Uncertainty-guided few-shot detection of toxic speech

The rise of user-generated content on social media has led to increasing instances of toxic speech—such as hate, abuse, and cyberbullying—which threaten online safety and integrity. Manual moderation struggles to cope with the vast content volume and the mental burden it places on human moderators, highlighting the urgent need for automated detection systems. However, many existing approaches require large labeled datasets, which are costly and difficult to obtain. To address this challenge, we propose U-GIFT (Uncertainty-Guided Few-Shot Detection of Toxic Speech), a self-training framework that excels in low-resource settings. U-GIFT integrates Bayesian neural networks with an uncertainty-guided sample selection strategy to identify high-confidence pseudo-labeled samples from unlabeled data. This strategy improves detection accuracy even with minimal supervision. Experiments across multiple benchmarks show that U-GIFT outperforms strong baselines, achieving a 14.92% gain in the 5-shot setting. The method can be applied to different pre-trained language models, is robust to sample imbalance, and generalizes well across domains. By reducing dependence on annotated data, U-GIFT offers an effective, scalable solution for toxic speech detection and supports safer online interactions through improved automated moderation.

Authors

Institutions

Publication Details

Journal
Intelligent Data Analysis
Published
2026-02-25
DOI
https://doi.org/10.1177/1088467x261423842
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

U-GIFT: Uncertainty-guided few-shot detection of toxic speech

Yihao Wang, Juan Song, Jianyi Liu, Xinyu Wang et al.
Intelligent Data Analysis
Hate Speech and Cyberbullying Detection
article

U-GIFT: Uncertainty-guided few-shot detection of toxic speech

Yihao Wang, Juan Song, Jianyi Liu, Xinyu Wang, Gongshen Liu, Ru Zhang
article en

Abstract

The rise of user-generated content on social media has led to increasing instances of toxic speech—such as hate, abuse, and cyberbullying—which threaten online safety and integrity. Manual moderation struggles to cope with the vast content volume and the mental burden it places on human moderators, highlighting the urgent need for automated detection systems. However, many existing approaches require large labeled datasets, which are costly and difficult to obtain. To address this challenge, we propose U-GIFT (Uncertainty-Guided Few-Shot Detection of Toxic Speech), a self-training framework that excels in low-resource settings. U-GIFT integrates Bayesian neural networks with an uncertainty-guided sample selection strategy to identify high-confidence pseudo-labeled samples from unlabeled data. This strategy improves detection accuracy even with minimal supervision. Experiments across multiple benchmarks show that U-GIFT outperforms strong baselines, achieving a 14.92% gain in the 5-shot setting. The method can be applied to different pre-trained language models, is robust to sample imbalance, and generalizes well across domains. By reducing dependence on annotated data, U-GIFT offers an effective, scalable solution for toxic speech detection and supports safer online interactions through improved automated moderation.

Intelligent Data Analysis
Beijing University of Posts and Telecommunications (CN), Shanghai Jiao Tong University (CN)
Peace, Justice and strong institutions
Openalex Percentile: Top 47%
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.