Elamur Research

Explainable Multimodal Sentiment Analysis on Bengali Memes

Paper · 2023 · Kazi Toufique Elahi, Tasnuva Binte Rahman, Shakil Shahriar et al.

Summary

The same picture can carry a different sentiment when it appears with a different caption. That makes memes a difficult case for sentiment analysis, the task of identifying the attitude expressed in a piece of content. This paper studies Bengali memes from MemoSen, a dataset whose labels are positive, negative, and neutral. The authors compare systems that read the captions, systems that see the images, and systems that combine both sources. The comparison addresses a practical problem for Bengali meme research, where publicly available data are scarce and the available examples are unevenly distributed across the sentiment categories.

The strongest caption classifier, BanglishBERT, was pretrained on Bengali and English, both of which occur in the captions. The image classifiers start from weights learned on ImageNet1k. In the best joint system, BanglishBERT and ResNet50 produce separate representations of the caption and picture. A small classification head puts those representations together and predicts the sentiment of the meme. The authors also test other image and caption classifiers to see how much each source of information can accomplish on its own.

On the reported MemoSen evaluation, BanglishBERT with ResNet50 achieves a weighted F1 score of 0.71. Weighted F1 combines class-level measures of precision and recall while giving more influence to classes with more examples. DenseNet161, the strongest image-only system, reaches 0.70, while BanglishBERT reaches 0.66 with captions alone. The class-level results reveal a weakness behind those scores. The leading image-only and joint systems identify no neutral examples correctly in the reported confusion matrices. The leading caption system identifies six.

The paper investigates individual predictions with LIME, a technique for inspecting which parts of an input influence a particular decision. In a neutral meme and a negative meme that reuse the same image, the visual classifier concentrates on the upper part of the depicted person's head in both cases. The different captions supply evidence that can distinguish the memes, yet the caption classifier also reads the neutral example as negative. The case captures the paper's main tension. Combining pictures and captions gives the strongest overall score on MemoSen, while the errors on neutral examples show how much remains unresolved about when either source provides dependable evidence.

Deep dive: Explainable Multimodal Sentiment Analysis on Bengali Memes

This study compares image and caption classifiers for Bengali memes and examines why their combination still misses neutral sentiment. · about 38 minutes to read

The problem and its context

Sentiment belongs to the meme

A meme can look like a picture with a short piece of writing attached, but the task changes depending on which part a classifier receives. The picture is an object in its own right. It can depict an expression, a person, or a scene that carries an emotional suggestion. The caption is also an object in its own right. It can state an opinion, describe a situation, or supply the context in which the picture should be read. In MemoSen, the requested judgment concerns the meme as a whole. The label can therefore depend on the relationship between what the picture shows and what the caption says.

The authors place this problem in the context of social media. People use online platforms to discuss subjects ranging from entertainment to politics, and those exchanges take forms beyond ordinary prose. Memes can draw on recognizable material from film, television, politics, religion, or social life. They can communicate criticism and sarcasm in the same format used to tell a joke. The resulting challenge for vision and language research is to determine which part of the input supplies the evidence for a judgment and when the evidence changes as the components are combined.

A reusable picture makes that challenge especially clear. A visual cue can be informative across a collection when it often occurs with a particular sentiment. Yet each new caption can give a familiar image a different role. A visual classifier has access to the cue and its associations from training. Its counterpart can read the caption and learn associations from the language. The joint task asks whether the available representations together distinguish examples that a single source leaves ambiguous. This is a question about how well a particular system reads a particular collection, with the collection's labels defining what counts as a successful reading.

There is also a distinction between identifying sentiment and identifying what kind of communicative act a meme performs. A joke can be self-critical, sarcastic, affectionate, or hostile. A label for overall sentiment groups together some examples that differ in those other respects. The paper's neutral examples illustrate the issue. The authors observe that many contain self-directed humor or criticism. On this dataset, an expression that sounds unfavorable in isolation can occur in a meme whose recorded label is neutral. A classifier trained to reproduce those labels has to learn the convention from the examples it receives.

Bengali memes as a data problem

The authors describe a field in which much of the available meme research used material in English. Public datasets gave researchers a way to train and compare systems for tasks such as sentiment classification and harmful meme detection. The authors identify publicly accessible collections for Bengali memes as scarce. Their account of Bengali as a low-resource language concerns the resources available for this research problem. MemoSen gives them a place to ask how well caption and image classifiers work for Bengali memes under a common labeling scheme.

Language scarcity and class scarcity pose distinct difficulties in this setting. The first concerns the availability of collections and suitable tools for processing their language. The second concerns what examples are available within a particular collection. MemoSen makes a benchmark possible while supplying substantially fewer neutral examples than examples of either other sentiment. An approach can address the language problem by choosing a caption encoder trained on Bengali and English. It can still face the class problem if the examples that teach the neutral label are relatively few or share cues with the other categories.

The presence of English in MemoSen also changes what it means to approach this as a Bengali task. The paper describes captions in Bengali, captions in English, and captions containing both languages. The caption system therefore needs to accept inputs whose language composition varies across memes. A method chosen solely for its treatment of Bengali would address only part of the stated input conditions. The authors select BanglishBERT because its pretraining includes both languages, and use a recurrent caption classifier as a point of comparison under the same sentiment task.

What earlier comparisons had established

The paper situates MemoSen among benchmarks with related but distinct targets. Facebook Hateful Memes and the Harmful Meme Dataset supply examples for judgments about hate or harm. Memotion supplies examples for work on qualities such as humor, sarcasm, motivation, and sentiment. These collections made it possible to compare different ways of handling an image and its accompanying words. Their labels define different tasks, so the paper uses them as precedents for approaches to meme analysis while conducting its own comparison on Bengali sentiment labels.

The authors discuss several ways earlier systems connected pictures and text. PromptHate represents a prompt-based approach to classifying hateful memes. In the work on Memotion attributed to Alluri and colleagues, one approach combines visual representations with textual ones, while CAPSEN uses generated image descriptions alongside textual data. Generating a description gives the picture a form that can enter a language-oriented pipeline. The present study instead keeps the image and caption as distinct inputs through feature extraction and joins their numerical representations close to the classifier's output.

