MGTAB: A Multi-Relational Graph-Based Twitter Account Detection Benchmark

Shuhao Shi, Kai Qiao, Zihao Liu, Jie Yang, Chen Chen, Jian Chen 0025, Bin YanNeurocomputing 2023

Abstract

The development of social media user stance detection and bot detection methods rely heavily on large-scale and high-quality benchmarks. However, in addition to low annotation quality, existing benchmarks generally have incomplete user relationships, suppressing graph-based account detection research. To address these issues, we propose a Multi-Relational Graph-Based Twitter Account Detection Benchmark (MGTAB), the first standardized graph-based benchmark for account detection. To our knowledge, MGTAB was built based on the largest original data in the field, with over 1.55 million users and 130 million tweets. MGTAB contains 10,199 expert-annotated users and 7 types of relationships, ensuring high-quality annotation and diversified relations. In MGTAB, we extracted the 20 user property features with the greatest information gain and user tweet features as the user features. In addition, we performed a thorough evaluation of MGTAB and other public datasets. Our experiments found that graph-based approaches are generally more effective than feature-based approaches and perform better when introducing multiple relations. By analyzing experiment results, we identify effective approaches for account detection and provide potential future research directions in this field.

Introduction

Detecting social media bots and understanding user stances are critical for combating misinformation and analyzing public opinion. However, existing datasets suffer from three major bottlenecks: low annotation quality due to noisy crowdsourcing, incomplete social graphs that often only include follower/friend relationships, and the "silent user" problem where lurkers provide insufficient text for traditional NLP models. MGTAB (Multi-Relational Graph-Based Twitter Account Detection Benchmark) is introduced to provide a high-fidelity, multi-layered view of the Twitter ecosystem, jointly tackling bot identification and stance detection.

Methodology

The researchers constructed MGTAB using a massive crawl of 1.55 million users and 130 million tweets related to the debate over nuclear wastewater discharge.

Key innovations include: * Expert Labeling: Instead of crowdsourcing, 12 experts with a decade of experience independently labeled accounts. Each account received nine independent labels, with the final ground truth determined by majority vote. * Multi-Relational Graph Construction: The graph moves beyond simple "follows" to include five explicit relations (follower, friend, mention, reply, quote) and two implicit relations (URL and hashtag co-occurrence). * Feature Engineering: Information Gain (IG) was used to identify the 20 most predictive metadata features. For tweet content, Language-Agnostic BERT Sentence Embedding (LaBSE) was employed to handle the 54 different languages present in the dataset.

Dataset Comparison

MGTAB stands out as the first benchmark to jointly annotate for both bots and stance while providing a complex, multi-relational graph structure. Compared to existing benchmarks, it offers a significantly larger scale of expert-annotated data and a richer set of relationship types.

Comparison of MGTAB with existing bot detection datasets.
Comparison of MGTAB with existing stance detection datasets.

Key Results and Insights

  • The Power of Heterogeneity: Heterogeneous GNNs (like RGT and BotRGCN) consistently outperformed homogeneous ones. Models that distinguish between different relationship types—recognizing that a "mention" carries different social weight than a "follow"—provided more accurate context.
  • Solving the "Lurker" Issue: By utilizing social graph features, models could accurately detect the stance of "silent" users who do not post enough text for traditional NLP analysis.
  • Implicit Links as a Goldmine: Sharing niche URLs or specific hashtags creates "latent" links that help cluster similar accounts, even in the absence of direct interaction.
  • Relationship Synergy: Performance improved as more relationship types were added. Using all seven relations yielded the highest accuracy, with the Relational Graph Transformer (RGT) achieving F1-scores of 86.9 for stance detection and 90.4 for bot detection.

Conclusion

MGTAB provides a standardized evaluation procedure and a high-quality dataset for the research community. The study demonstrates that analyzing how users interact within a multi-relational graph is significantly more effective than looking at profile metadata or tweets alone. Future work will focus on better utilizing edge direction and weights to further refine account detection capabilities.

Summary updated

BibTeX
@article{shi2023mgtab,
  author = {Shuhao Shi and Kai Qiao and Zihao Liu and Jie Yang and Chen Chen and Jian Chen and Bin Yan},
  title = {{MGTAB: A Multi-Relational Graph-Based Twitter Account Detection Benchmark}},
  journal = {Neurocomputing},
  year = {2023},
}
Figure