Skip to main content

ORIGINAL RESEARCH article

Front. Psychol., 14 April 2022
Sec. Quantitative Psychology and Measurement

A Deep Learning-Based Sentiment Classification Model for Real Online Consumption

\r\nYang Su*Yang Su1*Yan Shen\r\nYan Shen2
  • 1School of Art, Anhui Polytechnic University, Wuhu, China
  • 2Ideological, Political and Basic Teaching Department, Communication University of China, Nanjing, China

Most e-commerce platforms allow consumers to post product reviews, causing more and more consumers to get into the habit of reading reviews before they buy. These online reviews serve as an emotional feedback of consumers’ product experience and contain a lot of important information, but inevitably there are malicious or irrelevant reviews. It is especially important to discover and identify the real sentiment tendency in online reviews in a timely manner. Therefore, a deep learning-based real online consumer sentiment classification model is proposed. First, the mapping relationship between online reviews of goods and sentiment features is established based on expert knowledge and using fuzzy mathematics, thus mapping the high-dimensional original text data into a continuous low-dimensional space. Secondly, after obtaining local contextual features using convolutional operations, the long-term dependencies between features are fully considered by a bidirectional long- and short-term memory network. Then, the degree of contribution of different words to the text is considered by introducing an attention mechanism, and a regular term constraint is introduced in the objective function. The experimental results show that the proposed convolutional attention–long and short-term memory network (CA–LSTM) model has a higher test accuracy of 83.3% compared with other models, indicating that the model has better classification performance.

Introduction

With the rapid growth of the Internet and large e-commerce websites (e.g., Jingdong, Tmall, Taobao, Amazon, etc.), online shopping has become increasingly popular. In China, the size of online shopping users reached 569 million in 2018. Consumers can use e-commerce websites to freely express their experiences and feelings about the products they buy, and a 2014 study by Ariadne Consulting reported that about 63.9% of online consumers write product reviews after shopping (Cambria et al., 2018; Capraro and Vanzo, 2018; Dragoni et al., 2018; Mäntylä et al., 2018). In total, 72.6% of consumers read other consumers’ product reviews before purchasing a product to make quicker and easier decisions. This review information is of great value to both the individual consumer and the company. Therefore, the analysis of sentiment tendency of reviews becomes particularly important.

The presence of a large number of online watermen has led to the existence of more than 15% of false online reviews on e-commerce websites. The presence of fake reviews can convey false emotional tendencies to consumers, leading to user attrition and even to wrong decision-making behavior (Alkubaisi et al., 2018; Wei et al., 2018; Samah, 2021; Shamrat et al., 2021). In addition, managers of e-commerce websites analyze the sentiments reflected in consumer reviews in order to rate merchants and thus eventually lower the ranking of merchants with bad reviews. Therefore, it is particularly important to detect and accurately identify the true sentiment tendencies in online reviews in a timely manner.

Obtaining the sentiment tendency of a review by hand can have many problems in terms of objectivity, accuracy, and efficiency. Therefore, how to use natural language processing and artificial intelligence technologies to automatically and efficiently mine the sentiment tendency of review texts has become a popular and highly significant research topic today (Dehkharghani et al., 2014; Ghiassi and Lee, 2018; Weng et al., 2018; Liu et al., 2021; Naeem et al., 2021). The traditional rule-based text sentiment analysis methods mainly analyze the sentiment of texts based on sentiment dictionaries, feature statistics and sentiment templates obtained from human experience or expert opinions. Therefore, the traditional rule-based methods cannot distinguish the false sentiment from the real sentiment in the review text.

Therefore, this paper aims to investigate the problem of identifying the true affective tendencies of reviews in large e-commerce websites, and to determine whether consumers’ true affective tendencies are positive or negative by establishing a mapping relationship between online reviews of products and affective characteristics. Based on long and short-term memory network (LSTM), a classification model is constructed by extracting real consumer sentiment feature indicators from the context of reviews with the help of attention mechanisms and convolution operations, with the aim of reducing the proportion of spam reviews and helping to improve the overall review quality of the website.

