Abstract
Visual sentiment classification is a complex task due to the subjective nature of human emotion and the high cost of acquiring labeled data. While Unsupervised Domain Adaptation (UDA) has been used to bridge the gap between labeled source domains and unlabeled target domains, most existing methods are limited to a single source. This paper introduces MSGAN (Multi-source Sentiment Generative Adversarial Network), the first framework specifically designed for multi-source domain adaptation (MDA) in visual sentiment analysis. MSGAN maps multiple source domains and a target domain into a unified sentiment latent space, effectively transferring emotional knowledge while mitigating domain interference. Experimental results on benchmark datasets demonstrate that MSGAN significantly outperforms state-of-the-art single-source and multi-source adaptation methods.
Introduction
Predicting the sentiment evoked by an image is a primary challenge in computer vision. The main bottleneck is the "labeling gap"—the difficulty of obtaining reliable sentiment labels for diverse datasets. Unsupervised Domain Adaptation (UDA) offers a solution by leveraging knowledge from a labeled source (e.g., artistic photographs) to an unlabeled target (e.g., social media images). However, real-world data is often distributed across multiple sources with varying styles and distributions.
Simply merging these sources often leads to the "source-combined trap," where conflicting distributions interfere with the learning process, resulting in lower accuracy than using a single source. Furthermore, standard MDA methods often fail to ensure that the sentiment of an image remains consistent after domain translation. MSGAN addresses these issues by creating a shared representation that preserves emotional semantics across domains.
Methodology
The MSGAN framework addresses the challenges of multi-source adaptation through a unified sentiment latent space and a novel consistency loss mechanism.
MSGAN Architecture
MSGAN employs three interconnected pipelines to align domain distributions:
- Image Reconstruction Pipeline: Utilizes Variational Autoencoders (VAEs) to map images from all domains into a shared latent space $Z$. Weight sharing in the encoder and decoder layers forces the model to learn a universal representation of sentiment.
- Image Translation Pipeline: Employs Generative Adversarial Networks (GANs) to transform source images into the style of the target domain, facilitating better feature alignment.
- Cycle-Reconstruction Pipeline: Ensures the reversibility of the domain mapping, which helps preserve the structural integrity and original information of the images during transformation.
Emotional Semantic Consistency (ESC)
A key innovation of MSGAN is the Emotional Semantic Consistency (ESC) loss. This loss ensures that the sentiment distribution of a source image is preserved during the style transfer process. By enforcing that a "happy" image in the source domain remains "happy" after translation to the target domain's style, the model maintains the semantic integrity required for accurate classification.
Experimental Evaluation
The authors evaluated MSGAN on four benchmark datasets commonly used in sentiment analysis:
- FI (Flickr and Instagram): A large-scale dataset with 22,700 images across eight emotion categories.
- ArtPhoto: 806 artistic photographs categorized by emotion.
- Twitter I & Twitter II: Social media datasets consisting of posts labeled with binary sentiment (positive/negative).
Key Results
MSGAN consistently outperformed state-of-the-art MDA and single-source UDA methods across all test cases:
- FI Dataset: MSGAN achieved 70.63% accuracy, significantly higher than the previous best MDA method, DCTN (65.31%).
- Twitter I: It reached 65.35% accuracy, outperforming the single-source CycleEmotionGAN (62.38%).
- Ablation Study: Removing the Cycle-Consistency (CC) or the Emotional Semantic Consistency (ESC) components led to a noticeable drop in performance, proving that both structural alignment and label preservation are critical for success.
Conclusion
MSGAN represents a significant advancement in visual sentiment classification by providing a robust framework for multi-source domain adaptation. By leveraging a unified latent space and ensuring emotional consistency, it overcomes the limitations of single-source UDA and simple source merging. Future work will explore extending MSGAN to emotion distribution learning and investigating methods to further improve the training stability of the adversarial components.
Summary updated