Abstract
Visual Sentiment Recognition (VSR) aims to understand the emotions evoked by images, yet current deep learning models often rely on spurious correlations—associating background objects with emotions regardless of context. We present CausVSR, a novel framework that integrates causal inference into the VSR pipeline. By modeling the "emotional chain" (External Event $\to$ Emotional Perception $\to$ Emotional State) and employing "front-door adjustment" via a Global Category Elicitation Module (GCEM), CausVSR effectively filters out misleading confounders. Experimental results on four benchmark datasets demonstrate that CausVSR outperforms existing state-of-the-art methods, providing more robust and human-aligned emotional understanding.
Introduction
The primary challenge in Visual Sentiment Recognition (VSR) is the presence of spurious correlations. Standard models often learn to associate specific objects with emotions based on dataset frequency rather than genuine emotional triggers. For instance, a model might learn that "flowers" always signify "joy," leading to incorrect predictions in contexts like a funeral. These "hidden confounders"—contextual elements that mislead the model—prevent AI from achieving a human-like perception of emotion.
To address this, we propose moving beyond simple pattern matching toward a causality-driven approach. By identifying the causal relationships between image features and emotional responses, we can build models that are more resilient to background noise and better at identifying true emotional stimuli.
Methodology
The CausVSR framework is structured around three core components designed to mimic human psychological processes:
- Emotion-Stimuli Feature Representation: We utilize a Res2Net-101 backbone to extract multi-scale features from input images. These features represent the "External Events" that serve as the initial triggers for emotional response.
- Causality-based Emotional Perception: This is the framework's central innovation. We model the VSR process as a Structural Causal Model (SCM). To mitigate the influence of unobserved confounders, we implement front-door adjustment. This is achieved through the Global Category Elicitation Module (GCEM), which maintains a dictionary of global emotional prototypes. This module helps the model understand how features relate to emotions across the entire dataset, effectively blocking local spurious correlations.
- Discrete Emotion State Prediction: The model integrates refined causal sentiment maps with high-level semantic features to predict the final emotional label.
Training is guided by a combination of standard classification loss and Surface Normal Loss (SNL), the latter of which ensures the generated sentiment maps are structurally accurate and detailed.
Key Insights
- Saliency $\neq$ Sentiment: Traditional saliency maps highlight visually prominent objects, but these are not always the emotional triggers. CausVSR distinguishes between what is "noticeable" and what is "evocative," often focusing on specific details (e.g., the color of a bird's tail) rather than the whole object.
- Front-Door Adjustment: In causal inference, the front-door criterion allows for the calculation of causal effects even when confounders are unmeasured. Applying this to VSR enables the model to ignore background noise that typically degrades deep learning performance.
- Psychological Alignment: By following the chain of "External Event $\to$ Emotional Perception $\to$ Emotional State," the model's architecture is grounded in established psychological theory.
Experiments and Results
CausVSR was evaluated on four major benchmarks: FI-8, EmotionROI, IAPS-Subset, and Twitter II.
Quantitative Performance
CausVSR consistently surpassed previous state-of-the-art (SOTA) methods:
- FI-8: Achieved an accuracy of 72.57%, a significant improvement over the previous best (DCNet).
- EmotionROI: Reached 59.82% accuracy.
- Small-scale Benchmarks: Demonstrated high precision on binary tasks, reaching 95.97% on IAPS-Subset.
Qualitative Analysis
Visualizations indicate that CausVSR produces cleaner sentiment maps with fewer false activations in the background compared to traditional Class Activation Mapping (CAM) methods. This confirms the model's ability to focus on causal emotional triggers rather than just prominent objects.
Conclusion and Future Work
While CausVSR represents a significant step forward, challenges remain. The model occasionally struggles to distinguish between visually similar emotions, such as "Anger" vs. "Fear" or "Contentment" vs. "Disgust," due to overlapping visual features like dark tones or complex textures.
Future research will focus on applying CausVSR to real-world scenarios, including mental health assessment and educational engagement monitoring. Additionally, we aim to refine the model to capture more complex, non-discrete psychological states, moving toward a more nuanced AI understanding of human emotion.
Summary updated