The Memotion research also provides a precedent for treating class imbalance as a technical issue. The paper describes earlier use of the Synthetic Minority Over-sampling Technique to address uneven representation in that dataset. It also recounts how different Memotion approaches were strongest on different targets and how the dimensionality of a joint representation was proposed as a reason for weaker performance in one setting. These examples provide context for testing several configurations. The value of combining inputs is an empirical question even when both inputs plausibly contain relevant evidence.

Within Bengali meme research, the immediate predecessor is the work that introduced MemoSen. It used both unimodal methods, which receive a single type of input, and multimodal methods, which receive more than one. Its reported strongest pairing used ResNet50 for images and a bidirectional long short-term memory network for captions. The present authors return to that same collection, retaining ResNet50 in one pairing and changing the caption component. They also test another image encoder in a combined configuration and keep image-only and caption-only runs in the comparison.

The same research group introduced MUTE as a separate Bengali meme collection for hate detection. Its captions include Bengali and mixed-language writing, and its experiments give the present paper a precedent for using pretrained image and text components in that setting. The authors recount two difficulties from MUTE. The handling of some words varied with their appearance in different language forms, and the meaning suggested by an image could diverge from that suggested by its text. These are related issues for MemoSen because they concern how a classifier handles varied captions and how it combines disagreeing evidence, even though the target labels differ.

The paper also describes Bengali work on binary meme sentiment classification that compared several image and caption systems before combining a bidirectional recurrent network with VGG19. A separate Bengali hate-detection study paired XLM-RoBERTa with DenseNet-161 and identified limited training material and a need for prediction explanations among its limitations. A study of troll memes encountered difficulty distinguishing non-troll examples where the classes overlapped. Taken together, these accounts explain why the present authors ask about both the distribution of errors and the signals behind individual predictions.

Other cited work supplies precedents for the fusion question. The authors mention TIMF, which uses TensorFusion in a system involving convolutional and recurrent components. They also describe harmful meme detection with VisualBERT pretrained on COCO and mention a human evaluation alongside that work's benchmark experiments. An overview they cite identifies hidden emotion, the selection of facial cues, and the combination of evidence from several inputs as open difficulties. Those issues converge in the present study's inspection of image areas and caption tokens through interpretability.

The paper thus poses the comparison at two levels. At the dataset level, it asks how the tested image, caption, and combined approaches rank on MemoSen. At the example level, it asks what a prediction appears to depend on and where the available information gives the classifier trouble. The distinction matters because an approach can improve its aggregate performance without resolving the kind of ambiguity that originally motivated the use of both inputs. A score can locate the strongest system in a comparison, while individual examples and per-class errors show which parts of the task deserve closer scrutiny.

The method, step by step

From a meme to a prediction

The authors start with records that associate an image with a caption and a sentiment label. After checking whether the recorded image paths lead to valid files, they prepare the two kinds of input separately. They resize the pictures to a common shape and normalize the textual forms of some characters and punctuation marks. Separate classifiers establish what can be recovered from each kind of input. In the joint approach, an image encoder and a caption encoder each produce features, numerical representations that a downstream classifier can use.

The encoders have different jobs. The image encoder turns a picture into numerical features even when the final decision requires language. The caption encoder turns a sequence of text into features even when the final decision requires a visual clue. Each receives the input it is designed to process. The classification head reduces each feature representation through a separate linear layer, joins the resulting values, and maps them to the sentiment outputs. The joined representation enters the same kind of decision at the end of the pipeline for both tested pairings.

How the joint MemoSen classifier processes a meme

The steps in order.

How the joint MemoSen classifier processes a memeStep 1: Check that the image file is valid1. Check that the image file is validStep 2: Normalize caption characters and punctuation2. Normalize caption characters and punctuationStep 3: Resize the image to a common shape3. Resize the image to a common shapeStep 4: Extract caption and image features separately4. Extract caption and image features separatelyStep 5: Project each feature representation through a linear layer5. Project each feature representation through a linear layerStep 6: Concatenate the projected caption and image features6. Concatenate the projected caption and image featuresStep 7: Produce scores for the sentiment classes7. Produce scores for the sentiment classes

The comparison with single-input systems is part of the method because it gives a joint score a useful reference. A picture can already convey a great deal in this collection, and a caption can contain words associated with sentiment. Testing these sources separately shows how difficult either one is to improve upon. The subsequent LIME analysis asks a different question after the classifiers have made predictions. It inspects their behavior on selected cases, outside the feature extraction and classification steps used to produce the predictions.

Preparing the records

The first cleanup decision concerns image paths. The authors encountered entries that pointed to files they could not use as valid images and removed those entries. This affects the experimental population because the image is needed for both visual classification and the joint comparison. A record with a broken image path presents a different problem from a record with a usable picture and a blank caption. MemoSen contains examples of the latter kind as well. The paper describes removing invalid image entries and leaves the specific handling of blank captions unstated.

The authors stratify the split into training, validation, and test portions. Stratification distributes examples with attention to their existing labels, so the split is organized with the uneven class frequencies in view. The procedure is intended to preserve the class mixture across portions. Each portion still represents the underlying imbalance, with neutral examples in the minority. The train portion supplies examples for fitting the classifiers, the validation portion supports monitoring during development, and the test portion is reserved as a separate part of the experimental design.

This distinction matters for a meme collection because different records can share a visual template. The paper describes stratification with respect to the labels. The procedure it reports gives no account of grouping by template when forming the splits. The shared-template pair examined later establishes that a picture can recur with a different caption and label. Whether related examples fall in the same portion of the data is a separate property of the split, beyond what label stratification describes.

Preparing captions and images

The caption normalization addresses multiple Unicode forms. A reader may understand two forms as the same character or punctuation mark even when the underlying computer encodings differ. If the forms stay distinct, variants of equivalent text can appear as separate inputs to a classifier. The normalizer makes those forms more consistent. In the authors' account, the purpose is to reduce sparsity arising from representation, so available caption examples supply more consistent evidence during training.

Normalization of that kind addresses the written form of the input. The language mixture is handled through the choice of caption encoder. A mixed caption remains a linguistic input that may require evidence from Bengali and English. The normalization description gives no basis for assuming that the authors translated the English portions, assigned individual words to languages, or rewrote the content into a single language. Their documented pipeline accommodates the language mixture by using a component whose pretraining already included both languages.

