JOURNAL ARTICLE

Topic adversarial neural network for cross-topic cyberbullying detection

Shufeng XiongWenzhuo LiuBingkun WangYinchao CheLei Shi

Year: 2025 Journal:   PeerJ Computer Science Vol: 11 Pages: e2942-e2942   Publisher: PeerJ, Inc.

Abstract

With the proliferation of social media, cyberbullying has emerged as a pervasive threat, causing significant psychological harm to individuals and undermining social cohesion. Its linguistic expressions vary widely across topics, complicating automatic detection efforts. Most existing methods struggle to generalize across diverse online contexts due to their reliance on topic-specific features. To address this issue, we propose the Topic Adversarial Neural Network (TANN), a novel end-to-end framework for topic-invariant cyberbullying detection. TANN integrates a multi-level feature extractor with a topic discriminator and a cyberbullying detector. It leverages adversarial training to disentangle topic-related information while retaining universal linguistic cues relevant to harmful content. We construct a multi-topic dataset from major Chinese social media platforms, such as Weibo and Tieba, to evaluate the generalization performance of TANN in real-world scenarios. Experimental results demonstrate that TANN outperforms existing methods in cross-topic detection tasks, significantly improving robustness and accuracy. This work advances cross-topic cyberbullying detection by introducing a scalable solution that mitigates topic interference and enables reliable performance across dynamic online environments.

Keywords:
Computer science Adversarial system Discriminator Social media Artificial intelligence Robustness (evolution) Harm Scalability Machine learning Data science Natural language processing Detector World Wide Web Psychology Social psychology

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
50
Refs
0.09
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Hate Speech and Cyberbullying Detection
Physical Sciences →  Computer Science →  Artificial Intelligence
Bullying, Victimization, and Aggression
Social Sciences →  Psychology →  Social Psychology
© 2026 ScienceGate Book Chapters — All rights reserved.