Social Bot Detection via Spatio-Temporal Graph Self-Supervision

Authors

  • Hai Lu School of Computer Science and Technology, Qingdao University, Qingdao, China Author
  • LiangXu Shi School of Computer Science and Technology, Qingdao University, Qingdao, China Author

DOI:

https://doi.org/10.63313/JCSFT.9053

Keywords:

Social Bot Detection, Dynamic Graphs, Self-Supervised Learning, Graph Neural Networks, Spatio-Temporal Representation Learning

Abstract

Social bots on online social platforms increasingly exhibit profile camouflage, coordinated group behavior, and evolving interaction patterns over time, which makes static-graph and fully supervised detectors less effective under label scarcity and cross-community shifts. To address this issue, this paper proposes STGSLBot, a spatio-temporal graph self-supervised framework for social bot detection. The method constructs a sequence of dynamic interaction snapshots with fixed temporal granularity and initializes node features by combining account metadata with tweet semantics. In addition, temporal statistical signals are introduced to characterize coordinated structures and dynamic reciprocal behaviors. At the model level, a temporal dual-encoder is designed to learn topology-driven commonality and attribute-driven uniqueness, while a causal masked temporal self-attention module aggregates historical information under a strict history-only constraint. During pretraining, neighborhood reconstruction, self-feature reconstruction, cross-view semantic consistency learning, and community-based pseudo-label self-training are jointly optimized to enhance cluster-level discrimination and temporal consistency. Finally, the pretrained model is fine-tuned with a small labeled set for binary classification. Experiments on two temporal subsets derived from TwiBot-22 show that the proposed framework achieves strong and stable performance, especially in accuracy and label-efficient learning.

References

[1] Feng, S., Tan, Z., Wan, H., Wang, N., Chen, Z., Zhang, B., ... & Luo, M. (2022). Twibot-22: Towards graph-based twitter bot detection. Advances in Neural Information Processing Systems, 35, 35254-35269.

[2] Feng, S., Wan, H., Wang, N., & Luo, M. (2021, November). BotRGCN: Twitter bot detection with relational graph convolutional networks. In Proceedings of the 2021 IEEE/ACM international conference on advances in social networks analysis and mining (pp. 236-239).

[3] Li, S., Qiao, B., Li, K., Lu, Q., Lin, M., & Zhou, W. (2023, October). Multi-modal social bot detection: Learning homophilic and heterophilic connections adaptively. In Proceedings of the 31st ACM International Conference on Multimedia (pp. 3908-3916).

[4] Guo, S., Wang, J., Wang, Z., Yu, G., & Wu, S. (2025). BotICC: enhancing social bot detection through implicit connection computation: S. Guo et al. Multimedia Systems, 31(3), 210.

[5] Liu, F., Li, Z., Yang, C., Gong, D., Liu, F., Ma, R., & Bors, A. G. (2025). BotCF: Improving the Social Bot Detection Performance By Focusing on the Community Features. IEEE Transactions on Network and Service Management.

[6] Qiao, B., Li, K., Zhou, W., Li, S., Lu, Q., & Hu, S. (2025, April). Identifying Bots on Social Media through Coordinated Group Perception. In ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 1-5). IEEE.

[7] He, B., Yang, Y., Wu, Q., Liu, H., Yang, R., Peng, H., ... & Zhou, P. (2024). Botdgt: Dynamicity-aware social bot detection with dynamic graph transformers. arXiv preprint arXiv:2404.15070.

[8] Hou, Z., He, Y., Cen, Y., Liu, X., Dong, Y., Kharlamov, E., & Tang, J. (2023, April). Graphmae2: A decoding-enhanced masked self-supervised graph learner. In Proceedings of the ACM web conference 2023 (pp. 737-746).

[9] Yang, Y., Wu, Q., He, B., Peng, H., Yang, R., Hao, Z., & Liao, Y. (2024, August). Sebot: Structural entropy guided multi-view contrastive learning for social bot detection. In Proceedings of the 30th ACM SIGKDD conference on knowledge discovery and data mining (pp. 3841-3852).

[10] He, B., Jiang, X., Wu, Q., Liu, H., Yang, Y., & Liao, Y. (2025, August). Boosting Bot Detection via Heterophily-Aware Representation Learning and Prototype-Guided Cluster Discovery. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2 (pp. 860-871).

Downloads

Published

2026-03-18

Issue

Section

Articles

How to Cite

Social Bot Detection via Spatio-Temporal Graph Self-Supervision. (2026). Journal of Computer Science and Frontier Technologies, 2(3), 125-132. https://doi.org/10.63313/JCSFT.9053