A New Contrastive Learning-Based Vision Transformer for Sentiment Analysis Using Scene Text Images
- 23 December 2024
- journal article
- research article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Pattern Recognition and Artificial Intelligence
- Vol. 38 (16)
Abstract
Sentiment analysis using scene text images is complex and challenging because it has an arbitrary background, and the method should rely on only visual features. Unlike most existing methods that use either text or images or both, this study uses only scene text images for sentiment analysis. The intuition to use only scene text images is that sometimes users express their feelings and emotions or convey their messages by writing text in different shapes with diverse background designs. It is noted that the existing methods ignore such vital cues for sentiment analysis. This work explores a vision transformer to extract visual features that represent contextual information about the appearance of the text image. Further, to strengthen the visual features, the proposed work introduces contrastive learning which maximizes the gap between inter-classes and minimizes the gap between intra-classes of positive, negative, and neutral. To demonstrate the effectiveness of the proposed method, it is tested on our own constructed dataset and benchmark dataset. A comparative study of our method with the existing method shows the proposed method is superior in the classification of positive, negative, and neutral scene text images.Keywords
This publication has 19 references indexed in Scilit:
- A New Contrastive Learning Based Model for Estimating Degree of Multiple Personality Traits Using Social Media Posts2023
- Collaborative fine-grained interaction learning for image–text sentiment analysisKnowledge-Based Systems, 2023
- Multitasking of sentiment detection and emotion recognition in code-mixed Hinglish dataKnowledge-Based Systems, 2022
- Vector based sentiment and emotion analysis from text: A surveyEngineering Applications of Artificial Intelligence, 2022
- Cross-modal image sentiment analysis via deep correlation of textual semanticKnowledge-Based Systems, 2021
- ABCDM: An Attention-based Bidirectional CNN-RNN Deep Model for sentiment analysisFuture Generation Computer Systems, 2021
- Transformer based Deep Intelligent Contextual Embedding for Twitter sentiment analysisFuture Generation Computer Systems, 2020
- A review of sentiment analysis research in Arabic languageFuture Generation Computer Systems, 2020
- Sentiment analysis of Twitter data during critical events through Bayesian networks classifiersFuture Generation Computer Systems, 2020
- Image–text sentiment analysis via deep multimodal attentive fusionKnowledge-Based Systems, 2019