Sentiment Classification Using Document Embeddings Trained with Cosine Similarity

By Tan Thongtan, Tanasanee Phienthrakul. 2019

118 citations recorded by the source corpus.

In document-level sentiment classification, each document must be mapped to a fixed length vector. Document embedding models map each document to a dense, low-dimensional vector in continuous vector space. This paper proposes training document embeddings using cosine similarity instead of dot product. Experiments on the IMDB dataset show that accuracy is improved when using cosine similarity compared to using dot product, while using feature combination with Naive Bayes weighted bag of n-grams achieves a new state of the art accuracy of 97.42%. Code to reproduce all experiments is available at https://github.com/tanthongtan/dv-cosine

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

  1. Soujanya Poria
  2. Navonil Majumder
  3. Devamanyu Hazarika
  4. Rada Mihalcea
  5. Erik Cambria
  6. Deepanway Ghosal
  7. Amir Zadeh
  8. H. Kim

Citations in the corpus