The corresponding image step is resizing to 224x224 pixels. The number describes the spatial resolution of the prepared pictures. A common input shape allows pictures originating in different dimensions to pass through the same image-processing pipeline. This operation standardizes the representation delivered to the image classifiers. The paper gives the target size while leaving details such as aspect-ratio handling unspecified. Its method can therefore be described precisely at the level of the resulting shape, while the exact way a source image is mapped to that shape remains open.

The separation of these operations also clarifies what the authors treat as each modality. A caption is a textual record and goes through character normalization. An image is a picture and goes through resizing. The image classifiers see the pixels, while the caption classifiers process the associated textual input. An image-only score consequently describes what a classifier can extract from the visual channel given in the dataset. The paper does not report a separate experiment that masks any writing visible within the pixels, so the scope of “image-only” is the input channel itself.

Training the image and caption classifiers

For the image-only comparison, the authors use ResNet50, MobileNet v3, and DenseNet161. The input in each case is the prepared image. Each starts from ImageNet1k weights and is then trained on MemoSen. Those weights supply a starting point learned from prior image data. The training on MemoSen applies that starting point to the paper's specific categories. The common initialization source makes the comparison a study of the tested image architectures using pretrained image features, with each configured for the same meme sentiment task.

The pool of visual architectures has a further purpose. It gives the joint approach a stronger reference than would a comparison with a single image classifier. If one choice of visual encoder already performs strongly by itself, the best combined system has to contend with that result. Selecting different architectures also makes it possible to ask whether the image component that works best alone is the one associated with the strongest joint result. In this paper, those two distinctions belong to different configurations.

For the caption-only comparison, the authors use BanglishBERT and BiLSTM. BanglishBERT is an ELECTRA discriminator pretrained on Bengali and English corpora. Its pretraining objective is called Replaced Token Detection. During that stage, the discriminator learns to identify tokens that were substituted in a text sequence. A token is a unit of text processed by the system. Detecting substitutions gives the encoder practice using surrounding context in the languages on which it was pretrained. In MemoSen, the downstream task is to use caption representations to predict labels for memes.

The pairing of pretraining language with input language is the authors' stated reason for choosing BanglishBERT. The task requires a system to accept captions written in either language and captions that use both. BanglishBERT offers a single caption-processing route for all of them. The study compares its overall caption performance with BiLSTM. It does not separately vary the pretraining corpus while holding the architecture fixed, so the design tests a choice of caption classifier as a package. That package includes the way it represents text and the language material it encountered before the MemoSen task.

BiLSTM is short for bidirectional long short-term memory. In this kind of sequence architecture, information from the caption can be processed in both reading directions. That gives the classifier a way to use surrounding text when representing a sequence. The paper introduces it as the comparison system for caption classification and identifies a similar component in the earlier MemoSen pairing. Its role in the current experiments is to show how BanglishBERT fares against another caption approach. The authors do not give a detailed configuration for the recurrent network in their method.

These caption and image comparisons address different sources of uncertainty. The image comparison keeps the input channel and pretraining source the same at the level the paper describes, while varying the visual architecture. The caption comparison changes the architecture and the documented pretraining conditions together. Consequently, the caption comparison can tell a reader which tested implementation scores best on the benchmark, while a causal account of why it wins would require isolating the differences between the implementations.

Combining the representations

In the multimodal experiments, BanglishBERT is paired in turn with ResNet50 and with DenseNet161. The authors first use each encoder to extract a representation from its own input. The representations can have different original dimensions because the encoders are built for different data. Each then enters a separate linear layer with 20 neurons. In this context, the neurons are the output units of that layer. Each unit can learn how to combine values from its incoming representation. The image and caption projections therefore have a common output width.

Equal widths simplify the join and give the final head comparable numbers of inputs from the two branches. The widths leave the learned influence of each branch open. A layer can assign greater weight to values from a branch when those values are helpful for predicting a particular class. The equal size of the projections tells the reader about the architecture. The branch contributions to any one decision would have to be established from the learned classifier or from additional analysis of its behavior.

Concatenation is the operation that joins the projected features. It places the values from each branch in a single sequence while retaining them as distinct entries. The authors send this joined representation through a final linear layer with 3 neurons, matching the set of sentiment categories. At that point the classifier has access to features originating from both the picture and the caption. Each output unit receives a learned combination of those features, with the final units corresponding to the possible sentiment decisions.

The placement of the join gives the method a precise interpretation. Features from the caption are extracted before they enter the same representation as features from the image. The paper describes a shared classification stage, with separate processing up to that stage. A caption may contribute features associated with self-directed criticism, for instance, while the visual branch supplies information about the depicted face. The architecture gives the classifier access to both representations. An examination of the final score alone cannot show that a learned decision connects a particular word with a particular part of the picture.

The described head is compact enough to specify through its operations and widths. The two projection layers and the final layer define the part of the architecture the paper adds after feature extraction. The paper's description leaves the exact feature tensors and any intervening activations unspecified. The distinction between training an encoder jointly and using it to supply fixed features is also left open. Those details matter for an implementation because they determine which weights can change as the system learns from the sentiment labels.

Fitting and evaluating the classifiers

The authors report trying different hyper-parameters, which are settings chosen for training. For the best BanglishBERT and ResNet50 run, the batch size is 32. This is the number of examples in a training batch. The optimizer is AdamW, the procedure that uses gradients to update learned parameters. Its learning rate is 0.00001, which sets the scale of those updates. The reported betas are (0.9, 0.9999), the settings that control how the optimizer retains information about recent gradients and their squared values.

The run also uses epsilon of 1e-9, the optimizer's numerical stability term, and weight decay of 0.08, which supplies a penalty on the magnitude of weights through the update rule. These settings characterize the configuration associated with the reported best result. They give a reader one concrete account of the training choices for the winning pair. The paper describes a search across settings, while the alternatives and their individual outcomes are not given. Its training and validation figure follows accuracy and loss for this joint configuration.

