Identifying social bots via heterogeneous motifs based on Naïve Bayes model
Yijun Ran, Jingjing Xiao, Xiao-Ke Xu
TL;DR
This work tackles social bot detection by modeling neighborhood heterogeneity through heterogeneous motifs derived from node-labels and a Naïve Bayes framework to quantify motif-level contributions. It introduces 114 heterogeneous 3-node motifs and a maximum capability measure to guide feature selection, demonstrating that a subset of high-capability motifs can approach the performance of using all motifs. The approach yields state-of-the-art results on four large benchmarks using only network topology, and exhibits robustness across multiple classifiers (XGBoost, Random Forest, Gradient Boosting). By providing an interpretable, theoretically grounded pipeline, the method offers a scalable, privacy-friendly alternative to deep learning models while suggesting avenues for integrating higher-order structures in future work.
Abstract
Identifying social bots has become a critical challenge due to their significant influence on social media ecosystems. Despite advancements in detection methods, most topology-based approaches insufficiently account for the heterogeneity of neighborhood preferences and lack a systematic theoretical foundation, relying instead on intuition and experience. Here, we propose a theoretical framework for detecting social bots utilizing heterogeneous motifs based on the Naïve Bayes model. Specifically, we refine homogeneous motifs into heterogeneous ones by incorporating node-label information, effectively capturing the heterogeneity of neighborhood preferences. Additionally, we systematically evaluate the contribution of different node pairs within heterogeneous motifs to the likelihood of a node being identified as a social bot. Furthermore, we mathematically quantify the maximum capability of each heterogeneous motif, enabling the estimation of its potential benefits. Comprehensive evaluations on four large, publicly available benchmarks confirm that our method surpasses state-of-the-art techniques, achieving superior performance across five evaluation metrics. Moreover, our results reveal that selecting motifs with the highest capability achieves detection performance comparable to using all heterogeneous motifs. Overall, our framework offers an effective and theoretically grounded solution for social bot detection, significantly enhancing cybersecurity measures in social networks.
