{"url":"/method/cbow-word2vec","slug":"cbow-word2vec","name":"CBoW Word2Vec","full_name":"Continuous Bag-of-Words Word2Vec","full_name_withheld":false,"description_markdown":"**Continuous Bag-of-Words Word2Vec** is an architecture for creating word embeddings that uses $n$ future words as well as $n$ past words to create a word embedding. The objective function for CBOW is:\r\n\r\n$$ J\\_\\theta = \\frac{1}{T}\\sum^{T}\\_{t=1}\\log{p}\\left(w\\_{t}\\mid{w}\\_{t-n},\\ldots,w\\_{t-1}, w\\_{t+1},\\ldots,w\\_{t+n}\\right) $$\r\n\r\nIn the CBOW model, the distributed representations of context are used to predict the word in the middle of the window. This contrasts with [Skip-gram Word2Vec](https://paperswithcode.com/method/skip-gram-word2vec) where the distributed representation of the input word is used to predict the context.","description_state":"present","introduced_year":null,"introduced_by":{"title":"Efficient Estimation of Word Representations in Vector Space","paper":"/paper/efficient-estimation-of-word-representations","first_author":"Tomas Mikolov","n_authors":4,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/efficient-estimation-of-word-representations"},"source":{"url":"http://arxiv.org/abs/1301.3781v3","title":"Efficient Estimation of Word Representations in Vector Space","url_on_a_paper_host":true},"code_snippet_url":null,"code_snippet_url_on_a_code_host":false,"categories":[{"area":"Natural Language Processing","area_id":"natural-language-processing","collection":"Static Word Embeddings","url":"/methods/category/static-word-embeddings","pwc_aliases":[]},{"area":"Natural Language Processing","area_id":"natural-language-processing","collection":"Word Embeddings","url":"/methods/category/word-embeddings","pwc_aliases":[]}],"n_papers_tagged":6,"archive_num_papers":6,"papers_newest_first":[{"paper":"/paper/huspacy-an-industrial-strength-hungarian","title":"HuSpaCy: an industrial-strength Hungarian natural language processing toolkit","date":"2022-01-06","arxiv_id":"2201.01956","n_code_links":1,"syntology":{"ran":0,"of":2,"unverified":2,"pointer_only":0}},{"paper":"/paper/a-statutory-article-retrieval-dataset-in","title":"A Statutory Article Retrieval Dataset in French","date":"2021-08-26","arxiv_id":"2108.11792","n_code_links":1,"syntology":null},{"paper":null,"title":"LU-BZU at SemEval-2021 Task 2: Word2Vec and Lemma2Vec performance in Arabic Word-in-Context disambiguation","date":"2021-04-16","arxiv_id":"2104.08110","n_code_links":0,"syntology":null},{"paper":"/paper/farstail-a-persian-natural-language-inference","title":"FarsTail: A Persian Natural Language Inference Dataset","date":"2020-09-18","arxiv_id":"2009.08820","n_code_links":1,"syntology":null},{"paper":"/paper/ip2vec-learning-similarities-between-ip","title":"IP2Vec: Learning Similarities Between IP Addresses","date":"2017-11-21","arxiv_id":null,"n_code_links":1,"syntology":null},{"paper":"/paper/efficient-estimation-of-word-representations","title":"Efficient Estimation of Word Representations in Vector Space","date":"2013-01-16","arxiv_id":"1301.3781","n_code_links":84,"syntology":{"ran":19,"of":62,"unverified":43,"pointer_only":18}}],"papers_shown":6,"tasks":[{"task":"/task/2k","name":"2k","papers":1},{"task":"/task/articles","name":"Articles","papers":1},{"task":"/task/dependency-parsing","name":"Dependency Parsing","papers":1},{"task":"/task/information-retrieval","name":"Information Retrieval","papers":1},{"task":"/task/lemma","name":"LEMMA","papers":1},{"task":"/task/lemmatization","name":"Lemmatization","papers":1},{"task":"/task/multiple-choice","name":"Multiple-choice","papers":1},{"task":"/task/cg","name":"NER","papers":1},{"task":"/task/natural-language-inference","name":"Natural Language Inference","papers":1},{"task":"/task/pos","name":"POS","papers":1},{"task":"/task/retrieval","name":"Retrieval","papers":1},{"task":null,"name":"SENTER","papers":1},{"task":"/task/sentence","name":"Sentence","papers":1},{"task":"/task/specificity","name":"Specificity","papers":1},{"task":"/task/task-2","name":"Task 2","papers":1},{"task":"/task/word-embeddings","name":"Word Embeddings","papers":1},{"task":"/task/word-similarity","name":"Word Similarity","papers":1}],"tasks_shown":17,"n_tasks":17,"usage_by_year":[{"year":"2013","papers":1},{"year":"2017","papers":1},{"year":"2020","papers":1},{"year":"2021","papers":2},{"year":"2022","papers":1}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/cbow-word2vec"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}