GloVe and the Geometry of Word Embeddings
GloVe fits log co-occurrence counts by a tempered Poisson least squares that never sees the pairs that did not occur; its biases widen the gauge to affine maps, so an exact analogy is a fact about count ratios while the answer a nearest-neighbor search returns depends on the factorization
Overview & Motivation
Take the eight-word-window co-occurrence counts of the distributional-semantics topic and fit three models to that one matrix at one rank, : the truncated SVD of shifted PPMI that topic selected, the skip-gram with negative sampling of the word2vec topic, and GloVe with its published weight and settings. Score each on the planted-sector benchmark, the probability that two nouns from the same sector are closer than two from different sectors. The SVD scores and negative sampling . GloVe scores , about standard errors from a coin flip.
Nothing went wrong in training. GloVe fits the logarithms of the counts, and a logarithm needs a count: its loss runs over the pairs that occurred and ignores every other cell. In this corpus of the pairs that occurred occurred once, and . Most of what GloVe sees is a scatter of zeros, and what distinguishes the sectors, which pairs occur at all, is the one thing its loss cannot see.
The second experiment is about geometry. The corpus states facts from a fixed knowledge base, among them the region of each headquarters city, so we can ask the word2vec model Houston : Texas :: Boston : ? and score its answers by vector arithmetic. It solves of the city-to-region questions. Now change the basis of its vectors without changing a single word–context score, so the training loss is identical. It solves .
This topic proves what lies behind both experiments.
- GloVe is a tempered Poisson fit. Its loss is the quadratic approximation of a Poisson log-bilinear likelihood, with the count’s own weight capped and every unobserved pair dropped. Negative sampling, near its optimum, is the same least squares with frozen biases and a third weight.
- What the loss cannot see. With every pair observed and flat weights, GloVe is exactly an SVD of the double-centered PMI matrix. With only the observed pairs, an additive pattern of log counts is fitted by the biases alone, and the vectors learn nothing about which pairs occur.
- The geometry it leaves free. GloVe’s biases widen the freedom of the factorization from changes of basis to affine maps. An exact analogy parallelogram is a statement about count ratios and survives all of them. The answer vector arithmetic returns does not.
A log-bilinear model of counts
Write for the distributional-semantics topic’s pair counts at the eight-word window (its Definition 1): pair occurrences over observed cells, of the possible pairs. Let be the set of observed cells, those with . Each word gets a vector and a bias , each context a vector and a bias , and the score of a pair is
Definition 1 (GloVe).
GloVe chooses , , , and to minimize the weighted least-squares loss on the observed cells,
with and . The reported word vectors are .
This is Pennington, Socher, and Manning’s (2014) model. Their exponent is called ; we write because is already the context-smoothing exponent of the last two topics. The weight grows with the count and stops growing at . On this corpus only observed cells reach the cap, so nearly every cell has weight , and a pair seen once has weight .
Why logarithms, and why a dot product? Pennington and colleagues argued from ratios. Whether a context tells words and apart shows in the ratio , so the model should turn differences of word vectors into ratios of probabilities. The argument can be made exact, and stating its hypotheses shows how much it assumes.
Proposition 1 (The ratio argument, with its hypotheses).
Let be continuous with for all . Then for some . If in addition every , so that every ratio below is defined and positive, and
for all words and contexts , and , then for constants , where .
Proof.
Let , so . Taking gives , taking gives , and so , Cauchy’s equation. By induction , so for every rational , and continuity extends this to with (Aczél and Dhombres 1989). Then the ratio identity says for all , so this quantity is some that depends on the context alone. Hence , with .
∎Absorb into the vectors and the model is . The word term is fixed and the context term is free, a lopsidedness the counts do not have, since a symmetric window makes symmetric. Replacing the word term with a free bias gives Definition 1’s score. Each step is a choice, not a consequence of anything about language: that ratios are the statistic to model, that a function of a dot product of differences should produce them, and that symmetry should be restored by hand.
The model the argument lands on is one the distributional-semantics topic already met.
Proposition 2 (An exact fit makes PMI rank at most d + 2).
If every and on every cell, then
so . With context smoothing, differs from by a column offset alone and has the same bound.
Proof.
. Substitute ; the two offset matrices have rank one each, and rank is subadditive. For , the term replaces .
∎This is the third part of the distributional-semantics topic’s Theorem 3, the log-bilinear model, whose PMI matrix has rank at most even though the ratio matrix need not be low rank at all. GloVe is that model fitted to counts.
Three weights
Revenue occurs in five contexts that span the range of counts: with plantline once, subswap twice, outperformed times, fiscal times, and cost times. GloVe’s weight runs from to . Negative sampling’s local weight from the word2vec topic, , runs from to . Which is right? Neither is forced, and a likelihood shows what both are approximating.
Theorem 1 (GloVe is a tempered, support-restricted Poisson fit).
Let independently, so a cell’s negative log-likelihood is .
(i) For , has the unique minimizer . With ,
the Bregman divergence of the Poisson log-partition . Its curvature at is , and
(ii) For , decreases strictly toward as and has no minimizer.
(iii) Hence is the second-order Poisson fit on the observed cells, and GloVe’s loss is, up to a factor of , that sum with the weight replaced by and the unobserved cells’ term dropped.
Proof.
and , so is the unique minimizer and the curvature there is . With , , which is because . Taylor’s theorem with the Lagrange remainder (formalCalculus, Mean Value Theorem and Taylor Expansion) gives for some between and , which is the sandwich. Part (ii) is immediate, and part (iii) collects parts (i) and (ii) over the cells.
∎The Poisson family’s Bregman divergence is the same exponential-family identity behind the word2vec topic’s Theorem 2, with the exponential in place of the softplus (formalML, Information Geometry), so a low-rank Poisson fit is an exponential-family PCA (Collins, Dasgupta, and Schapire 2001; Cotterell et al. 2017 read skip-gram this way). In regression terms, one Fisher-scoring step of a Poisson regression with log link, taken at the saturated fit, is weighted least squares on with weight (formalStatistics, Generalized Linear Models, Theorem 2; McCullagh and Nelder 1989). Pennington and colleagues reached least squares on logarithms from skip-gram’s global cross-entropy and then replaced its weight by . Theorem 1 names the likelihood their loss is the quadratic of, and says what the replacement does: it caps the trust a frequent pair earns and, by dropping the zero cells, removes the push toward that the Poisson likelihood, like negative sampling, puts on every pair that never occurred.
Corollary 1 (Three local weights).
Near their optima on observed cells, all three objectives are weighted least squares in a log-count coordinate.
| objective | local loss | weight | unobserved cell |
|---|---|---|---|
| Poisson | , pushed toward | ||
| negative sampling | , pushed toward | ||
| GloVe | no term |
Negative sampling’s local loss is GloVe’s residual with the biases frozen at and . Because decreases for every , as below the cap and as above it, GloVe’s share of its weight on every set of rare pairs is at least the Poisson fit’s, on every corpus, and strictly larger whenever there are counts on both sides of .
Proof.
The Poisson row is Theorem 1. For negative sampling, the word2vec topic’s Corollary 1 gives the local loss with and , and is the stated residual. For the last claim, write with decreasing in the count, and let and be the totals of on and on . Then and , with the second strict when , so when both sets hold counts, and the share of is the larger. When either set is empty both shares are or both are .
∎Shi and Liu (2014) noticed the frozen biases at the optimum: negative sampling’s target is GloVe’s with the biases set to frequency terms rather than learned. The corollary adds the weights, and the corpus shows what they do. On the rows of the benchmark nouns, the word2vec topic’s mechanism check, here is each weight’s share on pairs seen at most four times:
| share of cells | GloVe | Poisson | negative sampling | |
|---|---|---|---|---|
| benchmark nouns’ rows | ||||
| all observed cells |
GloVe gives most of its weight to exactly the cells whose values carry the least, log counts from to .
What the loss cannot see
Set every observed count of the eight-word window to , keeping the pattern of which pairs occur. GloVe fits the result exactly with every word and context vector equal to zero: the biases carry , and the vectors are free to say nothing. Two results bracket what happens between that extreme and its opposite.
Theorem 2 (With flat weights and every pair observed, GloVe is an SVD of double-centered PMI).
Let in every cell, , , and . Then , where are the singular values of . At every minimizer the score matrix is
unique when , where is the best rank- approximation; one minimizer takes and from the SVD of .
Proof.
Let be the matrices with zero row and column sums and . For , , and , so the two are orthogonal complements and is the projection onto . The biases range over all of , so by Pythagoras plus a term the biases make zero. As ranges over matrices of rank at most , ranges over the elements of of rank at most , and each is attained with equal to itself. The best approximation of among them is its truncated SVD (Eckart and Young 1936; formalML, Singular Value Decomposition, Theorem 2), which lies in because its singular vectors lie in the row and column spaces of . Finally , so .
∎With every cell observed, GloVe sees the whole association matrix, as the distributional-semantics topic’s SVD did: it is that topic’s Definition 3 applied to the doubly centered PMI matrix, which is principal component analysis centered on both sides (formalML, PCA and Low-Rank Approximation). With general weights there is no closed form, and weighted low-rank approximation can have local minima (Srebro and Jaakkola 2003). The opposite limit takes one line.
Proposition 3 (Support blindness).
depends on only through the observed triples . If for every observed cell, in particular if every observed count is the same, then attains , the global minimum, whatever is. Any vectors with on are also optimal.
Proof.
, and substituting gives on every observed cell.
∎A sector shows in which nouns keep company with which, the pattern of , and Proposition 3 says GloVe’s loss reads that pattern only through the values on it. The corpus is close to the proposition’s hypothesis. Of the observed cells, are seen once and at most twice. Fitting the biases alone explains of the weighted variation of on ; adding -dimensional vectors, fitted by alternating least squares (below), explains another (fifty AdaGrad epochs, ), with parameters, biases included, for observed cells, and that part carries no sector information:
| the same counts, | dev AUC | dev nearest neighbor | test AUC | test nearest neighbor |
|---|---|---|---|---|
| GloVe, AdaGrad, | ||||
| GloVe, AdaGrad, | ||||
| GloVe, alternating least squares, | ||||
| negative sampling, epochs | ||||
| truncated SVD of , |
The benchmark is the distributional-semantics topic’s (its Definition 4): test nouns, pair AUC, and nearest-neighbor accuracy, whose chance level is . GloVe’s test AUC minus one half is , with a jackknife standard error of . It trails negative sampling by (standard error ) and the SVD by (standard error ).
If the trouble is that the loss cannot see which pairs never occur, two remedies suggest themselves: more text, so that counts stop being mostly ones, or a loss that sees the zeros.
Definition 2 (GloVe with imputed zeros).
Set on and elsewhere, and minimize for over all cells. Every pair never seen counts as seen half a time, with GloVe’s own weight .
The variant is ours and has no parameter to tune; Swivel (Shazeer et al. 2016) is the published model that uses the unobserved cells, with a different loss on them. Its support is full, so with flat weights Theorem 2 describes it exactly. We train it, and GloVe for comparison, by alternating least squares, which handles the imputed cells with the identity behind implicit-feedback recommenders (Hu, Koren, and Volinsky 2008) and never forms a matrix. The corpus generator, run on, keeps its sector vocabularies, so the benchmark nouns keep their sectors in a longer text:
| documents | observed cells seen once | GloVe | GloVe with imputed zeros | SVD of |
|---|---|---|---|---|
The entries are test AUC. As the text grows, fewer observed pairs are seen once and GloVe’s vectors begin to find the sectors. Counting the unseen pairs finds them far sooner. GloVe’s own regime, billions of tokens, is far beyond either corpus, and there the published comparisons find it competitive with negative sampling, though rarely ahead of it once both are tuned (Levy, Goldberg, and Dagan 2015).
The algorithm
Definition 3 (GloVe's AdaGrad, as run here).
Each epoch visits the observed cells in a fresh random order, in minibatches of . Each cell takes the GloVe C code’s step on : with , each parameter moves by times its gradient, summed over the minibatch, divided by the square root of an accumulator that starts at ; after each step the accumulator adds the square of that undivided step, times the gradient (AdaGrad; Duchi, Hazan, and Singer 2011). Every vector entry and bias starts uniform on , and training runs epochs.
Two departures from the C code are worth stating. The code applies each cell’s update at once, from several threads without locks, while we sum a minibatch’s updates. And its counts weight a pair at distance by , while we use the distributional-semantics topic’s unweighted window counts, so that all three methods factor one matrix.
As a cross-check we minimize , with a small ridge on the vectors and the biases unpenalized, by alternating least squares. With the contexts fixed, each word’s vector and bias solve a weighted ridge regression in closed form, by its normal equations (formalStatistics, Linear Regression), and then the roles swap. Each half-step is an exact minimization, so the objective never increases. In sweeps it reaches , against AdaGrad’s after epochs (from after the first); per unit of weight, the mean squared residual is against . Alternating least squares has not converged either: its objective, with the penalty’s included, is still falling about per sweep. AdaGrad is the further from a minimum, and its vectors are no better for the benchmark than alternating least squares’ ().
Gauge and analogies
The word2vec topic’s Proposition 3 showed that a loss depending only on fixes word geometry only up to a change of basis. GloVe’s biases add freedom.
Proposition 4 (GloVe's gauge is affine).
(i) For an invertible , vectors , and , the substitution
leaves every score , and so , unchanged.
(ii) Conversely, if two parameter sets give the same scores and, for both sets, the matrices and have full column rank , they are related by exactly one such substitution.
(iii) Cosines between word vectors are not determined by , and differences transform by alone.
Proof.
For part (i), , and the cross terms are exactly what the bias changes remove. For part (ii), write and , so the score matrix is . The word2vec topic’s Proposition 3, applied to these augmented matrices, which needs all four of them to have full column rank , gives and for a unique invertible . The last column of is on both sides, so ; the -th column of is on both sides, so . Such a has blocks , , , and a scalar, and reading off gives the substitution of part (i) with . The rank condition on the context side cannot be dropped: with and the same biases, every gives the same scores, including one whose columns leave the span of ‘s columns and , which no substitution reaches. Part (iii): translations cancel in differences.
∎So a GloVe model can be translated as well as rotated and stretched without changing its loss, and cosine similarity changes under both. Which point of this family does training reach? With a penalty on the vectors there is a definite answer.
Proposition 5 (Ridge chooses the balanced, centered factorization).
Let with and the biases unpenalized. At every stationary point of , (balanced) and (centered). For balanced factors, , the nuclear norm, the least value over all factorizations of the product.
Proof.
Let , which is on observed cells and elsewhere. Stationarity in the biases gives and . Stationarity in the vectors gives and , so and . The two left sides are transposes of each other and both right sides are symmetric, so . Multiplying the first condition by gives , and likewise for . If , then and share and , so has nuclear norm ; that this is the least value is the variational form of the nuclear norm (Srebro, Rennie, and Jaakkola 2005; formalML, Convex Analysis).
∎When has rank and distinct singular values, the word2vec topic’s Lemma 1 makes a balanced factorization : the distributional-semantics topic’s square-root weighting of the fitted matrix, centered. A penalty chooses the geometry that the loss leaves free (formalStatistics, Regularization and Penalized Estimation). The proposition is about stationary points, and training does not reach them in the gauge directions: after sweeps of alternating least squares with , the imbalance is , because the first sweep fits through the small initial and so small a has barely pulled them together. Unpenalized AdaGrad, which the proposition does not cover, ends at . Neither trained model sits in the ridge’s gauge.
Now the analogies. The standard test is vector arithmetic.
Definition 4 (Analogy by vector offset).
For a question a : b :: c : ?, 3CosAdd answers with the word that maximizes , where hats denote unit vectors.
This is Mikolov, Yih, and Zweig’s (2013) test. The exclusion matters: without it, the word nearest to is often itself (Linzen 2016), and Levy and Goldberg (2014) showed that 3CosAdd is a sum of similarities, not a test of offsets as such. What would it mean for an offset to be exact?
Theorem 3 (Exact parallelograms are facts about count ratios).
Let be words and a set of contexts on which all four rows are observed and fitted exactly, , and suppose the matrix of the contexts’ vectors and a column of ones has full column rank . Then
The condition is unchanged by every substitution of Proposition 4. For negative sampling at its exact optimum, with scores and no biases, the same holds with “constant” replaced by “zero”, given of full column rank .
Proof.
Let and . The exact fit gives for . Since and the coefficients sum to zero, the column terms cancel, and the right side is , with the PMI combination and a constant. If , then for every . Conversely, if on , then for every , which says annihilates a vector whose first entries are , so . The ratio form is . A substitution of Proposition 4 maps to , again because the coefficients sum to zero. Without biases the same computation gives exactly.
∎Pennington and colleagues motivated GloVe by the conjecture that relations are ratios. Allen and Hospedales (2019) prove a general version with explicit error terms, by multiplying an identity between PMI rows by a pseudo-inverse of the context matrix, and Theorem 3 is its exact, error-free case adapted to GloVe’s biases. Ethayarajh, Duvenaud, and Hirst (2019) give a criterion through inner products between word vectors, which depend on the basis; stating it through the contexts, as here, is what makes it hold in every factorization. The answer to an analogy question is another matter.
Corollary 2 (Vector arithmetic depends on the factorization).
3CosAdd’s answers are unchanged if every word vector is scaled by its own positive factor and all are rotated by one orthogonal matrix. They can change under a general change of basis and under a translation, both of which leave and every exact parallelogram of Theorem 3 unchanged.
Proof.
Normalizing to unit length undoes the scaling, and a rotation preserves every inner product. A general changes the angles between word vectors, and a translation changes their directions, so either can move the maximizer of the cosine; Proposition 4 and Theorem 3 give the invariances of and of the parallelograms.
∎Theorem 3 also gives an analogy method that reads the scores alone. Answer a : b :: c : ? with the candidate , searched among the relation’s tails (its regions or sectors) other than , whose score row brings the four rows closest to a parallelogram, the one that minimizes the spread over all contexts of . Call this the gauge-free solver; it chooses among the tails only, so its accuracy compares with 3CosAdd among the tails, not over the whole vocabulary. Call that spread, divided by the spread of , the defect of the quadruple: zero exactly for an exact parallelogram. Every factorization of the same scores gives the solver the same answers. Here are the two trained models, each refactored without changing a score, on the knowledge base’s city-to-region questions (the finance section below introduces them):
| model | factorization | test AUC | 3CosAdd, whole vocabulary | 3CosAdd, among regions | gauge-free solver |
|---|---|---|---|---|---|
| negative sampling | as trained | ||||
| negative sampling | |||||
| negative sampling | (balanced) | ||||
| negative sampling | |||||
| negative sampling | random , condition | ||||
| GloVe | as trained | ||||
| GloVe | balanced | ||||
| GloVe | centered | ||||
| GloVe | translated | ||||
| GloVe | random , condition |
Every row of a model has the same scores to within relative, the same defect, and the same gauge-free answers. The negative-sampling rows are the word2vec topic’s five factorizations, with the same random basis change. The rows for negative sampling have no translation because, without biases, translating its vectors would change its scores. A change of basis that the training loss cannot detect costs negative sampling’s vector arithmetic more than half its successes over the whole vocabulary ( to ), and GloVe’s about two-fifths ( to ).
Weights, offsets, and more text
The laboratory puts the topic’s three objects side by side. Panel A shows one cell: pick one of revenue’s contexts and see its loss under GloVe, the Poisson likelihood, and negative sampling, each against the distance from its own optimum. The curves’ widths are the three weights of Corollary 1. Change GloVe’s cap and exponent and watch its weight on the pair seen once, and its share of weight on rare pairs, move. Pick outlook, never seen with revenue, and GloVe’s curve is flat: it has no term, so its trained score of is free. Panel B has two views. The first draws a relation’s words in their own leading plane, with an arrow from each city to its region or each company to its sector, under each factorization of one set of scores. A random basis change scrambles the arrows and the answers, while the gauge-free solver and the defect stay fixed. The second view is the scale experiment.
Curvature is weight: each curve’s width at its minimum is set by that objective’s weight on this cell. GloVe caps its weight at 1 and tempers it below x_max, so it spends most of its weight on pairs seen once or a few times, whose log counts are 0 or close to it. For a context never seen with revenue, Poisson and SGNS keep pushing the score down; GloVe has no term at all, and its score is free.
Every variant of a method has the same scores, so the same loss: the variants differ only by a change of basis (and, for GloVe, a translation its biases absorb). 3CosAdd reads cosines between word vectors, so its answers move. The gauge-free solver picks the tail whose score rows come closest to a parallelogram, and the defect measures how far they are; both read the scores alone, so neither moves. No model is near an exact parallelogram (defect near 1), yet the scores still point to the right tail far more often than chance.
Finance case study: a filings knowledge base as offsets
Where this goes next
- Contextual embeddings. One vector per word type is the common premise of the last three topics. Contextual embeddings give each occurrence its own vector, trained by a masked-language-model objective.
- Knowledge-graph embeddings. TransE and its successors make relations offsets by design, and train with negative sampling over corrupted triples. The filings knowledge base here becomes their training data.
- Retrieval geometry. formalRAG’s hypersphere and von Mises–Fisher geometry develops the cosine geometry these comparisons use, and its dual encoders share the gauge freedom of Proposition 4.
Honest caveats
Implementation
The companion notebook (notebookPath) imports glove_embedding_geometry.py, which owns every number on this page. It imports the word2vec topic’s module for the trained negative-sampling model, its basis changes, and its benchmark statistics, and the distributional-semantics topic’s module for the counts, the PMI matrices, the SVD baselines, and the planted-sector benchmark. Running it as a script trains GloVe by AdaGrad and by alternating least squares in NumPy and executes a harness of assertion-based tests in under a minute on a laptop CPU. The tests cover:
- Propositions 1 and 2 on random tables; the hand-written gradient against complex-step and central differences.
- Theorem 1 against
scipy.stats.poisson, with its sandwich and curvature; Corollary 1’s frozen biases and weight shares, including the word2vec topic’s . - Theorem 2 against L-BFGS (
scipy.optimize) and alternating least squares on random tables; Proposition 3 on random supports and on the corpus; the benchmark, the scale experiment, and Definition 2’s identity. - AdaGrad’s and alternating least squares’ training curves; Propositions 4 and 5, Theorem 3, and Corollary 2 on random instances; the gauge table and the finance case study on the corpus.
The laboratory reads its data from a JSON file that one of those tests requires to equal the module’s viz_payload() exactly, so the figure cannot drift from the code.
References & Further Reading
- paper GloVe: Global Vectors for Word Representation — Jeffrey Pennington, Richard Socher, and Christopher D. Manning (2014) Proceedings of EMNLP 2014, 1532–43. Definition 1, the ratio argument of Proposition 1, and Theorem 1's reading
- paper Linguistic Regularities in Continuous Space Word Representations — Tomas Mikolov, Wen-tau Yih, and Geoffrey Zweig (2013) Proceedings of NAACL-HLT 2013, 746–51. Analogy by vector offset, Definition 4
- paper Efficient Estimation of Word Representations in Vector Space — Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean (2013) arXiv:1301.3781. The analogy test set
- paper Linguistic Regularities in Sparse and Explicit Word Representations — Omer Levy and Yoav Goldberg (2014) Proceedings of CoNLL 2014, 171–80. 3CosAdd as a sum of similarities, and 3CosMul
- paper Improving Distributional Similarity with Lessons Learned from Word Embeddings — Omer Levy, Yoav Goldberg, and Ido Dagan (2015) Transactions of the ACL 3: 211–25. GloVe against negative sampling, and word plus context vectors
- paper Linking GloVe with word2vec — Tianze Shi and Zhiyuan Liu (2014) arXiv:1411.5595. Negative sampling's optimum as GloVe's with fixed biases, Corollary 1
- paper A Latent Variable Model Approach to PMI-based Word Embeddings — Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, and Andrej Risteski (2016) Transactions of the ACL 4: 385–99. Analogies under a generative model of text
- paper Analogies Explained: Towards Understanding Word Embeddings — Carl Allen and Timothy Hospedales (2019) Proceedings of ICML 2019, PMLR 97. Paraphrase and analogy with explicit error terms; Theorem 3 is its exact case
- paper Towards Understanding Linear Word Analogies — Kawin Ethayarajh, David Duvenaud, and Graeme Hirst (2019) Proceedings of ACL 2019, 3253–62. A co-occurrence criterion for linear analogies under exact reconstruction
- paper Issues in Evaluating Semantic Spaces Using Word Analogies — Tal Linzen (2016) Proceedings of the 1st Workshop on Evaluating Vector-Space Representations for NLP, 13–18. Excluding the query words
- paper The (Too Many) Problems of Analogical Reasoning with Word Vectors — Anna Rogers, Aleksandr Drozd, and Bofang Li (2017) Proceedings of *SEM 2017, 135–48. Analogy evaluation
- paper Adaptive Subgradient Methods for Online Learning and Stochastic Optimization — John Duchi, Elad Hazan, and Yoram Singer (2011) Journal of Machine Learning Research 12: 2121–59. AdaGrad, Definition 3
- paper Collaborative Filtering for Implicit Feedback Datasets — Yifan Hu, Yehuda Koren, and Chris Volinsky (2008) Proceedings of ICDM 2008, 263–72. The alternating-least-squares identity behind Definition 2
- paper Swivel: Improving Embeddings by Noticing What's Missing — Noam Shazeer, Ryan Doherty, Colin Evans, and Chris Waterson (2016) arXiv:1602.02215. The published model that uses unobserved pairs
- paper Weighted Low-Rank Approximations — Nathan Srebro and Tommi Jaakkola (2003) Proceedings of ICML 2003, 720–27. Weighted low rank has no closed form
- paper Maximum-Margin Matrix Factorization — Nathan Srebro, Jason D. M. Rennie, and Tommi S. Jaakkola (2005) NeurIPS 17. The nuclear norm as the least squared factor norms, Proposition 5
- paper A Generalization of Principal Components Analysis to the Exponential Family — Michael Collins, Sanjoy Dasgupta, and Robert E. Schapire (2001) NeurIPS 14. Exponential-family PCA, Theorem 1
- paper Explaining and Generalizing Skip-Gram through Exponential Family Principal Component Analysis — Ryan Cotterell, Adam Poliak, Benjamin Van Durme, and Jason Eisner (2017) Proceedings of EACL 2017, 175–81. Skip-gram as exponential-family PCA, Theorem 1
- book Generalized Linear Models — Peter McCullagh and John A. Nelder (1989) 2nd ed., Chapman and Hall. Fisher scoring for the Poisson model, Theorem 1's reading
- book Functional Equations in Several Variables — János Aczél and Jean Dhombres (1989) Cambridge University Press. Cauchy's equation, Proposition 1
- paper The Approximation of One Matrix by Another of Lower Rank — Carl Eckart and Gale Young (1936) Psychometrika 1 (3): 211–18. Theorem 2
- paper Translating Embeddings for Modeling Multi-relational Data — Antoine Bordes, Nicolas Usunier, Alberto Garcia-Durán, Jason Weston, and Oksana Yakhnenko (2013) NeurIPS 2013. TransE, relations as offsets by design