[Paper Review] RTbust: Exploiting Temporal Patterns for Botnet Detection on Twitter
RTbust detects retweeting botnets on Twitter by unsupervised analysis of temporal retweet patterns using a VAE-based feature extractor and HDBSCAN clustering, achieving high F1 scores and uncovering botnets.
Within OSNs, many of our supposedly online friends may instead be fake accounts called social bots, part of large groups that purposely re-share targeted content. Here, we study retweeting behaviors on Twitter, with the ultimate goal of detecting retweeting social bots. We collect a dataset of 10M retweets. We design a novel visualization that we leverage to highlight benign and malicious patterns of retweeting activity. In this way, we uncover a 'normal' retweeting pattern that is peculiar of human-operated accounts, and 3 suspicious patterns related to bot activities. Then, we propose a bot detection technique that stems from the previous exploration of retweeting behaviors. Our technique, called Retweet-Buster (RTbust), leverages unsupervised feature extraction and clustering. An LSTM autoencoder converts the retweet time series into compact and informative latent feature vectors, which are then clustered with a hierarchical density-based algorithm. Accounts belonging to large clusters characterized by malicious retweeting patterns are labeled as bots. RTbust obtains excellent detection results, with F1 = 0.87, whereas competitors achieve F1 < 0.76. Finally, we apply RTbust to a large dataset of retweets, uncovering 2 previously unknown active botnets with hundreds of accounts.
Motivation & Objective
- Motivate the need for group-based, unsupervised bot detection in OSNs due to evolving bot sophistication.
- Propose an analysis of retweeting temporal patterns to distinguish human from bot activity.
- Develop RTbust to automatically extract informative features and cluster users to identify botnets.
Proposed method
- Represent each user's retweet activity as a time series of retweet timestamps relative to a reference start time.
- Compress time series using a modified run-length encoding to reduce sparsity and preserve activity signals.
- Extract fixed-length latent features from compressed series using a variational autoencoder with an LSTM encoder.
- Cluster users in the latent space with HDBSCAN to identify dense groups as botnets while treating noise as legitimate accounts.
- Evaluate RTbust against baselines and state-of-the-art techniques using annotated bots/humans as ground truth.
Experimental results
Research questions
- RQ1Can unsupervised, group-based analysis of retweet timing reliably identify botnets without relying on full timelines or graphs?
- RQ2What is the impact of different feature extraction methods (VAE, PCA, TICA) on botnet detection performance?
- RQ3How does RTbust compare to supervised detectors and other unsupervised approaches in terms of F1, precision, recall, and other metrics?
Key findings
- RTbust achieves F1 = 0.87 on bot detection, outperforming competitors with F1 ≤ 0.76.
- VAE-based features yield superior clustering and detection performance compared with PCA and TICA.
- As few as 8 latent features from the VAE stabilize clustering quality and maximize detection performance.
- RTbust identifies coordinated bot groups by labeling accounts in dense clusters as bots and treating non-clustered accounts as legitimate.
- The method relies only on retweet timestamps, enabling scalable analysis without full timelines or social graphs.
- The approach uncovers two previously unknown active botnets on a large retweet dataset.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.