Learning Document Embeddings by Predicting N-grams for Sentiment Classification of Long Movie Reviews

Bofang Li, Tao Liu, Xiaoyong Du, Deyuan Zhang, Zhe Zhao
12/27/2015
20 citations
cs.CL

Official code: libofang/DV-ngram (25 stars, C, last commit 2016-04-23).

Abstract

Despite the loss of semantic information, bag-of-ngram based methods still achieve state-of-the-art results for tasks such as sentiment classification of long movie reviews. Many document embeddings methods have been proposed to capture semantics, but they still can't outperform bag-of-ngram based methods on this task.

Show full abstract

In this paper, we modify the architecture of the recently proposed Paragraph Vector, allowing it to learn document vectors by predicting not only words, but n-gram features as well. Our model is able to capture both semantics and word order in documents while keeping the expressive power of learned vectors. Experimental results on IMDB movie review dataset shows that our model outperforms previous deep learning models and bag-of-ngram based models due to the above advantages. More robust results are also obtained when our model is combined with other models. The source code of our model will be also published together with this paper.

View on arXivView PDF

Code Implementations(1)

libofang/DV-ngramOfficial100%

code for iclr workshop paper "Learning Document Embedding by Predicting N-grams for Sentiment Classification of Long Movie Reviews"

257C, C++Sep 14, 201510 years ago

Similar Papers

Cite this paper

@article{li2015learning,
  title  = {Learning Document Embeddings by Predicting N-grams for Sentiment Classification of Long Movie Reviews},
  author = {Bofang Li and Tao Liu and Xiaoyong Du and Deyuan Zhang and Zhe Zhao},
  year   = {2015},
  eprint = {1512.08183},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1512.08183}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1512.08183.svg)](https://codeofpaper.com/paper/1512.08183)

Discussion