The rest of the paper is organized as follows: In section “Related Research,” a related research is studied in detail, while section “The Connection Between Product Reviews and Emotional Characteristics” provides the detailed connection between product reviews and sentimental characteristics. Section “Real Online Consumer Sentiment Classification Model” provides detailed real online consumer sentiment classification model. Section “Experiment and Result Analysis” provides the results and discussion. Finally, the paper is concluded in section “Conclusion.”

Related Research

Fake reviews, also known as Deceptive review, are divided into three main categories (Chen et al., 2015; Hou, 2020; Khan et al., 2020): (1) Untruthful opinion, i.e., exaggerated praise or excessive denigration of products or services, thus influencing users’ opinions or consumption behavior; (2) Reviews on brands only) i.e., the review content is not related to the product itself, but mainly evaluates the brand, manufacturer or seller of the product, etc.; (3) Non-reviews, i.e., users post non-repetitive reviews, advertisements or links, etc., that are not related to the target product.

The core of online review mining mainly lies in the judgment of sentiment tendency. Currently, in the research of identifying spam reviews, most researchers use text sentiment analysis to mine the sentiment tendency of user reviews and analyze users’ recognition of products or services. For example, Zhang et al. (2020) proposed a logical model for evaluating the sentiment tendency based on review product attributes, starting from the perspective of online product review attribute sentiment. The three key dictionaries in this model are generic attribute dictionary, personalized attribute dictionary, and sentiment tendency dictionary. Rehman et al. (2017) proposed a set of rules to identify spam reviews and combined this rule with a time series approach to identify the sentiment polarity and sentiment intensity of spam reviews. In addition, some other researchers have utilized sentiment analysis techniques in extracting feature metrics. For example, Tao and Liu (2018) proposed a novel detection framework called novel detection framework to mine sentiment features for potential pairwise features in a large number of comment texts to model the relationship between spam comments more robustly.

In the research of identifying spam reviews, besides the key steps of clarifying the concept of spam reviews and mining the features of reviews, the most important is to build a text classification model. At present, the more commonly used methods of classification models are mainly divided into three types: (1) Supervised machine learning methods, Semi-supervised learning methods and Unsupervised learning methods. Liu (2015) proposed a method to detect spam comments using Stylometric features and construct a text classification model using Support Vector Machine (SVM) and plain Bayesian classification algorithm. Suhasini and Badugu (2018) provided an unsupervised recognition model of basic term association knowledge to help improve the efficiency of mining potential classification features.

For the problem that existing online review sentiment classification methods do not distinguish between true and false sentiment features, a deep learning-based sentiment classification model for true online consumption is proposed. The experimental results show that the proposed convolutional attention LSTM (CA-LSTM) model has higher testing accuracy compared with other models, which verifies the advancement and effectiveness of the model. Based on the bidirectional LSTM, the classification model is constructed by extracting real consumer sentiment feature indicators from the context of reviews with the help of attention mechanism and convolution operation.

The main innovation points of this paper are as follows:

(1) To solve the problem that traditional mathematical methods are difficult to analyze sentiment features directly and quantitatively, we establish the mapping relationship between product online reviews and sentiment features with the help of expert knowledge and using fuzzy mathematics, so as to clarify the relationship between consumers’ real psychology and review attributes using a spatial Boolean model.

(2) In order to effectively identify the relationship matrix between product attributes and sentiment features, the classification model is constructed by extracting real consumer sentiment feature indicators from the context of reviews with the help of attention mechanism and convolution operation on the basis of Bi-directional short-term memory network, which improves the correct rate of review text classification.

The Connection Between Product Reviews and Emotional Characteristics

Consumers usually assess the emotional characteristics conveyed by a product based on their own experiences, personal preferences, etc. during the process of purchasing the product online. It can be seen that the true sentiment characteristics of product reviews are usually expressed through the review attributes. Therefore, in order to identify the real emotional tendencies of consumers, it is first necessary to link the product review model and the emotional features, i.e., to establish the relationship between product reviews and emotional features, so as to extract the emotional features of the reviews based on the review attributes. In this paper, the link between review attributes and sentiment features is established with the help of expert knowledge and using fuzzy mathematics.

Fuzzy Mathematics Is Introduced

