[Paper Review] Hateful Memes Detection via Complementary Visual and Linguistic Networks
This paper proposes a Complementary Visual and Linguistic (CVL) network for hateful memes detection, integrating contextual-level and sensitive object-level features from both vision and language modalities using a fusion of ViLBERT and VisualBERT architectures. The method achieves 78.48% AUROC and 72.95% accuracy on the Hateful Memes Challenge 2020 test set, demonstrating improved performance through complementary multi-modal representation learning.
Hateful memes are widespread in social media and convey negative information. The main challenge of hateful memes detection is that the expressive meaning can not be well recognized by a single modality. In order to further integrate modal information, we investigate a candidate solution based on complementary visual and linguistic network in Hateful Memes Challenge 2020. In this way, more comprehensive information of the multi-modality could be explored in detail. Both contextual-level and sensitive object-level information are considered in visual and linguistic embedding to formulate the complex multi-modal scenarios. Specifically, a pre-trained classifier and object detector are utilized to obtain the contextual features and region-of-interests (RoIs) from the input, followed by the position representation fusion for visual embedding. While linguistic embedding is composed of three components, i.e., the sentence words embedding, position embedding and the corresponding Spacy embedding (Sembedding), which is a symbol represented by vocabulary extracted by Spacy. Both visual and linguistic embedding are fed into the designed Complementary Visual and Linguistic (CVL) networks to produce the prediction for hateful memes. Experimental results on Hateful Memes Challenge Dataset demonstrate that CVL provides a decent performance, and produces 78:48% and 72:95% on the criteria of AUROC and Accuracy. Code is available at https://github.com/webYFDT/hateful.
Motivation & Objective
- Address the challenge of detecting hateful memes in social media, where single-modality approaches fail due to complex multi-modal interactions.
- Overcome the limitation of existing visual-linguistic frameworks in capturing both global contextual and local sensitive object-level information.
- Develop a complementary multi-modal representation that enhances feature understanding by integrating contextual and sensitive object-level cues from both image and text.
- Improve performance on the Hateful Memes Challenge 2020 by leveraging pre-trained models and a novel fusion strategy combining ViLBERT and VisualBERT.
Proposed method
- Utilize a pre-trained Faster R-CNN detector on Visual Genome to extract 100 region-of-interest (RoI) features and bounding boxes from input images.
- Apply position representation fusion to combine RoI features with spatial positional encoding for enhanced visual embedding.
- Construct linguistic embedding using BERT-based token embeddings, positional encodings, and Spacy-derived Sembeddings (Sembedding) for each text.
- Combine the visual and linguistic embeddings into a dual-stream architecture using ViLBERT (co-attention) and VisualBERT (self-attention), then concatenate their final representations before classification.
- Train the model with cross-entropy loss using Adam optimizer, a batch size of 80, and learning rates of 1e-5 for ViLBERT and 5e-5 for VisualBERT with warm-up over 2,000 iterations.
- Apply a sample augmentation strategy during training to improve generalization across same-label samples.
Experimental results
Research questions
- RQ1Can integrating both contextual-level and sensitive object-level features from vision and language improve hateful meme detection?
- RQ2How does the fusion of dual-stream visual-linguistic models (ViLBERT and VisualBERT) enhance performance compared to single-stream or uni-modal baselines?
- RQ3To what extent does incorporating Spacy-based Sembeddings improve the linguistic representation in multi-modal hate detection?
- RQ4Does the proposed CVL network outperform existing multi-modal pre-training frameworks on the Hateful Memes Challenge 2020 benchmark?
Key findings
- The CVL network achieved 78.48% AUROC and 72.95% accuracy on the Hateful Memes Challenge 2020 Stage-2 test set, outperforming both individual models and prior multi-modal baselines.
- The fusion of ViLBERT and VisualBERT via late concatenation improved AUROC by 4.57 percentage points over the best individual baseline (VisualBERT with contextual and Sembedding features).
- Adding Sembeddings to ViLBERT and VisualBERT improved AUROC by 4.77 and 1.52 percentage points, respectively, compared to their contextual-only versions.
- The CVL model achieved 66.2% accuracy and 75.02% AUROC in the official evaluation, demonstrating strong generalization on complex, real-world hateful meme samples.
- The combination of self-attention and co-attention mechanisms in the dual-stream architecture enhanced model understanding of subtle hateful cues.
- The proposed sample augmentation strategy contributed to improved robustness and performance on unseen data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.