HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Improving Review Representations with User Attention and Product Attention for Sentiment Classification

Zhen Wu; Xin-Yu Dai; Cunyan Yin; Shujian Huang; Jiajun Chen

Improving Review Representations with User Attention and Product Attention for Sentiment Classification

Abstract

Neural network methods have achieved great success in reviews sentiment classification. Recently, some works achieved improvement by incorporating user and product information to generate a review representation. However, in reviews, we observe that some words or sentences show strong user's preference, and some others tend to indicate product's characteristic. The two kinds of information play different roles in determining the sentiment label of a review. Therefore, it is not reasonable to encode user and product information together into one representation. In this paper, we propose a novel framework to encode user and product information. Firstly, we apply two individual hierarchical neural networks to generate two representations, with user attention or with product attention. Then, we design a combined strategy to make full use of the two representations for training and final prediction. The experimental results show that our model obviously outperforms other state-of-the-art methods on IMDB and Yelp datasets. Through the visualization of attention over words related to user or product, we validate our observation mentioned above.

Code Repositories

wuzhen247/HUAPA
Official
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-user-and-productHUAPA
IMDB (Acc): 55.0
Yelp 2013 (Acc): 68.3
Yelp 2014 (Acc): 68.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Improving Review Representations with User Attention and Product Attention for Sentiment Classification | Papers | HyperAI