Fuzzy mathematics is a branch of mathematics that studies and deals with fuzzy phenomena and can effectively deal with concepts that are more subjective. For this reason, this paper introduces the theory of fuzzy mathematics (Kang et al., 2018) and adopts the method of fuzzy linguistic variables to describe the emotional characteristics of users in the process of consumption and quantify the qualitative and subjective information of users.

Linguistic variables are usually represented by fuzzy mathematical methods, which means that they are converted into fuzzy numbers for quantification purposes. Because of the simplicity of the triangular affiliation function representation and the ease of describing emotional needs, in this study, triangular fuzzy numbers are used to represent linguistic variables. Assuming that a~ is a triangular fuzzy number, represented by a set of ternary numbers as a~=(a1,a2,a3), where a1 < a2 < a3, the definition of the triangular affiliation function μa~(x) is shown in Equation (1), and the corresponding affiliation function graph is given in Figure 1.

μ a ~ ( x ) = { x - a 1 a 2 - a 1 a 1 x < a 2 a 3 - x a 3 - a 2 a 2 x < a 3 0 others (1)
FIGURE 1
www.frontiersin.org

Figure 1. Membership function of triangle fuzzy number.

It is important to note that fuzzy numbers are not explicit values and are difficult to compare directly. In order to accomplish this, it is necessary to defuzzify the triangular fuzzy numbers, i.e., convert the fuzzy sets into the corresponding single values. Commonly used methods include the prime method, the maximum subordination method, and the Maximum-minimum set method. Suppose a~1,a~2,,a~n are n triangular fuzzy numbers, where a~i=(ai1,ai2,ai3), then as shown in Figure 2, the affiliation functions corresponding to the maximum set M and the minimum set m are shown in Equations (2) and (3), respectively.

μ M ( x ) = { x - x min x max - x min x min x x max 0 others (2)
μ m ( x ) = { x - x max x min - x max x min x x max 0 others (3)
FIGURE 2
www.frontiersin.org

Figure 2. Affiliation function of Maximizing-minimizing set.

Representation of the Review Model

In order to quantify the sentiment characteristics embedded in the reviews, it is necessary to represent the review attributes by means of a mathematical model (Kakad and Dhage, 2021). Reviews generally contain multiple attributes, each of which in turn includes a varying number of attribute values. Assume that the review has t attributes, the j-th attribute contains cj attribute values, and fi(jk)denotes the k-th attribute value of the j-th attribute of item i, where j = 1, 2, ⋯, t; k = 1, 2, ⋯, cj. For the same review, each attribute will and will only be represented as one of the attribute values, i.e., the constraints are as follows:

k = 1 c j f i ( j k ) = 1 (4)

In this paper, the different attribute values exhibited by the comment attributes are used to distinguish and describe the comments, and the spatial Boolean model representation is applied, then the comment model can be expressed in the following form.

F i = ( f i ( 1 1 ) , f i ( 1 2 ) , f i ( t c t ) ) (5)

Semantic Ambiguity of Sentiment Features

There are many fuzzy factors when using sentiment vocabulary to describe the sentiment characteristics of reviews, and the concept itself has certain uncertainty, which is difficult to analyze directly and quantitatively using traditional mathematical methods. Therefore, this paper introduces linguistic variables and combines fuzzy mathematical methods to assign numerical values to fuzzy subjective information to complete the semantic fuzzification of sentiment features. In this paper, a seven-level evaluation scale (Lanjewar et al., 2015) is used to describe the affective characteristics of reviews, and the specific linguistic variable values and triangular fuzzy numbers are shown in Table 1, and the corresponding affiliation functions are shown in Figure 3, taking clothing product reviews as an example.

TABLE 1
www.frontiersin.org

Table 1. Linguistic variables for affective characterization.

FIGURE 3
www.frontiersin.org

Figure 3. Affiliation functions of linguistic variables describing users’ emotional characteristics.

The Relationship Between Review Attributes and Sentiment Characteristics

In order to establish the relationship between review attributes and emotional characteristics, this paper combines qualitative and quantitative methods to transform domain expert knowledge into quantified data. According to the relationship between linguistic variables and triangular fuzzy numbers in Table 1, the evaluation results are expressed in the form of triangular fuzzy numbers, such as r~=(a,b,c), then the evaluation results of three experts can be expressed as r~l(1)jk, r~l(2)jk, r~l(3)jk, respectively. For the weighted average of expert knowledge, then the relationship between sentiment features and comment attributes can be calculated by Equation (6).

r ~ l j k = 1 3 [ r ~ l ( 1 ) j k r ~ l ( 2 ) j k r ~ l ( 3 ) j k ] (6)

where l denotes the sentiment feature, j denotes the comment attribute, and jk denotes the attribute value of attribute j.

To facilitate the subsequent analytical calculations, the correspondence between the above-mentioned comment attributes and emotional characteristics is expressed in the form of Equation (7).

U = ( u T ( r ~ 1 1 1 ) u T ( r ~ 2 1 1 ) u T ( r ~ n 1 1 ) u T ( r ~ 1 1 2 ) u T ( r ~ 2 1 2 ) u T ( r ~ n 1 2 ) u T ( r ~ l j k ) u T ( r ~ 1 t c t ) u T ( r ~ 2 t c t ) u T ( r ~ n t c t ) ) (7)

where uT(r~ljk) denotes the correspondence between attribute value jk and sentiment feature i.

Real Online Consumer Sentiment Classification Model

The Proposed Convolutional Attention–Long and Short-Term Memory Network Model

In order to solve the problem of real sentiment analysis of product reviews, this paper proposes a CA-LSTM model based on typical LSTMs in deep learning techniques, as shown in Figure 4. We regard false comments as junk comments, and use fuzzy mathematics to establish the relationship matrix between commodity attributes and emotional characteristics, thus eliminating the influence of these false comments. Note that the input of CA-LSTM model is the above relational matrix. This model consists of the following five main steps.

FIGURE 4
www.frontiersin.org

Figure 4. Convolutional attention-long and short-term memory network (CA-LSTM) model.

Step 1: text representation using the relationship matrix of comment attributes and sentiment features.

Step 2: Obtaining local features using convolution operations.

Step 3: taking full account of the long-term dependencies between features using the BiLSTM model.

Step 4: introduction of an attention mechanism to represent the veracity of different features.

Step 5: Sentiment classification using classifier.

(1) Input layer.

The relationship matrix U of comment attributes and sentiment features is used to vectorize the unlogged words for initialization. A comment in the input layer can be vectorized as follows:

x 1 : n = U ( x 1 x 2 x n ) (8)

where n is the length of a comment.

(2) Convolution layer.

The role of the convolution kernel is to get the local features of the input data by window sliding. The convolution filter m ∈ Rh×k is a convolution operation on a k-dimensional word vector with window h. The new feature of the i-th word in a comment is represented as follows:

c i = f ( m x i : i + h - 1 + b ) (9)

where m and b are the weight matrix and bias, respectively. f is the non-linear activation function Relu.

The characteristics of the comments are expressed as follows:

C = [ c 1 , c 2 , , c n - h + 1 ] , C R n - h + 1 (10)

(3) Fully connected layer.

The output yi of this layer is connected by each feature mapping, which can be expressed as follows:

y i = C 1 i C 2 i C p i (11)

(4) Bidirectional LSTM layer.

Although LSTM can solve the problem of long-term dependency, it does not utilize the contextual information of the text, so this paper adopts the Bidirectional LSTM (BiLSTM) model (Contractor et al., 2021; Li et al., 2021; Liu and Zhang, 2021) to consider the contextual information of the text at the same time. The forward LSTM and backward LSTM can obtain the above and below information of the input sequence, respectively, by two LSTMs to get the hidden layer states with opposite timing and connect them to get the same output. The BiLSTM model can effectively improve the accuracy. The hidden state of BiLSTM at time t contains forward htforward and backward htbackward.

h t forward = LSTM forward  ( h t - 1 , x t , c t - 1 ) , t [ 1 , T ] (12)
h t backward = LSTM backward  ( h t - 1 , x t , c t - 1 ) , t [ T , 1 ] (13)
H t = [ h t forward , h t backward ] (14)

The output Ht of the BiLSTM is used as the feature vector of the text.

Attention Mechanism

For the sentiment classification task, the sentiment words in a sentence have a very critical role in discriminating the sentiment tendency of the whole sentence. Therefore, the CA-LSTM model is proposed to calculate the attention weight of each word in the text by introducing an attention mechanism, so that the hidden state at the moment of the sentiment word has a greater contribution to the sentiment classification.

In the CA-LSTM model, firstly, the attention weight occupied by the hidden state Ht at each moment is denoted as αt, and then, the hidden state v for classification is obtained by weighted accumulation, which can be expressed as follows:

u t = tanh ( W a t t H t + b a t t ) (15)
α t = exp ( u t T u w ) t exp ( u t T u w ) (16)
v = t α t H t (17)

where ut is the hidden cell state of Ht, uw is the context vector, and both Watt and batt are the attention mechanism parameters.

Finally, the attention mechanism output v is input to the Softmax function for sentiment classification, and the classification results are as follows:

y ^ = s o f t m a x ( w s v + b s ) (18)

where ws and bs are the weight matrix and bias, respectively.

Model Training

The parameters of the model are updated by Adam optimization algorithm and small batch strategy, and cross-entropy loss is used as the loss function of the sentiment classifier. The cross-entropy loss function is formulated as follows:

L sentiment = - i y i log y ^ i + λ | θ | 2 (19)

where yi is the actual category distribution, y^i is the predicted category distribution, and λ |θ|2 is the regular term.

Experiment and Results Analysis

Experimental Data Set and Evaluation Index

The dataset for the sentiment classification experiment uses four categories of products on the Jingdong website which have a large sales volume: Women’s Clothing (WC), Mobile Phones (MP), Refrigerator (R), and Travel Bags (TB). The dataset was annotated manually, and the review data sentiment classification was marked as positive or negative. Hold-out method is used to divide training set and test set, and it is common practice to use about 2/3∼4/5 samples for training. Therefore, the labeled data were divided into training and test sets in the ratio of 7:3. Each category includes 1,000 positive and 1,000 negative reviews, respectively, as shown in Table 2.

TABLE 2
www.frontiersin.org

Table 2. Experimental data set.

In evaluating the classification effectiveness of the sentiment classification model, the accuracy metric in the Confusion Matrix was used. The higher the accuracy rate, the better the classification effect of the model. The Confusion Matrix is shown in Figure 5.

FIGURE 5
www.frontiersin.org

Figure 5. Confusion Matrix.

The formula for calculating the accuracy is as follows:

A c c u r a c y = TP  +  TN TP  +  FP  +  TN  +  FN (20)

Parameter Setting

Python 7.2 and MATLAB 2016b software are used to implement the proposed model. In order to train a better model, it is important to set the model parameters, and the proposed CA-LSTM model parameters are set as shown in Table 3.

TABLE 3
www.frontiersin.org

Table 3. Parameter setting.

Classification Performance

To verify the effectiveness of the proposed CA-LSTM model in this paper, it is compared with Dam-LDA (Zhang et al., 2015), AMS-GMM (Zao et al., 2014), LSSVM (Liu, 2015), BPNN (Li et al., 2018), and BiLSTM (Contractor et al., 2021). The accuracy comparison results under different target domains are shown in Figure 6. The average accuracy of different methods on the experimental dataset is shown in Table 4.

FIGURE 6
www.frontiersin.org

Figure 6. (A) Women’s Clothing (WC). (B) Mobile Phones (MP). (C) Refrigerator (R). (D) Travel Bags (TB). Accuracy comparison under different target domains.

TABLE 4
www.frontiersin.org

Table 4. Average accuracy of different methods on the experimental dataset.

As can be seen from Figure 6 and Table 4, the accuracy of the CA-LSTM model proposed in this paper is the highest in each sentiment analysis task, with an average accuracy of 83.3%. Compared with the Dam-LDA model, the average classification accuracy of the CA-LSTM model is improved by 14%. Compared with the AMS-GMM model, the average classification accuracy of the CA-LSTM model is improved by 11.3%. The average accuracy of the CA-LSTM model is improved by 9.3, 6.5, and 2.2% compared to the LSSVM, BPNN and BiLST models, respectively. This is because the CA-LSTM model makes full use of the spatial Boolean model to clarify the relationship between consumers’ real psychology and review attributes, thus helping to directly quantify the sentiment characteristics. In addition, the fusion of attention mechanism and convolutional operations into LSTM, thus allowing the extraction of real consumer sentiment feature indicators in the context of reviews, improves the correct rate of review text classification.

Taking WC as an example, the curves of accuracy and loss values with increasing number of iterations are shown in Figure 7.

FIGURE 7
www.frontiersin.org

Figure 7. Accuracy and loss value variation curves.

The experimental results show that with the increase in the number of selected generations, the accuracy rate as a whole shows an increasing trend eventually reaching a stable state, while the loss value shows a decreasing trend eventually also tends to be stable. Therefore, the classification accuracy of the proposed CA-LSTM model method can converge to the local optimal solution quickly, while there is a correlation between the loss value and the classification accuracy, and the larger the accuracy, the smaller the loss value. For four product categories, the proposed model can judge whether consumers’ emotions are positive or negative. There is little difference between women’s clothing, mobile phones, refrigerators and travel bags.

Conclusion

In this paper, we propose a deep learning-based real online consumer sentiment classification model, CA-LSTM, which makes full use of a spatial Boolean model to specify the relationship between consumers’ real psychology and review attributes, thus helping to directly quantify the sentiment features. In addition, attention mechanisms and convolution operations are fused into the LSTM so that real consumer sentiment feature indicators can be extracted in the context of reviews. The experimental results show that the CA-LSTM model has the highest accuracy in each sentiment analysis task, with an average accuracy of 83.3%, which helps large e-commerce websites to accurately determine the true sentiment tendency in comments. However, since the CA-LSTM model must be retrained and then tested each time when dealing with real sentiment classification in the same target domain, cross-domain sentiment recognition cannot be achieved. Therefore, further work will be conducted in subsequent studies to address the migration of the models.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author Contributions

Both authors listed have made a substantial, direct and intellectual contribution to the work, and approved it for publication.

Funding

This work supported by the Quality Engineering project of Colleges and Universities of Anhui Provincial Department of Education: Ideological and political demonstration course (2020szsfkc0110); Quality engineering project of Colleges and Universities of Anhui Provincial Department of Education: Teaching demonstration course of “double base” construction (2020SJJXSFK0294); school level scientific research project of Anhui University of Engineering: Research on the integration path of advertising and content (xjky2020117).

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Alkubaisi, G. A. A. J., Kamaruddin, S. S., and Husni, H. (2018). Stock market classification model using sentiment analysis on twitter based on hybrid naive bayes classifiers. Int. J. Eng. Technol. 11, 52–61. doi: 10.5539/cis.v11n1p52

CrossRef Full Text | Google Scholar

Cambria, E., Poria, S., Gelbukh, A., and Thelwall, M. (2018). Sentiment analysis is a big suitcase. Intell. Syst. IEEE 32, 74–80. doi: 10.1109/MIS.2017.4531228

CrossRef Full Text | Google Scholar

Capraro, V., and Vanzo, A. (2018). Understanding moral preferences using sentiment analysis. Soc. Sci. Electronic Publishing 13, 56–65. doi: 10.2139/ssrn.3186134

CrossRef Full Text | Google Scholar

Chen, J., Hu, B., Moore, P., Zhang, X., and Ma, X. (2015). Electroencephalogram-based emotion assessment system using ontology and data mining techniques. Appl. Soft Comput. 30, 663–674. doi: 10.1016/j.asoc.2015.01.007

CrossRef Full Text | Google Scholar

Contractor, D., Patra, B., Mausam, M., and Singla, P. (2021). Constrained bert bilstm crf for understanding multi-sentence entity-seeking questions. Nat. Lang. Eng. 27, 65–87. doi: 10.1017/S1351324920000017

CrossRef Full Text | Google Scholar

Dehkharghani, R., Mercan, H., Javeed, A., and Saygin, Y. (2014). Sentimental causal rule discovery from twitter. Expert Syst. Appl. 41, 4950–4958. doi: 10.1016/j.eswa.2014.02.024

CrossRef Full Text | Google Scholar

Dragoni, M., Soujanya, P., and Cambria, E. (2018). Ontosenticnet: a commonsense ontology for sentiment analysis. IEEE Intell. Syst. 55, 115–124. doi: 10.1109/MIS.2018.033001419

CrossRef Full Text | Google Scholar

Ghiassi, M., and Lee, S. (2018). A domain transferable lexicon set for twitter sentiment analysis using a supervised machine learning approach. Expert Syst. Appl. 106, 197–216. doi: 10.1016/j.eswa.2018.04.006

CrossRef Full Text | Google Scholar

Hou, Y. (2020). Students’ emotional analysis on ideological and political teaching classes based on artificial intelligence and data mining. J. Intell. Fuzzy Syst. 40, 1–9. doi: 10.3233/JIFS-189413

CrossRef Full Text | Google Scholar

Kakad, H., and Dhage, S. (2021). Cross domain-based ontology construction via jaccard semantic similarity with hybrid optimization model. Expert Syst. Appl. 178, 115–123. doi: 10.1016/j.eswa.2021.115046

CrossRef Full Text | Google Scholar

Kang, Q., Lei, S., Zhou, M., Wang, X., and Wei, Z. (2018). A distance-based weighted undersampling scheme for support vector machines and its application to imbalanced classification. IEEE Trans. Neural Netw. Learn. Syst. 29, 4152–4165. doi: 10.1109/TNNLS.2017.2755595

PubMed Abstract | CrossRef Full Text | Google Scholar

Khan, A., Li, J. P., Haq, A. U., Memon, I., and Din, S. U. (2020). Emotional-physic analysis using multi-feature hybrid classification. J. Intell. Fuzzy Syst. 40, 1–14. doi: 10.3233/JIFS-201069

CrossRef Full Text | Google Scholar

Lanjewar, R. B., Mathurkar, S., and Patel, N. (2015). Implementation and comparison of speech emotion recognition system using gaussian mixture model (gmm) and k- nearest neighbor (k-nn) techniques. Procedia Comput. Sci. 49, 50–57. doi: 10.1016/j.procs.2015.04.226

CrossRef Full Text | Google Scholar

Li, S., Chen, T., Wang, L., and Ming, C. (2018). Effective tourist volume forecasting supported by pca and improved bpnn using baidu index. Tour. Manag. 68, 116–126. doi: 10.1016/j.tourman.2018.03.006

CrossRef Full Text | Google Scholar

Li, Z., Li, Q., Zou, X., and Ren, J. (2021). Causality extraction based on self-attentive bilstm-crf with transferred embeddings - sciencedirect. Neurocomputing 423, 207–219. doi: 10.1016/j.neucom.2020.08.078

CrossRef Full Text | Google Scholar

Liu, K., and Zhang, J. (2021). A dual-layer attention-based lstm network for fed-batch fermentation process modelling - sciencedirect. Comput. Aided Chem. Eng. 50, 541–547. doi: 10.1016/B978-0-323-88506-5.50086-3

CrossRef Full Text | Google Scholar

Liu, P., Zhang, L., and Gulla, J. A. (2021). Multilingual review-aware deep recommender system via aspect-based sentiment analysis. ACM Trans. Inform. Syst. 39, 1–33. doi: 10.1145/3432049

CrossRef Full Text | Google Scholar

Liu, Z. (2015). Research for public opinion of charitable organizations based on microblogging sentiment analysis. J. Inform. Comput. Sci. 12, 1011–1019. doi: 10.12733/jics20105433

CrossRef Full Text | Google Scholar

Mäntylä, M. V., Graziotin, D., and Kuutila, M. (2018). The evolution of sentiment analysis—a review of research topics, venues, and top cited papers. Comput. Sci. Rev. 27, 16–32. doi: 10.1016/j.cosrev.2017.10.002

CrossRef Full Text | Google Scholar

Naeem, S., Mashwani, W. K., Ali, A., Uddin, M. I., and Khan, N. A. (2021). Machine learning-based usd/pkr exchange rate forecasting using sentiment analysis of twitter data. Comput. Mater. Contin. 67, 3451–3461. doi: 10.32604/cmc.2021.015872

CrossRef Full Text | Google Scholar

Rehman, A., Jaafar, J., Omar, M., Basri, S., and Hilmi, M. (2017). Suitable personality traits for learning programming subjects: a rough-fuzzy model. Int. J. Adv. Comput. Sci. Appl. 8, 153–162. doi: 10.14569/IJACSA.2017.080820

CrossRef Full Text | Google Scholar

Samah, E. A. K. A. (2021). Nave bayes twitter sentiment analysis in visualizing the reputation of communication service providers: during covid-19 pandemic. Turk. J. Comput. Math. Educ. 12, 1753–1764. doi: 10.17762/turcomat.v12i5.2176

CrossRef Full Text | Google Scholar

Shamrat, F. M. J. M., Chakraborty, S., Imran, M. M., Muna, J. N., and Rahman, M. O. (2021). Sentiment analysis on twitter tweets about covid-19 vaccines using nlp and supervised knn classification algorithm. Indones. J. Electr. Eng. Comput. Sci. 23, 463–470. doi: 10.11591/ijeecs.v23.i1.pp463-470

CrossRef Full Text | Google Scholar

Suhasini, M., and Badugu, S. (2018). Two step approach for emotion detection on twitter data. Int. J. Comput. Appl. 179, 12–19. doi: 10.5120/ijca2018917350

PubMed Abstract | CrossRef Full Text | Google Scholar

Tao, W., and Liu, T. (2018). Building ontology for different emotional contexts and multilingual environment in opinion mining. Intelligent Automation and Soft Computing 24, 65–71. doi: 10.1080/10798587.2016.1267243

CrossRef Full Text | Google Scholar

Wei, Z., Guan, Z., Long, C., He, X., Deng, C., Wang, B., et al. (2018). Weakly-supervised deep embedding for product review sentiment analysis. IEEE Trans. Knowl. Data Eng. 30, 185–197. doi: 10.1109/TKDE.2017.2756658

CrossRef Full Text | Google Scholar

Weng, B., Lin, L., Xing, W., Megahed, F. M., and Waldyn, M. (2018). Predicting short-term stock prices using ensemble methods and online data sources. Expert Syst. Appl. 112, 258–273. doi: 10.1016/j.eswa.2018.06.016

CrossRef Full Text | Google Scholar

Zao, L., Cavalcante, D., and Rui, C. (2014). Time-frequency feature and ams-gmm mask for acoustic emotion classification. IEEE Signal Process. Lett. 21, 620–624. doi: 10.1109/LSP.2014.2311435

CrossRef Full Text | Google Scholar

Zhang, S., Shi, C., Jiang, X., Zhang, Y., and Zhang, L. (2020). Analysis of the trend of global power sources based on comment emotion mining. Global Energy Interconnection 3, 283–291. doi: 10.1016/j.gloei.2020.07.009

CrossRef Full Text | Google Scholar

Zhang, X., Zha, C., Xu, X., Song, P., and Zhao, L. (2015). Speech emotion recognition based on lda ++ kernel-knnflc. Dongnan Daxue Xuebao (Ziran Kexue Ban)/J. Southeast Univer. (Nat. Sci. Ed.) 45, 5–11. doi: 10.3969/j.issn.1001-0505.2015.01.002

CrossRef Full Text | Google Scholar

Keywords: consumer sentiment, product reviews, sentiment analysis, long-and short-term memory networks, feature mapping

Citation: Su Y and Shen Y (2022) A Deep Learning-Based Sentiment Classification Model for Real Online Consumption. Front. Psychol. 13:886982. doi: 10.3389/fpsyg.2022.886982

Received: 02 March 2022; Accepted: 21 March 2022;
Published: 14 April 2022.

Edited by:

Sandra Maria Correia Loureiro, University Institute of Lisbon (ISCTE), Portugal

Reviewed by:

Áurea Rodrigues, University of Évora, Portugal
Jakub Horák, Institute of Technology and Business, Czechia

Copyright © 2022 Su and Shen. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Yang Su, suyangr@163.com

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.