GloVe › Summary
Language AI HandbookAll chapters GloVe › SummaryOne section · Sections in this chapter12 / 13 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
GloVe derives word embeddings by fitting vectors to reproduce the log co-occurrence statistics of a large corpus. The derivation follows from a single insight about ratios, and each step is logically necessary given the design requirements.
The key ideas are:
- Co-occurrence ratios carry more discriminative signal than raw probabilities, and GloVe's objective is built to encode these ratios in the geometry of the embedding space
- The weighted least squares objective directly fits vectors to log co-occurrence counts, with each term weighted by co-occurrence reliability
- The functional form is forced by the requirement that , connecting vector differences to probability ratios
- The weighting function downweights rare and zero co-occurrences, solving both the problem and noise sensitivity
- Bias terms and absorb marginal word-frequency effects, letting the dot product capture pure relational structure
- GloVe implicitly factorizes a shifted PMI matrix, unifying count-based and prediction-based embedding methods under a single theoretical framework
- AdaGrad adapts per-parameter learning rates, handling the extreme frequency imbalance in natural language vocabularies
- Combining word and context vectors () as the final representation reduces variance and slightly improves quality
- Pretrained GloVe vectors trained on billions of tokens provide strong features for downstream NLP tasks without any task-specific embedding training
The next chapter on FastText extends the word embedding idea in a different direction: instead of learning one vector per word type, it decomposes words into character n-grams, enabling representations for out-of-vocabulary words and better handling of morphologically rich languages.