English

Embedding Words as Distributions with a Bayesian Skip-gram Model

Computation and Language 2018-06-12 v2 Artificial Intelligence Machine Learning

Abstract

We introduce a method for embedding words as probability densities in a low-dimensional space. Rather than assuming that a word embedding is fixed across the entire text collection, as in standard word embedding methods, in our Bayesian model we generate it from a word-specific prior density for each occurrence of a given word. Intuitively, for each word, the prior density encodes the distribution of its potential 'meanings'. These prior densities are conceptually similar to Gaussian embeddings. Interestingly, unlike the Gaussian embeddings, we can also obtain context-specific densities: they encode uncertainty about the sense of a word given its context and correspond to posterior distributions within our model. The context-dependent densities have many potential applications: for example, we show that they can be directly used in the lexical substitution task. We describe an effective estimation method based on the variational autoencoding framework. We also demonstrate that our embeddings achieve competitive results on standard benchmarks.

Keywords

Cite

@article{arxiv.1711.11027,
  title  = {Embedding Words as Distributions with a Bayesian Skip-gram Model},
  author = {Arthur Bražinskas and Serhii Havrylov and Ivan Titov},
  journal= {arXiv preprint arXiv:1711.11027},
  year   = {2018}
}

Comments

COLING 2018. For the associated code, see https://github.com/ixlan/BSG

R2 v1 2026-06-22T23:01:23.071Z