BotSCL: Heterophily-Aware Social Bot Detection with Supervised Contrastive Learning

  • Qi Wu
  • , Yingguang Yang
  • , Buyun He
  • , Hao Liu
  • , Renyu Yang
  • , Yong Liao*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Detecting social bots, which continuously evolve, presents an escalating challenge. Although graph-based detection techniques utilize various relationships within social networks to model node behavior, they often fail to account for inherent heterophily–connections between different types of accounts. When message passing occurs across heterophilous edges, it can cause feature blending between bots and legitimate users, leading to indistinct representations. To address this issue, we propose BotSCL, a contrastive learning framework that is aware of heterophily. BotSCL adapts by differentiating between representations of heterophilous neighbors while aligning representations of homophilous ones. Our approach employs two graph augmentation strategies to create varied graph views and introduces a channel-wise, attention-free encoder to address the limitations of traditional neighbor information aggregation. Supervised contrastive learning then helps the encoder focus on aggregating information specific to each class. Extensive experiments on two real-world social bot detection datasets reveal that BotSCL outperforms existing baseline models, including advanced bot detection methods, as well as techniques based on partial heterophily and graph contrastive learning.

Original languageEnglish
Title of host publicationPattern Recognition - 27th International Conference, ICPR 2024, Proceedings
EditorsApostolos Antonacopoulos, Subhasis Chaudhuri, Rama Chellappa, Cheng-Lin Liu, Saumik Bhattacharya, Umapada Pal
PublisherSpringer Science and Business Media Deutschland GmbH
Pages53-68
Number of pages16
ISBN (Print)9783031781827
DOIs
StatePublished - 2025
Event27th International Conference on Pattern Recognition, ICPR 2024 - Kolkata, India
Duration: 1 Dec 20245 Dec 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume15307 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference27th International Conference on Pattern Recognition, ICPR 2024
Country/TerritoryIndia
CityKolkata
Period1/12/245/12/24

Keywords

  • homophily and heterophily
  • social bot detection
  • supervised contrastive learning

Fingerprint

Dive into the research topics of 'BotSCL: Heterophily-Aware Social Bot Detection with Supervised Contrastive Learning'. Together they form a unique fingerprint.

Cite this