An Empirical Approach for Extreme Behavior Identification through Tweets Using Machine Learning
Source abstract
Abstract
The rise of social media has led to an increasing online cyber-war via hate and violent comments or speeches, and even slick videos that lead to the promotion of extremism and radicalization. An analysis to sense cyber-extreme content from microblogging sites, specifically Twitter, is a challenging, and an evolving research area since it poses several challenges owing short, noisy, context-dependent, and dynamic nature content. The related tweets were crawled using query words and then carefully labelled into two classes: Extreme (having two sub-classes: pro-Afghanistan government and pro-Taliban) and Neutral. An Exploratory Data Analysis (EDA) using Principal Component Analysis (PCA), was performed for tweets data (having Term Frequency—Inverse Document Frequency (TF-IDF) features) to reduce a high-dimensional data space into a low-dimensional (usually 2-D or 3-D) space. PCA-based visualization has shown better cluster separation between two classes (extreme and neutral), whereas cluster separation, within sub-classes of extreme class, was not clear. The paper also discusses the pros and cons of applying PCA as an EDA in the context of textual data that is usually represented by a high-dimensional feature set. Furthermore, the classification algorithms like naïve Bayes’, K Nearest Neighbors (KNN), random forest, Support Vector Machine (SVM) and ensemble classification methods (with bagging and boosting), etc., were applied with PCA-based reduced features and with a complete set of features (TF-IDF features extracted from n-gram terms in the tweets). The analysis has shown that an SVM demonstrated an average accuracy of 84% compared with other classification models. It is pertinent to mention that this is the novel reported research work in the context of Afghanistan war zone for Twitter content analysis using machine learning methods.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Hate Speech and Cyberbullying Detection · Spam and Phishing Detection · Terrorism, Counterterrorism, and Political Violence
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan
Department of Media Studies, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan
Department of Information and Communication Engineering, Yeungnam University, Gyeongsan 38541, Korea
References (53)
Show source-provided references
1. Statistica (2019, May 10). Number of Monthly Active Facebook Users Worldwide. The Statistics Portal. Available online: http://www.statista.com/statistics/264810/number-of-monthly-active-facebook-users-worldwide/.
2. Dogtiev, A. (2019, April 03). YouTube Statistics. Available online: http://www.businessofapps.com/data/youtube-statist.
3. Clement, J. (2019, April 03). Twitter Monthly Active User Worldwide 2010 to 2019. The Statistics Portal. Available online: https://www.statista.com/statistics/282087/number-of-monthly-active-twitter-users/.
4. Kats, R. (2019, April 04). Twitter Gains More Followers. Available online: https://www.emarketer.com/Article/Twitter-Gains-More-Followers/1015764.
5. Clement, J. (2019, April 03). Number of Social Network Users WorldWide from 2010 to 2021 (in billions). Available online: https://www.statista.com/statistics/278414/number-of-worldwide-social-network-users/.
6. Searching for Signs of Extremism on the Web: An Introduction to Sentiment-Based Identification of Radical Authors10.1080/19434472.2016.1276612 ↗
7. Exploring Stormfront: A Virtual Community of the Radical Right10.1080/10576100903259951 ↗
8. Sageman, M. (2011). Leaderless Jihad: Terror Networks in the Twenty-first Century, University of Pennsylvania Press.10.2307/j.ctt3fhbht ↗
9. Seib, P., and Janbek, D.M. (2010). Global Terrorism and New Media: The Post-Al Qaeda Generation, Routledge. [1st ed.].10.4324/9780203845370 ↗
10. Terrorism Detection Based on Sentiment Analysis Using Machine Learning
11. Yadron, D. (2019, May 15). Twitter Deletes 125,000 ISIS Accounts and expands anti-Terror Teams. Available online: https://www.theguardian.com/technology/2016/feb/05/twitter-deletes-isis-accounts-terrorism-online.
12. Chalothorn, T., and Ellman, J. (2019, May 10). Using SentiWordNet and Sentiment Analysis for Detecting Radical Content on Web Forums. Available online: http://nrl.northumbria.ac.uk/13075/1/1_____Chalothorn_Ellman_SKIMA_2012.pdf.
13. Text Analysis for Detecting Terrorism-Related Articles on the Web10.1016/j.jnca.2013.05.007 ↗
14. Mei, J., and Frank, R. (2015, January 25–28). Sentiment Crawling: Extremist Content Collection through a Sentiment Analysis Guided Web-Crawler. Proceedings of the 2015 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM 15), Paris, France.10.1145/2808797.2809373 ↗
15. Scrivens, R., Davies, G., Frank, R., and Mei, J. (2015, January 14–17). Sentiment-Based Identification of Radical Authors (SIRA). Proceedings of the 15th IEEE International Conference on Data Mining Workshops (ICDM Workshops 2015), Atlantic City, NJ, USA.10.1109/ICDMW.2015.64 ↗
16. Applying Authorship Analysis to Extremist-Group Web Forum Messages10.1109/MIS.2005.81 ↗
17. Etudo, U.O. (2017). Automatically Detecting the Resonance of Terrorist Movement Frames on the Web. [Ph.D. Dissertation, Virginia Commonwealth University].
18. Badjatiya, P., Gupta, S., Gupta, M., and Varma, V. (2017, January 03–07). Deep Learning for Hate Speech Detection in Tweets. Proceedings of the 26th International Conference on World Wide Web Companion, Perth, Australia.10.1145/3041021.3054223 ↗
19. Benigni, M.C. (2019, May 10). Thesis Proposal: Online Extremist Community Detection, Analysis, and Intervention Ph.D. Dissertation Proposal. Available online: https://www.semanticscholar.org/paper/Proposal-%3A-Online-Extremist-Community-Detection-%2C-%2C-Benigni/6461e93348367ee8c5443ece80a46720fe364a7a.
20. Contagion Dynamics of Extremist Propaganda in Social Networks10.1016/j.ins.2017.07.030 ↗
21. Xie, U., Xu, J., and Lu, T.C. (2016, January 5–8). Automated Classification of Extremist Twitter Accounts using Content-Based and Network-Based Features. Proceedings of the 2016 IEEE International Conference on Big Data, Washington, DC, USA.10.1109/BigData.2016.7840895 ↗
22. Bermingham, A., Conway, M., Mcinerney, L., Hare, N.O., and Smeaton, A.F. (2009, January 20–22). Combining Social Network Analysis and Sentiment Analysis to Explore the Potential for Online Radicalisation. Proceedings of the 2009 International Conference on Advances in Social Network Analysis and Mining (ASONAM 2009), Athens, Greece.10.1109/ASONAM.2009.31 ↗
23. The ISIS Twitter Census: Defining and Describing the Population of ISIS Supporters on Twitter
24. Wadhwa, P., and Bhatia, M.P.S. (2014). Classification of Radical Messages on Twitter using Security Associations. Case Studies in Secure Computing Achievements and Trends, Auerbach Publications.
25. Santos, C.D., and Gatti, M. (2014, January 23–29). Deep convolutional neural networks for sentiment analysis of short texts. Proceedings of the 25th International Conference on Computational Linguistics: Technical Papers, Dublin, Ireland.
26. Bishop, C.M. (2006). Pattern Recognition and Machine Learning, Springer.
27. Vidino, L., and Hughes, S. (2015). ISIS in America: From Retweets to Raqqa, Program on Extremism, The George Washington University.
28. Weimann, G. (2019, June 30). Terrorist Groups Recruiting Through Social Media. Available online: http://www.cbc.ca/news/technology/terrorist-groups-recruiting-through-social-media-1.1131053.
29. Samuelson, K. (2019, June 10). British Prime Minister Blaming Social Media on a Terrorist Attack. Times (a news website). Available online: https://time.com/4804640/london-attack-theresa-may-speech-transcript-full/.
30. Ting, I.H., Chi, H.M., Wu, J.S., and Wang, S.L. (2013). An Approach for Hate Groups Detection in Facebook. The 3rd International Workshop on Intelligent Data Analysis and Management, Springer.10.1007/978-94-007-7293-9_11 ↗
31. Kwok, I., and Wang, Y. (2013). Locate the Hate: Detecting Tweets against Blacks. Twenty-Seventh AAAI Conference on Artificial Intelligence, AAAI Press.10.1609/aaai.v27i1.8539 ↗
32. Automatic Detection of Cyber-Recruitment by Violent Extremists10.1186/s13388-014-0005-5 ↗
33. Ashcroft, M., Fisher, A., Kaati, L., Omer, E., and Prucha, N. (2015, January 7–9). Detecting Jihadist Messages on Twitter. Proceedings of the IEEE 2015 European Intelligence and Security Informatics Conference (EISIC 2015), Manchester, UK.10.1109/EISIC.2015.27 ↗
34. Agarwal, S., and Sureka, A. (2015). Using KNN and SVM Based One-Class Classifier for Detecting Online Radicalization on Twitter. International Conference on Distributed Computing and Internet Technology, Springer.10.1007/978-3-319-14977-6_47 ↗
35. Devyatkin, D., Smirnov, I., Ananyeva, M., Kobozeva, M., Chepovskiy, A., and Solovyev, F. (2017, January 22–24). Exploring Linguistic Features for Extremist Texts Detection (on the Material of Russian-speaking Illegal Texts). Proceedings of the 2017 IEEE International Conference on Intelligence and Security Informatics (ISI), Beijing, China.10.1109/ISI.2017.8004907 ↗
36. Kaur, A., Saini, J.K., and Bansal, D. (2019). Detecting Radical Text over Online Media using Deep Learning. arXiv.
37. Borcard, D., Gillet, F., and Legendre, P. (2018). Exploratory Data Analysis. Numerical Ecology with R, Springer.10.1007/978-3-319-71404-2 ↗
38. Multivariate Exploratory Data Analysis (MEDA) ToolBox for Matlab10.1016/j.chemolab.2015.02.016 ↗
39. Sommer, S., Schieber, A., Hilbert, A., and Heinrich, K. (2011, January 4–8). Analyzing Customer sentiments in Microblogs–A Topic-Model-based Approach for Twitter Datasets. Proceedings of the Americas conference on information systems (AMCIS), Detroit, MI, USA.10.4018/jiit.2012010102 ↗
40. Saif, H., Fernandez, M., He, Y., and Alani, H. (2013, January 3). Evluation Datasets for Twitter Sentiment Analysis: A Survey and A New Dataset, the STS Gold. Proceedings of the 1st International Workshop on Emotion and Sentiment in Social and Expressive Media, Turin, Italy.
41. Lundberg, J., Nordqvist, J., and Matosevic, A. (2018). On-the-fly Detection of Autogenerated Tweets. arXiv.
42. Ran, C., Shen, W., and Wang, J. (2018, January 23–27). An Attention Factor Graph Model for Tweet Entity Linking. Proceedings of the 2018 World Wide Web Conference, Lyon, France.10.1145/3178876.3186012 ↗
43. Support Vector Machines10.1177/1536867X1601600407 ↗
44. Al-Aidaroos, K.M., Bakar, A.A., and Othman, Z. (2010, January 17–18). Naive Bayes Variants in Classification Learning. Proceedings of the IEEE International Conference on Information Retrieval & Knowledge Management, Shah Alam, Malaysia.10.1109/INFRKM.2010.5466902 ↗
45. What are Decision Trees?10.1038/nbt0908-1011 ↗
46. Random Forests10.1023/A:1010933404324 ↗
47. Kramer, O. (2013). K-Nearest Neighbors. Dimensionality Reduction with Unsupervised Nearest Neighbors, Springer.10.1007/978-3-642-38652-7 ↗
48. Rokach, L. (2010). Pattern Classification using Ensemble Methods, World Scientific Publishing Co,. Inc.10.1142/9789814271073 ↗
49. Mumtaz, S. (2015). Visualisation of Bioinformatics Datasets. [Ph.D. Dissertation, Aston University].
50. Principal Component Analysis: A Review and Recent Developments10.1098/rsta.2015.0202 ↗
51. Principal Component Analysis of High Frequency Data10.1080/01621459.2017.1401542 ↗
52. A Survey of Cross-Validation Procedures for Model Selection10.1214/09-SS054 ↗
53. Wong, T.T., and Yeh, P.Y. (2019). Reliable Accuracy Estimates from k-fold Cross Validation. IEEE Trans. Knowl. Data Eng.10.1109/TKDE.2019.2912815 ↗