Better Word Embeddings by Disentangling Contextual n-Gram Information

Prakhar Gupta, Matteo Pagliardini, Martin Jaggi
4/10/2019
cs.CLcs.AIcs.IR

Official code: epfml/sent2vec (1,202 stars, C++, last commit 2022-08-03).

Abstract

Pre-trained word vectors are ubiquitous in Natural Language Processing applications. In this paper, we show how training word embeddings jointly with bigram and even trigram embeddings, results in improved unigram embeddings.

Show full abstract

We claim that training word embeddings along with higher n-gram embeddings helps in the removal of the contextual information from the unigrams, resulting in better stand-alone word embeddings. We empirically show the validity of our hypothesis by outperforming other competing word representation models by a significant margin on a wide variety of tasks. We make our models publicly available.

View on arXivView PDF

Code Implementations(1)

epfml/sent2vecOfficial100%

General purpose unsupervised sentence representations

1,202257C++, Jupyter NotebookMar 15, 20174 years agoNOASSERTION

Similar Papers

Cite this paper

@article{gupta2019better,
  title  = {Better Word Embeddings by Disentangling Contextual n-Gram Information},
  author = {Prakhar Gupta and Matteo Pagliardini and Martin Jaggi},
  year   = {2019},
  eprint = {1904.05033},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.05033}
}

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/1904.05033.svg)](https://codeofpaper.com/paper/1904.05033)

Discussion