English

Modularized Networks for Few-shot Hateful Meme Detection

Computation and Language 2024-02-20 v1 Computer Vision and Pattern Recognition

Abstract

In this paper, we address the challenge of detecting hateful memes in the low-resource setting where only a few labeled examples are available. Our approach leverages the compositionality of Low-rank adaptation (LoRA), a widely used parameter-efficient tuning technique. We commence by fine-tuning large language models (LLMs) with LoRA on selected tasks pertinent to hateful meme detection, thereby generating a suite of LoRA modules. These modules are capable of essential reasoning skills for hateful meme detection. We then use the few available annotated samples to train a module composer, which assigns weights to the LoRA modules based on their relevance. The model's learnable parameters are directly proportional to the number of LoRA modules. This modularized network, underpinned by LLMs and augmented with LoRA modules, exhibits enhanced generalization in the context of hateful meme detection. Our evaluation spans three datasets designed for hateful meme detection in a few-shot learning context. The proposed method demonstrates superior performance to traditional in-context learning, which is also more computationally intensive during inference.We then use the few available annotated samples to train a module composer, which assigns weights to the LoRA modules based on their relevance. The model's learnable parameters are directly proportional to the number of LoRA modules. This modularized network, underpinned by LLMs and augmented with LoRA modules, exhibits enhanced generalization in the context of hateful meme detection. Our evaluation spans three datasets designed for hateful meme detection in a few-shot learning context. The proposed method demonstrates superior performance to traditional in-context learning, which is also more computationally intensive during inference.

Keywords

Cite

@article{arxiv.2402.11845,
  title  = {Modularized Networks for Few-shot Hateful Meme Detection},
  author = {Rui Cao and Roy Ka-Wei Lee and Jing Jiang},
  journal= {arXiv preprint arXiv:2402.11845},
  year   = {2024}
}

Comments

camera-ready for WWW, 2024, Web4Good

R2 v1 2026-06-28T14:52:42.439Z