Robust Multimodal Sentiment Analysis of Image-Text Pairs by Distribution-Based Feature Recovery and Fusion

Daiqing Wu, Dongbao Yang, Yu Zhou, Can Ma

TL;DR

Multimodal sentiment analysis models often break down when social media images are pixelated or text captions are missing. This paper introduces Distribution-Based Feature Recovery and Fusion (DRF), a framework that maintains running feature queues to model global data distributions. This allows the system to seamlessly recover missing modalities and dynamically down-weight low-quality inputs during feature fusion.

What Problem Does This Paper Address?

Multimodal Sentiment Analysis (MSA) aims to understand the emotions behind social media posts by combining textual and visual information. While current state-of-the-art models perform well on pristine datasets, real-world social media data is messy. Images can be corrupted, low-resolution, or blocked due to privacy settings; text can suffer from encoding errors, missing words, or unreadable characters.

When standard models encounter these missing or low-quality modalities, their performance plummets. Furthermore, social media posts naturally exhibit "mismatches"—such as a sarcastic caption paired with an unrelated image. Existing cross-modal alignment methods assume tight correlation between text and images, meaning these natural mismatches often mislead the model during feature recovery.

Methods

The authors propose Distribution-Based Feature Recovery and Fusion (DRF) to handle both missing and low-quality data within a single, unified framework.

Instead of analyzing image-text pairs in complete isolation, DRF maintains a continuous feature queue (leveraging a memory mechanism similar to self-supervised contrastive learning) for both images and texts. This queue approximates the global mean ($\mu$) and standard deviation ($\sigma$) of the clean feature distributions.

The framework operates via two core mechanisms:

  1. Modality Recovery (For Missing Data): DRF trains Multi-Layer Perceptrons (MLPs) to translate features from one modality to another. To bypass the issue of mismatched social media pairs, the recovery is supervised at two levels: sample-based recovery (local, pair-to-pair translation) and distribution-based recovery (global translation that forces the predicted features to match the macro-level mean and variance of the target distribution).
  2. Modality Quality Estimation & Fusion (For Low-Quality Data): Using the learned Gaussian distributions, DRF calculates the probability that an incoming feature belongs to the "clean" distribution. If a feature drifts far from the cluster center, it is flagged as low-quality. DRF then expands the sample into three pseudo-pairs (the original pair, the image + recovered text, and the text + recovered image) and fuses them using a weighted sum based on their quality probabilities. This dynamically mutes the impact of noisy inputs.

The complete pipeline is illustrated below:

Figure 2: Illustration of DRF. The core of our method is the modeling of image and text feature distributions, which we ap- proximate using the respective feature queues. After separate encoding of each modality, we first supervise two converters to learn inter-modal mapping relationships by sample-based and distribution-based recovery. Subsequently, we leverage the recovered features to expand each sample into three. Utilizing the Gaussian distribution probability, we estimate the modality qualities to decide their contributions to the fusion. Finally, we obtain the overall fused feature as the weighted sum of the features of three expanded samples and enqueue features to the queue according to their qualities.

Datasets

The model was evaluated on three public image-text sentiment benchmarks:

  • MVSA-S & MVSA-M: Twitter datasets containing 4,511 and 17,024 pairs respectively, annotated with three sentiment polarities (positive, neutral, negative).
  • TumEmo: A large-scale Tumblr dataset containing 195,265 pairs annotated across 7 distinct emotion categories (angry, bored, calm, fear, happy, love, sad).

To rigorously evaluate robustness, the authors simulated real-world corruption by randomly masking 40–80% of image pixels and replacing 40–80% of text tokens with [MASK] tags, applying these disruptions under both fixed (inference-only) and random (training and inference) conditions.

Key Insights and Ideas

  • Distribution Alignment Beats Pair Alignment: On social media, an image and a caption don't always share identical semantic meanings. Mapping the distributions (macro-level statistics) rather than forcing strict instance-to-instance translation prevents the recovery network from overfitting to mismatched pairs.
  • Framing Quality as Distribution Distance: Rather than training a separate, complex model to predict input quality, DRF elegantly frames quality as a distance metric. Features that have low probability under the estimated Gaussian distribution are naturally treated as low-quality or corrupted.
  • Robustness via Data Expansion: By expanding a single input into three distinct feature combinations before fusion, the model guarantees that a clean, recovered representation can compensate for a corrupted original modality.

Key Results

  • Superiority Under Complete Modality Loss: Under "modality-fixed disruption" (where one modality is entirely corrupted or missing during inference), DRF consistently outperformed existing SOTA methods. For instance, on the MVSA-S dataset with corrupted text, DRF achieved an accuracy of 69.4%, outperforming the next-best method (MVCN) at 65.3%.
  • Extreme Stability Against Noise: In random disruption tests where the disruption rate ($dr$) was scaled up to 1.0 (meaning every single sample was partially corrupted), DRF's performance remained remarkably stable. While baseline models saw accuracy drops of up to 18.11% on the TumEmo dataset, DRF's performance dropped by only 6.50%.
  • No Penalty on Clean Data: Even when evaluated on standard, undisrupted datasets, DRF achieved competitive or superior performance (e.g., 76.5% accuracy on MVSA-S), proving that modeling data quality variations benefits standard classification tasks as well.

Limitations and Future Work

Not discussed in the paper.

Summary updated

Abstract

As posts on social media increase rapidly, analyzing the sentiments embedded in image-text pairs has become a popular research topic in recent years. Although existing works achieve impressive accomplishments in simultaneously harnessing image and text information, they lack the considerations of possible low-quality and missing modalities. In real-world applications, these issues might frequently occur, leading to urgent needs for models capable of predicting sentiment robustly. Therefore, we propose a Distribution-based feature Recovery and Fusion (DRF) method for robust multimodal sentiment analysis of image-text pairs. Specifically, we maintain a feature queue for each modality to approximate their feature distributions, through which we can simultaneously handle low-quality and missing modalities in a unified framework. For low-quality modalities, we reduce their contributions to the fusion by quantitatively estimating modality qualities based on the distributions. For missing modalities, we build inter-modal mapping relationships supervised by samples and distributions, thereby recovering the missing modalities from available ones. In experiments, two disruption strategies that corrupt and discard some modalities in samples are adopted to mimic the low-quality and missing modalities in various real-world scenarios. Through comprehensive experiments on three publicly available image-text datasets, we demonstrate the universal improvements of DRF compared to SOTA methods under both two strategies, validating its effectiveness in robust multimodal sentiment analysis.
BibTeX
@inproceedings{wu2024robust,
  author = {Daiqing Wu and Dongbao Yang and Yu Zhou and Can Ma},
  title = {{Robust Multimodal Sentiment Analysis of Image-Text Pairs by Distribution-Based Feature Recovery and Fusion}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3680653},
}
Figure