The authors assess performance with accuracy, precision, recall, and F1. Accuracy summarizes the share of predictions that agree with the recorded labels. For a particular sentiment, precision asks how often predictions of that sentiment are correct. Recall asks how frequently examples labeled with that sentiment are recovered. F1 combines precision and recall, so a class score benefits from doing well on both. Because the class frequencies differ, the paper emphasizes weighted scores. In weighted F1, a class's contribution to the aggregate depends on how many examples belong to it.

A confusion matrix adds a view that a weighted score compresses. It organizes predictions by their recorded labels and assigned labels. Correct classifications occupy the entries where the labels agree. Other entries show which categories receive mistakes. The authors present such matrices for the leading image, caption, and joint approaches. These allow the comparison to follow the neutral class explicitly, even when its contribution to the headline score is small.

Finally, the authors apply LIME to DenseNet161 and BanglishBERT individually. The paper uses its local explanations to associate parts of one example with support for a prediction or a sentiment class. For images, those parts are areas of the picture. For captions, they are tokens. The marks are a way to inspect a particular decision. They belong alongside the confusion matrices because the matrices show a pattern across examples while the explanations give detailed views of selected cases. The joint classifier's decision is shown for those cases, and the attributions themselves come from the two separate classifiers.

Experiments and results

What the MemoSen evaluation represents

The paper describes MemoSen as containing 4372 images, with 17 of the image records lacking captions. These are figures for the collection as described in the dataset overview. The authors also report removing records with invalid image paths during preparation. The collection count and the count of records entering a particular experimental split are therefore different quantities. The paper describes the stratified train, validation, and test design, while giving the main numerical comparison as a MemoSen performance result without identifying a split in the accompanying discussion.

The sentiment labels are neutral, positive, and negative. The neutral category contains 291 instances in the dataset, according to the discussion of errors. That count puts the difficulty of learning the neutral distinction in context. The important asymmetry is that the collection supplies appreciably less training evidence for that distinction than for either other label. Stratification is a practical way to preserve the represented classes when dividing examples among experimental portions. It preserves the scarcity that the classifier will encounter in fitting and that the weighted measure will reflect during evaluation.

Caption length varies considerably across the collection. The paper reports a longest caption of 121 words, a shortest nonempty caption of 1 word, and an average of roughly 19 words. These numbers describe words per caption, not a tokenization limit for BanglishBERT. The authors also present a length-frequency plot and a word cloud based on the top 200 words by frequency. Those views characterize the available language material, while the reported classification comparison treats the captions as a single group.

This variation gives the caption benchmark several kinds of inputs. Very short captions offer few word cues, while longer captions can potentially provide more context for interpreting an image. Captions may also combine Bengali and English. The study reports that variation as part of the dataset description. Its aggregate caption score folds together inputs of different lengths and language compositions. It therefore gives the performance of the tested caption approach over the reported evaluation, with the sources of variation left inside that average.

The authors use example memes to illustrate the classes as well. Their interpretation of neutral examples is important when considering what a benchmark error means. They see many of those memes as expressions of self-directed humor, disparagement, or criticism. The study measures agreement with the dataset's assigned sentiment labels. A case that reads as negative to the classifier, and could plausibly strike a reader as negative on the strength of the caption alone, can therefore count as an error against a neutral label.

The classifier comparison

The image experiments compare MobileNet v3, ResNet50, and DenseNet161. The caption experiments compare the recurrent BiLSTM with BanglishBERT. The joint experiments keep BanglishBERT in the caption branch and try each of ResNet50 and DenseNet161 in the visual branch. This set of baselines gives the study both a direct comparison of modalities and a comparison of distinct implementations within them. The strongest representatives are especially informative because they show how extensively a tested single-input approach can account for the aggregate score before a second input is introduced.

Reported weighted F1 on MemoSen for selected tested classifiers

The combined classifier leads, and both plotted image classifiers score above the leading caption classifier.

Reported weighted F1 on MemoSen for selected tested classifiersBanglishBERT with captions: 0.66BanglishBERT with captions0.66MobileNet v3 with images: 0.67MobileNet v3 with images0.67DenseNet161 with images: 0.70DenseNet161 with images0.70BanglishBERT with ResNet50 (this paper): 0.71BanglishBERT with ResNet50 (this paper)0.71
The numbers
System or settingWeighted F1
BanglishBERT with captions0.66
MobileNet v3 with images0.67
DenseNet161 with images0.70
BanglishBERT with ResNet50 (this paper)0.71

The lowest reported weighted F1 among the image approaches is MobileNet v3's 0.67. The strongest caption approach is BanglishBERT at 0.66. Because the lowest result in the tested image group is above the highest result in the tested caption group, the ranking applies to the entire set of image and caption classifiers considered in the paper. That is a stronger description of the experiment than a comparison of two handpicked runs. Its scope remains the particular architectures, input preparation, and data in the study.

DenseNet161 supplies the strongest image-only result at 0.70 weighted F1 on MemoSen. The best combination, BanglishBERT with ResNet50, achieves 0.71 weighted F1 on the same reported benchmark. The visual system is thus already close to the strongest combined result. This proximity matters when interpreting the experiment. The combined score establishes the best observed ranking. It gives much less information about how often the extra input changed a wrong prediction into a correct one, or which kinds of examples account for the ranking.

The aggregate results also leave room for different kinds of gains and losses to coexist. A caption could help on one meme and lead the combined classifier toward an error on another. Two classifiers could have similar weighted F1 while disagreeing about many individual cases. Conversely, a change in a small part of the evaluation could affect the ranking. The paper's detailed examples give evidence that different decision patterns occur. To identify their prevalence, the experiment would need a paired accounting of how predictions change across the full evaluation.

The authors compare their best score with earlier MemoSen work by Hossain and colleagues. In the results discussion, the comparator is the earlier ResNet50 and BiLSTM pairing at 0.635 weighted F1. The related-work discussion also gives 0.635 for that earlier pairing, while the introduction gives 0.643 as the earlier MemoSen weighted F1. The paper leaves the relationship between those earlier figures unexplained. The main within-study comparison is easier to interpret because the 0.71, 0.70, and 0.66 figures are presented together as results of the authors' own MemoSen experiments.

