mlsanityData to 14 Oct 2026

FULL-W2V: Fully Exploiting Data Reuse for W2V on GPU-Accelerated Systems

arXiv 2312.07743 ↗First posted 12 Dec 2023cs.LG cs.CL cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Word2Vec remains one of the highly-impactful innovations in the field of Natural Language Processing (NLP) that represents latent grammatical and syntactical information in human text with dense vectors in a low dimension. Word2Vec has high computational cost due to the algorithm's inherent sequentiality, intensive memory accesses, and the large vocabularies it represents. While prior studies have investigated technologies to explore parallelism and improve memory system performance, they struggle to effectively gain throughput on powerful GPUs. We identify memory data access and latency as the primary bottleneck in prior works on GPUs, which prevents highly optimized kernels from attaining the architecture's peak performance. We present a novel algorithm, FULL-W2V, which maximally exploits the opportunities for data reuse in the W2V algorithm and leverages GPU architecture and resources to reduce access to low memory levels and improve temporal locality. FULL-W2V is capable of reducing accesses to GPU global memory significantly, e.g., by more than 89%, compared to prior state-of-the-art GPU implementations, resulting in significant performance improvement that scales across successive hardware generations. Our prototype implementation achieves 2.97X speedup when ported from Nvidia Pascal P100 to Volta V100 cards, and outperforms the state-of-the-art by 5.72X on V100 cards with the same embedding quality. In-depth analysis indicates that the reduction of memory accesses through register and shared memory caching and high-throughput shared memory reduction leads to a significantly improved arithmetic intensity. FULL-W2V can potentially benefit many applications in NLP and other domains.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 23 references that are in the map. First posted on arXiv 12 Dec 2023.

Builds on

8 of 23 references.

References · 8

  1. 2017Attention Is All You Needcited by 60,361
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  4. 2016node2vec: Scalable Feature Learning for Networkscited by 1,918
  5. 2014DeepWalk: Online Learning of Social Representationscited by 1,547
  6. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 308
  7. 2014SimLex-999: Evaluating Semantic Models with (Genuine) Similarity Estimationcited by 172
  8. 2016Parallelizing Word2Vec in Shared and Distributed Memorycited by 5

Built on by

Not cited yet.