IEEE Access (Jan 2020)

A Sentiment Analysis Method of Capsule Network Based on BiLSTM

  • Yongfeng Dong,
  • Yu Fu,
  • Liqin Wang,
  • Yunliang Chen,
  • Yao Dong,
  • Jianxin Li

DOI
https://doi.org/10.1109/ACCESS.2020.2973711
Journal volume & issue
Vol. 8
pp. 37014 – 37020

Abstract

Read online

Nowadays, capsule network model is widely used in image processing, whose feature engineering is not suitable for sentiment analysis based on texts obviously. In this paper, we propose a capsule network model with BiLSTM named caps-BiLSTM for sentiment analysis to solve the problem, and introduce the experimental results on different datasets. At the beginning of caps-BiLSTM, a convolution layer is used to transform the instance to hide vector. Then the capsule module constructs the capsule representation to the n-gram model. The state probability of a certain capsule is calculated by the capsule model. If the state probability of a given instance is the largest among all capsules, a higher coupling coefficient is assigned. Finally, in order to fusion the data features, the output of the capsule enters into a BiLSTM structure, which is used as a decoder to get the probability representation. Experimental results based on MR, IMDB and SST datasets show that the proposed method can achieve better performances than the traditional machine learning methods and the compared deeping learning models.

Keywords