Back to Search
Start Over
A multimodal approach to cross-lingual sentiment analysis with ensemble of transformer and LLM.
- Source :
-
Scientific reports [Sci Rep] 2024 Apr 26; Vol. 14 (1), pp. 9603. Date of Electronic Publication: 2024 Apr 26. - Publication Year :
- 2024
-
Abstract
- Sentiment analysis is an essential task in natural language processing that involves identifying a text's polarity, whether it expresses positive, negative, or neutral sentiments. With the growth of social media and the Internet, sentiment analysis has become increasingly important in various fields, such as marketing, politics, and customer service. However, sentiment analysis becomes challenging when dealing with foreign languages, particularly without labelled data for training models. In this study, we propose an ensemble model of transformers and a large language model (LLM) that leverages sentiment analysis of foreign languages by translating them into a base language, English. We used four languages, Arabic, Chinese, French, and Italian, and translated them using two neural machine translation models: LibreTranslate and Google Translate. Sentences were then analyzed for sentiment using an ensemble of pre-trained sentiment analysis models: Twitter-Roberta-Base-Sentiment-Latest, bert-base-multilingual-uncased-sentiment, and GPT-3, which is an LLM from OpenAI. Our experimental results showed that the accuracy of sentiment analysis on translated sentences was over 86% using the proposed model, indicating that foreign language sentiment analysis is possible through translation to English, and the proposed ensemble model works better than the independent pre-trained models and LLM.<br /> (© 2024. The Author(s).)
Details
- Language :
- English
- ISSN :
- 2045-2322
- Volume :
- 14
- Issue :
- 1
- Database :
- MEDLINE
- Journal :
- Scientific reports
- Publication Type :
- Academic Journal
- Accession number :
- 38671064
- Full Text :
- https://doi.org/10.1038/s41598-024-60210-7