BotRGCN
Relational graph convolutions over Twitter follow edges, fed by RoBERTa and profile features, to spot bots.
Graphs and geometry · 111 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 132.4K
- Operations
- 111
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- ASONAM 2021
- Cited by
- 194 (as of 4 October 2026)
- Authors
- Shangbin Feng, Herun Wan, Ningnan Wang, Minnan Luo
- Source
- GitHub: BunsenFeng/BotRGCN
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14344
- Graph hash
- f0de20ac11c93a63cb0680f9e0743224ea008538b98f012336dabae28233deb7
- Skeleton hash
- cb2fdb66e9de7461361eb8866253c5ac6de75cdffb3f68541478297fcbfda407
- Architecture hash
- 5aaa03d705fb17036798d5bb0de98feb3a130e5b6884867938d5fc1b6940c2c7
- Diagram SHA-256
- f6dc7cdeff75329688ad4c13d64555f03f71d7b1b33fc19250529c22e0eb994b
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
BotRGCN, short for Bot detection with Relational Graph Convolutional Networks, is a node classifier that decides whether a Twitter account is a bot. Its two targets are community and disguise: bots that disguise as genuine users and attack collectively.
It addresses community by constructing a heterogeneous graph from follow relationships and applying relational graph convolutional networks. Users are nodes, and because following and being followed signal different information there are two edge types, following and follower. Against disguise, it feeds multi-modal user semantic and property information into the graph to avoid feature engineering. User descriptions are encoded with RoBERTa. The released preprocessing produces four embeddings per user, covering the description, tweets, numerical properties and categorical properties. After the R-GCN layers a softmax layer makes the bot decision from the user representations.
On TwiBot-20, a benchmark that provides follow relationships, BotRGCN outperforms competitive baselines. The ablation found that two layers of R-GCN give better detection with fewer learnable parameters and less training complexity. The code release also ships the state dict of BotRGCN trained on Twibot-22.
Key idea. Casting Twitter bot detection as node classification on a heterogeneous follow graph with relational graph convolutions over following and follower edges, fed by multi-modal user features.
- BotRGCN
- Bot detection with Relational Graph Convolutional Networks
- Twitter bot detection
- social bot detection
- R-GCN
- relational graph convolution
- TwiBot-20
- TwiBot-22
- node classification
AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{feng2021botrgcntwitterbotdetection,
title={BotRGCN: Twitter Bot Detection with Relational Graph Convolutional Networks},
author={Shangbin Feng and Herun Wan and Ningnan Wang and Minnan Luo},
year={2021},
eprint={2106.13092},
archivePrefix={arXiv},
primaryClass={cs.SI},
doi={https://doi.org/10.1145/3487351.3488336},
url={https://arxiv.org/abs/2106.13092},
}