TRACE: Textual Relevance Augmentation and Contextual Encoding for Multimodal Hate Detection

Girish A. Koushik, Helen Treharne, Aditya Joshi, Diptesh Kanojia
4/24/2025
cs.CVcs.CL

No official code found. Best implementation: surrey-nlp/TRACE (1 star, MIT, last commit 2025-11-11).

Abstract

Social media memes are a challenging domain for hate detection because they intertwine visual and textual cues into culturally nuanced messages. To tackle these challenges, we introduce TRACE, a hierarchical multimodal framework that leverages visually grounded context augmentation, along with a novel caption-scoring network to emphasize hate-relevant content, and parameter-efficient fine-tuning of CLIP's text encoder. Our experiments demonstrate that selectively fine-tuning deeper text encoder layers significantly enhances performance compared to simpler projection-layer fine-tuning methods. Specifically, our framework achieves state-of-the-art accuracy (0.807) and F1-score (0.806) on the widely-used Hateful Memes dataset, matching the performance of considerably larger models while maintaining efficiency. Moreover, it achieves superior generalization on the MultiOFF offensive meme dataset (F1-score 0.673), highlighting robustness across meme categories. Additional analyses confirm that robust visual grounding and nuanced text representations significantly reduce errors caused by benign confounders. We publicly release our code to facilitate future research.

View on arXivView PDF

Code Implementations(1)

surrey-nlp/TRACECommunity60%
MIT

The official implementation for "TRACE: Textual Relevance Augmentation and Contextual Encoding for Multimodal Hate Detection" accepted to the Special Track on AI for Social Impact (AISI) at AAAI 2026.

11PythonJul 11, 202511 months agoMIT

Similar Papers

Cite this paper

@article{koushik2025trace,
  title  = {TRACE: Textual Relevance Augmentation and Contextual Encoding for Multimodal Hate Detection},
  author = {Girish A. Koushik and Helen Treharne and Aditya Joshi and Diptesh Kanojia},
  year   = {2025},
  eprint = {2504.17902},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.17902v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.17902.svg)](https://codeofpaper.com/paper/2504.17902)

Discussion