Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification

Dan Liu, Lin Li, Xiaohui Tao, Jian Cui, Qing Xie

Introduction

Understanding human emotion through multimodal data—combining text and imagery—remains a core challenge in artificial intelligence. Traditionally, researchers have approached Target-Oriented Multimodal Sentiment Classification (TMSC) by categorizing it into two distinct tasks: identifying sentiment toward specific entities (e.g., a person or location) and toward specific aspects (e.g., the "battery life" of a device).

A recent study presented at EMNLP 2023, titled "Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification," challenges this dichotomy. The authors propose that the distinction between entity and aspect is artificial and that a unified model can effectively handle both by utilizing sophisticated prompt engineering and visual integration techniques.

The Challenge: Fragmented Sentiment Analysis

Most existing sentiment analysis frameworks are specialized. Entity-level models focus on broad subjects, while aspect-level models drill down into specific features. This decentralized approach often requires task-specific architectures, which limits generalizability.

The authors argue that sentiment is fundamentally governed by context rather than target type. For instance, a phrase like "The battery life is average" conveys a specific sentiment whether "battery life" is labeled as an entity or an aspect. The primary hurdle is creating a flexible architecture capable of interpreting these nuances across different modalities without specialized sub-models.

Figure 1: Comparison between (a) Entity-level MSC and (b) Aspect-level MSC tasks.

Methodology: The UnifiedTMSC Framework

The researchers introduced UnifiedTMSC, a model designed to bridge the gap between entity and aspect analysis through two primary innovations:

1. Task Paraphrasing (Hard Prompting)

Instead of processing raw text, the model reformulates the task into a natural language "seed prompt." To deepen the model's understanding of task intent, the authors used paraphrasing rules to generate multiple variations of these prompts (e.g., substituting "sentiment" with "emotion" or "feeling"). The final input is structured as a cloze test: [target] express a [MASK] sentiment. The model then predicts the sentiment word (e.g., "positive," "neutral," or "negative") to fill the [MASK] token.

2. Image Prefix Tuning (Soft Prompting)

Aligning visual information with textual context is a known difficulty in multimodal learning. To address this "modality gap," UnifiedTMSC segments images into regions and converts them into continuous vectors, or "soft prompts." These vectors serve as prefixes to the text, directing the model's attention to relevant visual cues while preserving the pre-trained knowledge of the underlying language model.

Experimental Setup and Datasets

The UnifiedTMSC model was rigorously evaluated across four diverse benchmarks:

  • Entity-level: Twitter-2015 and Twitter-2017, which consist of multimodal tweets mentioning various people and locations.
  • Aspect-level:
    • Multi-ZOL: A Chinese dataset featuring mobile phone reviews across six distinct aspects, such as cost performance and appearance.
  • MASAD: A large-scale dataset covering seven domains, including food, architecture, and animals.

Key Insights and Results

The study yielded several significant findings:

  • Context Over Category: The results suggest that the distinction between entities and aspects is largely irrelevant for sentiment logic. By providing descriptive context via prompts, the model learns a unified sentiment representation.
  • Performance Gains: UnifiedTMSC consistently outperformed previous state-of-the-art (SOTA) models. On the Twitter-2015 dataset, it achieved a 2.8% improvement in accuracy and a 4.5% increase in Macro-F1. On the Multi-ZOL dataset, the model saw a substantial accuracy jump of 7.75% over the previous SOTA, ModalNet.
  • Prompt Sensitivity: Ablation studies revealed that the "descriptive" component of the prompting is critical; removing paraphrased prompts led to accuracy drops of up to 7.4%. Additionally, the placement of the [MASK] token in the middle of the prompt was found to be most effective, highlighting the importance of surrounding context.

Conclusion and Future Directions

UnifiedTMSC demonstrates that a single, prompt-based architecture can master diverse multimodal sentiment tasks. While the current reliance on manual paraphrasing rules and limited language scope (English and Chinese) are noted constraints, the success of this unified approach opens doors for broader applications. Future research may explore automated prompt generation and the extension of this framework to other multimodal tasks like visual question answering.

Summary updated

BibTeX
@inproceedings{liu2023descriptive,
  author = {Dan Liu and Lin Li and Xiaohui Tao and Jian Cui and Qing Xie},
  title = {{Descriptive Prompt Paraphrasing for Target-Oriented Multimodal Sentiment Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.275},
}
Figure