Papers › Distributed Representations of Words and Phrases and their Compositionality

Distributed Representations of Words and Phrases and their Compositionality

16 Oct 2013NeurIPS 2013 12arXiv:1310.4546archive 2025-07-28

Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, Jeffrey Dean

The recently introduced continuous Skip-gram model is an efficient method for learning high-quality distributed vector representations that capture a large number of precise syntactic and semantic word relationships. In this paper we present several extensions that improve both the quality of the vectors and the training speed. By subsampling of the frequent words we obtain significant speedup and also learn more regular word representations. We also describe a simple alternative to the hierarchical softmax called negative sampling. An inherent limitation of word representations is their indifference to word order and their inability to represent idiomatic phrases. For example, the meanings of "Canada" and "Air" cannot be easily combined to obtain "Air Canada". Motivated by this example, we present a simple method for finding phrases in text, and show that learning good vector representations for millions of phrases is possible.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1310.4546")

Code

Syntology Ran 6 of 26 code samples harvested from 10 repositories linked to this paper; 20 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 5 ran with no contract checked.

By repository: community (archive-listed): 26 samples from 10 repositories, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

51 repositories listed; official and paper-mentioned ones first.

Anaststam/Word2Vec mentioned on GitHub report
CongBao/ChatBot mentioned on GitHub report
DavidHarar/IP2Vec mentioned on GitHub report
L-ashwin/RA2Vec mentioned on GitHub report
Mind23-2/MindCode-65 mentioned on GitHubmindspore report
MirkoLenz/ReCAP-Argument-Graph-Retrieval mentioned on GitHubtfApache-2.0 report
ReCAP-UTR/Argument-Graph-Retrieval mentioned on GitHubtfApache-2.0 report
Robotmurlock/Deepwalk-and-Node2vec mentioned on GitHubpytorch report
arvind385801/paraphrasegen mentioned on GitHubpytorch report
dantetam/twitterServerAuth mentioned on GitHubMIT report
dhkim16/visqa-release mentioned on GitHub report
dhyeon/ingredient-vectors mentioned on GitHubpytorch report
dkohlsdorf/RustWord2Vec mentioned on GitHub report
dmitryaleks/sequence-models mentioned on GitHub report
ds3-nyu-archive/detm-arxiv mentioned on GitHubGPL-3.0 report
eske/multivec mentioned on GitHubApache-2.0 report
hithisisdhara/doc2vec mentioned on GitHubpytorchMIT report
inejc/paragraph-vectors mentioned on GitHubpytorchMIT report
jakubmonhart/package2vec mentioned on GitHubpytorch report
jschulberg/NLP-Practicum mentioned on GitHub report
kefirski/contiguous-succotash mentioned on GitHubpytorch report
kefirski/pytorch_RVAE mentioned on GitHubpytorch report
mari756h/The_unemployed_cells mentioned on GitHubpytorch report
omrylcn/NLP_Works mentioned on GitHub report
quynhneo/detm-arxiv mentioned on GitHubGPL-3.0 report
scalleri/marinara_embeddings mentioned on GitHubtf report
shutterstock/spark-phrases mentioned on GitHubMIT report
singhmanish979/Text-Anlaytics mentioned on GitHubnot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-ready report
slme1109/lyrics-generator mentioned on GitHubtf report
smc-x/ms-skipgram mentioned on GitHubmindsporeApache-2.0 report
theeluwin/pytorch-sgns mentioned on GitHubpytorch report
travisbrady/word2phrase mentioned on GitHubApache-2.0 report
tree-park/Word2Vec mentioned on GitHubpytorch report
ye-kyaw-thu/myword mentioned on GitHubMIT report
JoegameZhou/ms-skipgram mindsporeApache-2.0 report
LKLQQ/skipgram mindsporeApache-2.0 report
yangyucheng000/skipgram_GPU mindsporeApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

26 samples harvested; 6 ran; 0 honoured the contract we drafted; 20 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
5ran
20unverified

Licence: 4 of the 26 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 10 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

