Twitter spammer detection using data stream clustering

  • Authors:
  • Zachary Miller;Brian Dickinson;William Deitrick;Wei Hu;Alex Hai Wang

  • Affiliations:
  • Department of Computer Science, Houghton College, Houghton, NY, United States;Department of Computer Science, Houghton College, Houghton, NY, United States;Department of Computer Science, Houghton College, Houghton, NY, United States;Department of Computer Science, Houghton College, Houghton, NY, United States;College of Information Sciences and Technology, The Pennsylvania State University, Dunmore, PA, United States

  • Venue:
  • Information Sciences: an International Journal
  • Year:
  • 2014

Quantified Score

Hi-index 0.07

Visualization

Abstract

The rapid growth of Twitter has triggered a dramatic increase in spam volume and sophistication. The abuse of certain Twitter components such as ''hashtags'', ''mentions'', and shortened URLs enables spammers to operate efficiently. These same features, however, may be a key factor in identifying new spam accounts as shown in previous studies. Our study provides three novel contributions. Firstly, previous studies have approached spam detection as a classification problem, whereas we view it as an anomaly detection problem. Secondly, 95 one-gram features from tweet text were introduced alongside the user information analyzed in previous studies. Finally, to effectively handle the streaming nature of tweets, two stream clustering algorithms, StreamKM++ and DenStream, were modified to facilitate spam identification. Both algorithms clustered normal Twitter users, treating outliers as spammers. Each of these algorithms performed well individually, with StreamKM++ achieving 99% recall and a 6.4% false positive rate; and DenStream producing 99% recall and a 2.8% false positive rate. When used in conjunction, these algorithms reached 100% recall and a 2.2% false positive rate, meaning that our system was able to identify 100% of the spammers in our test while incorrectly detecting only 2.2% of normal users as spammers.