0

Corrected CBOW Performs as well as Skip-gram

Correcting a bug in CBOW gradient updates enables competitive performance relative to Skip-gram with faster training.

Year
2020
Venue
corrected-cbow-performs-as-well-as-skip-gram
Authors
3
Hosting
Abstract onlyARXIV-DEFAULT

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2012.15332v2ARXIV-DEFAULT
TL;DR
Semantic Scholar
Attribution policy →

Abstract

Mikolov et al. (2013a) observed that continuous bag-of-words (CBOW) word embeddings tend to underperform Skip-gram (SG) embeddings, and this finding has been reported in subsequent works. We find that these observations are driven not by fundamental differences in their training objectives, but more likely on faulty negative sampling CBOW implementations in popular libraries such as the official implementation, word2vec.c, and Gensim. We show that after correcting a bug in the CBOW gradient update, one can learn CBOW word embeddings that are fully competitive with SG on various intrinsic and extrinsic tasks, while being many times faster to train.

Authors

3