RAND-WALK: A Latent Variable Model Approach to Word Embeddings
Paper · 2015 · Sanjeev Arora, Yuanzhi Li, Yingyu Liang et al.
Summary
Why should counting nearby words produce a space in which a direction can represent a relationship such as singular to plural? RAND-WALK starts with a simpler question. If what people are talking about changes gradually, what should we expect to see in the counts of words that appear together? The paper answers by imagining a hidden vector that describes the current subject of discussion and takes a small random step after each word. Every word has a fixed vector of its own. A word becomes more likely when its vector lines up with the current subject. Averaging over the hidden subject connects the geometry of these word embeddings to statistics that can be measured directly in a corpus.
The argument depends on how the word vectors are arranged as a group. If they are spread fairly evenly across directions, then turning the hidden subject vector typically changes the relative chances of individual words much more than it changes the total score across the vocabulary. That stability makes it possible to derive simple approximations for single-word frequencies and nearby pair frequencies. Combining the approximations gives a reason why pointwise mutual information, which measures how often a pair occurs relative to its members’ frequencies, can be represented by inner products in a space with far fewer dimensions than there are words. Fitting the pair frequencies directly gives a related training objective called Squared Norm, or SN. The derivation also explains the role of word-specific bias terms in GloVe.
The authors train on English Wikipedia and test both the statistical predictions and the embeddings’ ability to complete word analogies. SN gives an average weighted termwise error of 5% on its fitting objective, compared with 17% for the objective that fits pointwise mutual information. For SN, the Pearson correlation between squared vector length and log word frequency is 0.75. On the analogy evaluations, SN is close to GloVe on semantic questions and trails GloVe and skip-gram on syntactic questions. The authors identify limited treatment of local word order as a likely reason for the weaker syntactic results.
The paper also explains why useful analogy directions can survive sizable errors in individual word-pair statistics. A relationship can leave a recurring pattern across the contexts of different word pairs. If the errors have little alignment with the directions retained in the embedding, projecting into the smaller space reduces their influence relative to the shared pattern. The authors find evidence for such directions in the analogy data, and a solver that estimates a direction from neighbors of the query words improves accuracy on GOOGLE by about 3%. The explanation applies to relations with the requisite context pattern and to embeddings whose geometry supports the projection.
Deep dive: RAND-WALK: A Latent Variable Model Approach to Word Embeddings
RAND-WALK explains how a slowly changing topic can give word embeddings their geometry, from nearby word counts to directions that help solve analogies. · about 39 minutes to read
The problem and its context
Why nearby words are evidence about meaning
A table of nearby word counts is easy to define. Choose a word, inspect a short stretch of text around its occurrences, and keep track of which other words appear. The resulting row characterizes the word through the company it keeps. The paper takes this distributional idea as the common starting point for several approaches to distributional semantics. They differ in what they do to the counts, how they compress them, and what kind of geometry results.
A raw count combines facts that matter in different ways. A word can occur near many others because it is frequent throughout the corpus. A pair can also recur because the two words are particularly likely to appear under similar circumstances. Pointwise mutual information, or PMI, distinguishes these effects by comparing observed joint probability with the value expected from the individual probabilities under independence. Even before compression, this changes what a row represents. Its entries describe how strongly each context word is associated with the target, relative to how readily that context word appears in general. The paper traces this line of work to early studies of word association and mutual information. Word Association Norms, Mutual Information, and Lexicography
The authors describe earlier vector-space work that transformed co-occurrence entries by taking square roots, taking logarithms, or using PMI. It also reduced the number of dimensions. A simple PMI matrix has a row and a column for each vocabulary word. An explicit representation uses the whole row as a vector. A compact representation keeps only a limited set of directions extracted from the matrix, for instance by singular value decomposition, or SVD. The paper uses the simpler word-by-word case to state the problem and notes that columns can also represent a richer set of contexts, including phrases. From Frequency to Meaning
The mathematical puzzle is why such a large table can have a useful low-rank approximation at all. Each entry concerns a different pair. PMI alone supplies a rule for calculating each number once its probabilities are known. It gives no immediate reason why a short vector assigned to a word should interact through an inner product with all the other short vectors in a way that recovers the corresponding entries. A good reconstruction requires the associations in different rows and columns to share structure. The paper asks what plausible mechanism for producing nearby words could supply that structure.
What the newer embedding methods left open
As described by the paper, neural approaches made a word’s internal representation into its embedding. Word2vec popularized this approach through related objectives, while GloVe used a weighted factorization built from global word co-occurrence counts. Their starting points look different. A prediction objective asks the vectors to distinguish more plausible word and context combinations. A matrix-fitting objective asks them to approximate numbers already computed from a corpus. Yet earlier work connected skip-gram with negative sampling to factorization of a shifted PMI matrix. That connection sharpened the question of where the low-rank structure came from. Efficient Estimation of Word Representations in Vector Space, Distributed Representations of Words and Phrases, GloVe
The earlier skip-gram calculation explained what its objective would favor when dimensionality imposes no effective restriction on the scores. RAND-WALK asks why a compact system of scores should already be plausible. These are distinct mathematical questions. With enough freedom, an objective can attach an individual score to each word and context combination. With a short vector for each word, changing a vector changes its scores with many other words at once. Explaining what happens in this latter regime requires an account of the joint structure of the scores. The use of negative sampling also gives the earlier result a different starting point. It analyzes an objective that discriminates observed combinations from sampled ones, while RAND-WALK begins with probabilities for the words a process would emit.
The paper places its account alongside earlier work on hidden topics. In that tradition, the words in a document are visible and the variables that help account for their occurrence are inferred. The authors recall how generative explanations for older vector-space procedures helped motivate work leading to latent Dirichlet allocation. They identify a gap between those explanations and PMI-based embeddings. The dynamic topic work they discuss already allowed topics to change, but used a linear word production rule. A closer precursor used a log-linear word production rule without the random walk. RAND-WALK puts gradual movement and the log-linear rule together, then derives the statistics of the words after averaging over the hidden state. Probabilistic Latent Semantic Analysis, Dynamic Topic Models
Why analogy arithmetic poses a separate question
Word analogy tests posed a second puzzle. A query gives an example pair and one word in a new pair, with the missing word to be supplied. In a syntactic question, the first pair might connect an uninflected verb to its inflected form. The task is to apply the same change to the new verb. In the vector formulation, the example supplies a displacement. A candidate answer is preferred when its displacement from the query word resembles that example. Earlier work on linguistic regularities showed why this setup was worth studying. It suggested that relationships could have an algebraic representation even when the procedure that produced the vectors was nonlinear. Linguistic Regularities in Continuous Space Word Representations
One proposed explanation starts from ratios of context probabilities. Suppose two pairs exemplify the same relation. For each possible context word, compare how frequently it occurs around the first member of a pair with how frequently it occurs around the second. The two pairs may show a common pattern of ratios. For instance, some context words favor one side of a gender relation, while others carry little information about that relation. GloVe uses this intuition to motivate a form in which vector differences correspond to changes in log probabilities. RAND-WALK takes the shared-ratio idea seriously and asks how much approximate agreement is enough. GloVe
The issue is that a useful fit to a large table can still make sizable errors in individual entries. Analogy solving ranks candidate words, so even an approximation that captures broad semantic structure can leave uncertainty about which of two close candidates should win. The paper also discusses the alternative view that the standard arithmetic works through familiar effects of word similarity, a view developed in work on sparse explicit representations. To account for a relation direction, the authors need to explain how information shared across many contexts can survive the errors in those individual contexts. This is where the arrangement of the vocabulary vectors and the small number of dimensions become central. Linguistic Regularities in Sparse and Explicit Word Representations
The method, step by step
Let the subject of discussion drift
Imagine reading a stretch of text with a reasonably stable subject. Even as the words change, they can remain relevant to the same underlying discussion. Then the subject moves, and the kinds of words that fit begin to change. RAND-WALK represents the underlying state by a vector called the discourse vector. The term has a specific meaning here. It is the hidden state that affects word selection at a position in the corpus. Each word type has a separate fixed vector, which specifies the kinds of states that favor it.
At every position, the process scores the vocabulary against the current discourse vector, turns the scores into probabilities, and draws a word. It then moves the discourse vector. Consecutive states tend to be similar, giving words in a short window a common source of dependence. A pair can therefore co-occur because both of its words fit the same region of discourse space. The process can be described at the level of the hidden sequence, but the training procedure uses the resulting statistics of observed words. It fits word vectors from counts without reconstructing a discourse trajectory through Wikipedia.
From changing discourse to fitted word vectors
The steps in order.
Specify how the process scores words
A word’s score is the dot product of its vector and the current discourse vector. The dot product grows when the vectors point in similar directions, and its magnitude also depends on their lengths. Exponentiating the score makes it positive, so all the resulting weights can be divided by their total to form probabilities. The score is linear in the vector coordinates before the exponential is applied, which is the sense in which this rule is log-linear.
p(w | cₜ) = exp(⟨v(w), cₜ⟩) / Z(cₜ)
Here w is a vocabulary word, t is a position in the sequence, and cₜ is the discourse vector at that position. v(w) is the fixed vector for w. The brackets denote the dot product, exp is the exponential function, and p(w | cₜ) is the probability of drawing w given cₜ. Z(cₜ) is the total unnormalized weight assigned to the vocabulary at that state.
Z(c) = ∑ᵤ exp(⟨v(u), c⟩)
c is a discourse state, and u ranges over vocabulary words in the sum. v(u) is the vector for u, the brackets again give the dot product, and exp turns the score into a positive weight. Z(c) is known as the partition function. Its presence means a word’s absolute probability depends both on its own score and on what the entire vocabulary scores under the same discourse.
The discourse walk has a stationary distribution, meaning a distribution it preserves when the transition is applied. In the main sphere formulation, that distribution is uniform on the unit sphere. This gives equal standing to different directions over the long run. The consecutive states still depend on each other. Uniformity concerns the distribution of a state viewed on its own, and slowness concerns how far the state typically moves when a word has just been produced. The paper permits different transition rules with sufficiently small changes and also discusses an exponential moment condition that allows occasional larger moves.
‖cₜ₊₁ − cₜ‖₂ ≤ ε₂ / √d
cₜ and cₜ₊₁ are successive discourse vectors. The Euclidean norm ‖·‖₂ measures the length of their displacement. ε₂ is the parameter controlling the step size in this bounded-step formulation, and d is the dimension of the shared vector space. Dividing by √d keeps the change in an emission score small even when a word vector has length on the order of √d. This relation between length scales is what lets the authors approximate nearby draws using nearly the same discourse state.
Allow frequency differences without favoring a direction
The paper needs the vocabulary to exhibit large differences in word frequency. It also needs a global geometry that is reasonably even. Its prior, an assumed probability distribution over the word vectors, provides for both by separating a random scale from a directionally symmetric draw.
v(w) = s(w) · v̂(w)
v(w) is the latent vector of word w, s(w) is the random scaling factor for that word, and v̂(w) is a draw from a spherical Gaussian with identity covariance. The centered Gaussian has the same variance along each coordinate and is rotationally symmetric. The multiplication scales its entire vector. The prior draws word vectors independently from the same construction. A bounded scale distribution with a constant-order mean keeps typical dot products in a range where changes in the scores have meaningful effects on word probabilities. Changing scales allows considerable variation in word-vector length while leaving the overall distribution directionally symmetric.
The authors use isotropy to describe this lack of a strong preferred direction in the vocabulary as a whole. There are two levels to the argument. The prior makes the proof tractable by specifying how vectors could be drawn. The conclusions depend on weaker, testable properties that such draws are meant to supply. A learned vocabulary may contain groups of similar words, or a particular relation may create a conspicuous local direction. Those patterns can coexist with roughly even coverage of directions across the entire vocabulary. The paper takes advantage of that distinction when it compares the assumption with trained embeddings.
The importance of length is easy to miss if one only uses cosine similarity, which removes the effect of length by dividing by the norms. During generation, lengths matter. A longer word vector can have a strongly positive score for discourse pointing towards it and a negative score for discourse pointing away. The positive cases contribute disproportionately to the average of the exponential. This gives the process a mechanism for a longer vector to have greater average probability even if the underlying discourse directions have no overall preference for it.
Show why the normalizer changes little
The first technical result concerns the vocabulary-wide sum. For a fixed unit discourse vector, the prior makes the partition function a sum of independent contributions. Rotating that discourse vector leaves the distribution of a projection from the spherical Gaussian unchanged. As a consequence, the mean of the sum is the same for any unit direction. To pass from a mean across possible vocabularies to a statement about a vocabulary drawn and held fixed, the authors need a concentration argument.
𝔼[Z(c)] = n · 𝔼ₛ[exp(s²‖c‖₂²/2)]
𝔼[Z(c)] is the expected partition function over draws of the vocabulary vectors for a fixed c. n is the number of vocabulary words. 𝔼ₛ averages over the scale s in the prior. exp is the exponential and ‖c‖₂² is the squared length of the discourse state. The expression follows by first fixing the scale, at which point the projection onto c is a centered Gaussian with variance determined by s and the length of c. Since the discourse vectors on the sphere have the same length, this expected value is independent of direction.
Taking an exponential of the Gaussian score creates a difficulty. Strongly aligned words can contribute very large terms, so familiar concentration bounds for well-behaved summands cannot directly be applied to the exponential scores. The proof first isolates the typical range of the scores, applies a concentration bound to the resulting bounded variables, and then controls the chance of leaving that range. An averaging step turns a joint statement about the vocabulary draw and the discourse direction into a statement for most directions once a typical vocabulary is fixed.
Pr_{c ∼ ℂ}[(1 − ε_z)Z ≤ Z(c) ≤ (1 + ε_z)Z] ≥ 1 − δ
Pr denotes probability over a discourse state c drawn from ℂ, the stationary distribution. Z(c) is the full partition function at that state, and Z is the reference value around which it concentrates. ε_z is the allowed relative deviation and δ bounds the probability of falling outside that range. The paper gives an ε_z of order 1/√n up to logarithmic factors, and a δ of the form exp(−Ω(log² n)). Here n is the vocabulary size, log² n is the square of its natural logarithm, and the Ω in the exponent indicates a lower bound in order on the positive rate of decay.
This property is a form of self-normalization. Individual word probabilities can change sharply as the current subject changes. The sum used to normalize them can nevertheless stay close to the same value if different words take turns contributing the larger scores. This is the property needed by the derivation. The authors also propose it as an explanation for why omitting or approximating a normalizer can work in other log-linear settings. When and Why Are Log-Linear Models Self-Normalizing?
Average over the states to get word probabilities
Start with adjacent words. Their joint probability is obtained by averaging the product of the conditional probabilities over two successive discourse states. Conditional independence is relevant here. Once each word’s discourse state is specified, the two draws use their respective probabilities. Before those states are averaged out, the two draws share dependence through the walk.
p(w, w′) = 𝔼_{c,c′}[exp(⟨v(w), c⟩) · exp(⟨v(w′), c′⟩) / (Z(c) · Z(c′))]
p(w, w′) is the adjacent-pair probability, with w drawn at the earlier position and w′ at the next. 𝔼_{c,c′} averages over the joint distribution of consecutive states c and c′. v(w) and v(w′) are the corresponding word vectors. exp and the inner-product brackets have the same meanings as in the emission rule. Z(c) and Z(c′) normalize the two draws.
The proof handles the typical and atypical discourse states separately. When both normalizers fall in the concentration range, they can be replaced by the reference value with small relative error. The atypical case needs a separate bound. A rare state could matter if it also produced a sufficiently large exponential score. The appendix bounds the contribution from such states using the tails of projections of spherical random vectors. This step is what permits the approximation inside an average of exponentials, where counting how often a deviation occurs would otherwise leave its size uncontrolled.
The second approximation exploits the walk. A small movement from c to c′ changes the second word’s dot product by at most the product of the word vector’s length and the size of the movement. The proof uses this to replace the second state by the first in the numerator with a controlled multiplicative error. The two exponential factors then combine into an exponential of the inner product of c with the sum of the word vectors. The order of the argument matters. A almost constant denominator removes the vocabulary-wide dependence from this calculation, and a slowly moving state makes the numerator depend on a single vector sum.
𝔼_c[exp(⟨u, c⟩)] = (1 ± ε₃) · exp(‖u‖₂²/(2d))
𝔼_c averages over a uniform discourse state c on the unit sphere. u is a fixed vector of the length scale considered in the proof, such as the sum of the two word vectors. The brackets mean dot product, exp is the exponential, ‖u‖₂² is the squared Euclidean norm, and d is the dimension. ε₃ is the relative approximation tolerance, of order 1/d up to logarithmic factors. The ± notation means that a factor between 1 − ε₃ and 1 + ε₃ relates the two quantities.
The expression comes from approximating the projection onto a random spherical direction by a centered Gaussian. For a Gaussian projection the exponential expectation has the displayed form without the error factor. On the sphere, normalizing the direction to unit length alters the distribution, so the appendix controls the difference. When applied to an adjacent pair this yields the following result.
log p(w, w′) = ‖v(w) + v(w′)‖₂²/(2d) − 2 log Z ± ε
log is the natural logarithm, p(w, w′) is the adjacent-pair probability, and v(w) + v(w′) is the sum of the word vectors. ‖·‖₂² squares the Euclidean length, d is the dimension, and Z is the reference partition function. The factor on log Z reflects a normalizer for each draw. ε is the additive error tolerance after taking logs. It collects contributions from variation in the normalizer, the spherical approximation, and the movement of the discourse state.
The same integral for one word uses a single vector and a single normalizer.
log p(w) = ‖v(w)‖₂²/(2d) − log Z ± ε
p(w) is the marginal probability of w, averaged over discourse states. log is the natural logarithm, v(w) is the word vector, ‖v(w)‖₂² is its squared length, d is the dimension, and Z is the same reference normalizer. ε again denotes an additive approximation tolerance. The equation predicts a linear relationship between log frequency and squared vector length, which the paper checks directly in the learned vocabulary.
See where PMI and low rank come from
For the adjacent-pair case, PMI is the log of the ratio between the joint probability and the product of its marginals.
PMI(w, w′) = log[p(w, w′)/(p(w) · p(w′))]
w and w′ name the two words, p(w, w′) is their joint probability, and p(w) and p(w′) are their individual probabilities. The dot between the marginal probabilities is ordinary multiplication. log is the natural logarithm. When the numerator equals the product in the denominator, PMI is zero. An excess of observed joint probability gives a positive value, and a shortfall gives a negative one.
Taking the log converts the ratio to the joint log probability less the two marginal log probabilities. The terms involving log Z cancel. Expanding the squared length of the vector sum produces one term for the length of each word vector and a cross term for the dot product. The individual length terms also cancel against the marginals, leaving the cross term and the approximation errors.
PMI(w, w′) = ⟨v(w), v(w′)⟩/d ± O(ε)
PMI(w, w′) is the adjacent-pair statistic, v(w) and v(w′) are the word vectors, and the brackets denote their dot product. d is the vector dimension. O(ε) denotes an additive error bounded in order by the tolerance ε in the log-probability approximations. The cancellation explains why PMI can reflect alignment while dividing out the individual frequency contributions.
Collecting all these dot products produces a matrix of inner products of the vocabulary vectors. Its rank can be at most the number of embedding coordinates. This is the source of the paper’s explanation of approximate low rank. It is a consequence of how the joint statistics are produced and combined. The approximation error remains important. Two word vectors can have substantial length while their dot product is small. The terms recovered in the joint log probability are then large on a scale where the error can be modest, even though the remaining PMI term is on a scale where that same error matters.
For a short window containing more than an adjacent pair, the paper treats the different possible positions of the pair as having approximately the same joint probability. The number of places for a pair then supplies a common additive shift in log space.
PMI_q(w, w′) = ⟨v(w), v(w′)⟩/d + γ ± O(ε)
PMI_q(w, w′) is the PMI for co-occurrence in a window of size q, v(w) and v(w′) are the word vectors, and the brackets give the dot product. d is the dimension and γ is the shift associated with the window. O(ε) is the order of the additive approximation error for the window calculation.
γ = log[q(q − 1)/2]
γ is the shift, log is the natural logarithm, and q counts the positions in the window. The quantity inside the logarithm counts the distinct pairs of positions. The same shift appears in the log joint probability for the window. The paper cautions that the approximation deteriorates as the window gets larger, since more widely separated positions give the random walk more opportunity to move. It draws a parallel with the constant shift in the earlier unconstrained skip-gram calculation. The window argument ties its own shift to how co-occurrences are counted, while the earlier skip-gram shift arises through negative sampling.
Turn a probability prediction into a fitting objective
The authors fit vectors to observed counts for word pairs that occur near each other. To derive the fitting weights, they approximate those counts by a multinomial sample with a fixed total and one probability for each pair. Successive observations in the underlying walk are dependent. The multinomial approximation uses the idea that the walk mixes sufficiently quickly, meaning it loses influence from its starting state quickly enough for this treatment of aggregate counts.
For a pair with a positive count, the paper compares the predicted and observed counts on a logarithmic scale.
Δ(w, w′) = log[L̃ · p(w, w′)/X(w, w′)]
Δ(w, w′) is the log count residual for the words w and w′. L̃ is the total number of observed word pairs, p(w, w′) is the probability assigned to this pair, and X(w, w′) is its measured count. L̃ · p(w, w′) is the expected count, and log is the natural logarithm. A residual close to zero means that the prediction and the observation are close on the relative scale used for fitting.
The multinomial log likelihood, after removing terms that depend only on the observations, gives each log residual a weight equal to the observed count. The predicted pair counts sum to the same total as the observed counts. Expanding the exponential that turns each log residual back into a count ratio, the paper uses this equal-total condition to relate the sum of the linear terms to the sum of the squared terms. Around a close fit, the resulting likelihood loss is roughly a weighted square loss.
2(K − ℓ) ≈ ∑_{w,w′} X(w, w′) · Δ(w, w′)²
ℓ is the log likelihood with parameter-independent multinomial factors omitted, and K is a constant for the fixed observations. The sum ranges over the observed pairs w, w′, X(w, w′) is each pair’s count, and Δ(w, w′) is its log count residual. The squared residual makes positive and negative deviations contribute to the loss. ≈ marks the approximation from retaining the quadratic part of the expansion. The derivation expects high-count observations to be close enough to their expected counts for the neglected terms to be small. The appendix argues that the weight contributed by very small counts can be modest in aggregate when the counts follow the power-law pattern it describes.
Substituting the earlier prediction for pair probability yields the SN objective. In the form used for fitting, the constant scale on squared vector length is absorbed into the fitted vectors. The total number of pairs and the reference normalizer contribute to the global offset. The authors also cap the weights so that extremely frequent pairs have limited leverage.
min_{v,C} ∑_{w,w′} min{X(w, w′), X_max} · [log X(w, w′) − ‖v(w) + v(w′)‖₂² − C]²
The minimization adjusts the set of vectors v and the common offset C. w and w′ range over pairs with positive counts, X(w, w′) is the observed count, and X_max is the weight cap. The inner min selects the smaller of the observed count and the cap. log means the natural logarithm, v(w) and v(w′) are the rescaled vectors being fitted, and ‖·‖₂² denotes their sum’s squared length. The final square applies to the entire log-count residual. The paper gives 100 as an example of a cap and motivates truncation by the possibility that the most frequent words depart from the assumptions.
The alternative PMI objective fits the statistic left after removing the marginal-frequency effects. It uses count weights because the paper treats uncertainty in the smaller joint probability as the main source of error in an empirical PMI estimate.
min_v ∑_{w,w′} X(w, w′) · [PMI(w, w′) − ⟨v(w), v(w′)⟩]²
min_v means to choose the vocabulary vectors to minimize the sum. X(w, w′) is the observed count for the pair indexed by w and w′, PMI(w, w′) is the empirical statistic, and the brackets inside the residual give the dot product between the word vectors v(w) and v(w′). The outer square applies to the difference between PMI and the fitted dot product. The two fitting objectives amount to forms of weighted low-rank approximation. The paper describes the general optimization as NP-hard and uses AdaGrad, an adaptive gradient-based optimizer, to obtain embeddings in practice.
Relate the fitted geometry to GloVe and CBOW
Expanding the squared norm in SN separates a pair-specific interaction from a term for the length of each word vector. The interaction is proportional to the dot product. The length terms behave like word-specific offsets. GloVe’s objective has an explicit place for each of these effects.
∑_{w,w′} f(X(w, w′)) · [log X(w, w′) − ⟨v(w), v(w′)⟩ − s(w) − s(w′) − C]²
The sum runs over the observed pairs indexed by w and w′. f weights a pair according to its count X(w, w′). log is the natural logarithm, v(w) and v(w′) are word vectors in the comparison, and the brackets denote their dot product. s(w) and s(w′) here are the word-specific biases in the GloVe objective, and C is the common offset. These bias symbols have a different role from the random scales in the earlier prior. GloVe uses a weighting rule that raises the count to the power 3/4 and caps that transformed value at 100. RAND-WALK’s derivation gives a reason to use frequency-dependent weighting and word-level offsets. In SN the offsets arise from vector lengths, tying the frequency effects to the fitted geometry.
CBOW, the continuous bag-of-words variant of word2vec, supplies a different comparison. It uses an average of nearby word vectors to score a possible target word. The paper considers a simplified discourse process in which the state stays fixed throughout a short window, the prior is uniform on the sphere, and the normalizer is constant. Under these assumptions, observing the words in the window gives the greatest posterior probability density to the discourse direction aligned with the sum of their vectors.
ĉ = (∑ᵢ₌₁ᵏ v(wᵢ)) / ‖∑ᵢ₌₁ᵏ v(wᵢ)‖₂
ĉ is the maximum-a-posteriori estimate of the discourse state, meaning the state that maximizes the posterior density given the words. k is the number of words in the window, i indexes them, and v(wᵢ) is the vector for the word at position i. The sums collect these word vectors, and ‖·‖₂ in the denominator is the Euclidean length of the sum. For a non-zero sum, the division picks the unit vector in its direction. The ordinary average used in the CBOW comparison points in that direction as well, with different scaling. The result explains how a sum or average of context vectors can stand in for a hidden discourse direction in a short stretch of text.
Recover a relation direction from many contexts
The analogy argument begins with a condition on a relation. For a pair of words in that relation, the ratio of their probabilities of attracting a given context word has a shared component and a component particular to the pair. Across context words, the shared component describes what tends to change when moving from a word on one side of the relation to the other. Some entries can be highly informative while others contribute very little. Pair-specific departures from the shared pattern are allowed.
p(χ | a)/p(χ | b) = ν_R(χ) · ξ_(a,b,R)(χ)
a and b are an ordered word pair satisfying relation R, and χ is a vocabulary word used as a context. p(χ | a) and p(χ | b) are its probabilities of appearing in short windows around the respective words. ν_R(χ) is the ratio component shared by pairs in relation R. ξ_(a,b,R)(χ) is a multiplicative departure specific to this pair and context. The ordinary multiplication combines the two components. Taking logarithms turns the shared component and the departure into additive quantities.
The difference between the PMI entries for a and b with the same context χ approximates this log ratio. The marginal probability of χ cancels, and the word-vector approximation makes the difference proportional to the dot product of the context vector with the displacement from b to a. Stack these equations over the vocabulary, and the displacement becomes the unknown vector in a regression.
V[v(a) − v(b)] = d · log(ν_R) + ζ′
V is the matrix with one vocabulary vector per row and d columns. v(a) − v(b) is the displacement for the example pair. ν_R is the vector of components shared by relation R over all context words, and log acts on each element separately. The factor d comes from the scaling in the PMI formula. ζ′ combines the pair’s departure from the shared pattern with approximation error from using the derived PMI expression. The equation represents one constraint per context word on the same short displacement.
Applying the pseudoinverse of V converts the shared pattern to a direction in the embedding space and maps the combined error into that space as well. The pseudoinverse first projects onto the directions in the space spanned by the columns of V, then rescales along those directions according to the singular values. The theorem requires the smallest non-zero singular value to be a constant fraction of their quadratic mean. This keeps any retained direction from receiving a disproportionate amplification. It also requires the error to have little alignment with each retained left singular vector and puts a bound on word-vector lengths. The requirement on error alignment supplies information distinct from the spread of the vocabulary itself.
‖ζ̄‖₂ ≲ ‖ζ′‖₂ · √d/n
ζ̄ is the error after applying the pseudoinverse, ζ′ is the error across vocabulary contexts, and ‖·‖₂ is the Euclidean norm. d counts embedding coordinates and n counts the vocabulary words. ≲ gives an upper bound up to a constant. Under the theorem’s conditions the paper gives a factor of √(d/n) for the reduction in relative error, after accounting for the change of scale of the signal too. Thus a pattern spread across a large vocabulary can give a more stable direction after projection into a compact space.
An analogy query puts that geometry to work by comparing displacements among normalized word vectors.
argmin_x ‖v(a) − v(b) − v(c) + v(x)‖₂²
a and b are the supplied example pair, c is the word for which a partner is sought, and x ranges over candidate answers. The v terms are unit-normalized word vectors for this query. ‖·‖₂² is the squared Euclidean length, and argmin_x selects the candidate yielding the smallest value. If the example displacement v(a) − v(b) agrees with v(c) − v(x), their difference is small. The theorem motivates looking for this agreement, while the evaluation measures how often it identifies the correct word.
Experiments and results
Corpus, training, and comparisons
The experiments use the March 2015 English Wikipedia dump. The authors remove non-text material, split the remaining text into sentences, and apply tokenization to divide it into the units they count. About 3 billion tokens remain after preprocessing. Words with fewer than 1000 occurrences are excluded, giving a vocabulary of 68,430. The co-occurrence counts use windows extending 10 tokens to either side of the focus word. The corpus is the source of the counts used to learn the vectors. The analogy questions are a separate evaluation of the learned geometry. English
The authors train the SN embeddings with AdaGrad for 100 iterations, using 0.05 as the initial learning rate. They also fit embeddings with the weighted PMI objective. The comparison systems are GloVe, skip-gram, and CBOW. GloVe uses the same co-occurrence counts as SN with its default parameter settings. Skip-gram and CBOW use a window size of 10 and otherwise retain their defaults. This design gives the methods a shared corpus and common evidence of local word use, with training objectives and some details of how that evidence is used belonging to the respective methods.
The direct comparison between the two RAND-WALK objectives measures the average weighted error per term in fitting their statistics. Because the objectives target different quantities, this comparison concerns how well each quantity is represented at the chosen fit. It also helps explain why the detailed benchmark results are for SN. The authors report that the SN vectors generally fit better and work better in their tests.
Average weighted termwise fitting error on English Wikipedia
Squared Norm fits its log count targets more closely than the PMI objective fits its association targets.
The numbers
| System or setting | Weighted termwise error % |
|---|---|
| Weighted PMI | 17 |
| Squared Norm (SN) (this paper) | 5 |
Checks on the statistical predictions
The partition-function experiment asks how much the total vocabulary score changes as the discourse direction changes. The authors sample 1000 uniformly random directions for the SN embeddings. All sampled vectors have the same length, chosen as 4 divided by the average norm of the word vectors. That scale matters because the emission rule depends on the product of the scales of the word and discourse vectors. The values plotted are divided by their sample mean. Most lie within [0.9, 1.1] times that mean. The authors also observe concentration with embeddings trained by other objectives, especially GloVe and CBOW.
The singular-value check asks a different question about global geometry. For SN the quadratic mean of the vocabulary matrix’s singular values is 34.3, and its smallest non-zero singular value is 11. These statistics are on the same scale and can be compared directly. The authors treat them as consistent with the spectral condition of the noise-reduction argument. For the ratio of the quadratic mean to the minimum non-zero singular value, they report 1.4 for GloVe, 10.1 for CBOW, and 3.1 for skip-gram. Each spectrum is a check on how strongly the projection can rescale its least supported direction. The figures allow variation across training approaches even though the authors see all of them as exhibiting the broad spectral property.
The word-frequency experiment checks the prediction for individual vector lengths. Each point represents a vocabulary word. Its corpus frequency is transformed with the natural logarithm and compared with the squared length of its SN vector. The Pearson correlation is 0.75. Pearson correlation measures the strength of linear association, so this result supports the predicted tendency for more frequent words to have longer vectors. The association is stronger among frequent words. The paper suggests that the greater training weight given to high-count pairs may contribute. The authors describe the correlation in the other embedding families as much weaker.
Accuracy on the analogy questions
GOOGLE and MSR test whether the vector query retrieves the reference word. GOOGLE contains 7874 semantic questions and 10,167 syntactic questions. Semantic questions ask for a relation like the one between a country and its capital. Syntactic questions include changes in word form, such as producing a corresponding inflection for another verb. MSR has 8000 syntactic questions covering adjectives, nouns, and verbs. Accuracy counts how often the highest-ranked answer under the normalized vector query is the expected word. Evaluation & benchmarks
On the semantic portion of GOOGLE, the paper describes SN as comparable to GloVe and ahead of the word2vec comparisons. On syntactic questions, the authors describe SN’s accuracy as 0.04 lower than GloVe and skip-gram, with CBOW typically performing best. The paper discusses these syntactic results together and gives the gap as an accuracy difference. It also mentions a scoring alternative, 3COSMUL, that raises accuracy by about 3% in the authors’ account. They use the linear query for the main comparison because it directly tests the structure the paper seeks to explain.
The semantic and syntactic outcomes speak to different demands on the representation. A semantic question can benefit from recurring differences in which words tend to share a subject or occur in the same kinds of context. A syntactic question may depend more on which words appear in a particular sequence. The authors use subject and verb agreement to illustrate the difference. A pronoun can exert a strong immediate effect on the form of the verb that follows. A slowly changing discourse state and a count of nearby words give only a coarse description of this kind of interaction. The paper presents the difference in analogy performance as consistent with that restriction.
What the ablations show
What changes when the target statistic changes
The comparison of SN and weighted PMI tests a distinction made by the derivation itself. SN fits the joint count, where large contributions from the two vector lengths remain in the prediction. PMI removes the effects of the marginals, leaving an interaction term that can be small relative to its approximation error. The larger relative fit error for the PMI target is therefore consistent with the theory. The change also affects the particular weighting and constraints of the objective. It is a comparison of two ways to fit embeddings, with distinct targets, so the fit errors alone cannot quantify an effect attributable solely to subtracting the marginals.
The cross-method checks offer another kind of comparison. SN builds word lengths into the predicted frequency, while GloVe gives the objective separate bias parameters. The stronger association of squared length with frequency for SN is consistent with that difference. Conversely, the presence of partition-function concentration in embeddings trained for other objectives suggests that the property can arise outside SN. Its empirical usefulness as a description of vocabulary geometry extends further than the particular recipe used to derive it. The experiments illustrate how the frequency prediction and the normalizer prediction can receive different degrees of support within the same embedding family.
How strongly word pairs share a direction
To see whether analogous word pairs align, the authors take the differences of the vectors for pairs exemplifying a relation. They put the differences into a matrix and extract its leading singular directions. A leading direction is chosen to capture the greatest variation in the uncentered difference matrix as measured by squared projection. The authors then measure cosine similarity between the individual differences and the singular directions. Cosine similarity is a normalized inner product, so differences of differing magnitudes can be compared by their angles. Semantic similarity
The analysis uses relations represented by 20 or more analogy questions. Across relations, the mean projection on the leading singular direction is 0.51. The value is 0.58 for semantic relations and 0.46 for syntactic relations. The mean projection on the second singular direction, across relations, is 0.035. The paper examines examples that include capital–country relations, adjective-to-adverb changes, and opposites. It also describes similar results for GloVe and word2vec embeddings. The recurring leading component supports the idea that an analogy category can have a common orientation across examples. The differences retain substantial individual variation.
The first direction is selected using the same relation examples whose alignment is measured. It is therefore descriptive of the structure present in those data. What makes the comparison informative is the contrast between the concentration of signed projections along the leading direction and the much smaller average along the second, together with the fact that the first component can be used to improve an answer query. The signed average for the second component leaves room for sizeable deviations pointing both ways. The experiment detects a consistent direction without requiring that all word differences in the category be parallel.
How the source of examples affects the solver
The authors first pool examples across analogy questions. They take the differences from the supplied pairs, cluster them using k-means, and estimate a relation direction for each cluster from the leading singular vector. When answering an item, the solver uses the cluster’s direction in place of the displacement from the single example pair in that item. This is RD, the relation-direction solver. Clustering lets it use the repetition of relation types even if the questions are presented in random order. It draws on the example halves of the benchmark questions without needing the missing answer words to form those clusters.
The paper says that estimating a direction with repeated examples can boost success rates by about 10%. On GOOGLE, SN with RD and 30 clusters reaches 0.79 accuracy. The authors also describe improvements when applying the same approach to other embeddings. They call the batch procedure a form of cheating because its access is broader than the ordinary per-question query. Its performance is evidence that repeated questions supply information about the shared direction. It also shows why changing the protocol can change what a benchmark score says about an embedding. A score obtained with a batch of related questions reflects both the representation and the ability to infer a relation from repetition.
The nearest-neighbor variant, RD-nn, restricts the evidence to information available from the current question and the vocabulary vectors. It starts with the 300 closest neighbors of each word in the example pair. From those neighborhoods it chooses candidate pairs whose displacements have the highest cosine similarities to the displacement of the example pair. It estimates a common direction from the selected differences using a rank 1 SVD, and substitutes that direction into the query. The process uses the supplied displacement to select plausible analogues and then uses their shared component to revise it.
On GOOGLE, the paper reports a consistent improvement of about 3% over the ordinary query with this nearest-neighbor procedure. The two solver comparisons address how far the shared-direction idea can be used under different information conditions. RD can exploit relations repeated among test questions. RD-nn can collect candidate evidence from the embedding space when a relation is presented only once. The latter result is consistent with some relation information recurring among nearby words beyond the example pair supplied in the question.
What the artificial word experiment isolates
The authors also manipulate the training evidence directly to explore the effect of the logarithm. They select unrelated words with highly unequal frequencies, pool their occurrences as though they belonged to a new word, and fit a vector for that combined word. The other word vectors stay fixed, apart from dropping the original vectors for the two pooled words from the vocabulary being fitted. The resulting vector can then be compared with the original vectors as a controlled test of whether evidence from the less frequent member remains visible.
The paper gives an illustrative decomposition with a coefficient of 0.7 on the more frequent word and 0.2 on the less frequent word, plus a residual. These are coefficients in the vector description of the merged word. The finding supports the authors’ suggestion that fitting logarithms can retain information from a much less frequent use even when the more frequent one supplies most occurrences. The experiment deliberately creates a mixture with known components. This makes the survival of the rarer component easier to inspect than it would be for an ordinary word whose senses are embedded in overlapping contexts. It also supplies a connection to the authors’ later discussion of word sense disambiguation, where the challenge is to distinguish uses of a naturally ambiguous word.
Limitations
Limits identified by the authors
The authors describe RAND-WALK as tailored to semantic similarity and leave richer linguistic features for future work. The derivation puts the emphasis on nearby words sharing a discourse state, and the fitted statistics center on which words occur close together. A grammatical constraint may be directional, position-specific, or sensitive to details of the preceding wording. A form of representation that summarizes a window mainly by the words it contains has limited access to those distinctions. The shortfall on syntactic analogies is consistent with this scope, and the authors explicitly connect it to the treatment of local order.
The theory also relies on several approximations whose accuracy has different meanings. The normalization lemma holds for most discourse directions. The slow-walk calculation is strongest for nearby positions, and the paper says the window extension incurs more error as the window grows. The joint and marginal probabilities are approximate. Subtracting the marginals to obtain PMI cancels large terms, leaving errors that can be sizable relative to the remaining signal. A theorem giving the right form for a low-rank approximation is therefore compatible with a weak fit to some individual PMI entries.
The relation argument assumes that pairs in the intended relation share a context-probability ratio pattern up to pair-specific noise. It also imposes conditions on the embedding matrix and the alignment of the noise. These conditions specify when projection can preserve the common part while suppressing the departures. An arbitrary set of analogy examples might mix several changes or have errors that point systematically along a retained direction. In those cases, reducing dimension can preserve an unwanted component. Smaller dimensionality contributes through the projection and the geometry, and the proof’s error reduction is tied to those conditions.
The derivation of the training criterion likewise depends on the accuracy of a multinomial approximation and on truncating a series expansion near a close fit. Frequent pairs give the main motivation for weighting by counts, since their observed counts are expected to be closer to the predicted counts. The implemented cap is an empirical adjustment for which the authors give a plausible explanation involving very frequent words. Fitting the weighted objective is a computational problem in its own right. The use of AdaGrad provides a practical fit, while the general weighted approximation problem has the hardness the authors describe.
Limits visible in the evaluations
The vocabulary cutoff and training corpus determine the population to which the strongest empirical observations apply. The frequency and isotropy experiments concern a Wikipedia vocabulary that has already excluded words with fewer than 1000 occurrences. It includes considerable variation among the retained words, and the authors themselves find a stronger frequency relationship among high-frequency words. Very rare words, other kinds of corpora, and other languages fall outside the reported comparison. The fact that related bulk properties appear in GloVe and CBOW broadens the observation across training procedures within the experiment.
The partition-function and singular-value diagnostics check different aspects of the theory. Sampling directions with a prescribed norm tests normalization at that scale, which is the relevant scale for the given score magnitudes. Inspecting the singular values tests how well supported the retained axes are. Neither measurement directly determines whether the noise of a particular relation is weakly aligned with the left singular vectors. That condition concerns the joint behavior of a relation’s deviations and the embedding matrix. The relation analysis and improved solvers supply complementary evidence for shared directions, while the noise condition in the theorem is more specific.
The comparison with other objectives also keeps some choices fixed and leaves others embedded in the methods. GloVe uses the same pair counts as SN. The word2vec variants use a corresponding window setting and their own defaults. Their relative analogy scores therefore describe these training setups. They give limited leverage for estimating the effect of any single difference, such as the corpus objective, the frequency weighting, or sensitivity to local position. Similarly, the theory gives a reason to expect a useful compact representation under its assumptions. The experiments do not provide a dimension-by-dimension intervention that measures how much of analogy performance is caused by the projection effect alone.
Analogy accuracy measures success on a very particular retrieval task. Relations can appear many times, and the supplied pairs can help infer what kind of answer a group of questions expects. RD makes that dependence visible by using the pool of example pairs. RD-nn has a per-question setup, but it too profits when the learned vocabulary offers enough neighbors that express a similar change. The gains establish that the available examples can improve the direction estimate under the tested protocols. They leave open how frequently a suitable set of neighbors would exist for other relations or under different vocabulary coverage.
Finally, the artificial combination of two unrelated words provides a controlled demonstration about frequency imbalance. Natural ambiguity can involve overlapping senses whose contexts share much of their vocabulary. Since the artificial construction starts with distinct words and keeps other vectors fixed, it can expose whether a rarer component survives in a simpler case. Resolving individual occurrences of an ambiguous word would require additional evidence, such as a means of identifying which sense is active in context. The coefficients from the constructed example describe that example’s vector mixture.
What came after
A Latent Variable Model Approach to PMI-based Word Embeddings carries forward the theoretical question most directly associated with RAND-WALK. The RAND-WALK paper itself refers to a technical report under this title in its discussion of the likelihood approximation. That connection identifies a specific part of the argument developed in the report. A quadratic expansion can motivate a count-weighted fitting objective if the higher-order error terms are small enough. The question is delicate for rare pairs, whose relative discrepancies can be large. The argument looks at how much weight the small counts contribute to the aggregate and why that contribution can be modest, even when individual rare pairs are difficult to fit. The connection is a continuation of the same derivation, from the geometry predicted for nearby pairs to the statistical rationale for fitting that geometry with observed counts.
The RAND-WALK authors also describe a follow-up application to words with several senses. A fixed vector gathers information across all occurrences of a word such as bank. Those occurrences can have different hidden discourse states, depending on which sense is in use. The proposed interpretation is that evidence for the different senses can reside in the fixed vector as a linear superposition. RAND-WALK’s artificial pooling experiment gives an intuition for how a component associated with a rarer use can survive. The follow-up takes the question to the structure of vectors for polysemous words, extending the role of the hidden discourse state from explaining co-occurrence to interpreting how different uses contribute to one embedding. Linear Algebraic Structure of Word Senses
RAND-WALK is also cited by A Survey on Large Language Models for Mathematical Reasoning. The citation places it in the bibliography of work on a different kind of reasoning task. RAND-WALK’s own use of algebra concerns lexical relations: it tests whether the geometric displacement between two words can help recover the partner of a third word. The citation establishes a connection in the literature, while the specific use of the random-walk derivation in the survey is unspecified.
Cite
Cite as Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma and Andrej Risteski. 2015. RAND-WALK: A Latent Variable Model Approach to Word Embeddings. arXiv (Cornell University).
@misc{arora2015rand,
title = {{RAND-WALK: A Latent Variable Model Approach to Word Embeddings}},
author = {Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma and Andrej Risteski},
year = {2015},
doi = {10.1162/tacl\_a\_00106},
eprint = {1502.03520},
archivePrefix = {arXiv},
url = {https://doi.org/10.1162/tacl_a_00106}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/arora-2015-rand-walk-latent-variable-model/
References
- Jacob Andreas and Dan Klein. When and why are log-linear models self-normalizing? In Proceedings of the Annual Meeting of the North American Chapter of the Association for Computational Linguistics, 2014. our card
- Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, and Andrej Risteski. A latent variable model approach to PMI-based word embeddings. Technical report, ArXiV, 2015. http://arxiv.org/abs/1502.03520. our card
- Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, and Andrej Risteski. Linear algebraic structure of word senses, with applications to polysemy. Technical report, ArXiV, 2016. http://arxiv.org/abs/1502.03520. our card
- David Belanger and Sham M. Kakade. A linear dynamical system model for text. In Proceedings of the 32nd International Conference on Machine Learning, 2015. OpenAlex ↗ · Scholar ↗
- Yoshua Bengio, Holger Schwenk, Jean-Sébastien Senécal, Fréderic Morin, and Jean-Luc Gauvain. Neural probabilistic language models. In Innovations in Machine Learning. 2006. OpenAlex ↗ · Scholar ↗
- Fischer Black and Myron Scholes. The pricing of options and corporate liabilities. Journal of Political Economy, 1973. OpenAlex ↗ · Scholar ↗
- David M. Blei. Probabilistic topic models. Communication of the Association for Computing Machinery, 2012. OpenAlex ↗ · Scholar ↗
- David M. Blei and John D. Lafferty. Dynamic topic models. In Proceedings of the 23rd International Conference on Machine Learning, 2006. OpenAlex ↗ · Scholar ↗
- Kenneth Ward Church and Patrick Hanks. Word association norms, mutual information, and lexicography. Computational linguistics, 1990. our card
- Shay B. Cohen, Karl Stratos, Michael Collins, Dean P. Foster, and Lyle Ungar. Spectral learning of latent-variable PCFGs. In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Long Papers-Volume 1, 2012. OpenAlex ↗ · Scholar ↗
- Ronan Collobert and Jason Weston. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th International Conference on Machine Learning, 2008a. OpenAlex ↗ · Scholar ↗
- Ronan Collobert and Jason Weston. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th International Conference on Machine Learning, 2008b. OpenAlex ↗ · Scholar ↗
- Scott C. Deerwester, Susan T Dumais, Thomas K. Landauer, George W. Furnas, and Richard A. Harshman. Indexing by latent semantic analysis. Journal of the American Society for Information Science, 1990. OpenAlex ↗ · Scholar ↗
- John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. The Journal of Machine Learning Research, 2011. OpenAlex ↗ · Scholar ↗
- John Rupert Firth. A synopsis of linguistic theory. 1957. OpenAlex ↗ · Scholar ↗
- Amir Globerson, Gal Chechik, Fernando Pereira, and Naftali Tishby. Euclidean embedding of co-occurrence data. Journal of Machine Learning Research, 2007. OpenAlex ↗ · Scholar ↗
- Tatsunori B. Hashimoto, David Alvarez-Melis, and Tommi S. Jaakkola. Word embeddings as metric recovery in semantic spaces. Transactions of the Association for Computational Linguistics, 2016. OpenAlex ↗ · Scholar ↗
- Thomas Hofmann. Probabilistic latent semantic analysis. In Proceedings of the Fifteenth Conference on Uncertainty in Artificial Intelligence, 1999. our card
- Daniel Hsu, Sham M. Kakade, and Tong Zhang. A spectral algorithm for learning hidden markov models. Journal of Computer and System Sciences, 2012. OpenAlex ↗ · Scholar ↗
- Omer Levy and Yoav Goldberg. Linguistic regularities in sparse and explicit word representations. In Proceedings of the Eighteenth Conference on Computational Natural Language Learning, 2014a. our card
- Omer Levy and Yoav Goldberg. Neural word embedding as implicit matrix factorization. In Advances in Neural Information Processing Systems, 2014b. OpenAlex ↗ · Scholar ↗
- Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In The 49th Annual Meeting of the Association for Computational Linguistics, 2011. our card
- Yariv Maron, Michael Lamar, and Elie Bienenstock. Sphere embedding: An application to part-of-speech induction. In Advances in Neural Information Processing Systems, 2010. OpenAlex ↗ · Scholar ↗
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. Proceedings of the International Conference on Learning Representations, 2013a. our card
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S. Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems, 2013b. our card
- Tomas Mikolov, Wen-tau Yih, and Geoffrey Zweig. Linguistic regularities in continuous space word representations. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2013c. our card
- Andriy Mnih and Geoffrey Hinton. Three new graphical models for statistical language modelling. In Proceedings of the 24th International Conference on Machine Learning, 2007. OpenAlex ↗ · Scholar ↗
- Christos H. Papadimitriou, Hisao Tamaki, Prabhakar Raghavan, and Santosh Vempala. Latent semantic indexing: A probabilistic analysis. In Proceedings of the 7th ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, 1998. OpenAlex ↗ · Scholar ↗
- Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. Proceedings of the Empiricial Methods in Natural Language Processing, 2014. our card
- Douglas L. T. Rohde, Laura M. Gonnerman, and David C. Plaut. An improved model of semantic similarity based on lexical co-occurence. Communication of the Association for Computing Machinery, 2006. OpenAlex ↗ · Scholar ↗
- David E. Rumelhart, Geoffrey E. Hinton, and James L. McClelland, editors. Parallel Distributed Processing: Explorations in the Microstructure of Cognition. 1986. OpenAlex ↗ · Scholar ↗
- David E. Rumelhart, Geoffrey E. Hinton, and Ronald J. Williams. Learning representations by back-propagating errors. Cognitive modeling, 1988. OpenAlex ↗ · Scholar ↗
- Peter D. Turney and Patrick Pantel. From frequency to meaning: Vector space models of semantics. Journal of Artificial Intelligence Research, 2010. our card