[Paper Review] Vilio: State-of-the-art Visio-Linguistic Models applied to Hateful Memes
Vilio implements multiple state-of-the-art visio-linguistic models in a unified codebase, applies them to the Hateful Memes Dataset, and achieves second place in the competition through ensembling.
This work presents Vilio, an implementation of state-of-the-art visio-linguistic models and their application to the Hateful Memes Dataset. The implemented models have been fitted into a uniform code-base and altered to yield better performance. The goal of Vilio is to provide a user-friendly starting point for any visio-linguistic problem. An ensemble of 5 different V+L models implemented in Vilio achieves 2nd place in the Hateful Memes Challenge out of 3,300 participants. The code is available at https://github.com/Muennighoff/vilio.
Motivation & Objective
- Motivate the development of a user-friendly, unified V+L research framework for hateful memes and visio-linguistic tasks.
- Evaluate multiple state-of-the-art V+L models on the Hateful Memes Dataset to establish strong baselines and insights.
- Demonstrate performance gains from feature-based preparation, model-specific adaptations, and ensembling strategies.
Proposed method
- Assemble a codebase of 12 visio-linguistic models arranged similarly to Hugging Face transformers.
- Extract image features with detectron2, using multiple RoI configurations and VisualGenome pretraining variants.
- Fine-tune models with binary cross-entropy loss, Adam optimizer, small batch sizes, and learning rate schedules; apply gradient clipping and stochastic weight averaging for some models.
- Modify and adapt ERNIE-ViL, UNITER, OSCAR, VisualBERT, and other baselines to align with updated transformers libraries and Hateful Memes pre-training where applicable.
- Incorporate OCR-derived meme text features; use task-specific pretraining when available; adjust visual/language token handling for each model (e.g., separate visual token types, GeLU activations).
- Ensemble predictions across seeds and models using Simple Averaging, Rank Averaging, Power Averaging, and Simplex Optimization to maximize AUROC on the dev/test sets.
Experimental results
Research questions
- RQ1How do state-of-the-art visio-linguistic models perform on the Hateful Memes Dataset when adapted to a common codebase?
- RQ2What impact do preparation steps (Detectron2 features, OCR text) and model-specific tweaks have on AUROC performance?
- RQ3Can ensembling across diverse V+L models yield performance approaching or surpassing human baselines on this task?
- RQ4What are the limitations of current V+L architectures for multimodal hate-speech detection, and how might future work address them?
Key findings
- An ensemble of 5 V+L models achieves 82.52 AUROC on the test set, closing the gap toward human performance.
- Individual models achieve AUROCs in the high 70s to low 80s on the test set (e.g., ERNIE-ViL Large at 80.59, UNITER at 78.65).
- ERNIe-ViL-based models tend to be among the strongest individual performers; ensembling yields the best results.
- Pre-training adjustments, updated transformer libraries, and tailored task-specific training contribute to measurable AUROC gains.
- The ensemble comprises 19 trained models when including seeds and feature variations, and Simplex Optimization improves final predictions.
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.