Skip to main content
QUICK REVIEW

[Paper Review] Word Embeddings via Tensor Factorization

Eric Bailey, Shuchin Aeron|arXiv (Cornell University)|Apr 10, 2017
Tensor decomposition and applicationsMathematics34 references4 citations
TL;DR

This paper proposes two novel word embedding methods, CP-S and JCP-S, based on symmetric tensor factorization of 3-way pointwise mutual information (PPMI) tensors to capture higher-order co-occurrence patterns. The approach enables multiplicative compositionality of word vectors, uniquely allowing distinct vector representations for different senses of polysemous words, and outperforms matrix-based methods on semantic tasks and a new third-order evaluation metric (OD3).

ABSTRACT

Most popular word embedding techniques involve implicit or explicit factorization of a word co-occurrence based matrix into low rank factors. In this paper, we aim to generalize this trend by using numerical methods to factor higher-order word co-occurrence based arrays, or extit{tensors}. We present four word embeddings using tensor factorization and analyze their advantages and disadvantages. One of our main contributions is a novel joint symmetric tensor factorization technique related to the idea of coupled tensor factorization. We show that embeddings based on tensor factorization can be used to discern the various meanings of polysemous words without being explicitly trained to do so, and motivate the intuition behind why this works in a way that doesn't with existing methods. We also modify an existing word embedding evaluation metric known as Outlier Detection [Camacho-Collados and Navigli, 2016] to evaluate the quality of the order-$N$ relations that a word embedding captures, and show that tensor-based methods outperform existing matrix-based methods at this task. Experimentally, we show that all of our word embeddings either outperform or are competitive with state-of-the-art baselines commonly used today on a variety of recent datasets. Suggested applications of tensor factorization-based word embeddings are given, and all source code and pre-trained vectors are publicly available online.

Motivation & Objective

  • To develop word embedding techniques that leverage higher-order co-occurrence information beyond pairwise relationships.
  • To address the limitation of matrix-based methods, which only model second-order co-occurrence, by using third-order tensors.
  • To design a joint symmetric tensor factorization framework that integrates both second- and third-order co-occurrence data.
  • To evaluate embeddings on their ability to capture complex semantic relationships, especially polysemy, using a new metric for third-order information.
  • To demonstrate that multiplicative composition of word vectors can yield semantically meaningful representations for different word senses.

Proposed method

  • The method constructs a symmetric, nonnegative 3-way PPMI tensor from a corpus, where each entry m_ijk represents the PPMI of three words co-occurring in a context window.
  • It applies symmetric canonical polyadic (CP) decomposition to the tensor to learn low-rank word embeddings, preserving the symmetric structure of the data.
  • A new joint symmetric tensor factorization problem is introduced, where multiple supersymmetric tensors are decomposed using a shared factor matrix to jointly model second- and third-order co-occurrence.
  • The embeddings are trained using an alternating least squares algorithm tailored for symmetric, nonnegative tensors.
  • The method enables multiplicative composition of word vectors: v_i * v_j approximates the vector representation of a word that co-occurs with both i and j in a triadic context.
  • A new evaluation metric, OD3 (Outlier Detection 3), is proposed to measure the quality of third-order semantic relationships captured by word embeddings.

Experimental results

Research questions

  • RQ1Can tensor factorization of 3-way co-occurrence data produce word embeddings that outperform matrix-based methods on semantic NLP tasks?
  • RQ2Does joint factorization of second- and third-order co-occurrence tensors improve embedding quality compared to using only pairwise data?
  • RQ3Can multiplicative composition of word vectors generate distinct, semantically meaningful representations for different senses of a polysemous word?
  • RQ4To what extent do tensor-based embeddings capture higher-order semantic relationships compared to matrix-based models?
  • RQ5Is there a measurable advantage in capturing third-order co-occurrence patterns when using a new evaluation metric like OD3?

Key findings

  • The proposed CP-S and JCP-S embeddings significantly outperform state-of-the-art matrix-based methods like CBOW and GloVe on multiple semantic NLP tasks when trained on the same data.
  • The joint symmetric tensor factorization (JCP-S) method effectively combines second- and third-order co-occurrence information, leading to improved performance.
  • The new OD3 metric demonstrates that tensor-based embeddings capture significantly more third-order semantic information than matrix-based models.
  • Multiplicative composition of word vectors in CP-S and JCP-S produces meaningful representations for different senses of polysemous words, such as 'star' meaning both a celestial body and a performer.
  • For the word 'star', the product v_star * v_actor yields a vector closest to 'drama' or 'award-winning', reflecting the 'performer' sense, while v_star * v_planet is closest to 'planet' or 'galaxy', reflecting the 'celestial body' sense.
  • In contrast, CBOW embeddings only produce semantically meaningful results through additive composition, highlighting a unique advantage of tensor-based embeddings in modeling polysemy via multiplicative composition.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.