Introduction
Multimodal Aspect-Based Sentiment Analysis (MABSA) is a complex task that involves extracting specific "aspects" from image-text pairs and determining the sentiment expressed toward each. For example, in a social media post about an event, a model must identify the individuals or organizations mentioned and correctly attribute the sentiment to them based on both the text and the accompanying image.
The Challenge: Granularity and Alignment
Researchers have identified two primary weaknesses in existing MABSA models:
- Granularity Mismatch: Extracting an aspect (identifying who or what is in a scene) and classifying its sentiment (identifying how they feel) require different levels of visual detail. Extraction benefits from a global view, while sentiment classification requires fine-grained, local details like facial expressions.
- Target Alignment: Models often fail to explicitly link textual targets to the specific regions of an image that represent them, leading to the inclusion of irrelevant visual "noise."
The TMFN Architecture
The Target-oriented Multi-grained Fusion Network (TMFN) addresses these issues using a three-layered approach that processes information at progressive levels of granularity.
1. Text-only Layer
This layer uses RoBERTa to establish a linguistic baseline. It processes the sentence to generate initial predictions, ensuring the model captures the core sentiment expressed in the text before integrating visual data.
2. Global Enhanced Layer
By fusing text features with global image information via a Vision Transformer (ViT), this layer focuses on the "macro" task of identifying and counting aspect terms within the overall context of the image.
3. Global-local Enhanced Layer
This core innovation introduces the Target-oriented Feature Alignment (TOFA) module. TOFA utilizes Faster R-CNN to detect candidate objects in the image and then calculates the similarity between these objects and image patches. This effectively "zooms in" on the emotional details of the targets, re-weighting visual features to prioritize relevant regions.
Dynamic Gating Mechanism
To prevent irrelevant or decorative images from confusing the model, TMFN employs a dynamic gating mechanism. It calculates a "gate value" based on the text prediction probability to decide how much visual information should be integrated at each step, acting as a filter for non-contributory visual data.
Key Insights and Results
The researchers' "Macro vs. Micro" hypothesis was validated through ablation studies: removing global information primarily hurt aspect extraction performance, while removing the fine-grained TOFA module significantly degraded sentiment accuracy.
TMFN achieved new state-of-the-art (SOTA) results on two major benchmarks:
- Twitter2015: Achieved an F1-score of 69.03%, a 0.43% improvement over previous models.
- Twitter2017: Achieved an F1-score of 70.95%, a 0.55% improvement over previous models.
Conclusion
TMFN demonstrates that recognizing the different granularity requirements for extraction and classification is essential for multimodal understanding. By aligning textual targets with local visual features and employing dynamic gating, the model sets a new standard for sentiment analysis in complex, real-world social media environments.
Summary updated