NegativeSampling dhyeon/ingredient-vectors/paragraphvec/loss.py community (archive-listed) ran fingerprinted MIT (permissive) · ee196ccdb50aa8d4 · report
NegativeSamplingLoss Robotmurlock/Deepwalk-and-Node2vec/shallow_encoders/word2vec/loss.py community (archive-listed) ran MIT (permissive) · 68673c54be60cb7a · report
Package2Vec jakubmonhart/package2vec/package2vec/models/skipgram.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · a8b2c31deeac8d60 · report
SGNS theeluwin/pytorch-sgns/model.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 5cc7c56f3b830619 · report
SkipGram mari756h/The_unemployed_cells/model/skipgram.py community (archive-listed) ran no licence file found · pointer only · d62db1c3d14660cc · report
build_dataset ghlee0304/NLP-with-tensorflow-pytorch/basic_Skip-gram/basic_skip_gram_v2.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 0091c377268c395c · report
NEG_loss kefirski/contiguous-succotash/selfModules/neg.py community (archive-listed) unverified MIT (permissive) · 54a2b02dd10c6f7d · report
NEG_loss arvind385801/paraphrasegen/selfModules/neg.py community (archive-listed) unverified no licence file found · pointer only · dd07fd3c27358000 · report
cal_top_k_similar JoegameZhou/ms-skipgram/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 96f3d77198b59301 · report
cal_top_k_similar JoegameZhou/ms-skipgram/infer/sdk/infer_eval.py community (archive-listed) unverified Apache-2.0 (permissive) · b18de39f876c54e1 · report
collocate ye-kyaw-thu/myword/phrase_segment.py community (archive-listed) unverified MIT (permissive) · e24fdf3aaf9640bd · report
conditionalProb ye-kyaw-thu/myword/word_segment.py community (archive-listed) unverified MIT (permissive) · 6c84b835c7f97d8e · report
connect ye-kyaw-thu/myword/phrase_segment.py community (archive-listed) unverified MIT (permissive) · a7a2edb4fd00832a · report
count_bigram ye-kyaw-thu/myword/word_dict.py community (archive-listed) unverified MIT (permissive) · 824bdbca97ab85ac · report
count_unigram ye-kyaw-thu/myword/word_dict.py community (archive-listed) unverified MIT (permissive) · 7f2b845cf5a80fb2 · report
del_useless_char JoegameZhou/ms-skipgram/src/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · bf1cb4c0bd8e3133 · report
exp_decay_lr JoegameZhou/ms-skipgram/src/lr_scheduler.py community (archive-listed) unverified Apache-2.0 (permissive) · 51e3b40a111cf6a8 · report
get_corpus JoegameZhou/ms-skipgram/src/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 10fdaadaf6b04bd0 · report
get_count_freq JoegameZhou/ms-skipgram/src/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 4320e8a70f2286f6 · report
get_w2v_emb JoegameZhou/ms-skipgram/src/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 5e2fb5cfe9f6bdef · report
load_eval_data JoegameZhou/ms-skipgram/infer/sdk/infer_eval.py community (archive-listed) unverified Apache-2.0 (permissive) · a17c8357ae091ec8 · report
parse_write ye-kyaw-thu/myword/phrase_segment.py community (archive-listed) unverified MIT (permissive) · 6c88f6b553429c66 · report
poly_decay_lr JoegameZhou/ms-skipgram/src/lr_scheduler.py community (archive-listed) unverified Apache-2.0 (permissive) · a82c201f7ce6060b · report
read_dict ye-kyaw-thu/myword/word_segment.py community (archive-listed) unverified MIT (permissive) · d201a649d6027a96 · report
syllable ye-kyaw-thu/myword/syl_segment.py community (archive-listed) unverified MIT (permissive) · 79c5f650d068d183 · report
viterbi ye-kyaw-thu/myword/word_segment.py community (archive-listed) unverified MIT (permissive) · 813f13c070e7eea5 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Hierarchical SoftmaxSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections