Neighborhood perceivable graph neural network for relational heterogeneous Twitter bot detection

Y Yan Li H Haoyu Lu (Key Lab of Mesoscopic Chemistry, School of Chemistry and Chemical Engineering) W Wanying Chen (Department of Physics, Tsinghua University)

Abstract

Malicious bots undermine the integrity and safety of online social platforms, making their detection an urgent priority. This work aims to address the limitations of existing GNN-based bot detection approaches, particularly their inability to adapt the aggregation process to local feature distributions and heterogeneous relational structures. Our proposed framework, NeighborSense, exploits both relational graph structures and node features for detecting social bots. The approach involves an analysis of local bot-human interaction patterns, leading to the development of two local metrics based on neighborhood statistics. We then use a dynamically maintained shortcut module to integrate the above two metrics into a relational graph convolutional neural network (R-GCN) learning process, enabling gated aggregation control for different users based on the feature distribution of their neighbors. We confirmed that the proposed R-GCN backbone along with the metric-based adaptive gating mechanism achieves relational heterogeneity awareness, local entropy awareness, and local feature heterogeneity awareness. Benchmarking against state-of-the-art methods reveals that NeighborSense consistently achieves higher detection accuracy.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 2
Published February 17, 2026
Pages e0342686
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (3)

Y

Yan Li

H

Haoyu Lu

Key Lab of Mesoscopic Chemistry, School of Chemistry and Chemical Engineering

W

Wanying Chen

Department of Physics, Tsinghua University