English

Streaming Word Embeddings with the Space-Saving Algorithm

Computation and Language 2017-04-26 v1

Abstract

We develop a streaming (one-pass, bounded-memory) word embedding algorithm based on the canonical skip-gram with negative sampling algorithm implemented in word2vec. We compare our streaming algorithm to word2vec empirically by measuring the cosine similarity between word pairs under each algorithm and by applying each algorithm in the downstream task of hashtag prediction on a two-month interval of the Twitter sample stream. We then discuss the results of these experiments, concluding they provide partial validation of our approach as a streaming replacement for word2vec. Finally, we discuss potential failure modes and suggest directions for future work.

Keywords

Cite

@article{arxiv.1704.07463,
  title  = {Streaming Word Embeddings with the Space-Saving Algorithm},
  author = {Chandler May and Kevin Duh and Benjamin Van Durme and Ashwin Lall},
  journal= {arXiv preprint arXiv:1704.07463},
  year   = {2017}
}

Comments

16 pages

R2 v1 2026-06-22T19:26:36.223Z