Abstract: Harmful or abusive online content has been increasing over time, raising concerns for social media platforms, government agencies, and policymakers. Such harmful or abusive content can have major negative impact on society, e.g., cyberbullying can lead to suicides, rumors about COVID-19 can cause vaccine hesitance, promotion of fake cures for COVID-19 can cause health harms and deaths. The content that is posted and shared online can be textual, visual, or a combination of both, e.g., in a meme. Here, we describe our experiments in detecting the roles of the entities (hero, villain, victim) in harmful memes, which is part of the CONSTRAINT-2022 shared task, as well as our system for the task. We further provide a comparative analysis of different experimental settings (i.e., unimodal, multimodal, attention, and augmentation). For reproducibility, we make our experimental code publicly available.
TL;DR
This research explores automated methods for identifying the roles—hero, villain, or victim—assigned to specific entities within harmful memes. By comparing sequence labeling and classification approaches across multimodal architectures, the study demonstrates that while text-based data augmentation significantly boosts performance on rare classes, the "disjointed" nature of meme text and imagery remains a significant challenge for current AI systems.
The Challenge of Entity Role Labeling in Memes
Online harm is not limited to toxic language; it often involves how entities (people, organizations, or groups) are framed. In the context of memes, a politician might be depicted as a "villain" or a vaccine as a "victim."
The task of Entity Role Labeling (from the CONSTRAINT-2022 shared task) is significantly more complex than standard sentiment analysis due to several factors:
- Multimodality: Harm often emerges only through the interaction between an image and its overlaid text.
- Implicit Entities: A meme may feature a celebrity's face without mentioning their name in the text, requiring visual recognition to identify the target.
- Contextual Dissonance: Meme text is frequently sarcastic or seemingly unrelated to the literal image content, creating a gap between visual and textual signals.
Methodological Approaches
The researchers investigated two primary frameworks for solving this problem:
- Sequence Labeling: Treating the task as a Named Entity Recognition (NER) problem using the BIO (Beginning, Inside, Outside) format, utilizing Conditional Random Fields (CRFs) and Transformer models like BERT and XLM-RoBERTa.
- Classification: Reorganizing the data into meme-entity pairs. For every entity identified in a meme, the model predicts one of four roles: hero, villain, victim, or other.
Key Architectural Components
- BLOCK Fusion: A sophisticated multimodal technique using bilinear interactions to model the relationship between text and image features more deeply than simple concatenation.
- Vision & Language Backbones: The system utilized EfficientNet-b1 for global image features, Vision Transformers (ViT) for entity-specific visual embeddings, and BERT for text processing.
- Data Augmentation: To address severe class imbalance, the authors used NLPAug for synonym replacement (WordNet) and contextual word substitution (BERT) on the text data.
Datasets and Class Imbalance
The study utilized the CONSTRAINT-2022 shared task dataset, focusing on COVID-19 and US Politics. The combined dataset consists of 5,552 memes, expanded into 17,514 entity-level instances for classification. The data is heavily skewed: approximately 83% of entities are labeled as "Other," while the "Hero" role accounts for only 2% of the training data.
Experimental Results and Insights
- Classification vs. Sequence Labeling: Framing the task as a classification of meme-entity pairs yielded superior results compared to labeling entities within raw text sequences.
- The "Hero" Difficulty: Detecting "heroes" proved to be the most difficult aspect of the task due to the extreme scarcity of examples.
- Impact of Augmentation: Textual augmentation provided a massive boost in Macro-F1 scores, helping the model recognize features of minority classes like Hero and Victim.
- Attention Mechanisms: Adding attention between the entity and the image/text context provided sizable gains for specific roles, such as a +0.16 F1 increase for the "victim" role in certain multimodal settings.
Performance Summary
While the official competition entry (limited to image features) achieved a 0.23 Macro-F1, post-task experiments showed significant improvements. The best-performing model—an "Entity + Text" configuration using WordNet or BERT augmentation—achieved a 0.46 Macro-F1. Interestingly, multimodal fusion using BLOCK reached a 0.41 Macro-F1, suggesting that the image modality sometimes introduced noise rather than helpful signal compared to text-only approaches.
Limitations and Future Work
A gap remains between these results and the top competition performance (0.58). Major hurdles include OCR noise, where errors in text extraction mislead language models, and disjointed modalities, where text and images do not align in ways standard fusion models expect. Future work will explore joint modeling of sequence labeling and classification, alongside advanced data augmentation tailored specifically for the unique visual-linguistic "language" of memes.
Summary updated