With the rapid development of the Internet and social platforms, the problem of spammer detection has become a major technical challenge in building a harmonious Internet environment. However, user data collected from social platforms are often subject to issues such as missing information and data noise. Therefore, in graph-based learning models for bot army detection, methods that use point estimation as weights fail to express uncertainty in regions with sparse or missing data. A graph neural network model for bot army detection, VRGAT, integrating variational inference, was proposed. It introduces a probability distribution for the weights and derives a variational approximation of the true posterior. By applying different convolution operations to the mean and variance, the model more accurately captures the variability in the data. Simulations based on the Twibot-20 dataset show that, compared to the best existing benchmark for bot army detection (F1 = 88.12), VRGAT achieved an improved performance with an F1 score of 89.64.In robustness experiments, when random noise was added at varying levels, the accuracy drop for VRGAT is significantly slower than for other baseline models, demonstrating its superior noise resistance. The experimental results demonstrate that the introduction of variational inference can enhance the effectiveness of spammer detection and improve the model's robustness against noise.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |