- Conference Article
- 10.5220/0013997800004918
Exploring the Application of Deep Learning in Sentiment Analysis
- Jan 01, 2025
- Qitong Fang + 3 more +3
Exploring the Application of Deep Learning in Sentiment Analysis
The emerging technique of deep learning has been widely applied in many different areas. However, when adopted in a certain specific domain, this technique should be combined with domain knowledge to improve efficiency and accuracy. In particular, when analyzing the applications of deep learning in sentiment analysis, we found that the current approaches are suffering from the following drawbacks: (i) the existing works have not paid much attention to the importance of different types of sentiment terms, which is an important concept in this area; and (ii) the loss function currently employed does not well reflect the degree of error of sentiment misclassification. To overcome such problem, we propose to combine domain knowledge with deep learning. Our proposal includes using sentiment scores, learnt by quadratic programming, to augment training data; and introducing the penalty matrix for enhancing the loss function of cross entropy. When experimented, we achieved a significant improvement in classification results.
Exploring the Application of Deep Learning in Sentiment Analysis
Exploring the Application of Deep Learning in Sentiment Analysis
Integrating multi-criteria decision-making with hybrid deep learning for sentiment analysis in recommender systems
Expert assessments with pre-defined numerical or language terms can limit the scope of decision-making models. We propose that decision-making models can incorporate expert judgments expressed in natural language through sentiment analysis. To help make more informed choices, we present the Sentiment Analysis in Recommender Systems with Multi-person, Multi-criteria Decision Making (SAR-MCMD) method. This method compiles the opinions of several experts by analyzing their written reviews and, if applicable, their star ratings. The growth of online applications and the sheer amount of available information have made it difficult for users to decide which information or products to select from the Internet. Intelligent decision-support technologies, known as recommender systems, leverage users’ preferences to suggest what they might find interesting. Recommender systems are one of the many approaches to dealing with information overload issues. These systems have traditionally relied on single-grading algorithms to predict and communicate users’ opinions for observed items. To boost their predictive and recommendation abilities, multi-criteria recommender systems assign numerous ratings to various qualities of products. We created, manually annotated, and released the technique in a case study of restaurant selection using ‘TripAdvisor reviews’, ‘TMDB 5000 movies’, and an ‘Amazon dataset’. In various areas, cutting-edge deep learning approaches have led to breakthrough progress. Recently, researchers have begun to focus on applying these methods to recommendation systems, and different deep learning-based recommendation models have been suggested. Due to its proficiency with sparse data in large data systems and its ability to construct complex models that characterize user performance for the recommended procedure, deep learning is a formidable tool. In this article, we introduce a model for a multi-criteria recommender system that combines the best of both deep learning and multi-criteria decision-making. According to our findings, the suggested system may give customers very accurate suggestions with a sentiment analysis accuracy of 98%. Additionally, the metrics, accuracy, precision, recall, and F1 score are where the system truly shines, much above what has been achieved in the past.
Read moreRecursive Deep Learning for Sentiment Analysis over Social Data
Sentiment analysis has now become a popular research problem to tackle in NLP field. However, there are very few researches conducted on sentiment analysis for Chinese. Progress is held back due to lack of large and labelled corpus and powerful models. To remedy this deficiency, we build a Chinese Sentiment Treebank over social data. It concludes 13550 labeled sentences which are from movie reviews. Furthermore, we introduce a novel Recursive Neural Deep Model (RNDM) to predict sentiment label based on recursive deep learning. We consider the problem of classifying one sentence by overall sentiment, determining a review is positive or negative. On predicting sentiment label at sentence level, our model outperforms other commonly used baselines, such as Naïve Bayes, Maximum Entropy and SVM, by a large margin.
Read moreAN INVESTIGATION OF THE EMOTIONAL DIMENSION IN SONGS SUNG BY NEŞET ERTAŞ: AN APPLICATION OF EMOTIONAL INDEX
This article aims to highlight the emotional characteristics of the lyrics and compositions of the folk songs sung by Neşet Ertaş. For this purpose, the lyrics of 339 songs and the musical information of 264 compositions were crawled. There is also a speech among them. Three different sources have been used to obtain the lyrics and text of speech. Besides, an additional process on to them has been applied; finally, verse-based or sentence-based texts have been obtained. In this process, these texts have been removed from certain words that do not have a meaning on their own, such as unnecessary punctuations, stopwords, onomatopoeic words, question suffixes, and transformed into a plain form. After this stage, verses or sentences have been made processable. First of all, to find the Turkish sentiments of each lyric, state-of-the-art machine learning techniques have been applied to them, and the sentiment scores of each lyric have been computed. Three different machine learning models have been used to calculate sentiment scores. These three different models are re-trained for the Turkish sentiments, which are of the models developed by Google. Only a single sentiment score has been obtained for each verse or sentence. The average of this sentiment score obtained from three different models has been calculated and used to satisfy consistency. Afterward, a sentiment vector consisting of the verse of each song or each sentence of the speech text has been created. The average of this sentiment vector is the overall score of that text (song or speech). The variance of this sentiment vector has also been calculated, in which this variance has been used to measure the sentiment tides in the song or speech text. Later, some valuable variables from a widely used music listening platform have been obtained as a basis for composition information. Here, 10 variables named acousticness, danceability, energy, instrumentalness, liveness, loudness, speechiness, tempo, valence, popularity have been obtained. Three of them, danceability, energy, and valence variables have been taken into account to estimate the emotional score of the composition by getting the average of these three variables. These scores are going to be matched then with the musical information of compositions of each unique song which are 169 intersectional sets of them, and an emotional map has been drawn statistically, which can be modeled with the dimension of sentiments of lyrics and sentiments of composition showing Neşet Ertaş's emotional map. In the map of emotions, the axes have been set in the range of (-1, +1). Therefore, the scores obtained for both texts and compositions have been rescaled in the range of (-1, +1) with a formula generated for this purpose, which makes the scores of both texts and compositions are made comparable. After this stage, the sentiments of the texts are placed on the x-axis for the map of emotions while composition sentiments are placed on the y-axis. On the x-axis, which is called the lyrics scale, a score of -1 is indicated by feelings of "sorrow", and a score of +1 is indicated by feelings of "happy". The composition scale, on the other hand, shows -1 score as “melancholic” and +1 score as “cheerful” on the y-axis. According to the results obtained, it has been determined that the dominant characteristic of Neşet Ertaş's lyrics is based on sorrow words and that most of his folk songs are grouped in sorrowful lyrics and melancholic compositions. In addition, it has been found that his words are characterized by emotional changes and emotional tides; it has been also determined thanks to word cloud analysis that he often has given humane and moral advice in phrases in the lyrics. Keywords: Neşet Ertaş, Sentiment Analysis, Sentiment Index, Machine Learning, Deep Learning.
Read morePrototyping a Reusable Sentiment Analysis Tool for Machine Learning and Visualization
Evaluating customer satisfaction is very significant in all organizations to get the perspective of users/customers/stakeholders on products and/or services. Part of the data obtained during the evaluation are observations and comments of respondents and these are very rich in insights as they provide information on the strengths as well as the areas needing improvement. As the volume of textual data increases, the difficulty of analyzing them manually also increases. With these concerns, text analytics tools should be used to save time and effort in analyzing and interpreting the data. The textual data being processed in sentiment analysis problems vary in so many ways. For instance, the context of textual data and the language used vary when data are sourced from different locations and areas or fields. Thus, machine learning was utilized in this study to customize text analysis depending on the context and language used in the dataset. This research aimed to produce a prototype that can be used to explore three vectorization techniques and selected machine learning algorithms. The prototype was evaluated in the context of features for the application of machine learning in sentiment analysis. Results of the prototype development and the feedback and suggestions during the evaluation were presented. In future work, the prototype shall be improved, and the evaluators' feedback will be considered.
Read moreResearch on the Majority Decision Algorithm based on WeChat sentiment classification
Sentiment analysis mainly studies the emotional tendencies of texts from grammar, semantic rules and other aspects. The texts from social network are characterized by less words, irregular grammar, data noise and so on, which have increased the difficulty of emotion analysis. In order to improve the performance of machine learning in sentiment analysis, this study proposed the Majority Decision Algorithm to classify the emotional tendentious of the text in WeChat, combined the characteristics of five classifiers and integrated the classification results of five classifiers, eventually the text can be classified in WeChat. Firstly, this study utilized the BlueStacks to crawl the cache of WeChat Moment developed by Tencent company. Secondly, the cache was processed by Python to get the WeChat dataset. After the Chinese word segmentation, data cleaning and segmentation, the sentiment classification experiment were carried out using different classifiers. Finally, a Majority Decision Algorithm composed of five classifiers was established. It included, Naive Bayes (sklearn), Naive Bayes (SnowNLP), SVM (linear), SVM (RBF) and SGD. Then, the comparison was carried out between the performance of the algorithm and the five classifiers. Results show that the precision rates of the five classifiers are 0.8598, 0.8154, 0.8511, 0.8739 and 0.8678; the recall rates are 0.8544, 0.8482, 0.9380, 0.9226 and 0.9349; F1 scores are 0.8571, 0.8315, 0.8924, 0.8975 and 0.9001, respectively. The algorithm of the Precision rate, Recall rate and F1 score were 0.8804, 0.9349 and 0.9069, respectively, indicating that algorithm in current study significantly improved the performance, which can be effectively applied into the new text form of WeChat Moment. The study can provide theoretical reference for sentiment classification of Chinese text based on machine learning.
Read moreComparison of Deep Learning Sentiment Analysis Methods, Including LSTM and Machine Learning
Purpose of research. The purpose of the study is to evaluate certain machine learning models in data processing based on speed and efficiency related to the analysis of sentiment or consumer opinions in business intelligence. To highlight the existing developments, an overview of modern methods and models of sentiment analysis is given, demonstrating their advantages and disadvantages.Materials and methods. In order to improve the semester analysis process, organized using existing methods and models, it is necessary to adjust it in accordance with the growing changes in information flows today. In this case, it is crucial for researchers to explore the possibilities of updating certain tools, either to combine them or to develop them to adapt them to modern tasks in order to provide a clearer understanding of the results of their treatment. We present a comparison of several deep learning models, including convolutional neural networks, recurrent neural networks, and long-term and shortterm bidirectional memory, evaluated using different approaches to word integration, including Bidirectional Encoder Representations from Transformers (BERT) and its variants, FastText and Word2Vec. Data augmentation was conducted using a simple data augmentation approach. This project uses natural language processing (NLP), deep learning, and models such as LSTM, CNN, SVM TF-IDF, Adaboost, Naive Bayes, and then combinations of models.The results of the study allowed us to obtain and verify model results with user reviews and compare model accuracy to see which model had the highest accuracy results from the models and their combination of CNN with LSTM model, but SVM with TF-IDF vectoring was most effective for this unbalanced data set. In the constructed model, the result was the following indexes: ROC AUC - 0.82, precision - 0.92, F1 - 0.82, Precision - 0.82, and Recall - 0.82. More research and model implementation can be done to find a better model.Conclusion. Natural language text analysis has advanced quite a bit in recent years, and it is possible that such problems will be completely solved in the near future. Several different models in ML and CNN with the LSTM model, but SVM with the TF-IDF vectorizer proved most effective for this unbalanced data set. In general, both deep classification algorithm. A combination of both approaches can also learning and feature-based selection methods can be used to solve be used to further improve the efficiency of the algorithm. some of the most pressing problems. Deep learning is useful when the most relevant features are not known in advance, while feature-based
Read moreEnsemble deep learning for aspect-based sentiment analysis
Sentiment analysis is a subfield of Natural Language Processing (NLP) which tries to process a text to extract opinions or attitudes towards topics or entities. Recently, the use of deep learning methods for sentiment analysis has received noticeable attention from researchers. Generally, different deep learning methods have shown superb performance in sentiment analysis problem. However, deep learning models are different in nature and have different strengths and limitations. For example, convolutional neural networks are useful for extracting local structures from data, while recurrent models are able to learn order dependence in sequential data. In order to combine the advantages of different deep models, in this paper we have proposed a novel approach for aspect-based sentiment analysis which utilizes deep ensemble learning. In the proposed method, we first build four deep learning models, namely CNN, LSTM, BiLSTM and GRU. Then the outputs of these models are combined using stacking ensemble approach where we have used logistic regression as meta-learner. The results of applying the proposed method on the real datasets show that our method has increased the accuracy of aspect-based prediction by 5% to 20% compared to the basic deep learning methods.
Read moreBERT’s sentiment score for portfolio optimization: a fine-tuned view in Black and Litterman model
In financial markets, sentiment analysis on natural language sentences can improve forecasting. Many investors rely on information extracted from newspapers or their feelings. Therefore, this information is expressed in their language. Sentiment analysis models classify sentences (or entire texts) with their polarity (positive, negative, or neutral) and derive a sentiment score. In this paper, we use this sentiment (polarity) score to improve the forecasting of stocks and use it as a new “view” in the Black and Litterman model. This score is related to various events (both positive and negative) that have affected some stocks. The sentences used to determine the scores are taken from articles published in Financial Times (an international financial newspaper). To improve the forecast using this average sentiment score, we use a Monte Carlo method to generate a series of possible paths for several trading hours after the article was published to discretize (or approximate) the Wiener measure, which is applied to the paths and returning an exact price as results. Finally, we use the price determined in this way to calculate a yield to be used as views in a new type of “dynamic” portfolio optimization, based on hourly prices. We compare the results by applying the views obtained, disregarding the sentiment and leaving the initial portfolio unchanged.
Read moreHybrid Model for Deep Learning- Machine Learning of Hindi Sentiment Poetic Analysis with a Metaheuristic Optimization Algorithm
An essential function of natural language processing is sentiment analysis. Which holds substantial significance in understanding public opinion across diverse domains. However, while sentiment analysis methodologies abound in English, there exists a notable scarcity of research addressing sentiment analysis in languages like Hindi. In response, the above paper provides a pioneering aspect to Hindi sentiment analysis through the development of a hybrid deep learning-machine learning model integrated with a metaheuristic optimization algorithm. By amalgamating the strengths for normal machine learning (ML) techniques and deep learning (DL), this model endeavours to boost accuracy and robustness in sentiment classification tasks specific to Hindi text. Furthermore, the inclusion of a metaheuristic optimization algorithm aims to optimize crucial model parameters, thereby improving convergence speed and overall performance. The proposed approach is motivated by the need for more comprehensive sentiment analysis techniques tailored for multilingual social media data, particularly in languages like Hindi, which are prevalent on various online platforms. Through empirical evaluation and comparative analysis, this paper demonstrates the efficacy and potential applications of the proposed hybrid model in real-world sentiment analysis scenarios. This research contributes to bridging the gap in sentiment analysis research for non-English languages and lays the foundation for further advancements in multilingual sentiment analysis methodologies.
Read moreUnderstanding Public Perception of Over-the-Counter Hearing Aids: A Sentiment and Thematic Analysis of Consumer Reviews.
To analyze public perceptions of over-the-counter (OTC) hearing aids through sentiment and thematic analysis of online consumer reviews and their changes over time. Sentiment and thematic analysis. Online reviews from third-party and product websites. All English online consumer reviews posted between 2016 and 2024 for OTC hearing aids (83 models) were recorded (n = 21,727). Sentiment analysis was performed using Valence Aware Dictionary and Sentiment Reasoner (VADER), a rule-based sentiment analysis tool incorporating natural language processing. VADER provides scores for each review ranging from -1 (most negative), 0 (neutral), to 1 (most positive). Additional thematic analysis was performed for the top 100 most positive, neutral, and negative reviews (n = 300). Overall, mean (SD) VADER sentiment score of online reviews was generally positive at 0.587 (0.411). Multivariable regression analysis showed that higher VADER scores were associated with higher-priced and behind-the-ear (BTE) type hearing aids. Although there was a significant increase in a number of reviews after the Food and Drug Administration's new establishment of the OTC hearing aid category in 2022, the mean sentiment scores slightly decreased (β =-.10, [95%CI: -0.12 to -0.09]). Thematic analysis revealed that positive sentiments highlighted the affordability and time-saving benefits of OTC hearing aids as alternatives to prescription models. Negative sentiments centered on sound quality, challenges with customer service, and inadequate amplification for those with severe hearing loss. Customers generally viewed OTC hearing aids positively, while mixed experiences were present. When used as indicated for adults with mild to moderate hearing loss, OTC hearing aids may offer a viable alternative to prescription devices, improving accessibility and affordability.
Read moreA deep learning sentiment analysis framework for low altitude economic networks: integrating blockchain and edge computing technology
Current low-altitude economy network often store user feedback in centralized databases, making them vulnerable to tampering and breaches. Traditional cloud-based approaches also result in considerable latency, which is unacceptable for time-sensitive operational adjustments. Furthermore, centralized systems struggle to handle increasing data loads efficiently as the low-altitude economy network expands or seasonal user volumes fluctuate. Our proposed model incorporates deep learning techniques to enhance the accuracy of sentiment analysis. We utilize BERT for semantic representation of aspects and contexts, and integrate part-of-speech tagging and position encoding information for effective feature learning. A multi-layer graph convolutional network is employed to capture sentiment dependencies between aspects. To further tackle these issues, we introduce a novel sentiment analysis framework for the low-altitude economy network that combines blockchain technology and edge computing. The framework leverages blockchain’s decentralized and tamperproof data storage to ensure the integrity and privacy of user feedback. Edge computing is utilized to perform preliminary data processing near the source, reducing latency and bandwidth consumption. This integration of technologies enhances security, real-time performance, and scalability for sentiment analysis systems in the low-altitude economy network.
Read moreDesigning Customized Loss Functions for Training Deep Neural Networks
This dissertation explores the critical role of loss functions in enhancing the predictive performance of deep machine learning models. Loss functions are an integral element of all the ongoing advances we witness daily in this domain. I design custom loss functions and their impacts on various machine learning tasks, particularly in computer vision. In the first stage of my research, I aim to improve the prediction performance of deep learning models by providing them with more precise feedback associated with task requirements. This led me to create the concept of assistive loss functions. My first proposed loss function, inspired by the Active Shape Model (ASM), is ASM Loss, designed to improve the detection of facial landmarks and head pose accuracy in facial images. Additionally, influenced by Knowledge Distillation (KD), I introduce KD-Loss, a loss designed specifically for regression tasks, focusing on detecting facial landmarks. Proceeding to the second phase of my research, I focus on regression problems. Building upon my prior work, I introduce Adaptive Coordinate-based Regression (ACR)-Loss, a context-aware loss function with face alignment implication. I provide a mechanism to dynamically measure how hard the localization of each landmark point is, and accordingly, ACR-Loss provides unique feedback to the model. Furthermore, I introduce Intensity-aware Categorical (IC)-Loss for detecting sagittal cervical spine landmark points in medical images. It effectively deploys characteristics from classification problems to enhance regression optimization. Both ACR-Loss and IC-Loss comprise contextual information, leading to a significant enhancement in localization precision. In the third phase, I turned my attention toward classification problems within the domain of deep machine learning. I introduce Adaptive Correlation-based (Ad-corre) Loss, designed to enhance the discriminative capabilities of deep learning models, with a specific focus on improving classification accuracy in automatic facial expression recognition. Furthermore, I introduce Informative (Info) Loss, a specialized loss function developed for medical applications, specifically aimed at distinguishing between Mild Cognitive Impairment and Normal Cognition groups based on transcriptions of interviews conducted as part of the I-CONECT study. Overall, I have proposed custom loss functions to improve the predictive performance in both regression and classification problems. Furthermore, I have introduced assistive loss functions, designed to enhance the performance of the main loss functions. The collective outcomes of this extensive exploration highlight the critical role of loss functions, adapting and optimizing them for various domains in deep machine learning. This research suggests and proposes a variety of methodologies for designing adaptive and context-aware loss functions within deep machine learning.
Read moreDeep learning-based image classification of sea turtles using object detection and instance segmentation models
Sea turtles exhibit high migratory rates and occupy a broad range of habitats, which in turn makes monitoring these taxa challenging. Applying deep learning (DL) models to vast image datasets collected from citizen science programs can offer promising solutions to overcome the challenge of monitoring the wide habitats of wildlife, particularly sea turtles. Among DL models, object detection models, such as the You Only Look Once (YOLO) series, have been extensively employed for wildlife classification. Despite their successful application in this domain, detecting objects in images with complex backgrounds, including underwater environments, remains a significant challenge. Recently, instance segmentation models have been developed to address this issue by providing more accurate classification of complex images compared to traditional object detection models. This study compared the performance of two state-of-the-art DL methods namely; the object detection model (YOLOv5) and instance segmentation model (YOLOv5-seg), to detect and classify sea turtles. The images were collected from iNaturalist and Google and then divided into 64% for training, 16% for validation, and 20% for test sets. Model performance during and after finishing training was evaluated by loss functions and various indexes, respectively. Based on loss functions, YOLOv5-seg demonstrated a lower error rate in detecting rather than classifying sea turtles than the YOLOv5. According to mean Average Precision (mAP) values, which reflect precision and recall, the YOLOv5-seg model showed superior performance than YOLOv5. The mAP0.5 and mAP0.5:0.95 for the YOLOv5 model were 0.885 and 0.795, respectively, whereas for the YOLOv5-seg, these values were 0.918 and 0.831, respectively. In particular, based on the loss functions and classification results, the YOLOv5-seg showed improved performance for detecting rather than classifying sea turtles compared to the YOLOv5. The results of this study may help improve sea turtle monitoring in the future.
Read moreSENTIMENT ANALYSIS OF INDONESIA’S DIGITAL WALLET USING COMBINATION MACHINE LEARNING AND EMOTICON WEIGHT
Opinions on social media can be used to determine user sentiment by using sentiment analysis concept. Sentiment analysis requires several important stages, namely, preprocessing, feature extraction and classification method stages. The preprocessing stage was carried out to eliminate inconsistent data. In previous research, punctuation marks removal was applied at the preprocessing stage which can eliminate the emoticon position. Emoticons are a combination of punctuation marks. According to previous research, the emoticon feature has no contribution in sentiment analysis. There is another suggestion to maintain an emoticon position like converting an emoticon into a more relevant word such as :) into a “smile”. However, the feature of emoticon weights has not been considered in the sentiment analysis process. In order to consider the role of emoticons and to improve sentiment analysis performance, we propose using a combination of machine learning and emoticon weights. We perform emoticon weight based on probability and sentiment score. Each probability value and sentiment score of the emoticon will be normalized using the z-score method. There are several machine learning methods that have the best classification success rates, namely, Naïve Bayes and SVM. Based on the evaluation results of the proposed model, the best accuracy is 87% - 89% when using the combination of machine learning and emoticon sentiment score. Based on the results also show that the emoticon sentiment score has a significant effect on the accuracy of sentiment analysis.
Read more