LMBot: Distilling Graph Knowledge into Language Model for Graph-less Deployment in Twitter Bot Detection

06/30/2023
by   Zijian Cai, et al.
0

As malicious actors employ increasingly advanced and widespread bots to disseminate misinformation and manipulate public opinion, the detection of Twitter bots has become a crucial task. Though graph-based Twitter bot detection methods achieve state-of-the-art performance, we find that their inference depends on the neighbor users multi-hop away from the targets, and fetching neighbors is time-consuming and may introduce bias. At the same time, we find that after finetuning on Twitter bot detection, pretrained language models achieve competitive performance and do not require a graph structure during deployment. Inspired by this finding, we propose a novel bot detection framework LMBot that distills the knowledge of graph neural networks (GNNs) into language models (LMs) for graph-less deployment in Twitter bot detection to combat the challenge of data dependency. Moreover, LMBot is compatible with graph-based and graph-less datasets. Specifically, we first represent each user as a textual sequence and feed them into the LM for domain adaptation. For graph-based datasets, the output of LMs provides input features for the GNN, enabling it to optimize for bot detection and distill knowledge back to the LM in an iterative, mutually enhancing process. Armed with the LM, we can perform graph-less inference, which resolves the graph data dependency and sampling bias issues. For datasets without graph structure, we simply replace the GNN with an MLP, which has also shown strong performance. Our experiments demonstrate that LMBot achieves state-of-the-art performance on four Twitter bot detection benchmarks. Extensive studies also show that LMBot is more robust, versatile, and efficient compared to graph-based Twitter bot detection methods.

READ FULL TEXT
research
06/09/2022

TwiBot-22: Towards Graph-Based Twitter Bot Detection

Twitter bot detection has become an increasingly important task to comba...
research
12/17/2019

Deep Iterative and Adaptive Learning for Graph Neural Networks

In this paper, we propose an end-to-end graph learning framework, namely...
research
08/17/2022

BIC: Twitter Bot Detection with Text-Graph Interaction and Semantic Consistency

Twitter bot detection is an important and meaningful task. Existing text...
research
06/22/2022

Interpreting Graph-based Sybil Detection Methods as Low-Pass Filtering

Online social networks (OSNs) are threatened by Sybil attacks, which cre...
research
03/01/2019

Attacking Graph-based Classification via Manipulating the Graph Structure

Graph-based classification methods are widely used for security and priv...
research
08/01/2021

You too Brutus! Trapping Hateful Users in Social Media: Challenges, Solutions Insights

Hate speech is regarded as one of the crucial issues plaguing the online...
research
05/08/2018

Reasoning with Sarcasm by Reading In-between

Sarcasm is a sophisticated speech act which commonly manifests on social...

Please sign up or login with your details

Forgot password? Click here to reset