Skip to main content
QUICK REVIEW

[Paper Review] Towards Automatic Bot Detection in Twitter for Health-related Tasks

Anahita Davoudi, Ari Z Klein|PubMed|Sep 29, 2019
Spam and Phishing DetectionComputer Science27 references5 citations
TL;DR

This paper proposes an enhanced bot detection system tailored for health-related Twitter data by extending Botometer with domain-specific features and a gradient boosting classifier, achieving an F1-score of 0.700 for identifying non-human accounts in pregnancy-related user cohorts, significantly improving over the original system's 0.361 score.

ABSTRACT

With the increasing use of social media data for health-related research, the credibility of the information from this source has been questioned as the posts may not from originating personal accounts. While automatic bot detection approaches have been proposed, none have been evaluated on users posting health-related information. In this paper, we extend an existing bot detection system and customize it for health-related research. Using a dataset of Twitter users, we first show that the system, which was designed for political bot detection, underperforms when applied to health-related Twitter users. We then incorporate additional features and a statistical machine learning classifier to improve bot detection performance significantly. Our approach obtains F1-scores of 0.7 for the "bot" class, representing improvements of 0.339. Our approach is customizable and generalizable for bot detection in other health-related social media cohorts.

Motivation & Objective

  • To evaluate the performance of an existing political bot detection system, Botometer, on health-related Twitter user data.
  • To address the underperformance of general-purpose bot detection tools in health contexts due to differences in user behavior and content patterns.
  • To enhance bot detection accuracy in health-related social media by incorporating domain-specific features and a machine learning classifier.
  • To create a customizable and generalizable framework for bot detection in health-focused social media research.
  • To provide a publicly available training dataset and classification code for reproducibility and future research in health-related bot detection.

Proposed method

  • Collected a dataset of 10,417 Twitter users who publicly announced pregnancy, manually annotated as 'bot', 'non-bot', or 'unavailable' by two professional annotators with substantial inter-annotator agreement (kappa = 0.93).
  • Retained 8,262 users labeled as 'bot' or 'non-bot' for training and testing, with stratified 80/20 split to preserve class distribution.
  • Extended Botometer’s existing features with new domain-specific features: profile picture face detection, user name name presence, and tweet content-based features such as sentiment and linguistic complexity.
  • Trained a gradient boosting (GB) classifier using both Botometer scores and the newly derived features to improve detection performance.
  • Evaluated the model on a held-out test set of 1,652 users, reporting precision, recall, and F1-scores per class.
  • Used Cohen’s kappa to assess inter-annotator agreement and ensure labeling reliability.

Experimental results

Research questions

  • RQ1How well does a general-purpose political bot detection system (Botometer) perform when applied to health-related Twitter user data?
  • RQ2What additional features specific to health-related social media behavior can improve bot detection performance?
  • RQ3Can a machine learning classifier trained on a combination of Botometer scores and domain-specific features significantly improve F1-score for bot detection in health contexts?
  • RQ4What are the main challenges in classifying health-related bots, particularly those representing organizations or support groups?
  • RQ5To what extent can the proposed method be generalized and customized for other health-related social media cohorts?

Key findings

  • The original Botometer system achieved an F1-score of 0.361 for the 'bot' class when applied to health-related Twitter data, indicating poor generalization from political to health contexts.
  • Adding domain-specific features—profile picture face detection, name presence in user name, and content-based linguistic features—significantly improved detection performance.
  • The final gradient boosting classifier using both Botometer scores and extended features achieved an F1-score of 0.700 for the 'bot' class, representing a 0.339 improvement over the baseline.
  • The model achieved high precision (0.985) and moderate recall (0.724) for the 'bot' class, indicating strong reliability in identifying true bots while capturing a substantial portion of them.
  • False negatives were primarily due to the broad definition of 'bot' including legitimate health organizations, forums, and support groups with human-curated content.
  • The study provides a publicly available training dataset and code, enabling reproducibility and future extension of the method in health-related social media research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.