Abstract
During the Covid-19 pandemic Asian-Americans have been targets of prejudice and negative stereotyping. There has also been volumes of counter speech condemning this jaundiced attitude. Ironically, however, the dialogue on both sides is filled with offensive and abusive language. While abusive language directed at Asians encourages violence and hate crimes against this ethnic group, the use of derogatory language to insult alternative points of view showcases utter lack of respect and exploits people’s fears to stir up social tensions. It is thus important to identify and demote both types of offensive content from anti-Asian social media conversations. The goal of this paper is to present a machine learning framework that can achieve the dual objective of detecting targeted anti-Asian bigotry as well as generalized offensive content. Tweets were collected using the hashtag #chinavirus. Each tweet was annotated in two ways; either it condemned or condoned anti-Asian bias, and whether it was offensive or non-offensive. A rich set of features both from the text and accompanying numerical data were extracted. These features were used to train conventional machine learning and deep learning models. Our results show that the Random Forest classifier can detect both generalized and targeted offensive content with around 0.88 accuracy and F1-score. Our results are promising from two perspectives. First, our approach outperforms contemporary efforts on detecting online abuse against Asian-Americans. Second, our unified approach detects both offensive speech targeted specifically at Asian-Americans and also identifies its generalized form which has the potential to mobilize a large number of people in socially challenging situations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Abderroauf, C., Oussalah, M.: On online hate speech detection: effects of negated data construction. In Proceedings of the International Conference on Big Data, pp. 5595–5602 (2019)
Ahmed, A.: A tsunami of hate: the Covid-19 hate speech pandemic. https://www.humanrightspulse.com/mastercontentblog/a-tsunami-of-hate-the-covid-19-hate-speech-pandemic (2020)
Alshalan, R., Al-Khalifa, H., Alsaeed, D., Al-Baity, H., Alshalan, S.: Detection of hate speech in COVID-19 related tweets in the Arab region: deep learning and topic modeling approach. J. Med. Internet Res. 22(12), e22609 (2020)
An, J., Kwak, H., Lee, C.S., Jun, B., Ahn, Y.: Predicting anti-Asian hateful users on Twitter during COVID-19. In: EMNLP, Findings of the Association for Computational Linguistics (2021)
Brady, J.S.: Remarks by President Trump in press briefing 19 (2020)
Twitter Help Center. Covid-19 misleading information policy. https://help.twitter.com/en/rules-and-policies/medical-misinformation-policy (2021). Accessed 31 Jan 2022
Cotik, V.: A study of hate speech in social media during the COVID-19 outbreak. In: ACL 2020 Workshop NLP-COVID (2020)
Davidson, T., Warmsley, D., Macy, M., Weber, I.: Automated hate speech detection and the problem of offensive language. In: Proceedings of the International AAAI conference on Web and Social Media (2017)
Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. arXiv preprint. arXiv:1810.04805 (2018)
Fahim, M., Gokhale, S.: Detecting offensive content on Twitter during proud boys protests. In: International Conference on Machine Learning and Applications, pp. 1582–1587 (2021)
Fan, L., Yu, H., Yin, Z.: Stigmatization in social media: documenting and analyzing hate speech for COVID-19 on Twitter. In: Proceedings of the Association for Information Science and Technology (2020)
Data for Everyone Figure Eight. Classification of political social media. https://www.figure-eight.com/data-for-everyone/ (2015). Accessed 21 Jan 2020
Gao, L., Huang, R.: Detecting online hate speech using context aware models. In: Proceedings of the International Conference on Recent Advances in Natural Language Processing, Varna, Bulgaria, pp. 260–266 (2017)
Gaydhani, A., Doma, V., Kendre, S., Bhagwat, L.: Detecting hate speech and offensive language on Twitter using machine learning: an N-gram and TF-IDF approach. In: Proceedings of the IEEE International Advanced Computing Conference (2018)
Hajibagheri, A., Sukhthankar, G.: Political polarization over global warming: analyzing Twitter data on climate change (poster). In: ASE International Conference on Social Computing, Palo Alto, CA (2014)
He, B., Ziems, C., Soni, S., Ramakrishnan, N., Yang, D., Kumar, S.: Racism is a virus: Anti-Asian hate and counterspeech in social media during the COVID-19 crisis. In: Proceedings of the 2021 IEEE/ACM International Conference on Advances in Social Network Analysis and Mining, pp. 90–94 (2021)
Kearney, M.W.: Collecting and analyzing Twitter data. https://cran.r-project.org/web/packages/rtweet/rtweet.pdf (2020)
Nghiem, H., Morstatter, F.: Stop Asian Hate!: refining detection of Anti-Asian hate speech during the COVID-19 pandemic. arXiv (2021)
Nugroho, K., Noersasongko, E., Fanani, A.Z., Basuki, R.S.: Improving Random Forest method to detect hatespeech and offensive word. In: Proceedings of International Conference on Information and Communications Technology, pp. 514–518 (2018)
Salminen, J., Hopf, M., Chowdhury, S.A., Jung, S., Almerekhi, H., Jansen, B.J.: Developing an online hate classifier for multiple social media platforms. Human-centric Comput. Inf. Sci. 10(1), 1–34 (2020). https://doi.org/10.1186/s13673-019-0205-6
Senarath, Y., Purohit, H.: Evaluating semantic feature representations to efficiently detect hate intent on social media. In: Proceedings of the 14th International Conference on Semantic Computing, pp. 199–202 (2020)
Toliyat, A., Levitan, S.I., Peng, Z., Etemadpour, R.: Asian hate speech detection on Twitter during COVID-19. Front. Artif. Intell. (2022)
Vidgen, B., Margetts, H., Broniatowski, D.A., Hale, S.A.: Detecting East Asian prejudice on social media
Waseem, Z., Hovy, D.: Hateful symbols or hateful people? Predictive features for hate speech detection on Twitter. In: Proceedings of the NAACL-HLT, pp. 88–93 (2016)
Watanabe, H., Bouazizi, M., Ohtsuki, T.: Hate speech on Twitter: a pragmatic approach to collect hateful and offensive expressions and perform hate speech detection. IEEE Access 6, 13825–13835 (2018)
Wong, Q.: Twitter, Facebook and others are failing to stop anti-Asian hate. https://www.cnet.com/news/politics/twitter-facebook-and-others-are-failing-to-stop-anti-asian-hate/ (2021)
Wulczyn, E., Thain, N., Dixon, L.: Ex Machina: personal attacks seen at scale. In: Proceedings of the International World Wide Web Conference Committee (2017)
Yam, K.: Anti-Asian hate crimes increased 339 percent nationwide last year, report says. https://www.nbcnews.com/news/asian-america/anti-asian-hate-crimes-increased-339-percent-nationwide-last-year-repo-rcna14282 (2022)
Zafarani, R., Abbasi, M.A., Liu, H.: Social Media Mining: An Introduction. Cambridge University Press, New York (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Shah, P., Gokhale, S.S. (2023). Identifying Targeted and Generalized Offensive Speech from Anti-asian Social Media Conversations. In: Dinh, T.N., Li, M. (eds) Computational Data and Social Networks . CSoNet 2022. Lecture Notes in Computer Science, vol 13831. Springer, Cham. https://doi.org/10.1007/978-3-031-26303-3_16
Download citation
DOI: https://doi.org/10.1007/978-3-031-26303-3_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-26302-6
Online ISBN: 978-3-031-26303-3
eBook Packages: Computer ScienceComputer Science (R0)