# Topic adversarial neural network for cross-topic cyberbullying detection

**Authors:** Shufeng Xiong, Wenzhuo Liu, Bingkun Wang, Yinchao Che, Lei Shi

PMC · DOI: 10.7717/peerj-cs.2942 · PeerJ Computer Science · 2025-06-19

## TL;DR

This paper introduces a new neural network framework to detect cyberbullying across different topics on social media, improving detection accuracy and robustness.

## Contribution

The novel Topic Adversarial Neural Network (TANN) framework enables topic-invariant cyberbullying detection through adversarial training.

## Key findings

- TANN outperforms existing methods in cross-topic cyberbullying detection tasks.
- The framework improves robustness and accuracy in dynamic online environments.
- A multi-topic dataset from Chinese social media platforms was used to validate TANN's effectiveness.

## 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.

## Full-text entities

- **Diseases:** depression (MESH:D003866), anxiety (MESH:D001007), suicidal tendencies (MESH:C536965), LSTM (MESH:D000088562), aggression (MESH:D010554), bullying (MESH:D000073397), COVID-19 (MESH:D000086382), toxicity (MESH:D064420)
- **Chemicals:** TANN (-)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12193452/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12193452/full.md

## References

47 references — full list in the complete paper: https://tomesphere.com/paper/PMC12193452/full.md

---
Source: https://tomesphere.com/paper/PMC12193452