Accuracy, precision, and recall are also part of the evaluation design. The numerical account in the results discussion centers on weighted F1. That emphasis makes sense for situating the headline result among the authors' tested approaches, but the meaning of the headline depends on the weighting. Weighted F1 can increase when performance improves on the more frequent classes even if the least frequent class remains poorly recognized. The confusion matrices provide direct evidence about whether that happened for neutral memes.

Where the aggregate ranking breaks down

The confusion matrices cover DenseNet161, BanglishBERT, and the combination of BanglishBERT with ResNet50, the strongest approaches in the respective input settings. The image classifier has no correct neutral predictions in its matrix. The joint classifier also has no correct neutral predictions. BanglishBERT has six correctly identified neutral examples in its corresponding matrix. This is an observed class-level difference between the caption approach and the ones with stronger headline scores.

A correct neutral prediction requires agreement between the recorded class and the class assigned by the classifier. The absence of correct neutral entries tells the reader that no recorded neutral example was correctly recovered in the relevant matrix. That finding is compatible with different patterns of false alarms for neutrality. The paper highlights failures to recover neutral cases and does not supply a numerical account in its prose of how frequently the classifiers assigned neutral to examples from the other categories. The neutral result is strongest as a statement about recognition of the class.

The caption classifier's six correct cases have a similarly specific interpretation. They show that the text-only setting recovered some instances that the leading approaches with images collectively failed to recover. They do not establish dependable neutral classification. The number reported is a count of correct neutral classifications in the matrix. The total count of neutral records in MemoSen refers to the dataset as a whole, and supplies a different denominator from the evaluated subset. The count of successful predictions is the clearest neutral result the article can carry forward.

The example captions associated with the explanation figure also show cases with clear agreement. A recorded positive example is labeled positive by the textual, visual, and multimodal approaches. Negative examples are shown for which all the approaches again agree with the label. In another displayed case, all of them assign negative to a recorded positive example. These examples illustrate both shared success and shared error. In the latter case, giving the joint classifier both inputs still yields the same assigned sentiment as the individual approaches.

A further displayed case has a recorded negative label, a negative visual prediction, and positive predictions from the caption and joint classifiers. This pattern is useful because the image-only prediction agrees with the recorded label while the combined prediction does not. The outcome shows that adding a modality can accompany an error on an individual example despite the stronger joint score over the benchmark. The example alone provides insufficient evidence to determine how the combined classifier arrived at its answer or how often this particular disagreement occurs.

The training and validation curves serve a separate purpose. They show loss and accuracy during development of the BanglishBERT and ResNet50 pairing. Loss tracks the quantity optimized in training, while accuracy counts agreement after decisions are made. A curve provides a view of learning over the run, whereas the headline weighted F1 compares completed approaches. The paper gives the optimizer settings for its strongest run and uses the figure to describe the training process. It does not give numerical evidence in the discussion for a general claim about run-to-run stability.

The experiment therefore supports a ranked answer and a class-specific answer. The tested combined system ranks highest on weighted F1. The best image and joint results leave the neutral category unrecognized in the reported matrices, while the caption approach recovers a small set of neutral examples. The two answers concern different properties of performance. A reader interested in whether the classifier covers all of MemoSen's labels has reason to attend to the matrices even if the weighted score is the basis for choosing the headline system.

What the ablations show

The paper reports no formal component ablation. It instead compares classifiers that receive different inputs, examines confusion matrices for the strongest configuration in each group, and uses LIME to look at selected decisions. Those analyses address different questions. The input comparisons give an empirical ranking of the systems the authors actually trained. The matrices locate a repeated failure at the level of the target classes. The local explanations let the reader inspect cues that might be involved in individual successes and mistakes.

What changes when an input is available

The comparison of caption-only, image-only, and joint systems gives the clearest evidence about the usefulness of the input channels in the tested configurations. The image-only group is consistently stronger than the caption-only group on weighted F1. The authors interpret the strong DenseNet161 result as evidence that pictures carry substantial sentiment context in MemoSen. The images can supply useful cues when the associated caption is withheld, and the success of several visual classifiers makes the pattern less dependent on a single image architecture.

That interpretation has a defined scope. The experiments show that the tested classifiers extract more useful benchmark evidence from the visual channel than the tested caption classifiers do from the caption channel. The relative richness of the channels for a human reader is a separate question. This benchmark observation reflects the available inputs, the labels, the prior training, and the architecture of each classifier. Each of those factors can affect which cues are easy to learn from the examples.

The strongest joint configuration uses ResNet50. DenseNet161 is the best image-only classifier and also appears in a tested joint pairing. As a consequence, the encoder favored by the image-only ranking is different from the encoder in the strongest combined system. This is the most specific conclusion about those choices that the reported ordering supports. The choice of a visual component for fusion depends on how its features work with the caption features and the trained decision head. The paper supplies a joint ranking without isolating what property of either representation produces that order.

The combined and single-input comparisons also differ from a test that takes an already trained joint classifier and blanks one branch at evaluation. The configurations are developed as image-only, caption-only, or joint approaches. Comparing them measures realized performance under those setups. It leaves open how the winning joint system reacts when one input is removed or corrupted. It also leaves open whether the system relies strongly on one branch in most decisions and draws on the other branch only in certain cases.

The neutral results provide an example of why the scope matters. The caption classifier recovers some neutral memes, but its success is absent in the strongest combination. A new caption input creates an opportunity to distinguish examples with a similar appearance. The combined training procedure determines whether the resulting classifier uses that opportunity in the cases that matter. The experiment shows a joint system that improves the aggregate score alongside a failure to preserve the neutral recognition observed for BanglishBERT by itself.

What the explanations display

The authors apply LIME to DenseNet161 for pictures and BanglishBERT for captions. The figure presents the original meme with its image explanation to the side and its caption explanation below. Color has a different meaning in the two displays. In the image explanation, green marks support for the explained decision and red marks opposition. The caption visualization associates orange with positive sentiment, green with negative sentiment, and blue with neutral sentiment. Stronger color intensity indicates greater importance for a highlighted token.

This distinction helps when reading across the figure. A green image area is a region whose contribution supports the decision under examination. A green caption token is associated with the negative class. The repeated color therefore does different work in the two views. A reader can use the markings to see where the explanatory method places influence for each classifier, along with the true and predicted labels supplied for the cases.

