Skip to main content
QUICK REVIEW

[Paper Review] Controlled Experiments for Word Embeddings

Benjamin J. Wilson, Adriaan M. J. Schakel|arXiv (Cornell University)|Oct 9, 2015
Topic ModelingComputer Science11 references13 citations
TL;DR

This paper proposes controlled experiments using modified training corpora to isolate the effects of word frequency and co-occurrence noise on word2vec CBOW word vector properties. By inserting pseudowords with tunable frequency and noise levels, the authors demonstrate that vector length varies linearly with both factors, and that the vector for pure noise is small but non-zero, revealing a non-origin special point in feature space.

ABSTRACT

An experimental approach to studying the properties of word embeddings is proposed. Controlled experiments, achieved through modifications of the training corpus, permit the demonstration of direct relations between word properties and word vector direction and length. The approach is demonstrated using the word2vec CBOW model with experiments that independently vary word frequency and word co-occurrence noise. The experiments reveal that word vector length depends more or less linearly on both word frequency and the level of noise in the co-occurrence distribution of the word. The coefficients of linearity depend upon the word. The special point in feature space, defined by the (artificial) word with pure noise in its co-occurrence distribution, is found to be small but non-zero.

Motivation & Objective

  • To disentangle the independent effects of word frequency and co-occurrence noise on word vector properties in word embeddings.
  • To investigate whether word vector length and direction are systematically influenced by these two factors in a controlled, measurable way.
  • To determine whether a 'pure noise' word vector exists and whether it lies at the origin or a non-zero point in feature space.
  • To provide a generalizable experimental framework applicable to any word embedding model through corpus-level modifications, without requiring model internals.

Proposed method

  • Insert pseudowords into a training corpus with controlled frequency and varying levels of co-occurrence noise.
  • Maintain fixed co-occurrence distributions for pseudowords while varying their frequency to isolate frequency effects.
  • Hold frequency constant while increasing the proportion of noise in the co-occurrence distribution to isolate noise effects.
  • Train word2vec CBOW models on the modified corpora and extract word vectors from the first (syn0) and second (syn1neg) synaptic layers.
  • Use cosine similarity and vector length analysis to study directional and magnitude changes in response to frequency and noise.
  • Compare pseudoword vectors to the 'VOID' word, representing pure background noise, to identify a special point in feature space.

Experimental results

Research questions

  • RQ1How does word vector length vary with word frequency when co-occurrence distribution is held constant?
  • RQ2How does word vector length change with increasing co-occurrence noise when frequency is held constant?
  • RQ3Does the vector for a word with pure noise in its co-occurrence distribution (VOID) lie at the origin of the feature space?
  • RQ4How do word vector directions change smoothly as co-occurrence noise increases?
  • RQ5Can the vector for a pseudoword with pure noise be interpreted as a stable, non-zero attractor in feature space?

Key findings

  • Word vector length varies more or less linearly with word frequency when co-occurrence noise is held constant.
  • Word vector length decreases linearly with increasing co-occurrence noise when frequency is held constant, with the coefficient of linearity depending on the word.
  • The vector for the pseudoword with pure noise (VOID) is small but non-zero, indicating a non-origin special point in the feature space.
  • As co-occurrence noise increases, word vector direction smoothly interpolates from the original word vector toward a direction nearly perpendicular to it.
  • The vector for the pure noise word (VOID) acts as a common attractor for pseudowords with increasing noise, though convergence is limited by insufficient sampling of VOID's full context.
  • Vector length in the first synaptic layer (syn0) shows stronger linear relationships with frequency and noise than in the second layer (syn1neg).

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.