Time of Your Hate: The Challenge of Time in Hate Speech Detection on Social Media
Source abstract
Abstract
The availability of large annotated corpora from social media and the development of powerful classification approaches have contributed in an unprecedented way to tackle the challenge of monitoring users’ opinions and sentiments in online social platforms across time. Such linguistic data are strongly affected by events and topic discourse, and this aspect is crucial when detecting phenomena such as hate speech, especially from a diachronic perspective. We address this challenge by focusing on a real case study: the “Contro l’odio” platform for monitoring hate speech against immigrants in the Italian Twittersphere. We explored the temporal robustness of a BERT model for Italian (AlBERTo), the current benchmark on non-diachronic detection settings. We tested different training strategies to evaluate how the classification performance is affected by adding more data temporally distant from the test set and hence potentially different in terms of topic and language use. Our analysis points out the limits that a supervised classification model encounters on data that are heavily influenced by events. Our results show how AlBERTo is highly sensitive to the temporal distance of the fine-tuning set. However, with an adequate time window, the performance increases, while requiring less annotated data than a traditional classifier.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Hate Speech and Cyberbullying Detection · Media Influence and Politics · Spam and Phishing Detection
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science, University of Turin, 10149 Turin, Italy
Department of Computer Science, University of Bari “Aldo Moro”, 70126 Bari, Italy
References (48)
Show source-provided references
1. Computational linguistics against hate: Hate speech detection and visualization on social media in the “Contro L’Odio” project
2. Menini, S., Moretti, G., Corazza, M., Cabrio, E., Tonelli, S., and Villata, S. (2019, January 1). A System to Monitor Cyberbullying based on Message Classification and Social Network Analysis. Proceedings of the Third Workshop on Abusive Language Online, Florence, Italy.10.18653/v1/W19-3511 ↗
3. Paschalides, D., Stephanidis, D., Andreou, A., Orphanou, K., Pallis, G., Dikaiakos, M.D., and Markatos, E. (2020). MANDOLA: A Big-Data Processing and Visualization Platform for Monitoring and Detecting Online Hate Speech. ACM Trans. Internet Technol., 20.10.1145/3371276 ↗
4. EU Commission (2016). Code of Conduct on Countering Illegal Hate Speech Online, European Commission.
5. Shen, Q., and Rose, C. (2019, January 1). The Discourse of Online Content Moderation: Investigating Polarized User Responses to Changes in Reddit’s Quarantine Policy. Proceedings of the Third Workshop on Abusive Language Online, Florence, Italy.10.18653/v1/W19-3507 ↗
6. Florio, K., Basile, V., Lai, M., and Patti, V. (2019, January 3–6). Leveraging Hate Speech Detection to Investigate Immigration-related Phenomena in Italy. Proceedings of the 8th International Conference on Affective Computing and Intelligent Interaction Workshops and Demos (ACIIW), Cambridge, UK.10.1109/ACIIW.2019.8925079 ↗
7. Olteanu, A., Castillo, C., Boy, J., and Varshney, K.R. (2018, January 25–28). The effect of extremist violence on hateful speech online. Proceedings of the Twelfth International Conference on Web and Social Media (ICWSM 2018), Stanford, CA, USA.10.1609/icwsm.v12i1.15040 ↗
8. A survey on automatic detection of hate speech in text
9. MacAvaney, S., Yao, H.R., Yang, E., Russell, K., Goharian, N., and Frieder, O. (2019). Hate speech detection: Challenges and solutions. PLoS ONE, 14.10.1371/journal.pone.0221152 ↗
10. Basile, V., Bosco, C., Fersini, E., Nozza, D., Patti, V., Pardo, F.M.R., Rosso, P., and Sanguinetti, M. (2019, January 6–7). Semeval-2019 task 5: Multilingual detection of hate speech against immigrants and women in Twitter. Proceedings of the 13th International Workshop on Semantic Evaluation, Minneapolis, MN, USA.10.18653/v1/S19-2007 ↗
11. Struß, J.M., Siegel, M., Ruppenhofer, J., Wiegand, M., and Klenner, M. (2019, January 8–11). Overview of GermEval Task 2, 2019 Shared Task on the Identification of Offensive Language. Proceedings of the 15th Conference on Natural Language Processing (KONVENS 2019), Erlangen, Germany.
12. Overview of the EVALITA 2018 Hate Speech Detection Task
13. Corazza, M., Menini, S., Cabrio, E., Tonelli, S., and Villata, S. (2020). A Multilingual Evaluation for Online Hate Speech Detection. ACM Trans. Internet Technol., 20.10.1145/3377323 ↗
14. Pamungkas, E.W., and Patti, V. (August, January 28). Cross-domain and Cross-lingual Abusive Language Detection: A Hybrid Approach with Deep Learning and a Multilingual Lexicon. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: Student Research Workshop, Florence, Italy.
15. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
16. Cortes, C., Lawrence, N.D., Lee, D.D., Sugiyama, M., and Garnett, R. (2015, January 7–12). Semi-supervised Sequence Learning. Proceedings of the Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, Montreal, QC, Canada.
17. Deep Contextualized Word Representations
18. Gurevych, I., and Miyao, Y. (2018, January 15–20). Universal Language Model Fine-tuning for Text Classification. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia. Volume 1: Long Papers.
19. Radford, A., Narasimhan, K., Salimans, T., and Sutskever, I. (2020, June 06). Improving Language Understanding by Generative Pre-Training. Available online: https://www.cs.ubc.ca/~amuham01/LING530/papers/radford2018improving.pdf.
20. Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., and Garnett, R. (2017). Attention is All you Need. Advances in Neural Information Processing Systems 30, Curran Associates, Inc.
21. Polignano, M., Basile, P., de Gemmis, M., Semeraro, G., and Basile, V. (2019, January 13–15). Alberto: Italian BERT language understanding model for NLP challenging tasks based on tweets. Proceedings of the Sixth Italian Conference on Computational Linguistics (CLiC-it 2019), Bari, Italy. CEUR Workshop Proceedings.
22. Long-term Social Media Data Collection at the University of Turin
23. Polignano, M., Basile, P., de Gemmis, M., and Semeraro, G. (2019, January 19–22). Hate Speech Detection through AlBERTo Italian Language Understanding Model. Proceedings of the 3rd Workshop on Natural Language for Artificial Intelligence co-located with AI*IA 2019, Rende, Italy. CEUR Workshop Proceedings.
24. Tahmasebi, N., Borin, L., and Jatowt, A. (2019). Survey of Computational Approaches to Lexical Semantic Change. arXiv.
25. The social dynamics of language change in online networks10.1007/978-3-319-47880-7_3 ↗
26. Clyne, M., Clyne, M.G., and Michael, C. (2003). Dynamics of Language Contact: English and Immigrant Languages, Cambridge University Press.10.1017/CBO9780511606526 ↗
27. Quantifying the evolutionary dynamics of language10.1038/nature06137 ↗
28. Donoso, G., and Sánchez, D. (2017, January 3). Dialectometric analysis of language variation in Twitter. Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), Valencia, Spain.10.18653/v1/W17-1202 ↗
29. Basile, P., Caputo, A., and Semeraro, G. (February, January 30). TRI: A tool for the diachronic analysis of large corpora and social media. Proceedings of the 7th AIUCD Annual Conference Cultural Heritage in the Digital Age. Memory, Humanities and Technologies, Bari, Italy.
30. Jaidka, K., Chhaya, N., and Ungar, L. (2018, January 15–20). Diachronic degradation of language models: Insights from social media. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), Melbourne, Australia.10.18653/v1/P18-2032 ↗
31. Hellrich, J. (2019). Word Embeddings: Reliability & Semantic Change, IOS Press.
32. Goodfellow, I., Bengio, Y., and Courville, A. (2016). Deep Learning, MIT Press.
33. Kao, A., and Poteet, S.R. (2007). Natural lAnguage Processing and Text Mining, Springer.10.1007/978-1-84628-754-1 ↗
34. A Survey on Natural Language Processing in context with Machine Learning
35. Ramos, J. (2003, January 3–8). Using tf-idf to determine word relevance in document queries. Proceedings of the First Instructional Conference on Machine Learning, Piscataway, NJ, USA.
36. Mikolov, T., Sutskever, I., Chen, K., Corrado, G., and Dean, J. (2013, January 5–10). Distributed Representations of Words and Phrases and Their Compositionality. Proceedings of the 26th International Conference on Neural Information Processing Systems—Volume 2, NIPS’13, Lake Tahoe, NV, USA.
37. Practical selection of SVM parameters and noise estimation for SVM regression10.1016/S0893-6080(03)00169-2 ↗
38. Gopi, A.P., Jyothi, R.N.S., Narayana, V.L., and Sandeep, K.S. (2020). Classification of tweets data based on polarity using improved RBF kernel of SVM. Int. J. Inf. Technol., 1–16.10.1007/s41870-019-00409-4 ↗
39. Novel approach to text classification by SVM-RBF kernel and linear SVC
40. Language models are unsupervised multitask learners
41. Zhu, Y., Kiros, R., Zemel, R., Salakhutdinov, R., Urtasun, R., Torralba, A., and Fidler, S. (2015, January 11–18). Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. Proceedings of the IEEE International Conference on Computer Vision, Las Condes, Chile.10.1109/ICCV.2015.11 ↗
42. Huang, Z., Xu, W., and Yu, K. (2015). Bidirectional LSTM-CRF models for sequence tagging. arXiv.
43. AlBERTo: Modeling Italian Social Media Language with BERT10.4000/ijcol.472 ↗
44. LIBSVM: A library for support vector machines10.1145/1961189.1961199 ↗
45. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., and Isard, M. (2016, January 2–4). Tensorflow: A system for large-scale machine learning. Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI’16), Savannah, GA, USA.
46. Hate speech annotation: Analysis of an Italian Twitter corpus
47. Sanguinetti, M., Poletto, F., Bosco, C., Patti, V., and Marco, S. (2018, January 7–12). An italian Twitter corpus of hate speech against immigrants. Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan.
48. Ahmad, K., Gillam, L., and Tostevin, L. (1999). University of Surrey Participation in TREC 8: Weirdness Indexing for Logical Document Extrapolation and Retrieval (WILDER), TREC.10.6028/NIST.SP.500-246.city-pliers ↗