Leveraging LLMs for Context-Aware Implicit Textual and Multimodal Hate Speech Detection
Preprint
Abstract
This research introduces a novel approach to textual and multimodal Hate Speech Detection (HSD), using Large Language Models (LLMs) as dynamic knowledge bases to generate background context and incorporate it into the input of HSD classifiers. Two context generation strategies are examined: one focused on named entities and the other on full-text prompting. Four methods of incorporating context into the classifier input are compared: text concatenation, embedding concatenation, a hierarchical transformer-based fusion, and LLM-driven text enhancement. Experiments are conducted on the textual Latent Hatred dataset of implicit hate speech and applied in a multimodal setting on the MAMI dataset of misogynous memes. Results suggest that both the contextual information and the method by which it is incorporated are key, with gains of up to 3 and 6 F1 points on textual and multimodal setups respectively, from a zero-context baseline to the highest-performing system, based on embedding concatenation.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Hate Speech Detection Using Large Language Models: A Comprehensive ReviewIEEE Access, 2025
- Contextualizing Internet Memes Across Social Media Platforms2024
- An Investigation of Large Language Models for Real-World Hate Speech Detection2023
- Assessing the Impact of Contextual Information in Hate Speech DetectionIEEE Access, 2023
- An Ensemble Approach for Dutch Cross-Domain Hate Speech Detection2022
- REL: An Entity Linker Standing on the Shoulders of Giants2020
- How Dogwhistles Work2018
- Large Scale Crowdsourcing and Characterization of Twitter Abusive BehaviorProceedings of the International AAAI Conference on Web and Social Media, 2018
- ConceptNet 5.5: An Open Multilingual Graph of General KnowledgeProceedings of the AAAI Conference on Artificial Intelligence, 2017
- Drug-facilitated sexual assaultCanadian Medical Association Journal, 2009