TL;DR
This paper introduces LGB, a novel framework for social bot detection that combines the power of Language Models (LMs) for understanding user semantics with Graph Neural Networks (GNNs) for analyzing network structures. LGB effectively addresses the challenge of detecting bots in sparsely connected parts of social networks, outperforming existing methods by a significant margin.
What Problem Does This Paper Address?
Social bots pose a significant threat by spreading misinformation and manipulating public opinion, impacting social security and even financial markets. While graph-based methods have shown promise in detecting these bots, they struggle with nodes that have few connections (isolated or sparsely linked). These nodes, which constitute a substantial portion of social networks (up to 55.34% according to the paper's analysis), are crucial because bots can quickly establish links and spread malicious content from these seemingly innocuous positions. Traditional graph methods fail here because they rely on rich neighbor information, which is absent for these nodes. Conversely, LM-based methods, while good at understanding text, often ignore the network structure. This paper aims to bridge this gap by effectively leveraging both semantic and structural information to detect bots, especially in these challenging, sparsely connected scenarios.
Methods
The proposed LGB framework is a multimodal approach that integrates two key components:
- Language Model (LM) for Semantic Understanding: Social account information (user attributes, descriptions, tweets) is first converted into unified textual sequences. These sequences are then used to fine-tune a pre-trained LM (like RoBERTa). This supervised fine-tuning aligns the LM with the specific task of understanding social account semantics, producing semantically enriched node representations.
- Graph Neural Network (GNN) for Structural Analysis: The semantically enriched node representations from the LM are fed into a GNN. The GNN further enhances these representations by aggregating information from neighboring nodes, effectively capturing the network structure. The GNN undergoes a two-stage process:
- Pre-training: Uses graph contrastive learning on unlabeled data to learn structural information from social networks.
- Fine-tuning: Integrates the LM's semantic representations and the GNN's structural information for joint detection.
LGB fuses these two modalities (semantics and structure) through concatenation and an MLP to produce the final bot probability prediction. The framework also incorporates an online detection system with a smart feedback mechanism to continuously update the model with new information.
Datasets
The paper uses two publicly available, real-world social network datasets for evaluation:
- TwiBot-22: A dataset containing both human and bot accounts.
- TwiBot-20: Another dataset used for evaluation, with settings consistent with previous work.
The authors randomly sample from these datasets to create training, validation, and test sets.
Key Insights and Ideas
- The "Sparsely Linked" Bottleneck: A significant portion of social network nodes are isolated or have very few connections. Traditional graph-based methods, which rely on rich neighbor information, perform poorly on these nodes, creating a critical blind spot for bot detection.
- Complementary Strengths of LMs and GNNs: LMs excel at understanding the semantic content of user profiles and tweets, making them effective for detecting bots in isolated or sparsely linked scenarios. GNNs, on the other hand, are better at leveraging network structure to detect bots in densely connected parts of the network.
- The Power of Fusion: Combining LM-derived semantic features with GNN-derived structural features leads to a synergistic effect, significantly improving overall bot detection performance, especially for the challenging sparsely linked nodes.
- Online Learning for Evolving Threats: The inclusion of a smart feedback mechanism in the online detection system allows the model to adapt to the rapidly evolving nature of social bots, ensuring continuous improvement in detection capabilities.
Key Results
- LGB consistently outperforms state-of-the-art baseline models on both TwiBot-22 and TwiBot-20 datasets.
- The proposed LGB (GCN) model achieved the best detection accuracy, improving upon existing methods by up to 10.95% on TwiBot-20 and 9.98% on TwiBot-22.
- LGB significantly outperforms general GNNs and even specialized social bot detection models like SIRAN and CBD.
- The framework shows substantial improvements over large language models (LLMs) like Vicuna-7B-v1.5 and ChatGLM3-6B, achieving accuracy improvements of over 58%.
- Ablation studies confirm that each component of LGB (LM SFT, GNN pre-training, GNN fine-tuning, and multimodal fusion) is crucial for its performance.
- Robustness studies demonstrate LGB's resilience to scarce labels, edge perturbations, and text corruption, outperforming baselines by significant margins.
Limitations and Future Work
- Cross-Platform Detection: The current LGB framework is designed for single social platforms. The authors acknowledge that joint detection across multiple platforms is an open challenge due to varying data distributions and acquisition costs, and they plan to address this in future work.
Summary updated