Visual Sentiment Analysis Using Deep Learning Models with Social Media Data
Source abstract
Abstract
Analyzing the sentiments of people from social media content through text, speech, and images is becoming vital in a variety of applications. Many existing research studies on sentiment analysis rely on textual data, and similar to the sharing of text, users of social media share more photographs and videos. Compared to text, images are said to exhibit the sentiments in a much better way. So, there is an urge to build a sentiment analysis model based on images from social media. In our work, we employed different transfer learning models, including the VGG-19, ResNet50V2, and DenseNet-121 models, to perform sentiment analysis based on images. They were fine-tuned by freezing and unfreezing some of the layers, and their performance was boosted by applying regularization techniques. We used the Twitter-based images available in the Crowdflower dataset, which contains URLs of images with their sentiment polarities. Our work also presents a comparative analysis of these pre-trained models in the prediction of image sentiments on our dataset. The accuracies of our fine-tuned transfer learning models involving VGG-19, ResNet50V2, and DenseNet-121 are 0.73, 0.75, and 0.89, respectively. When compared to previous attempts at visual sentiment analysis, which used a variety of machine and deep learning techniques, our model had an improved accuracy by about 5% to 10%. According to the findings, the fine-tuned DenseNet-121 model outperformed the VGG-19 and ResNet50V2 models in image sentiment prediction.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Sentiment Analysis and Opinion Mining · Image Retrieval and Classification Techniques · Text and Document Classification Technologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of ECE, Karunya Institute of Technology and Sciences, Coimbatore 641114, Tamil Nadu, India
Faculty of Economics, Computer Science and Engineering, Vasile Goldis Western University of Arad, 310025 Arad, Romania
Faculty of Exact Sciences, Aurel Vlaicu University of Arad, 310032 Arad, Romania
References (52)
Show source-provided references
1. Human-Computer Interaction: Overview on State of the Art
2. Auxier, B., and Anderson, M. (2021). Social media use in 2021. Pew Res. Cent.
3. Critical analysis of Big Data challenges and analytical methods10.1016/j.jbusres.2016.08.001 ↗
4. On predicting elections with hybrid topic based sentiment analysis of tweets10.1016/j.procs.2018.08.183 ↗
5. El Alaoui, I., Gahi, Y., Messoussi, R., Chaabi, Y., Todoskoff, A., and Kobi, A. (2018). A novel adaptable approach for sentiment analysis on big social data. J. Big Data, 5.10.1186/s40537-018-0120-0 ↗
6. Sentiment Analysis in Social Media and Its Application: Systematic Literature Review10.1016/j.procs.2019.11.174 ↗
7. Zhao, H., Liu, Z., Yao, X., and Yang, Q. (2021). A machine learning-based sentiment analysis of online product reviews with a novel term weighting and feature selection approach. Inf. Processing Manag., 58.10.1016/j.ipm.2021.102656 ↗
8. Dashtipour, K., Gogate, M., Adeel, A., Larijani, H., and Hussain, A. (2021). Sentiment Analysis of Persian Movie Reviews Using Deep Learning. Entropy, 23.10.3390/e23050596 ↗
9. Farisi, A.A., Sibaroni, Y., and Faraby, S.A. (2019). Sentiment analysis on hotel reviews using Multinomial Naïve Bayes classifier. J. Phys. Conf. Ser., 1192.10.1088/1742-6596/1192/1/012024 ↗
10. Melton, C.A., Olusanya, O.A., Ammar, N., and Shaban-Nejad, A. (2021). Public sentiment analysis and topic modeling regarding COVID-19 vaccines on the Reddit social media platform: A call to action for strengthening vaccine confidence. J. Infect. Public Health, 14.10.1016/j.jiph.2021.08.010 ↗
11. Classification of Opinion Mining Techniques
12. Kim, M., Lee, S.M., Choi, S., and Kim, S.Y. (2021). Impact of visual information on online consumer review behavior: Evidence from a hotel booking website. J. Retail. Consum. Serv., 60.10.1016/j.jretconser.2021.102494 ↗
13. Improving the Performance of Sentiment Classification on Imbalanced Datasets With Transfer Learning10.1109/ACCESS.2019.2892094 ↗
14. Praveen Gujjar, J., Prasanna Kumar, H.R., and Chiplunkar, N.N. (2021). Image Classification and Prediction using Transfer Learning in Colab Notebook. Glob. Transit. Proc., 2.10.1016/j.gltp.2021.08.068 ↗
15. Waste image classification based on transfer learning and convolutional neural network10.1016/j.wasman.2021.08.038 ↗
16. Dilshad, S., Singh, N., Atif, M., Hanif, A., Yaqub, N., Farooq, W.A., Ahmad, H., Chu, Y., and Masood, M.T. (2021). Automated image classification of chest X-rays of COVID-19 using deep transfer learning. Results Phys., 28.10.1016/j.rinp.2021.104529 ↗
17. Siersdorfer, S., Minack, E., Deng, F., and Hare, J. (2010, January 25–29). Analyzing and predicting sentiment of images on the social web. Proceedings of the International Conference on Multimedia MM ’10, Firenze, Italy.10.1145/1873951.1874060 ↗
18. Rao, T., Xu, M., Liu, H., Wang, J., and Burnett, I. (2016, January 25–28). Multi-scale blocks based image emotion classification using multiple instance learning. Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA.10.1109/ICIP.2016.7532434 ↗
19. Studying Aesthetics in Photographic Images Using a Computational Approach10.1007/11744078_23 ↗
20. Marchesotti, L., Perronnin, F., Larlus, D., and Csurka, G. (2011, January 6–13). Assessing the aesthetic quality of photographs using generic image descriptors. Proceedings of the 2011 International Conference on Computer Vision, Barcelona, Spain.10.1109/ICCV.2011.6126444 ↗
21. Borth, D., Chen, T., Ji, R., and Chang, S.-F. (2013, January 21–25). SentiBank: Large-scale ontology and classifiers for detecting sentiment and emotions in visual content. Proceedings of the 21st ACM International Conference on Multimedia—M ’13, Barcelona, Spain.10.1145/2502081.2502268 ↗
22. Yuan, J., Mcdonough, S., You, Q., and Luo, J. (2013, January 11). Sentribute: Image sentiment analysis from a mid-level perspective. Proceedings of the Second International Workshop on Issues of Sentiment Discovery and Opinion Mining—WISDOM ’13, Chicago, IL, USA.10.1145/2502069.2502079 ↗
23. Zhao, Z., Zhu, H., Xue, Z., Liu, Z., Tian, J., Chua, M.C.H., and Liu, M. (2019). An image-text consistency driven multimodal sentiment analysis approach for social media. Inf. Processing Manag., 56.10.1016/j.ipm.2019.102097 ↗
24. Fernandez, D., Woodward, A., Campos, V., Giro-i-Nieto, X., Jou, B., and Chang, S.-F. (2017, January 27). More cat than cute? Interpretable Prediction of Adjective-Noun Pairs. Proceedings of the Workshop on Multimodal Understanding of Social, Affective and Subjective Attributes, Mountain View, CA, USA.10.1145/3132515.3132520 ↗
25. Visual Sentiment Prediction Based on Automatic Discovery of Affective Regions10.1109/TMM.2018.2803520 ↗
26. Wang, J., Fu, J., Xu, Y., and Mei, T. (2016, January 9–15). Beyond Object Recognition: Visual Sentiment Analysis with Deep Coupled Adjective and Noun Neural Networks. Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-16), New York, NY, USA.
27. Boosting image sentiment analysis with visual attention10.1016/j.neucom.2018.05.104 ↗
28. Ortis, A., Farinella, G.M., Torrisi, G., and Battiato, S. (2018, January 4–6). Visual Sentiment Analysis Based on on Objective Text Description of Images. Proceedings of the 2018 International Conference on Content-Based Multimedia Indexing (CBMI), La Rochelle, France.10.1109/CBMI.2018.8516481 ↗
29. Sentiment analysis of social images via hierarchical deep fusion of content and links10.1016/j.asoc.2019.04.010 ↗
30. Image-text sentiment analysis via deep multimodal attentive fusion10.1016/j.knosys.2019.01.019 ↗
31. Chen, T., Borth, D., Darrell, T., and Chang, S.-F. (2014). DeepSentiBank: Visual Sentiment Concept Classification with Deep Convolutional Neural Networks. ArXiv.
32. From Pixels to Sentiment: Fine-tuning CNNs for Visual Sentiment Prediction10.1016/j.imavis.2017.01.011 ↗
33. Machajdik, J., and Hanbury, A. (2010, January 25–29). Affective image classification using features inspired by psychology and art theory. Proceedings of the International Conference on Multimedia—MM ’10, Firenze, Italy.10.1145/1873951.1873965 ↗
34. Katsurai, M., and Satoh, S. (2016, January 20–25). Image sentiment analysis using latent correlations among visual, textual, and sentiment views. Proceedings of the 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Shanghai, China.10.1109/ICASSP.2016.7472195 ↗
35. Yilin, W., Suhang, W., Jiliang, T., Huan, L., and Baoxin, L. (2015, January 25–31). Unsupervised Sentiment Analysis for Social Media Images. Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2015), Buenos Aires, Argentina.
36. Irony detection via sentiment-based transfer learning10.1016/j.ipm.2019.04.006 ↗
37. Smetanin, S., and Komarov, M. (2021). Deep transfer learning baselines for sentiment analysis in Russian. Inf. Processing Manag., 58.10.1016/j.ipm.2020.102484 ↗
38. Cross-lingual deep neural transfer learning in sentiment analysis10.1016/j.procs.2020.08.014 ↗
39. Addressing Overfitting Problem in Deep Learning-Based Solutions for Next Generation Data-Driven Networks10.1155/2021/8493795 ↗
40. Zhao, W. (2017). Research on the deep learning of the small sample data based on transfer learning. AIP Conf. Proc., 1864.10.1063/1.4992835 ↗
41. Szegedy, C., Ioffe, S., Vanhoucke, V., and Alemi, A. (2016). Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning. ArXiv.10.1609/aaai.v31i1.11231 ↗
42. Huang, G., Liu, Z., van der Maaten, L., and Weinberger, K.Q. (2018). Densely Connected Convolutional Networks. ArXiv.10.1109/CVPR.2017.243 ↗
43. Deng, J., Dong, W., Socher, R., Ki, L., Li, K., and Fei-Fei, K. (2009, January 20–25). ImageNet: A large-scale hierarchical image database. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Miami Beach, FL, USA.10.1109/CVPR.2009.5206848 ↗
44. Zhang, J., Chen, M., Sun, H., Li, D., and Wang, Z. (2020). Object semantics sentiment correlation analysis enhanced image sentiment classification. Knowl. Based Syst., 191.10.1016/j.knosys.2019.105245 ↗
45. You, Q., Luo, J., Jin, H., and Yang, J. (2016). Building a Large Scale Dataset for Image Emotion Recognition: The Fine Print and The Benchmark. ArXiv.10.1609/aaai.v30i1.9987 ↗
46. Jindal, S., and Singh, S. (2015, January 16–19). Image sentiment analysis using deep convolutional neural networks with domain specific fine tuning. Proceedings of the 2015 International Conference on Information Processing (ICIP), Pune, India.10.1109/INFOP.2015.7489424 ↗
47. Fengjiao, W., and Aono, M. (2018, January 14–17). Visual Sentiment Prediction by Merging Hand-Craft and CNN Features. Proceedings of the 2018 5th International Conference on Advanced Informatics: Concept Theory and Applications (ICAICTA), Krabi, Thailand.10.1109/ICAICTA.2018.8541312 ↗
48. Chen, S., Yang, J., Feng, J., and Gu, Y. (2017, January 18–20). Image sentiment analysis using supervised collective matrix factorization. Proceedings of the 2017 12th IEEE Conference on Industrial Electronics and Applications (ICIEA), Siem Reap, Cambodia.10.1109/ICIEA.2017.8282991 ↗
49. Das, P., Ghosh, A., and Majumdar, R. (2020, January 4–5). Determining Attention Mechanism for Visual Sentiment Analysis of an Image using SVM Classifier in Deep learning based Architecture. Proceedings of the 2020 8th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, India.10.1109/ICRITO48877.2020.9197899 ↗
50. Liang, Y., Maeda, K., Ogawa, T., and Haseyama, M. (2021, January 6–11). Cross-Domain Semi-Supervised Deep Metric Learning for Image Sentiment Analysis. Proceedings of the ICASSP 2021–2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Toronto, ON, Canada.10.1109/ICASSP39728.2021.9414150 ↗
51. Lin, C., Zhao, S., Meng, L., and Chua, T.-S. (2020). Multi-source Domain Adaptation for Visual Sentiment Classification. ArXiv.10.1609/aaai.v34i03.5651 ↗
52. WSCNet: Weakly Supervised Coupled Networks for Visual Sentiment Classification and Detection10.1109/TMM.2019.2939744 ↗