Learn Before
Concept

Negative Sampling in Word2Vec

Negative Sampling is an optimization technique used in Word2Vec to reduce the computational cost of updating weights. Instead of updating the weights for all words in the vocabulary during each training step, Negative Sampling updates only the weights for the true context word (the positive sample) and a small number of randomly chosen "noise" words (the negative samples). The probability of selecting a specific word as a negative sample is proportional to its frequency in the training corpus, meaning highly frequent words are more likely to be selected as negative samples.

0

1

Updated 2026-06-19

Contributors are:

Who are from:

References


Tags

Data Science