Across the chosen image examples, the authors observe that DenseNet161 frequently attends to faces. This is evidence about regions emphasized in the local explanations. A face can carry information about an expression, but the intended sentiment of a meme can depend on how that face has been repurposed by the caption. The paper's strongest illustration uses an actual repeated image, allowing the reader to see how a visual cue can be present in differently labeled examples without changing at all.

The same picture with different labels

The neutral and negative pair share a visual template. DenseNet161 predicts negative for the neutral example and for the negative example. The LIME image explanations emphasize the upper part of the person's head in both cases. For the image classifier, the pixels give the same evidence when the picture is reused. The true sentiment labels differ because the image has been put into a different caption context. As a comparison between examples, the pair holds the visual material fixed while the caption and the assigned label change.

This case makes the image channel's information limit concrete. A classifier receiving the same pixels from both records has no input on which to base different readings of those pictures. The caption channel could in principle resolve this particular ambiguity because it contains the difference that the image branch cannot see. That observation applies to the pair the authors selected. A broader claim about reused templates would require counting these cases and evaluating how often captions successfully disambiguate them.

The caption explanation for the neutral example adds a second difficulty. Most of the highlighted tokens in that caption are associated with negative sentiment in the visualization. BanglishBERT also predicts negative. Given the authors' observation about neutral self-criticism in MemoSen, the display offers a concrete way those errors could arise. Surface evidence usable for negative sentiment may appear in a caption whose overall meme is assigned to the neutral class. Combining the same unfavorable visual reading with that caption reading gives the joint classifier evidence that can readily favor negative.

This last description concerns agreement among the displayed predictions and the independent explanations. The study does not use LIME to decompose the joint classifier on the pair. Accordingly, the evidence cannot determine whether the combined decision was driven by the highlighted image region, the highlighted caption tokens, or other features available to its branches. The visualization shows a coherent pattern across the classifiers. The mechanism of the combined prediction remains distinct from the mechanisms inspected by the separate explanations.

How the authors interpret the recurring errors

The paper offers several candidate explanations for the neutral-class weakness. Scarcity comes first. With a relatively small neutral category, the classifiers have fewer examples from which to learn which expressions and visual contexts the annotation assigns to that class. Shared visual templates provide another possible source of confusion, since a feature can recur under several labels. Shared textual cues provide a third. The language in neutral examples may overlap with language the classifier frequently sees in positive or negative examples.

The neutral and negative pair illustrates the latter explanations in different ways. The visual material is shared exactly in that pair, which gives direct evidence of ambiguity for an image-only reading of those records. The caption highlighting suggests a negative association for tokens from the chosen neutral example. That is evidence of a local reading, while the authors' broader claim concerns distributions of words across categories. The paper does not quantify how common those caption cues are in the different classes or measure their independent effect on performance.

The imbalance explanation likewise remains a hypothesis about cause. The reported neutral count and the observed errors establish that minority status and difficult recognition occur together here. An experiment changing the class exposure while keeping other aspects of training fixed would address whether the scarcity drives the behavior and how much improvement a different distribution produces. The present comparison leaves class frequencies as they occur in the dataset and uses a weighted aggregate in evaluation. The observed failure is established more directly than its explanation.

The example in which the visual answer is correct and the joint answer follows the caption error shows another kind of ambiguity. In that case, access to both sources does not guarantee that the joint system selects the more helpful one. At the same time, the example gives no controlled evidence about the fusion weights. The matching caption and joint labels could arise through different features or decision paths. The paper offers an instance worth inspecting because the resulting decision is observable, while the specific role of each branch is still uncertain.

Taken together, the comparisons locate where combining inputs helps in the reported evaluation and where the evidence runs out. The improvement is visible in the aggregate ranking. The neutral gap is visible in class-level decisions. The LIME examples supply reasons that the image and caption channels can each be ambiguous. Each kind of result can stand on its own, and the strongest explanation of the paper comes from keeping their scopes clear when reading them together.

Limitations

Limits the authors identify

The authors identify neutral sentiment as the main unresolved part of the task. They report that the leading systems struggle with the class and suggest scarcity, reused visual templates, and overlapping language as possible reasons. The limitations affect both the data and the information available to the classifiers. Scarcity reduces the number of examples that can teach the class. Overlap allows the same image or similar words to support a different reading in another example. The paper demonstrates the problem and investigates plausible sources through selected cases.

The authors propose adding data to improve the class balance. This follows from the limited representation of neutral memes in MemoSen. Their proposal concerns a possible extension of the experiment. The reported classifiers were trained on the available data under the described setup, and the paper has no result from expanding the neutral category. How much more data would help, and which kinds of neutral memes would be most informative, remain open within the study.

They also propose pursuing classifiers based on VisualBERT. The system evaluated here extracts image and caption features separately and combines them in a final classification stage. A comparison with a VisualBERT-based approach could help examine the authors' interest in a different way of connecting modalities. In the paper, it remains a direction for further work. Its capacity to improve the weighted score or to recover neutral examples cannot be inferred from the performance of the reported systems.

The authors' analysis of faces gives their explanation of a further constraint. An emphasized facial region can be compatible with several readings once the same picture appears with different captions. The shared-template pair supports this point under a specific condition, the reuse of identical visual material across different sentiment labels. The paper can demonstrate the problem for those selected records. Its conclusion that captions are needed for interpreting some memes has a concrete example, while captions functioning as a complete remedy is beyond the evidence.

Limits visible in the experimental design

The study evaluates the methods on MemoSen. It establishes a comparison for the data and sentiment categories represented there. The precedent studies on hate, harm, and humor help situate the task, but their labels and collections differ. The present result supplies no direct measurement of how the classifiers would perform on a different Bengali meme collection or on a task with another target. The degree to which the ranking depends on MemoSen's conventions for neutral labeling is also open.

The neutral class is a place where annotation and classification are closely connected. The paper observes self-directed criticism and humor among neutral examples, giving a reader some sense of what the category contains. It does not report a fresh assessment of agreement among annotators over those examples. A neutral prediction error can reflect difficulty learning the dataset's convention, difficulty interpreting the combined content, or both. The experiment measures agreement with the labels, and the discussion of annotation patterns supplies a plausible interpretation of those errors.

