paper-with-me

홈 › Papers

word2vec Parameter Learning Explained

2014-11-11 · Xin Rong

The word2vec model and application by Mikolov et al. have attracted a great amount of attention in recent two years. The vector representations of words learned by word2vec models have been shown to carry semantic meanings and are useful in various NLP tasks. As an increasing number of researchers would like to experiment with word2vec or similar techniques, I notice that there lacks a material that comprehensively explains the parameter learning process of word embedding models in details, thus preventing researchers that are non-experts in neural networks from understanding the working mechanism of such models. This note provides detailed derivations and explanations of the parameter update equations of the word2vec models, including the original continuous bag-of-word (CBOW) and skip-gram (SG) models, as well as advanced optimization techniques, including hierarchical softmax and negative sampling. Intuitive interpretations of the gradient equations are also provided alongside mathematical derivations. In the appendix, a review on the basics of neuron networks and backpropagation is provided. I also created an interactive demo, wevi, to facilitate the intuitive understanding of the model.

📄 PDF Abstract BibTeX arXiv:1411.2738

Code (8)

ronxin/wevi 공식 구현
LouisTernon/NLP
fabiomercorio/GraphDBLP
gymk/ANLP
linghduoduo/NLP tf
lvyufeng/mindspore-nlp-tutorial mindspore
mayank2498/Skip-Gram-model-using-numpy
mingdaoyang/workshop

Methods 이 논문이 사용한 방법론

Hierarchical Softmax 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Preferred Design of Hierarchical Distribution Matching

2019-06-10

Distribution matching and dematching (DM/invDM) are key functions in probabilistic shaping (PS). Recently techniques for low complexity implementation of DM/invDM have been well studied. Our previously proposed hierarchi…

Language Model Behavioral Phases are Consistent Across Architecture, Training Data, and Scale

2025-10-28 · James A. Michaelov, Roger P. Levy, Benjamin K. Bergen arxiv

We show that across architecture (Transformer vs. Mamba vs. RWKV), training dataset (OpenWebText vs. The Pile), and scale (14 million parameters to 12 billion parameters), autoregressive language models exhibit highly co…

Semantic Similarity

AI Buzzwords Explained: Multi-Agent Path Finding (MAPF)

2017-10-10 · Hang Ma, Sven Koenig

Explanation of the hot topic "multi-agent path finding".

Multi-Agent Path Finding

Parsimonious Topic Models with Salient Word Discovery

2014-01-22 · Hossein Soleimani, David J. Miller

We propose a parsimonious topic model for text corpora. In related models such as Latent Dirichlet Allocation (LDA), all words are modeled topic-specifically, even though many words occur with similar frequencies across …

Topic Models

Subsampling for Knowledge Graph Embedding Explained

2022-09-13 · Hidetaka Kamigaito, Katsuhiko Hayashi

In this article, we explain the recent advance of subsampling methods in knowledge graph embedding (KGE) starting from the original one used in word2vec.

Graph EmbeddingKnowledge Graph Embedding