ORIGINAL RESEARCH article
Front. Phys.
Sec. Social Physics
Volume 13 - 2025 | doi: 10.3389/fphy.2025.1614267
This article is part of the Research TopicSecurity, Governance, and Challenges of the New Generation of Cyber-Physical-Social Systems, Volume IIView all articles
A Retrieval-Augmented Prompting Network for Hateful Meme Detection
Provisionally accepted- 1Guangdong University of Education, Guangzhou, Guangdong, China
- 2South China Normal University, Guangzhou, Guangdong, China
- 3Guangzhou Panyu Polytechnic, Guangzhou, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
The rise of user-generated content on social media is making memes a prevalent medium for expression. However, some memes convey offensive information toward individuals or groups on distinct aspects. Detecting such harmful content is essential to mitigate potential conflicts and harm. This paper proposes a Retrieval-Augmented Prompting Network (RAPN) for hateful meme detection. The proposed model utilizes a retrieval-augmented selector to identify semantically relevant prompting examples from diverse sources, enhancing the selection to better match the inference instances. Based on the prompting framework, the attention networks are employed to extract critical features from input instance and examples. By applying contrastive learning to label and feature spaces, the model is capable of learning more discriminative information for classification. Comprehensive evaluations on benchmark datasets demonstrate validate our model outperforms the baseline methods. Thereby, the proposed model sets strong evidence of high accuracy on the task of hateful meme classification. data-saturated social network, manually reviewing and preventing all forms of hate speech seems an impractical endeavor. Thereby, the requirement for automatic detection of hateful memes is firmly emphasized.
Keywords: hateful meme detection, Prompt, retrieval-augmented strategy, attention mechanism, Contrastive learning
Received: 18 Apr 2025; Accepted: 28 May 2025.
Copyright: © 2025 Kuang, Lin, Liu, Lai and Zhong. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Runlu Zhong, Guangzhou Panyu Polytechnic, Guangzhou, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.