{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/method/context2vec","slug":"context2vec","name":"context2vec","full_name":"context2vec","full_name_withheld":false,"description_markdown":"**context2vec** is an unsupervised model for learning generic context embedding of wide sentential contexts, using a bidirectional [LSTM](https://paperswithcode.com/method/lstm). A large plain text corpora is trained on to learn a neural model that embeds entire sentential contexts and target words in the same low-dimensional space, which\r\nis optimized to reflect inter-dependencies between targets and their entire sentential context as a whole. \r\n\r\nIn contrast to word2vec that use context modeling mostly internally and considers the target word embeddings as their main output, the focus of context2vec is the context representation. context2vec achieves its objective by assigning similar embeddings to sentential contexts and their associated target words.","description_state":"present","introduced_year":null,"introduced_by":{"title":"context2vec: Learning Generic Context Embedding with Bidirectional LSTM","paper":"/paper/context2vec-learning-generic-context","first_author":"Oren Melamud","n_authors":3,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/context2vec-learning-generic-context"},"source":{"url":"https://aclanthology.org/K16-1006","title":"context2vec: Learning Generic Context Embedding with Bidirectional LSTM","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":"Contextualized Word Embeddings","url":"/methods/category/contextualized-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/always-keep-your-target-in-mind-studying-1","slug":"always-keep-your-target-in-mind-studying-1","title":"Always Keep your Target in Mind: Studying Semantics and Improving Performance of Neural Lexical Substitution","date":"2022-06-07","arxiv_id":"2206.11815","n_code_links":1,"syntology":null},{"paper":null,"slug":"token-level-identification-of-multiword","title":"Token Level Identification of Multiword Expressions Using Contextual Information","date":"2020-07-01","arxiv_id":null,"n_code_links":0,"syntology":null},{"paper":null,"slug":"a-comparative-study-of-lexical-substitution","title":"A Comparative Study of Lexical Substitution Approaches based on Neural Language Models","date":"2020-05-29","arxiv_id":"2006.00031","n_code_links":0,"syntology":null},{"paper":null,"slug":"word-usage-similarity-estimation-with","title":"Word Usage Similarity Estimation with Sentence Representations and Automatic Substitutes","date":"2019-05-20","arxiv_id":"1905.08377","n_code_links":0,"syntology":null},{"paper":null,"slug":"lexical-substitution-for-evaluating","title":"Lexical Substitution for Evaluating Compositional Distributional Models","date":"2018-06-01","arxiv_id":null,"n_code_links":0,"syntology":null},{"paper":"/paper/context2vec-learning-generic-context","slug":"context2vec-learning-generic-context","title":"context2vec: Learning Generic Context Embedding with Bidirectional LSTM","date":"2016-08-01","arxiv_id":null,"n_code_links":0,"syntology":null}],"papers_shown":6,"papers_order":"date (newest first), then slug","paper_counts":{"archive_papers_tagged":6,"with_a_code_link":1,"where_syntology_ran_a_sample":0,"not_listed_spam_title":0,"listed":6,"listed_where_code_ran":0,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":0,"every_run_a_failure_of_syntologys_instrument":0,"listed_with_a_run_with_no_instrument_failure":0,"listed_every_run_a_failure_of_syntologys_instrument":0,"filter":{"states":["a run with no instrument failure","any run, instrument failures included"],"default":"a run with no instrument failure","note":"on the 'only where code ran' pages the default hides, in the browser, the rows where every run was a failure of Syntology's instrument; the second state shows them again. Rows are hidden, never re-ordered; these twins list every row"}},"definition":"distinct papers the archive tags; 'where Syntology ran a sample' counts papers with at least one harvested sample that ran, which is not a correctness claim"},"papers_where_code_ran":0,"papers_where_code_ran_first_page":null,"papers_where_code_ran_caption":"We ran code from the paper's repository; we did not isolate this method inside it.","pages":[],"tasks":[{"task":"/task/word-sense-induction","name":"Word Sense Induction","papers":3},{"task":"/task/data-augmentation","name":"Data Augmentation","papers":2},{"task":"/task/relation-extraction","name":"Relation Extraction","papers":2},{"task":"/task/sentence","name":"Sentence","papers":2},{"task":"/task/word-embeddings","name":"Word Embeddings","papers":2},{"task":"/task/chunking","name":"Chunking","papers":1},{"task":"/task/coreference-resolution","name":"Coreference Resolution","papers":1},{"task":"/task/named-entity-recognition-ner","name":"Named Entity Recognition (NER)","papers":1},{"task":"/task/natural-language-inference","name":"Natural Language Inference","papers":1},{"task":"/task/semantic-role-labeling","name":"Semantic Role Labeling","papers":1},{"task":"/task/sentence-embeddings","name":"Sentence Embeddings","papers":1},{"task":"/task/sentence-similarity","name":"Sentence Similarity","papers":1},{"task":"/task/sentiment-analysis","name":"Sentiment Analysis","papers":1},{"task":"/task/word-sense-disambiguation","name":"Word Sense Disambiguation","papers":1}],"tasks_shown":14,"n_tasks":14,"usage_by_year":[{"year":"2016","papers":1},{"year":"2018","papers":1},{"year":"2019","papers":1},{"year":"2020","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/context2vec"},"syntology_read_at":"2026-10-05T00:36:11+00:00","syntology":{"source":"Syntology's have check for this name (the free coverage lookup), read from Syntology's graph","have_url":"https://syntology.ai/api/graph/have?x=context2vec","read_at":"2026-10-05T00:53:57+00:00","query":"context2vec","kind":"method","have":"unknown_name","tier":null,"verified_implementation":null,"level":null,"level_meaning":"the served verification level, per answer; never summed across methods","resolved_to":null,"resolution":null,"resolved_name_differs":false,"absence_asserted":false,"absence_unchecked":null,"no_code_is_about_this_method":false,"subject":null,"archive_paper_arxiv_id":null,"repositories":null,"retrieve_with":null,"name_competition":{"verdict":"none","may_be_wrong_sense":false,"bearers_found":0,"served":null,"leading_other_bearer":null,"n_other_bearers_listed":0,"note":"Nothing in this corpus is named 'context2vec' -- no method node, no paper announcing it in its title, no expanded form declaring it as an acronym."},"name_competition_text":null,"near_matches":[],"code_nearby":[],"code_nearby_caption":null,"origin_paper":null,"line":"name not resolved (unknown_name). The lookup matched no method, paper or venue by this name; that asserts nothing about whether code exists.","level_legend":null},"syntology_have_state":"loaded","record_sha256":"b6705b37c9de1c2591f9f40b4bd480d1fa4328db00eb37fb94fcfe11b3d4f7fa","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}