Skip to main content
QUICK REVIEW

[Paper Review] UVCE-IIITT@DravidianLangTech-EACL2021: Tamil Troll Meme Classification: You need to Pay more Attention

Siddhanth U Hegde, Adeep Hande|arXiv (Cornell University)|Apr 19, 2021
Humor Studies and ApplicationsPsychology10 references21 citations
TL;DR

This paper proposes a multimodal transformer-based model combining Vision Transformer (ViT) and multilingual BERT (mBERT) for binary classification of Tamil memes as troll or non-troll. The model fuses visual and textual features using late interaction, achieving an F1-score of 0.96 on the validation set, but suffers from significant performance drop (F1=0.46) on the test set due to distribution shift and text positioning bias in images.

ABSTRACT

Tamil is a Dravidian language that is commonly used and spoken in the southern part of Asia. In the era of social media, memes have been a fun moment in the day-to-day life of people. Here, we try to analyze the true meaning of Tamil memes by categorizing them as troll and non-troll. We propose an ingenious model comprising of a transformer-transformer architecture that tries to attain state-of-the-art by using attention as its main component. The dataset consists of troll and non-troll images with their captions as text. The task is a binary classification task. The objective of the model is to pay more attention to the extracted features and to ignore the noise in both images and text.

Motivation & Objective

  • To address the challenge of classifying Tamil internet memes as troll or non-troll in multilingual, multimodal social media contexts.
  • To develop a robust automated system for detecting offensive or sarcastic content in memes that may propagate hate or misinformation.
  • To investigate the effectiveness of combining vision and text transformers for low-resource, low-resource Dravidian language meme classification.
  • To analyze the impact of image preprocessing, particularly center cropping to remove embedded text, on model generalization and performance.

Proposed method

  • Fine-tuned Vision Transformer (ViT) on resized (224×224) Tamil meme images after center cropping to remove text, with ImageNet pretraining and normalization using ImageNet statistics.
  • Preprocessed captions by removing stop words, punctuation, and special characters, then tokenized and fed into mBERT (base-multilingual-cased) for contextual embedding.
  • Concatenated the pooled output of ViT and mBERT via a 256-dimensional fusion layer, followed by ReLU activation and dropout for regularization.
  • Trained the final classifier head with a single neuron for binary classification (troll/non-troll) using a cross-entropy loss and a linear warmup schedule.
  • Used a batch size of 16 and a fine-tuning rate of 2e-5 over 4 epochs, with input sequence length capped at 128 tokens for captions.
  • Applied no data augmentation to preserve image semantics, especially given the small dataset size of 2,699 memes.

Experimental results

Research questions

  • RQ1Can a multimodal transformer architecture combining ViT and mBERT effectively classify Tamil memes as troll or non-troll?
  • RQ2How does removing embedded text via center cropping affect the performance of vision-based meme classification models?
  • RQ3Why does the model achieve high performance on the validation set but significantly lower performance on the test set?
  • RQ4To what extent does late fusion of visual and textual features improve classification beyond using either modality alone?
  • RQ5How do distribution shifts in image layout (e.g., text position) impact the generalization of ViT-based models on unseen meme data?

Key findings

  • The model achieved an F1-score of 0.96 on the validation set when using only image features via ViT, indicating strong performance on the validation split.
  • When classifying memes based solely on captions using mBERT, the model achieved an F1-score of 0.93, showing that textual content alone is highly informative.
  • The model exhibited a severe performance drop on the test set, achieving only an F1-score of 0.46, despite a perfect 1.00 weighted F1 on the validation set.
  • The discrepancy between validation and test performance is attributed to distribution shift, particularly in the positioning and presence of text in images.
  • Center cropping to remove embedded text improved validation performance but likely harmed generalization, as the test set contained more complex or differently positioned text.
  • The fusion of ViT and mBERT features through late interaction did not degrade performance and may have contributed to the high validation accuracy, though it did not fully mitigate overfitting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.