Open Access iconOpen Access

ARTICLE

crossmark

AMSA: Adaptive Multi-Channel Image Sentiment Analysis Network with Focal Loss

Xiaofang Jin, Yiran Li*, Yuying Yang

School of Information and Communication Engineering, Communication University of China, Beijing, 100024, China

* Corresponding Author: Yiran Li. Email: email

Computers, Materials & Continua 2025, 85(3), 5309-5326. https://doi.org/10.32604/cmc.2025.067812

Abstract

Given the importance of sentiment analysis in diverse environments, various methods are used for image sentiment analysis, including contextual sentiment analysis that utilizes character and scene relationships. However, most existing works employ character faces in conjunction with context, yet lack the capacity to analyze the emotions of characters in unconstrained environments, such as when their faces are obscured or blurred. Accordingly, this article presents the Adaptive Multi-Channel Sentiment Analysis Network (AMSA), a contextual image sentiment analysis framework, which consists of three channels: body, face, and context. AMSA employs Multi-task Cascaded Convolutional Networks (MTCNN) to detect faces within body frames; if detected, facial features are extracted and fused with body and context information for emotion recognition. If not, the model leverages body and context features alone. Meanwhile, to address class imbalance in the EMOTIC dataset, Focal Loss is introduced to improve classification performance, especially for minority emotion categories. Experimental results have shown that certain sentiment categories with lower representation in the dataset demonstrate leading classification accuracy, the AMSA yields a 2.53% increase compared with state-of-the-art methods.

Keywords

Image sentiment analysis; adaptive multi-channel; class imbalance

Cite This Article

APA Style
Jin, X., Li, Y., Yang, Y. (2025). AMSA: Adaptive Multi-Channel Image Sentiment Analysis Network with Focal Loss. Computers, Materials & Continua, 85(3), 5309–5326. https://doi.org/10.32604/cmc.2025.067812
Vancouver Style
Jin X, Li Y, Yang Y. AMSA: Adaptive Multi-Channel Image Sentiment Analysis Network with Focal Loss. Comput Mater Contin. 2025;85(3):5309–5326. https://doi.org/10.32604/cmc.2025.067812
IEEE Style
X. Jin, Y. Li, and Y. Yang, “AMSA: Adaptive Multi-Channel Image Sentiment Analysis Network with Focal Loss,” Comput. Mater. Contin., vol. 85, no. 3, pp. 5309–5326, 2025. https://doi.org/10.32604/cmc.2025.067812



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 475

    View

  • 192

    Download

  • 0

    Like

Share Link