Mathematical Biosciences and Engineering (Nov 2020)

Sentiment analysis for e-commerce product reviews by deep learning model of Bert-BiGRU-Softmax

  • Yi Liu,
  • Jiahuan Lu,
  • Jie Yang,
  • Feng Mao

DOI
https://doi.org/10.3934/mbe.2020398
Journal volume & issue
Vol. 17, no. 6
pp. 7819 – 7837

Abstract

Read online

Sentiment analysis of e-commerce reviews is the hot topic in the e-commerce product quality management, from which manufacturers are able to learn the public sentiment about products being sold on e-commerce websites. Meanwhile, customers can know other people's attitudes about the same products. This paper proposes the deep learning model of Bert-BiGRU-Softmax with hybrid masking, review extraction and attention mechanism, which applies sentiment Bert model as the input layer to extract multi-dimensional product feature from e-commerce reviews, Bidirectional GRU model as the hidden layer to obtain semantic codes and calculate sentiment weights of reviews, and Softmax with attention mechanism as the output layer to classify the positive or negative nuance. A series of experiments are conducted on the large-scale dataset involving over 500 thousand product reviews. The results show that the proposed model outperforms the other deep learning models, including RNN, BiGRU, and Bert-BiLSTM, which can reach over 95.5% of accuracy and retain a lower loss for the e-commerce reviews.

Keywords