Word2Vec: learning analogies from raw text at scale
Natural language processingBefore 2013, word representations were largely sparse one-hot or count-based vectors that captured no semantic similarity and scaled poorly. Mikolov and colleagues at Google wanted dense word vectors learned efficiently from very large unlabeled corpora (on the order of billions of words).
They introduced the Skip-gram and Continuous Bag-of-Words (CBOW) architectures — shallow neural networks trained to predict a word from its context (or vice versa) — which strip out the hidden non-linearity to train on huge datasets cheaply. The learned vectors were evaluated on a word-analogy benchmark using vector arithmetic such as and nearest-neighbour cosine similarity.
Training on a 1.6-billion-word corpus, the models learned 300-dimensional vectors in which linear analogies emerged: the system answered semantic/syntactic analogy questions at roughly 60% accuracy (versus near-zero for earlier baselines), while training orders of magnitude faster than prior neural language models. This established that meaning can be captured as geometry in a dense vector space and seeded the modern embedding era.
Source: Efficient Estimation of Word Representations in Vector Space — Mikolov, T., Chen, K., Corrado, G. and Dean, J.