
Research Article
XHBot: eXplainable Heterophily-aware Graph Neural Networks for Social Bot Detection
@ARTICLE{10.4108/airo.12969, author={Quang-Vinh Dang and Phuong-Lan Nguyen and Dat Le and Minh Ngoc Dinh}, title={XHBot: eXplainable Heterophily-aware Graph Neural Networks for Social Bot Detection}, journal={EAI Endorsed Transactions on AI and Robotics}, volume={5}, number={1}, publisher={EAI}, journal_a={AIRO}, year={2026}, month={7}, keywords={Social bot detection, graph neural networks, Heterophily, Explainable AI (XAI), XHBot}, doi={10.4108/airo.12969} }- Quang-Vinh Dang
Phuong-Lan Nguyen
Dat Le
Minh Ngoc Dinh
Year: 2026
XHBot: eXplainable Heterophily-aware Graph Neural Networks for Social Bot Detection
AIRO
EAI
DOI: 10.4108/airo.12969
Abstract
Social bots threaten the integrity of online ecosystems by engaging in coordinated opinion manipulation. While Graph Neural Networks (GNNs) have become a dominant paradigm for bot detection, modern camouflaged bots strategically follow benign users to evade detection, creating structural heterophily that degrades the performance of standard homophilic GNN aggregators; moreover, many existing detectors offer limited forensic explainability. To address these challenges jointly, we propose XHBot (eXplainable Heterophily-aware Bot detector), a framework that is robust to heterophilic relation camouflage while providing transparent, multi-level forensic evidence for platform moderation. XHBot couples three components: Spectral-Guided Topology Refinement (SGTR), which down-weights camouflage edges by their contribution to the graph’s high-frequency (Dirichlet) energy before aggregation; Tri-Channel Heterophily-Aware Aggregation (THCA), which separates homophilic, heterophilic, and self-identity signals; and Contrastive Prototype Disentanglement (CPD), which decouples behavioural signatures from social positioning. Evaluated on TwiBot-20, TwiBot-22, and Cresci-2017 under a unified protocol, XHBot reaches an F1 score of 0.9474 on TwiBot-20, improving over a competitive suite of recent baselines (including RGT, NeighborSense, and HW-GNN) by 9.64%. Its Hierarchical Forensic Explanation (HFE) module extracts both instance-level subgraphs and community-level diagnostic motifs, which we assess quantitatively (Fidelity, Sparsity) and through qualitative case studies. These results indicate that decoupling behavioural signatures from adversarial social positioning is valuable for modern bot detection, and that combining accuracy with interpretable evidence supports deployment in real-world moderation settings.
Copyright © 2026 Quang-Vinh Dang et al., licensed to EAI. This is an open access article distributed under the terms of the CC BY-NC-SA 4.0, which permits copying, redistributing, remixing, transformation, and building upon the material in any medium so long as the original work is properly cited.


