Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Deep Learning for Sentiment Analysis : A Survey

Deep learning models for sentiment analysis are surveyed by task

  • Problem Earlier surveys cover feature-based and lexicon methods, so the newer neural work for sentiment analysis lacks a single overview.
  • Method The authors explain neural building blocks first, then map them onto sentiment tasks at word, sentence, document and aspect level.
  • Results The survey collects cited deep sentiment results across document, sentence and aspect levels.

Why sentiment work needs a map of deep models

Opinion data now sits in reviews, forums, blogs and micro-blogs, in volumes no earlier era had. That volume keeps the field busy, and sentiment work now reaches marketing, finance, political science and history. Classic methods used SVMs, Maximum Entropy and Naïve Bayes on hand-built feature combinations, alongside lexicon and syntactic rules.

Earlier surveys cover those methods well, so the newer neural work is the part that lacks a single overview.

Deep learning produced strong results in computer vision and speech recognition before it reached NLP. Sentiment researchers adopted it quickly, and the neural models they built now sit across many separate papers. So the authors first explain the neural building blocks and then map their use onto sentiment tasks.

How a feedforward network turns inputs into outputs

The key idea is simple: stack layers of units, and learn by changing the weights on the connections between them. In a feedforward network, each hidden neuron takes the outputs of the previous layer, forms a weighted sum with a bias, and passes the result through an activation function. Written as \( f(Wx) \), \( W \) holds the connection weights, \( b \) is the bias and \( f \) is the activation, which is normally non-linear.

Without a non-linear \( f \), stacked layers would collapse into a single linear map.

Sigmoid squashes any real value into the range 0 to 1, which fits a firing-rate reading of a neuron. Its activations saturate near 0 or 1, where gradients are almost zero, and its output isn't zero-centred. Tanh maps values to the range -1 to 1, so it is often preferred in practice. ReLU outputs the input when it is positive and zero otherwise, which makes it cheap to compute and quick to converge.

For classification the output layer uses softmax, which maps K real values to K numbers in (0, 1) that sum to 1. Training minimises cross-entropy loss with stochastic gradient descent and backpropagation, which computes gradients from the top layer downward with the chain rule. Each update uses one training example, so the loss fluctuates, and that noise can help the search escape poor local minima.

Training repeats this refinement until stopping criteria are met.

Recurrent, gated and attention models for word order

A recurrent network reads a sentence one word at a time and reuses the same weights at every step. Each hidden state is computed from the previous state and the current input, so it holds a memory of earlier words. A six-word sentence unfolds into six time steps, one for each word. Sharing parameters keeps the model far smaller than a feedforward net that uses different weights at each layer.

The catch is that a plain RNN in practice looks back only a few steps, because gradients vanish or explode.

A bidirectional RNN runs one pass forward and one pass backward, so each output sees both left and right context.

LSTM keeps a cell state beside the hidden state, and its repeating module has four layers interacting in a special way. The forget gate is a sigmoid of the current input and the previous hidden state, and it sets how much of the old cell state to keep. Because the forget gate controls how gradients pass through the cell state, it can ease vanishing and exploding gradients.

The GRU merges the forget and input gates into one update gate and combines the cell and hidden states, which makes it simpler. The cited work finds that Tree-LSTM represents sentence meaning better than a sequential LSTM.

Long-range dependencies stay hard even for bidirectional RNNs and LSTMs, which is what motivated attention. Attention lets each output weight every input state, instead of relying on one fixed-length vector. Bahdanau et al. used this for machine translation, and the weights for each output sum to 1. Memory networks pair four components, I, G, O and R, with a large long-term memory, and MemN2N trains that design end to end.

Deep models across sentiment tasks

At document level, early deep work tried to overcome the weakness of bag-of-words features with dense vectors. Moraes et al. found that ANNs gave competitive results to SVMs in most cases. Paragraph Vector learns a fixed-length vector for texts of any length by predicting words sampled from the paragraph. Later models added user and product information, for example UPNN and UPA, which use a CNN and an LSTM with attention.

The idea is that user and product representations capture individual preferences and overall product quality.

At sentence level, early models fed parse trees into recursive networks, so that composition could follow grammar. Socher et al. then introduced the RNTN, which uses tensor-based compositional functions to capture interactions between elements. Later CNN and RNN models dropped the parser, because word embeddings already carry some semantic and syntactic signal.

Kim compared CNN-rand, CNN-static, CNN-non-static and CNN-multichannel, which differ in how the word embeddings are initialised and tuned. Wang et al. used an LSTM for Twitter, with multiplicative gate operations between word embeddings that give more flexibility than the additive composition of a simple RNN.

Aspect-level models must handle a target as well as a polarity, since one review can praise a screen while faulting its battery. Li and Lam used three LSTMs for aspect term extraction, and two of them capture aspect and sentiment interactions. Poria et al. used a seven-layer CNN to tag each word as aspect or non-aspect. Wang et al. paired an RNN with a CRF to co-extract aspects and opinion terms.

Plain CBOW or Skip-gram vectors can place good and bad close together, since the two words share contexts. Sentiment-specific word embeddings, SSWE, embed polarity into the word vectors along with meaning. Li and Jurafsky found that multi-sense embeddings help some NLP tasks but give little help to sentiment classification. Sarcasm detection has also used a bidirectional GRU to read tweets locally.

Limitations

The survey runs no experiments of its own, so each performance statement is a cited work's result under that work's data and setup. The text gives only one direct deep-versus-SVM comparison, from Moraes et al., so that claim rests on one study here. Whether the ReLU advantage over sigmoid and tanh holds on every task is outside what this text checks.

Paper info

Authors
Lei Zhang, Shuai Wang, Bing Liu
Venue
arXiv · Preprint
First published
2018-1-24
Added
2026-11-12
Updated
2018-1-30
Version
v2
arXiv
1801.07883
Category
cs.CL · cs.IR · cs.LG · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Lei Zhang, Shuai Wang, Bing Liu (2018). Deep Learning for Sentiment Analysis : A Survey. arXiv:1801.07883v2. https://arxiv.org/abs/1801.07883v2

BibTeX
@misc{zhang2018deep,
  title = {{Deep Learning for Sentiment Analysis : A Survey}},
  author = {Lei Zhang and Shuai Wang and Bing Liu},
  year = {2018},
  eprint = {1801.07883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.07883v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up