Skip to main content
QUICK REVIEW

[Paper Review] Exercise? I thought you said 'Extra Fries': Leveraging Sentence Demarcations and Multi-hop Attention for Meme Affect Analysis

Shraman Pramanick, Md Shad Akhtar|arXiv (Cornell University)|Mar 23, 2021
Sentiment Analysis and Opinion MiningComputer Science7 citations
TL;DR

This paper proposes MHA-Meme, a multi-hop attention-based deep learning framework that leverages fine-grained textual segment-image correspondence for multimodal meme affect analysis. By integrating unimodal attention and multimodal fusion mechanisms, MHA-Meme achieves state-of-the-art performance across all three tasks—sentiment classification, affect classification, and affect quantification—on the SemEval-2020 Memotion Analysis dataset, outperforming top competition systems with consistent gains of 0.5% to 2.2% in F1 scores.

ABSTRACT

Today's Internet is awash in memes as they are humorous, satirical, or ironic which make people laugh. According to a survey, 33% of social media users in age bracket [13-35] send memes every day, whereas more than 50% send every week. Some of these memes spread rapidly within a very short time-frame, and their virality depends on the novelty of their (textual and visual) content. A few of them convey positive messages, such as funny or motivational quotes; while others are meant to mock/hurt someone's feelings through sarcastic or offensive messages. Despite the appealing nature of memes and their rapid emergence on social media, effective analysis of memes has not been adequately attempted to the extent it deserves. In this paper, we attempt to solve the same set of tasks suggested in the SemEval'20-Memotion Analysis competition. We propose a multi-hop attention-based deep neural network framework, called MHA-MEME, whose prime objective is to leverage the spatial-domain correspondence between the visual modality (an image) and various textual segments to extract fine-grained feature representations for classification. We evaluate MHA-MEME on the 'Memotion Analysis' dataset for all three sub-tasks - sentiment classification, affect classification, and affect class quantification. Our comparative study shows sota performances of MHA-MEME for all three tasks compared to the top systems that participated in the competition. Unlike all the baselines which perform inconsistently across all three tasks, MHA-MEME outperforms baselines in all the tasks on average. Moreover, we validate the generalization of MHA-MEME on another set of manually annotated test samples and observe it to be consistent. Finally, we establish the interpretability of MHA-MEME.

Motivation & Objective

  • Address the challenge of multimodal affect analysis in memes, which combine visual and textual modalities with complex, context-dependent meanings.
  • Overcome limitations of existing models that perform inconsistently across sentiment, humor, sarcasm, offense, and motivation classification tasks.
  • Develop a framework capable of capturing fine-grained interactions between textual segments and image regions to improve affect understanding in memes.
  • Ensure model interpretability through LIME and attention visualization, enabling faithfulness and transparency in predictions.
  • Achieve consistent and superior performance across all three sub-tasks of the Memotion Analysis shared task: sentiment, affect classification, and affect quantification.

Proposed method

  • Segment foreground text in memes into distinct phrases or sentences to enable fine-grained analysis of textual content.
  • Apply a multi-hop attention mechanism to extract contextual representations from each textual segment, focusing on relevant semantic units.
  • Use a separate multi-hop attention module for visual feature extraction, learning spatially aware representations from image regions.
  • Implement an attention-based multimodal fusion module that computes cross-modality interactions between textual segments and image features.
  • Aggregate enriched multimodal representations across all textual segments using a final multi-hop attention layer to refine context-aware representations.
  • Pass the final fused representation to a classification head for end-to-end training on sentiment and affect prediction tasks.

Experimental results

Research questions

  • RQ1Can a multi-hop attention mechanism effectively model fine-grained interactions between textual segments and image regions in memes?
  • RQ2Does the proposed MHA-Meme framework outperform existing state-of-the-art models in sentiment, affect classification, and affect quantification tasks on the Memotion Analysis dataset?
  • RQ3How consistent is MHA-Meme’s performance across different affect dimensions (humor, sarcasm, offense, motivation) compared to baseline systems?
  • RQ4To what extent can attention weights and LIME-based explanations provide faithful and interpretable insights into MHA-Meme’s predictions?
  • RQ5Does the integration of sentence demarcation and multimodal attention improve generalization on unseen, manually annotated meme samples?

Key findings

  • MHA-Meme achieved state-of-the-art performance on all three tasks of the SemEval-2020 Memotion Analysis shared task, with F1 score improvements ranging from +0.5% to +2.2% over baseline systems.
  • The model outperformed all 11 baseline systems across all eight affect dimensions, securing 1st place in four, 2nd in three, and 3rd in one dimension.
  • In affect classification and quantification, MHA-Meme demonstrated consistent performance across all four affect types—humor, sarcasm, offense, and motivation—unlike baselines that showed inconsistent results.
  • LIME-based explanations confirmed that the model correctly identified salient image regions (e.g., smiling face) and key textual words (e.g., 'SMILE', 'MORE') as major contributors to positive sentiment predictions.
  • Attention weights visualized by MHA-Meme aligned with LIME explanations, showing that the model focuses on semantically relevant tokens like 'SMILE' in the text and corresponding facial features in the image.
  • The model generalized well to manually annotated test samples beyond the official test set, maintaining consistent performance and interpretability.

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.