A Survey on Hate Speech Detection using Natural Language Processing
Paper · 2017 · Anna Schmidt and Michael Wiegand
Summary
This survey maps early work on automatically detecting hate speech in user-generated web text. It argues that simple word filters are inadequate, because whether a message is hateful depends on context: the domain, the surrounding discourse, attached media, the time of posting, and who is speaking to whom. The authors first sort out the many overlapping labels used in the literature, such as abusive messages, flames, cyberbullying, offensive language and othering. They then organise prior systems mainly by the features they extract:
- surface n-grams
- word generalisation through clusters, topics and embeddings
- sentiment
- lexicons
- syntactic and linguistic patterns
- knowledge, meta-information and multimodal cues
Most systems are supervised classifiers. Generic features already perform reasonably, and character-level features beat token-level ones. Lexicons help mainly when combined with other features. The authors also highlight open problems: unreliable annotation, no agreed definition, few public datasets, an almost exclusive focus on English, and implicit insults that only world knowledge can decode. They call for a shared benchmark, which matters for anyone trying to compare methods fairly.
Key points
- The working definition comes from Nockleby (2000): communication that disparages a person or group because of race, ethnicity, gender, religion, sexual orientation, nationality and similar traits.
- Mehdad and Tetreault (2016) found character n-grams more predictive than token n-grams, partly because they cope with obfuscated spellings like "ki11 yrslef".
- Averaging word embeddings worked poorly in Nobata et al. (2016), while the paragraph embeddings proposed by Djuric et al. (2015) did much better.
- Lexical resources include:
- web lists such as hatebase.org and noswearing.com;
- Razavi et al.'s weighted Insulting and Abusing Language Dictionary;
- the hate verbs compiled by Gitari et al. (2015);
- SentiStrength, which supplies polarity intensity.
- Annotation is a weak spot. Nobata et al. found that crowdsourced (AMT) and expert labels agree very differently. Ross et al. (2016) failed to reach reliable agreement even after giving annotators a definition. Apart from English, notable work existed only for Dutch and German.
Interesting ideas
- I1. Zhong et al. score offensiveness by counting how often an offensive word and a user identifier sit inside the same dependency relation, so the signal is about a target rather than a mere keyword.
- I2. Several systems use a cascade: a subjectivity filter first, then a negative-polarity classifier, and only then a hate classifier, so each stage narrows the input for the next.
- I3. Character-level features stay close to the canonical form of deliberately misspelled tokens, whereas token features turn them into unseen words.
- I4. Razavi et al. attach a learned weight to every lexicon entry, expressing how strongly that word or phrase signals abuse, instead of treating the list as binary.
- I5. Comparing crowdsourced labels against expert labels exposed large agreement gaps, showing that the annotation source itself must be validated.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (frames): the frame builder could flag an insult act only when the UD tree links an evaluative predicate to a person argument, which yields an explainable "who insults whom" frame.
- I2 (frames): speech-act and irony detection in prag could run as staged, inspectable gates, so each rejection has a stated reason.
- I3 (tokens): the tokenizer could add a character-similarity fallback that maps leetspeak or noisy forms to a known lemma, recording the repair for explainability.
- I4 (world): compiled lexical knowledge, such as evaluative or offensive word classes, could carry graded strength values that later reasoning can cite.
- I5 (learn): each LLM teacher tier and witness parser could be measured against a small expert gold set before its silver labels are trusted.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksSocial Sciences · 2,009 worksSociology and Political Science · 630 works
Topics 2Research subjects and languages the work is about.Sentiment & emotion · 1,037 worksBias, fairness & safety · 590 works
Concepts 1Key ideas and methods explained on our concept pages.Text classification · 50 works
Cite
Cite as Anna Schmidt and Michael Wiegand. 2017. A Survey on Hate Speech Detection using Natural Language Processing. Proceedings of the Fifth International Workshop on Natural Language Processing for Social Media.
@inproceedings{schmidt2017survey,
title = {{A Survey on Hate Speech Detection using Natural Language Processing}},
author = {Anna Schmidt and Michael Wiegand},
booktitle = {Proceedings of the Fifth International Workshop on Natural Language Processing for Social Media},
year = {2017},
doi = {10.18653/v1/w17-1101},
url = {https://doi.org/10.18653/v1/w17-1101}
}References
- David M. Blei, Andrew Ng, and Michael I. Jordan. 2003. Latent Dirichlet Allocation. Journal of Machine Learning Research, 3:993–1022.
- Peter F. Brown, Peter V. deSouza, Robert L. Mercer, Vincent J. Della Pietra, and Jenifer C. Lai. 1992. Class-based n-gram models of natural language. Computational Linguistics, 18(4):467–479. OpenAlex ↗ · Scholar ↗
- Nemanja Djuric, Jing Zhou, Robin Morris, Mihajlo Gr-bovic, Vladan Radosavljevic, and Narayan Bhamidi-pati. 2015. Hate speech detection with comment embeddings. In Proceedings of the 24th International Conference on World Wide Web, pages 29–30, New York, NY, USA. ACM. OpenAlex ↗ · Scholar ↗
- P. Burnap and M. Williams. 2014. Hate speech, machine classification and statistical modelling of information flows on twitter: Interpretation and communication for policy decision making. In Internet, Policy and Politics Conference, Oxford, United Kingdom. OpenAlex ↗ · Scholar ↗
- Njagi Dennis Gitari, Zhang Zuping, Hanyurwimfura Damien, and Jun Long. 2015. A lexicon-based approach for hate speech detection. International Journal of Multimedia and Ubiquitous Engineering, 10(4):215–230. OpenAlex ↗ · Scholar ↗
- Pete Burnap and Matthew L. Williams. 2015. Cyber hate speech on twitter: An application of machine classification and statistical modeling for policy and decision making. Policy & Internet, 7(2):223–242. OpenAlex ↗ · Scholar ↗
- Homa Hosseinmardi, Sabrina Arredondo Mattson, Rahat Ibn Rafiq, Richard Han, Qin Lv, and Shivakant Mishra. 2015. Detection of cyberbullying incidents on the instagram social network. CoRR, abs/1503.03909. — arXiv:1503.03909 OpenAlex ↗ · Scholar ↗
- Pete Burnap and Matthew L. Williams. 2016. Us and them: identifying cyber hate on twitter across multiple protected characteristics. EPJ Data Science, 5(1):1–15. OpenAlex ↗ · Scholar ↗
- Irene Kwok and Yuzhou Wang. 2013. Locate the hate: Detecting tweets against blacks. In Marie desJardins and Michael L. Littman, editors, AAAI, pages 1621– 1622, Bellevue, Washington, USA. AAAI Press. OpenAlex ↗ · Scholar ↗
- Pete Burnap, Omer F. Rana, Nick Avis, Matthew Williams, William Housley, Adam Edwards, Jeffrey Morgan, and Luke Sloan. 2013. Detecting tension in online communities with computational twitter analysis. Technological Forecasting and Social Change, pages 96–108, May. OpenAlex ↗ · Scholar ↗
- Quoc Le and Tomas Mikolov. 2014. Distributed Representations of Sentences and Documents. In Proceedings of the International Conference on Machine Learning (JMLR), pages 1188–1196, Beijing, China.
- Pete Burnap, Matthew L. Williams, Luke Sloan, Omer Rana, William Housley, Adam Edwards, Vincent Knight, Rob Procter, and Alex Voss. 2014. Tweeting the terror: modelling the social media reaction to the woolwich terrorist attack. Social Network Analysis and Mining, 4(1):1–14. OpenAlex ↗ · Scholar ↗
- Hugo Liu and Push Singh. 2004. ConceptNet: A Practical Commonsense Reasoning Toolkit. BT Technology Journal, 22:211–226. OpenAlex ↗ · Scholar ↗
- Yashar Mehdad and Joel Tetreault. 2016. Do characters abuse more than words? In 17th Annual Meeting of the Special Interest Group on Discourse and Dialogue, pages 299–303, Los Angeles, CA, USA. OpenAlex ↗ · Scholar ↗
- Michael Chau and Jennifer Xu. 2007. Mining communities and their relationships in blogs: A study of online hate groups. International Journal of Human-Computer Studies, 65(1):57–70. OpenAlex ↗ · Scholar ↗
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013. Efficient Estimation of Word Representations in Vector Space. In Proceedings of Workshop at the International Conference on Learning Representations (ICLR), Scottsdale, AZ, USA.
- Mike Thelwall, Kevan Buckley, Georgios Paltoglou, and Di Cai. 2010. Sentiment Strength Detection in Short Informal Text. Journal of the American Society for Information Science and Technology, 61(12):2544–2558. OpenAlex ↗ · Scholar ↗
- Chikashi Nobata, Joel Tetreault, Achint Thomas, Yashar Mehdad, and Yi Chang. 2016. Abusive language detection in online user content. In Proceedings of the 25th International Conference on World Wide Web, pages 145–153, Geneva, Switzerland. OpenAlex ↗ · Scholar ↗
- Cynthia Van Hee, Els Lefever, Ben Verhoeven, Julie Mennes, Bart Desmet, Guy De Pauw, Walter Daelemans, and Véronique Hoste. 2015. Detection and fine-grained classification of cyberbullying events. In Proceedings of Recent Advances in Natural Language Processing, Proceedings, pages 672–680, Hissar,… OpenAlex ↗ · Scholar ↗
- John T. Nockleby. 2000. Hate Speech. In Leonard W. Levy, Kenneth L. Karst, and Dennis J. Mahoney, editors, Encyclopedia of the American Constitution, pages 1277–1279. Macmillan, 2nd edition. OpenAlex ↗ · Scholar ↗
- Xiaofeng Wang, Matthew S Gerber, and Donald E Brown. 2012. Automatic crime prediction using events extracted from twitter posts. In International Conference on Social Computing, Behavioral-Cultural Modeling, and Prediction, pages 231–238. OpenAlex ↗ · Scholar ↗
- Amir H. Razavi, Diana Inkpen, Sasha Uritsky, and Stan Matwin. 2010. Offensive language detection using multi-level classification. In Proceedings of the 23rd Canadian Conference on Advances in Artificial Intelligence, AI’10, pages 16–27, Berlin, Heidelberg. OpenAlex ↗ · Scholar ↗
- William Warner and Julia Hirschberg. 2012. Detecting hate speech on the world wide web. In Proceedings of the Second Workshop on Language in Social Media, LSM ’12, pages 19–26, Stroudsburg, PA, USA. Association for Computational Linguistics.
- Ellen Riloff, Ashequl Qadir, Prafulla Surve, Lalindra De Silva, Nathan Gilbert, and Ruihong Huang. 2013. Sarcasm as Contrast between a Positive Sentiment and Negative Situation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 704–714, Seattle, WA,…
- Zeerak Waseem and Dirk Hovy. 2016. Hateful symbols or hateful people? predictive features for hate speech detection on twitter. In Proceedings of the NAACL Student Research Workshop, pages 88–93, San Diego, California, USA, June. Association for Computational Linguistics.
- Björn Ross, Michael Rist, Guillermo Carbonell, Benjamin Cabrera, Nils Kurowsky, and Michael Wojatzki. 2016. Measuring the Reliability of Hate Speech Annotations: The Case of the European Refugee Crisis. In Proceedings of the Workshop on Natural Language Processing for Computer-Mediated Communicatio… OpenAlex ↗ · Scholar ↗
- Matthew Leighton Williams and Pete Burnap. 2015. Cyberhate on social media in the aftermath of woolwich: A case study in computational criminology and big data. British Journal of Criminology, pages 211–238. OpenAlex ↗ · Scholar ↗
- Guang Xiang, Bin Fan, Ling Wang, Jason Hong, and Carolyn Rose. 2012. Detecting offensive tweets via topical feature discovery over a large scale twitter corpus. In Proceedings of the 21st ACM international conference on Information and knowledge management, pages 1980–1984, Maui, HI, USA. ACM. OpenAlex ↗ · Scholar ↗
- Leandro Araújo Silva, Mainack Mondal, Denzil Correa, Fabrı́cio Benevenuto, and Ingmar Weber. 2016. Analyzing the targets of hate in online social media. In Proceedings of the Tenth International Conference on Web and Social Media, pages 687–690, Cologne, Germany. OpenAlex ↗ · Scholar ↗
- Jun-Ming Xu, Kwang-Sung Jun, Xiaojin Zhu, and Amy Bellmore. 2012. Learning from bullying traces in social media. In Proceedings of the 2012 conference of the North American chapter of the association for computational linguistics: Human language technologies, pages 656–666, Montréal, Canada. Associ…
- Sara Sood, Judd Antin, and Elizabeth Churchill. 2012a. Profanity use in online communities. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pages 1481–1490, Austin, TX, USA. ACM. OpenAlex ↗ · Scholar ↗
- Haoti Zhong, Hao Li, Anna Cinzia Squicciarini, Sarah Michele Rajtmajer, Christopher Griffin, David J. Miller, and Cornelia Caragea. 2016. Content-driven detection of cyberbullying on the instagram social network. In IJCAI, pages 3952– 3958, New York City, NY, USA. IJCAI/AAAI Press. OpenAlex ↗ · Scholar ↗
- Sara Owsley Sood, Elizabeth F. Churchill, and Judd Antin. 2012b. Automatic identification of personal insults on social news sites. J. Am. Soc. Inf. Sci. Technol., 63(2):270–285, February. OpenAlex ↗ · Scholar ↗
- Ellen Spertus. 1997. Smokey: Automatic recognition of hostile messages. In Proceedings of the Fourteenth National Conference on Artificial Intelligence and Ninth Conference on Innovative Applications of Artificial Intelligence, AAAI’97/IAAI’97, pages 1058–1065, Providence, RI, USA. AAAI Press. OpenAlex ↗ · Scholar ↗
- Yilu Zhou, Edna Reid, Jialun Qin, Hsinchun Chen, and Guanpi Lai. 2005. US Domestic Extremist Groups on the Web: Link and Content Analysis. IEEE intelligent systems, 20(5):44–51. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/schmidt-2017-survey-hate-speech-detection-natural/