# Neighborhood perceivable graph neural network for relational heterogeneous Twitter bot detection

**Authors:** Yan Li, Haoyu Lu, Wanying Chen

PMC · DOI: 10.1371/journal.pone.0342686 · PLOS One · 2026-02-17

## TL;DR

This paper introduces a new graph neural network method called NeighborSense to detect Twitter bots by analyzing user interactions and adapting to different network structures.

## Contribution

NeighborSense introduces a novel adaptive aggregation mechanism in R-GCNs that considers local feature distributions and relational heterogeneity for bot detection.

## Key findings

- NeighborSense outperforms existing methods in detecting Twitter bots with higher accuracy.
- The adaptive gating mechanism enables the model to handle relational heterogeneity and local feature distributions effectively.
- Local bot-human interaction patterns are captured through two neighborhood-based metrics.

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

## Full-text entities

- **Chemicals:** Etp (MESH:D005000), Sim (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

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

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12912692/full.md

## References

22 references — full list in the complete paper: https://tomesphere.com/paper/PMC12912692/full.md

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