Weighted F1 has limited visibility into minority-class behavior by design. It reflects performance with classes contributing according to their frequency. That is a coherent way to summarize outcomes for the observed class distribution, but the aggregate alone cannot establish that all classes are served well. The confusion matrices partially address this limitation by exposing neutral failure. The paper's main numerical comparison does not supply a full per-class account that would allow an equally detailed assessment of the positive and negative classes.

The paper describes label stratification and also shows that images recur across memes. It gives no information about whether similar or identical templates were kept together when splitting. If related templates occur in both training and evaluation, performance can reflect recognition of familiar imagery as well as sentiment classification on pictures unlike those seen during training. The shared-template analysis identifies why this distinction could matter. It does not establish that any particular templates crossed partitions or that the results were affected by such a crossing.

A similar issue concerns the comparability of the historical result. The authors state their cleanup procedure and report a stratified division of the collection. The comparison with the earlier MemoSen benchmark provides context for the size of the reported score, while the text does not demonstrate that the same evaluation examples went into both results. The difference in the earlier scores cited in the introduction and results discussion adds a reporting uncertainty. The comparisons among the current paper's methods give the most direct evidence for the authors' ranking.

Details of preprocessing and training are also incomplete for replication. The paper gives the common image size, the purpose of caption normalization, the removal of entries with invalid image files, and the best optimizer settings. It leaves out the treatment of the missing captions and the exact number of records that remain in each split after cleanup. The fusion description specifies the projection sizes and the final layer, while the account leaves open some feature-extraction and training choices. These details can matter when the gap between the strongest aggregate results is small.

The paper provides a best configuration after testing hyper-parameters and illustrates its training and validation trajectory. The reported comparison gives no variability across repeated training runs or evaluation splits. The observations therefore establish the ordering of the reported runs. They leave open how consistently the joint approach outranks DenseNet161 under another initialization or division of the collection. They also leave open whether the leading configurations for minority-class recognition would be found by selecting settings on the weighted score.

The bilingual pretraining choice is motivated by the language mixture in the dataset. The study does not report separate classification results by caption language or by whether a caption mixes languages. It does not establish that BanglishBERT's comparative performance is concentrated in mixed captions, nor how it handles a change in language within a caption. Those are specific aspects of the dataset that the architecture choice is designed to accommodate. The aggregate score establishes its performance across the reported caption evaluation as a whole.

The selected LIME cases limit what can be concluded about explanation quality and frequency of behavior. The displays show local influences for the standalone visual and caption approaches. They provide cases in which faces or apparently negative language are involved in the reported explanation. There is no quantitative assessment across the dataset of how consistently face regions receive emphasis, or an intervention showing that changing those regions corrects neutral predictions. There is also no attribution study of the combined classifier. Its apparent use of both modalities follows from the architecture, while the actual division of influence on any decision remains unmeasured.

Finally, the tested systems change more than the amount of input they receive. A joint system includes separate encoders and a shared head, while a single-input system is trained to decide from its own branch. Differences in architecture and training come with the change in available information. The comparison supports the authors' practical claim about which tested system scored highest. A claim that the higher score specifically reflects reasoning about the relation between words and pictures would need evidence that isolates that relation from the other changes in the configuration.

What came after

Later citing work carries the problem of combining image and text into meme classification for other low-resource settings. The connection that can be traced is the fusion question. A picture and its words can both provide evidence, and a system has to decide how to combine information from their separate processing paths. The later titles describe late fusion, meaning combination after some separate processing has taken place. The Bengali study supplies an example at the level of encoded features, joining the projected caption and image representations near the final decision.

One citing work applies multimodal stacking to sentiment classification for Nepali memes. Its title identifies late fusion as the architecture's organizing choice and specifies Nepali meme sentiment as the task. This carries forward the question of how to join visual and textual evidence for sentiment while moving to a different language setting. Stacking describes the approach it names for that combination. The citation connection and the title establish the shared problem and this broad design choice. They give no basis for specifying what features are stacked or attributing any particular performance to the Bengali study's method. NeuralNoodles at CHiPSAL 2026

The other citing work uses a late-fusion hybrid architecture for low-resource memes and names both hate speech and sentiment detection as its targets. That pairing extends the task description beyond the Bengali paper's positive, negative, and neutral sentiment categories. The connection is the use of separate sources of evidence brought together for a multimodal judgment. The title identifies the architecture and the problems to which it is applied. It leaves the exact encoders, the form of the hybrid system, and its handling of neutrality unspecified. linus at CHiPSAL 2026

The two works thus place the fusion question in different settings. The Nepali study pursues sentiment classification with a stacking approach. The low-resource hybrid study includes hate speech as well as sentiment. Both cite the Bengali work, which makes a benchmark comparison between caption, image, and combined systems and demonstrates why the strongest aggregate system still needs to be examined at the class level. The later work establishes continued use of the general architectural idea. Whether those systems improve minority-class recognition or explain their caption and image contributions remains undetermined by their descriptions.

Cite

Cite as Kazi Toufique Elahi, Tasnuva Binte Rahman, Shakil Shahriar, Samir Sarker, Sajib Kumar Saha Joy and Faisal Muhammad Shah. 2023. Explainable Multimodal Sentiment Analysis on Bengali Memes. arXiv:2401.09446.

The paper itself, not this page. BibTeX from the library's record of the work. arXiv 2401.09446

