Abstract
Online social networks (OSNs) are an indispensable part of social communication where people connect and share information. Spammers and other malicious actors use the OSN’s power to propagate spam content. In an OSN with mutual relations between nodes, two kinds of spammer detection methods can be employed: feature based and propagation based. However, both of these are incomplete in themselves. The feature-based methods cannot exploit mutual connections between nodes, and propagation-based methods cannot utilize the rich discriminating node features. We propose a hybrid model—Markov enhanced graph attention network (MEGAT)—using graph attention networks (GAT) and pairwise Markov random fields (pMRF) for the spammer detection task. It efficiently utilizes node features as well as propagation information. We experiment our GAT model with a smoother Swish activation function having non-monotonic derivatives, instead of the leakyReLU function. The experiments performed on a real-world Twitter Social Honeypot (TwitterSH) benchmark dataset and subsequent comparative analysis reveal that our proposed MEGAT model outperforms the state-of-the-art models in accuracy, precision–recall area under curve (PRAUC), and F1-score performance measures.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10115-024-02137-z/MediaObjects/10115_2024_2137_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10115-024-02137-z/MediaObjects/10115_2024_2137_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10115-024-02137-z/MediaObjects/10115_2024_2137_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10115-024-02137-z/MediaObjects/10115_2024_2137_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10115-024-02137-z/MediaObjects/10115_2024_2137_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs10115-024-02137-z/MediaObjects/10115_2024_2137_Fig6_HTML.png)
Similar content being viewed by others
References
Li C, Wang S, He L, Philip SY, Liang Y, Li Z (2018) SSDMV: Semi-supervised deep social spammer detection by multi-view data fusion. In: 2018 IEEE international conference on data mining (ICDM). IEEE, pp 247–256
Wang B, Gong NZ, Fu H (2017) GANG: Detecting fraudulent users in online social networks via guilt-by-association on directed graphs. In: 2017 IEEE international conference on data mining (ICDM). IEEE, pp 465–474
Deng L, Wu C, Lian D, Wu Y, Chen E (2022) Markov-Driven graph convolutional networks for social spammer detection. IEEE Trans Knowl Data Eng PP(99):1–1
Rao S, Verma AK, Bhatia T (2021) A review on social spam detection: challenges, open issues, and future directions. Expert Syst Appl 186:115742
Wang B, Zhang L, Gong NZ (2017) SybilSCAR: Sybil detection in online social networks via local rule based propagation. In: IEEE INFOCOM 2017-IEEE conference on computer communications. IEEE, pp 1–9
Cao Q, Sirivianos M, Yang X, Pregueiro T (2012) Aiding the detection of fake accounts in large scale social online services. In: 9th USENIX symposium on networked systems design and implementation (NSDI 12), pp 197–210
Mohaisen A, Hopper N, Kim Y (2011) Keep your friends close: incorporating trust into social network-based Sybil defenses. In: 2011 Proceedings IEEE INFOCOM. IEEE, pp 1943–1951
Yang C, Harkreader R, Zhang J, Shin S, Gu G (2012) Analyzing spammers’ social networks for fun and profit: a case study of cyber criminal ecosystem on twitter. In: Proceedings of the 21st international conference on World Wide Web, pp 71–80
Gong NZ, Frank M, Mittal P (2014) Sybilbelief: A semi-supervised learning approach for structure-based Sybil detection. IEEE Trans Inf Forensics Secur 9(6):976–987
El-Mawass N, Honeine P, Vercouter L (2020) SimilCatch: enhanced social spammers detection on twitter using Markov Random Fields. Inf Process Manag 57(6):102317
Li H, Mukherjee A, Liu B, Kornfield R, Emery S (2014) Detecting campaign promoters on twitter using Markov random fields. In: 2014 IEEE international conference on data mining. IEEE, pp 290–299
El-Mawass N, Honeine P, Vercouter L (2018) Supervised classification of social spammers using a similarity-based Markov random field approach. In: Proceedings of the 5th multidisciplinary international social networks conference, pp 1–8
Guo Z, Tang L, Guo T, Yu K, Alazab M, Shalaginov A (2021) Deep graph neural network-based spammer detection under the perspective of heterogeneous cyberspace. Futur Gener Comput Syst 117:205–218
Noi LD, Hagenbuchner M, Scarselli F, Tsoi AC (2010) Web spam detection by probability map** GraphSOMs and graph neural networks. In: International conference on artificial neural networks, Springer, pp 372–381
Song Z, Bai F, Zhao J, Zhang J (2021) Spammer detection using graph-level classification model of graph neural network. In: 2021 IEEE 2nd international conference on big data, artificial intelligence and internet of things engineering (ICBAIE). IEEE, pp 531–538
Liu Z, Dou Y, Yu PS, Deng Y, Peng H (2020) Alleviating the inconsistency problem of applying graph neural network to fraud detection. In: Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval, pp 1569–1572
Li A, Qin Z, Liu R, Yang Y, Li D (2019) Spam review detection with graph convolutional networks. In: Proceedings of the 28th ACM international conference on information and knowledge management, pp 2703–2711
Jayashree P, Laila K, Amuthan A (2023) Spam review detection with Metapath-aggregated graph convolution network. J Intell Fuzzy Syst, pp 1–19
Wang J, Wen R, Wu C, Huang Y **on J (2019) Fdgars: Fraudster detection via graph convolutional networks in online app review system. In: Companion proceedings of the 2019 World Wide Web conference, pp 310–316
Liu Y, Sun Z, Zhang W (2023) Improving fraud detection via hierarchical attention-based graph neural network. J Inf Secur Appl 72:103399
Wu Y, Lian D, Xu Y, Wu L, Chen E (2020) Graph convolutional networks with Markov random field reasoning for social spammer detection. In: Proceedings of the AAAI conference on artificial intelligence, vol 34, pp 1054–1061
Rao S, Verma A, Bhatia T (2023) Hybrid ensemble framework with self-attention mechanism for social spam detection on imbalanced data. Expert Syst Appl 217:119594
Veličković P, Cucurull G, Casanova A, Romero A, Lió P, Bengio Y (2017) Graph attention networks. ar**v preprint ar**v:1710.10903. https://arxiv.org/abs/1710.10903
Yang X, Ma H, Wang M (2022) Rumor detection with bidirectional graph attention networks. Security and Communication Networks
Zhang F, Wu J, Zhang P, Ma R, Yu H (2023) Detecting collusive spammers with heterogeneous graph attention network. Inf Process Manag 60:103282
Rong Z, **anguo Z (2021) Opinion spam detection based on hierarchical heterogeneous graph attention network. J Comput Appl 41(5):1275
Lee K, Eoff B, Caverlee J (2011) Seven months with the devils: a long-term study of content polluters on twitter. In: Proceedings of the international AAAI conference on web and social media, vol 5, pp 185–192
Kwak H, Lee C, Park H, Moon S (2010) What is Twitter, a social network or a news media?. In: Proceedings of the 19th international conference on World Wide Web, pp 591–600
Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks. ar**v preprint ar**v:1609.02907
Author information
Authors and Affiliations
Contributions
AT conceptualized the research and designed the study. AT also performed data analysis and drafted the initial manuscript. MG contributed to the study design and provided critical input during data analysis and interpretation. MG also played a significant role in manuscript writing, editing, and revising. KKB contributed to literature review, study design and manuscript preparation. KKB also provided valuable insights into the discussions of the results section. All authors reviewed and approved the final version of the manuscript, ensuring its accuracy and scientific rigor. Each author has read and agreed to be accountable for all aspects of the work in ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved.
Corresponding authors
Ethics declarations
Conflict of interest
The authors declare no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Tripathi, A., Ghosh, M. & Bharti, K.K. Markov enhanced graph attention network for spammer detection in online social network. Knowl Inf Syst (2024). https://doi.org/10.1007/s10115-024-02137-z
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10115-024-02137-z