When Large Language Models Do Not Work: Online Incivility Prediction through Graph Neural Networks

Zihan Chen, Lanyu Yu
12/8/2025
cs.CLcs.AIcs.SI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Online incivility has emerged as a widespread and persistent problem in digital communities, imposing substantial social and psychological burdens on users. Although many platforms attempt to curb incivility through moderation and automated detection, the performance of existing approaches often remains limited in both accuracy and efficiency. To address this challenge, we propose a Graph Neural Network (GNN) framework for detecting three types of uncivil behavior (i.e., toxicity, aggression, and personal attacks) within the English Wikipedia community. Our model represents each user comment as a node, with textual similarity between comments defining the edges, allowing the network to jointly learn from both linguistic content and relational structures among comments. We also introduce a dynamically adjusted attention mechanism that adaptively balances nodal and topological features during information aggregation. Empirical evaluations demonstrate that our proposed architecture outperforms 12 state-of-the-art Large Language Models (LLMs) across multiple metrics while requiring significantly lower inference cost. These findings highlight the crucial role of structural context in detecting online incivility and address the limitations of text-only LLM paradigms in behavioral prediction. All datasets and comparative outputs will be publicly available in our repository to support further research and reproducibility.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025when,
  title  = {When Large Language Models Do Not Work: Online Incivility Prediction through Graph Neural Networks},
  author = {Zihan Chen and Lanyu Yu},
  year   = {2025},
  eprint = {2512.07684},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.07684v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.07684.svg)](https://codeofpaper.com/paper/2512.07684)

Discussion