NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Faster Parallel Training of Word Embeddings

Eliza Wszola, Martin Jaggi, Markus Püschel

Abstract

Word embeddings have gained increasing popularity in the recent years due to the Word2vec library and its extension fastText that uses subword information. In this paper, we aim at improving the execution speed of fastText training on homo-geneous multi- and manycore CPUs while maintaining accuracy. We present a novel open-source implementation that flexibly incorporates various algorithmic variants including negative sample sharing, batched updates, and a byte-pair encoding-based alternative for subword units. We build these novel variants over a fastText implementation that we carefully optimized for the architecture, memory hierarchy, and parallelism of current manycore CPUs. Our experiments on three languages demon-strate 3–20 x speed-up in training time at competitive semantic and syntactic accuracy.
BibTeX
@inproceedings{wszola2021faster,
  author = {Eliza Wszola and Martin Jaggi and Markus Püschel},
  title = {{Faster Parallel Training of Word Embeddings}},
  booktitle = {HiPC},
  year = {2021},
  doi = {10.1109/hipc53243.2021.00017},
}

Loading related content...

Figure