Arming the public with AI against social bots: detection and interpretability improvements to BotometerArming the public with artificial intelligence to counter social bots
The authors review social bot detection research and, using Botometer as a case study, discuss user interaction, improvements to score interpretability, and model updates; the v3 cross-validation AUC rises from 0.95 to 0.97.
- Social bots are used to manipulate online public opinion, while the effectiveness of detection tools is limited by public awareness, willingness to adopt, and barriers to understanding AI outputs; the paper focuses on how to make detection tools usable and understandable to the public.
- Review the literature on social bot types, effects and detection methods, and use Botometer as a case study: conduct a user experience survey of 731 people, calibrate scores with Platt scaling, propose a Bayesian-based CAP, and retrain the model with a new dataset and features.
- The survey shows over 80% of users consider Botometer accurate and its scores easy to understand; adding new training data showed no performance degradation, and the current model's cross-validation AUC rose from 0.95 to 0.97; the model generalizes better to human accounts and to bots similar to the training data.
- The authors note: coordinated bot detection remains a challenge; unsupervised methods can only examine a single feature; iterative data expansion requires continuous manual effort; models may inherit annotator bias and are hard to explain; the survey has self-selection bias.
- Evaluated models
- Botometer
- Benchmarks
- Bot Repository(caverlee、varol-icwsm、cresci-17、pornbots、celebrity、vendor-purchased、botometer-feedback、political-bots)
- Metrics
- AUCaccuracybot scoreComplete Automation Probability (CAP)
A user experience survey of Botometer shows that AI social bot detection has become part of many users' social media experience, but users face obstacles in understanding detection outputs, which may cause fundamental misunderstandings. The study reviews the types, impacts and detection methods of social bots, and notes that machine learning-driven attack and defense require detection tools to continuously update training data and features; the tool improves scores through algorithmic and interpretability improvements to align with user expectations.
Paper analysis
What problem does this paper attempt to solve?
The authors review social bot detection research and use Botometer as a case study to analyze how the public uses and understands AI detection tools.
Core question: how to counter social bots that manipulate public opinion, and enable the public to effectively use and understand AI detection tools.
- Problem setting: the authors state that social bots (social accounts fully or partially controlled by algorithms, often impersonating humans) are used to amplify misinformation and manufacture fake popularity, exploiting human weaknesses (attention to popular content, trust in social relationships) rather than software or hardware vulnerabilities, and can be scaled through automation.
- Why it matters: the paper cites data stating that Facebook removed 1.5 billion fake accounts in six months in 2018; in 2017 an estimated 9–15% of active Twitter accounts were bots; a Pew survey shows 66% of Americans know about social bots, but many are not confident they can identify them.
- Existing gaps: the authors argue that detection research often neglects the perspective of how the public adopts, interacts with, and interprets tools; meanwhile there is an arms race between bots and detection methods, and training data and features become outdated.
- What the paper does: first, a brief review of social bot research and AI countermeasures; second, using Botometer as a case study, it reports a user experience survey and introduces score interpretability improvements (calibration, CAP) and model updates (new data, new features) made to match user expectations.
What related research exists?
The paper reviews the literature along three lines—bot characteristics and impact, detection methods, and adversarial research—and uses Botometer's own version evolution as a case study.
Characteristics and Impact of Social Bots
- Lee et al. (2011)—identified thousands of social bots using honeypot accounts, finding their strategy of randomly following others to expand social connections.
- Cresci et al. (2015), Freitas et al. (2015), etc.—studied more sophisticated bots: stealing identity profiles and generating content around specific topics to gain followers; the paper notes that such infiltration is more effective in topic-concentrated communities.
- Bessi and Ferrara (2016), Shao et al. (2018a,b), Ferrara (2017)—work by the authors' own team: in the 2016 US election, the rate at which humans retweeted bot content did not differ significantly from the rate at which they retweeted human content; a study based on 14 million tweets states that bots played a key role in the early spread of low-credibility content; in the 2017 French election, 18K active bots were identified driving the MacronLeaks campaign.
Detection Methods
- Wang et al. (2012)—a crowdsourced detection platform; the paper notes it is effective but poorly scalable, because bots can be replicated at zero cost while human detectors cannot.
- Supervised learning methods (Subrahmanian et al., 2016; Davis et al., 2016; Varol et al., 2017a)—rely on labeled datasets built through manual annotation or honeypots; the paper notes that existing datasets lack ground truth and there is no accepted operational definition of a bot. Kudugunta and Ferrara (2018) propose detecting bots at the tweet level with a contextual LSTM.
- Unsupervised methods (Chavoshi et al., 2016's DeBot; Cresci et al., 2016; Chen and Subramanian, 2018)—discover coordinated accounts through synchronized tweeting, longest common substrings, etc.; the paper notes their advantage is focusing on commonalities among accounts, and their disadvantage is that in the worst case a quadratic number of account pairs must be considered.
Adversarial Research
- Cresci et al. (2019)—use evolutionary algorithms to improve social bot capabilities; Grimme et al. (2018)—use a hybrid of automated and manual methods to make bots judged as human by supervised detection systems. The paper notes that although such research is intended to expose system weaknesses, it may also inspire bot creators. Research by Cresci et al. (2017) states that neither humans nor supervised machine learning algorithms could successfully identify such coordinated bots.
Positioning: the authors position this paper as a literature review plus a Botometer case study, focusing on the user interaction and interpretability perspectives neglected by detection research, and on the data and feature updates needed to cope with the arms race.
How does the paper address this problem?
Using Botometer as a case study: user experience survey, Platt scaling calibration, Bayesian CAP metric, retraining with new data and new features.
The paper does not propose a single new algorithm; rather, it uses Botometer (a supervised machine learning bot detection tool developed at Indiana University) as a case study and develops it along three aspects: user interaction, score interpretability, and model updates.
Basic setup of Botometer
- Input and output: given a Twitter account, it extracts more than 1,000 features from data readily available via the Twitter API and outputs a bot score (higher means more likely to be controlled by software).
- Model: based on a Random Forest classifier; the score is the proportion of trees that classify the account as a bot.
- Score system: because some features are based on English content, the main score is intended for English accounts; it also provides a language-independent score that excludes language features, as well as six sub-scores corresponding to six categories of features (user meta-data, friends, content, sentiment, network, timing).
User experience survey
- Implementation: participants were recruited from Botometer website visitors from August to October 2018; the questionnaire contained two required questions and several optional questions, and 731 usable responses were collected (Figure 2).
- Purpose: to understand how users use Botometer, how they view its accuracy and the comprehensibility of its scores, and users' concerns about false positives (a human misjudged as a bot) and false negatives (a bot misjudged as a human).
Improvements to score interpretability (v3)
- Model calibration: Platt's scaling (a logistic regression trained on the classifier output) is used to map raw scores to calibrated scores that can be interpreted as probabilities; this calibration is order-preserving, so AUC is unchanged (Figure 5).
- Linear scaling: the bot score displayed on the website is the calibrated likelihood score linearly transformed to the [0, 5] interval, to distinguish it from "the probability that the account is a bot"; the API also provides the uncalibrated score.
- Complete Automation Probability (CAP): Bayes' theorem is used to compute the posterior probability P(Bot ∣ S) = P(Bot) (P(S ∣ Bot))/(P(S)), i.e., the conditional probability that an account is a bot given score S. The likelihood distribution is fitted to the empirical score distribution of the training data with a 40th-order Bernstein polynomial curve fit (binned data have quantization artifacts, KDE is biased at interval boundaries, and Beta distribution fitting failed); the prior is P(Bot) = 0.15, corresponding to published estimates of the proportion of Twitter bots (Figure 6).
Model updates
- Training data: multiple academic datasets are aggregated through the Bot Repository platform, totaling 57,155 bot accounts and 30,853 human accounts (Table 1); the v3 training set adds cresci-17, pornbots, vendor-purchased, botometer-feedback, and celebrity to caverlee and varol-icwsm (Table 2).
- Feature engineering: v3 uses 1,209 features (v1/v2 used 1,150); the new features target information-manipulation bots and include time zone, language metadata, device metadata, and content deletion patterns (using mismatches between posting-rate statistics as a proxy for deletion behavior).
- Generalization evaluation: models are trained on progressively larger training sets, and accuracy is tested with cross-validation (in-sample) and on datasets excluded from training (out-sample), examining whether the model can recognize new bot categories not seen in training (Figure 7).
What experiments did the paper conduct?
A 731-person user survey, score calibration and CAP construction, and cross-dataset generalization experiments; v3 cross-validation AUC 0.97.
Experimental Setup
- Systems under test: three versions of Botometer—v1 (from 2014-05, 1,150 features, training set caverlee), v2 (from 2016-05, 1,150 features, plus varol-icwsm), v3 (from 2018-05, 1,209 features, plus cresci-17, pornbots, vendor-purchased, botometer-feedback, celebrity) (Table 2).
- Training data: 8 datasets in the Bot Repository, totaling 57,155 bots and 30,853 human accounts (Table 1); of these, pornbots 21,963 and caverlee 22,179 bots, while political-bots only 62.
- User survey: August–October 2018, visitors to the Botometer website, 731 usable responses; the paper explicitly notes self-selection bias (respondents are mostly active users).
- Generalization experiments: all models trained with all 1,209 features of v3; evaluation by in-sample cross-validation and out-sample testing on datasets excluded from training, with metrics accuracy (proportion correctly classified, Figure 7) and AUC.
- Calibration and CAP: Platt's scaling calibration; reliability diagrams divide the unit interval into 20 bins; CAP fits the likelihood distribution with a 40th-order Bernstein polynomial, prior P(Bot) = 0.15.
- Not reported in the paper: number of cross-validation folds, number of repetitions, statistical significance tests.
Main Results
The paper has no single large model-comparison table; the main quantitative results are as follows (from the main text and the Figure 7 caption):
Result Value Source Current model (new features + new data) cross-validation AUC improved from 0.95 to 0.97 main text Section 5 Usable user-survey responses 731 Section 3 Share of users who consider Botometer accurate over 80% Figure 2B Share of users who consider the scores easy to understand over 80% Figure 2C Users who use Botometer at least weekly over one third Figure 2A - The authors state that adding training data for unseen categories of bots did not degrade model performance; accuracy stayed high on increasingly rich training sets, and the framework "seems flexible enough to learn new examples without forgetting old ones."
- The authors state that out-sample performance on new datasets was overall lower than when the model could learn from them; generalization was better for human accounts, and also better for bots similar to the training data (e.g., spam bots).
- The authors state that the largest improvement came from adding porn bots training data (this type of bot has very few tweets and realistic profiles).
User Survey Results
- What was measured: users' frequency of use of Botometer, perceived accuracy, score understandability, and concern about the two error types (Figures 2, 3, 4).
- Results: over one third of users use it at least weekly; over 80% consider it accurate and over 80% consider the scores easy to understand; overall users' concern about false positives and false negatives is comparable, but split by usage frequency, occasional users care more about false positives (e.g., checking their own account) and frequent users care more about false negatives (e.g., advertisers worrying about missing fake followers) (Figure 3).
- Authors' interpretation: bot detection is becoming a daily need for some users; the authors also note the survey has self-selection bias. Figure 4 compares user evaluations of v2 and v3; the authors state that users seem to approve of these changes (the converted text does not show the specific values).
Calibration and CAP Analysis
- What was measured: the mapping from raw scores to calibrated scores and reliability (Figure 5); posterior probability curves under different priors (Figure 6).
- Results: in the reliability diagram the calibration curve is closer to the diagonal; uncalibrated scores are mostly concentrated in the middle of the unit interval, while after calibration the number of scores in each bin is roughly equal. The CAP curve is overall more conservative than the calibrated scores, reflecting the relative rarity of bots.
- Authors' interpretation: uncalibrated scores lead users to mistakenly believe that the classification of most accounts is uncertain; CAP incorporates the rarity of bots in the background and can give end users a probability estimate they can act on.
Other Ablations and Analyses
- Prior choice: Botometer uses P(Bot) = 0.15 (the estimate of Varol et al., 2017a); the authors state that users could estimate the prior themselves, e.g., a sample of suspicious accounts should use a higher prior.
- Comparison of density estimation methods: the binning method produces discontinuities due to quantization artifacts in classifier outputs; KDE is biased at interval boundaries; the Beta distribution failed with all three fitting algorithms (maximum likelihood, method of moments, negative log-likelihood); finally a Bernstein polynomial was chosen, with 40th-order fitting satisfactory.
- Usage: Botometer currently handles over 250,000 requests per day, and the website receives over 500 visits per day (Figure 1).
What are some points that can be further explored?
The authors discuss challenges such as coordinated bot detection, algorithmic bias, and interpretability, and plan to introduce deep learning and automated new-category detection.
Limitations and future directions noted by the authors
- Coordinated bot detection remains a challenge (Section 6.2): existing unsupervised methods can only examine a single feature and can only capture small groups of bots coordinated in a particular way; new algorithms are needed that can exploit multiple dimensions of similarity among accounts.
- Early detection (Section 6.2): the authors believe methods should be studied for identifying manipulated activity at an early stage, taking a proactive approach to respond as early as possible.
- Iterative data expansion depends on manual work (Section 6.2): the iterative process of detecting new accounts by expanding training data is effective but requires substantial continuous manual effort; the authors are exploring automatically discovering new categories of bot behavior and building dedicated classifiers.
- Algorithmic bias and interpretability (Section 6.2): models trained on manual annotations may inherit annotator bias; many machine learning algorithms, including the algorithm used by Botometer, do not readily explain their classification results, and deep learning is even harder; the authors call this an important direction for future research.
- Planned technical improvements (Section 6.2): the authors plan to replace the dictionary-based sentiment analysis in Botometer's feature extraction pipeline with a deep learning model.
- Survey self-selection bias (Section 3): the authors explicitly note that respondents were mostly active Botometer users, so the results have self-selection bias.
Scope of the experiments
- The systems tested are three versions of Botometer, v1/v2/v3, all based on Random Forest; in the generalization experiments all models use the 1,209 features of v3 (Section 5).
- The training and test data are 8 Twitter datasets from the Bot Repository, totaling 57,155 bot accounts and 30,853 human accounts (Table 1).
- The user survey sample is 731 Botometer website visitors, from August to October 2018 (Section 3).
- The paper does not report the number of cross-validation folds, the number of repetitions, or statistical significance tests; the accuracy values in Figure 7 are unreadable in the converted text, and the main text gives only that AUC rises from 0.95 to 0.97.
- The Botometer main score is intended for English accounts; non-English accounts use a language-independent score that excludes language features (Section 3).
Summarize the main content of the paper
Reviews social bot research and detection methods, and uses Botometer as a case study to discuss user interaction, interpretability improvements, and model updates.
A review plus case study on social bot detection, whose core concern is how to make AI detection tools actually used and understood by the public.
- Problem: the authors state that social bots exploit human weaknesses to manipulate public opinion at scale, and in 2017 an estimated 9–15% of active Twitter accounts were bots; detection research faces an arms race and often neglects how users interact with and interpret tools.
- Method: using Botometer (Random Forest, 1,000+ features) as a case study: a user experience survey of 731 website visitors; calibrating scores with Platt's scaling and linearly scaling to [0, 5]; proposing a Bayesian-theorem-based Complete Automation Probability (prior P(Bot) = 0.15, likelihood fitted with a 40th-order Bernstein polynomial); retraining v3 with new datasets (totaling 57,155 bots / 30,853 humans) and 1,209 features.
- Main results: over 80% of surveyed users consider Botometer accurate and its scores easy to understand; occasional users care more about false positives and frequent users more about false negatives; adding training data for new bot categories showed no performance degradation, and the current model's cross-validation AUC rose from 0.95 to 0.97; the model generalizes better to human accounts and to bots similar to the training data.
- Authors' conclusions: winning this adversarial contest requires broad public participation; coordinated bot detection, early detection, algorithmic bias and interpretability are important challenges; the authors plan to replace lexicon-based sentiment analysis with deep learning and to explore automatic discovery of new categories of bot behavior.