@misc{elahi2023explainable,
  title = {{Explainable Multimodal Sentiment Analysis on Bengali Memes}},
  author = {Kazi Toufique Elahi, Tasnuva Binte Rahman, Shakil Shahriar, Samir Sarker, Sajib Kumar Saha Joy and Faisal Muhammad Shah},
  year = {2023},
  eprint = {2401.09446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.09446}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/elahi-2023-explainable-multimodal-sentiment-analysis-bengali/

References

22 references, from the paper's own bibliography.

  1. E. Hossain, O. Sharif, and M. M. Hoque, “Memosen: A multimodal dataset for sentiment analysis of memes,” in Proceedings of the Thirteenth Language Resources and Evaluation Conference, 2022, pp. 1542–1554. OpenAlex ↗ · Scholar ↗
  2. E. Asmawati, A. Saikhu, and D. Siahaan, “Sentiment analysis of text memes: A comparison among supervised machine learning methods,” in 2022 9th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI). 1em plus 0.5em minus 0.4em IEEE, 2022, pp. 349–354. OpenAlex ↗ · Scholar ↗
  3. N. V. Alluri and N. D. Krishna, “Multi modal analysis of memes for sentiment extraction,” in 2021 Sixth International Conference on Image Information Processing (ICIIP), vol. 6. 1em plus 0.5em minus 0.4em IEEE, 2021, pp. 213–217. OpenAlex ↗ · Scholar ↗
  4. D. Kiela, H. Firooz, A. Mohan, V. Goswami, A. Singh, P. Ringshia, and D. Testuggine, “The hateful memes challenge: Detecting hate speech in multimodal memes,” Advances in neural information processing systems, vol. 33, pp. 2611–2624, 2020. our card
  5. S. Pramanick, D. Dimitrov, R. Mukherjee, S. Sharma, M. S. Akhtar, P. Nakov, and T. Chakraborty, “Detecting harmful memes and their targets,” arXiv preprint arXiv:2110.00413, 2021. our card
  6. C. Sharma, W. Paka, Scott, D. Bhageria, A. Das, S. Poria, T. Chakraborty, and B. Gambäck, “Task Report: Memotion Analysis 1.0 @SemEval 2020: The Visuo-Lingual Metaphor!” in Proceedings of the 14th International Workshop on Semantic Evaluation (SemEval-2020). 1em plus 0.5em minus 0.4em Barcelona, Spain: Association for Computational Linguistics, Sep 2020. OpenAlex ↗ · Scholar ↗
  7. R. Cao, R. K.-W. Lee, W.-H. Chong, and J. Jiang, “Prompting for multimodal hateful meme classification,” arXiv preprint arXiv:2302.04156, 2023. OpenAlex ↗ · Scholar ↗
  8. E. Hossain, O. Sharif, and M. M. Hoque, “Mute: A multimodal dataset for detecting hateful memes,” in Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing: Student Research Workshop, 2022, pp. 32–39. OpenAlex ↗ · Scholar ↗
  9. M. R. Karim, S. K. Dey, T. Islam, M. Shajalal, and B. R. Chakravarthi, “Multimodal hate speech detection from bengali memes and texts,” in International Conference on Speech and Language Technologies for Low-resource Languages. 1em plus 0.5em minus 0.4em Springer, 2022, pp. 293–308. our card
  10. N. Jannat, A. Das, O. Sharif, and M. M. Hoque, “An empirical framework for identifying sentiment from multimodal memes using fusion approach,” in 2022 25th International Conference on Computer and Information Technology (ICCIT). 1em plus 0.5em minus 0.4em IEEE, 2022, pp. 791–796. OpenAlex ↗ · Scholar ↗
  11. J. Sun, H. Yin, Y. Tian, J. Wu, L. Shen, and L. Chen, “Two-level multimodal fusion for sentiment analysis in public security,” Security and Communication Networks, vol. 2021, pp. 1–10, 2021. OpenAlex ↗ · Scholar ↗
  12. N. Varma Alluri and N. Dheeraj Krishna, “Multimodal analysis of memes for sentiment extraction,” arXiv e-prints, pp. arXiv–2112, 2021. OpenAlex ↗ · Scholar ↗
  13. M. Hodosh, P. Young, and J. Hockenmaier, “Framing image description as a ranking task: Data, models and evaluation metrics,” Journal of Artificial Intelligence Research, vol. 47, pp. 853–899, 2013. OpenAlex ↗ · Scholar ↗
  14. M. Hasan, N. Jannat, E. Hossain, O. Sharif, and M. M. Hoque, “Cuet-nlp@ dravidianlangtech-acl2022: Investigating deep learning techniques to detect multimodal troll memes,” in Proceedings of the Second Workshop on Speech and Language Technologies for Dravidian Languages, 2022, pp. 170–176. OpenAlex ↗ · Scholar ↗
  15. T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick, “Microsoft coco: Common objects in context,” in Computer Vision–ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13. 1em plus 0.5em minus 0.4em Springer, 2014, pp. 740–755. our card
  16. M. A. Ullah, M. M. Islam, N. B. Azman, and Z. M. Zaki, “An overview of multimodal sentiment analysis research: Opportunities and difficulties,” in 2017 IEEE International Conference on Imaging, Vision & Pattern Recognition (icIVPR). 1em plus 0.5em minus 0.4em IEEE, 2017, pp. 1–6. OpenAlex ↗ · Scholar ↗
  17. T. Hasan, A. Bhattacharjee, K. Samin, M. Hasan, M. Basak, M. S. Rahman, and R. Shahriyar, “Not low-resource anymore: Aligner ensembling, batch filtering, and new datasets for Bengali-English machine translation,” in Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). 1em plus 0.5em minus 0.4em Online: Association for Computational Linguistics, Nov. 2020, pp. 2612–2623. [Online]. Available: https://www.aclweb.org/anthology/2020.emnlp-main.207 OpenAlex ↗ · Scholar ↗
  18. K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778. our card
  19. A. Howard, M. Sandler, G. Chu, L.-C. Chen, B. Chen, M. Tan, W. Wang, Y. Zhu, R. Pang, V. Vasudevan et al., “Searching for mobilenetv3,” in Proceedings of the IEEE/CVF international conference on computer vision, 2019, pp. 1314–1324. OpenAlex ↗ · Scholar ↗
  20. G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger, “Densely connected convolutional networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 4700–4708. OpenAlex ↗ · Scholar ↗
  21. O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg, and L. Fei-Fei, “ImageNet Large Scale Visual Recognition Challenge,” International Journal of Computer Vision (IJCV), vol. 115, no. 3, pp. 211–252, 2015. our card
  22. A. Bhattacharjee, T. Hasan, K. Mubasshir, M. S. Islam, W. A. Uddin, A. Iqbal, M. S. Rahman, and R. Shahriyar, “Banglabert: Lagnuage model pretraining and benchmarks for low-resource language understanding evaluation in bangla,” in Findings of the North American Chapter of the Association for Computational Linguistics: NAACL 2022, july 2022. [Online]. Available: https://arxiv.org/abs/2101.00204 OpenAlex ↗ · Scholar ↗