{"about":{"site":"https://codewithpapers.app","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.","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"},"url":"/paper/combining-static-word-embeddings-and","title":"Combining Static Word Embeddings and Contextual Representations for Bilingual Lexicon Induction","arxiv_id":"2106.03084","date":"2021-06-06","proceeding":"Findings (ACL) 2021 8","authors":["Jinpeng Zhang","Baijun Ji","Nini Xiao","Xiangyu Duan","Min Zhang","Yangbin Shi","Weihua Luo"],"abstract":"Bilingual Lexicon Induction (BLI) aims to map words in one language to their translations in another, and is typically through learning linear projections to align monolingual word representation spaces. Two classes of word representations have been explored for BLI: static word embeddings and contextual representations, but there is no studies to combine both. In this paper, we propose a simple yet effective mechanism to combine the static word embeddings and the contextual representations to utilize the advantages of both paradigms. We test the combination mechanism on various language pairs under the supervised and unsupervised BLI benchmark settings. Experiments show that our mechanism consistently improves performances over robust BLI baselines on all language pairs by averagely improving 3.2 points in the supervised setting, and 3.1 points in the unsupervised setting.","url_abs":"https://arxiv.org/abs/2106.03084v2","url_pdf":"https://arxiv.org/pdf/2106.03084v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"combining-static-word-embeddings-and","repo_url":"https://github.com/zjpbinary/CSCBLI","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"bilingual-lexicon-induction","task_name":"Bilingual Lexicon Induction"},{"task_slug":"word-embeddings","task_name":"Word Embeddings"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.03084","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.03084"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/joelmoniz/BLISS","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/taasnim/unsup-word-translation","reach":null}],"summary":{"ran":3,"ran_fixture":3,"ran_draft_wrong":1,"unverified":11},"by_repo_kind":{"found_in_text":{"samples":18,"ran":7,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":18,"samples":[{"code_sha256_prefix":"b68d1fea6c5c8781","entry":"GaussianAdditive","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b68d1fea6c5c8781"}},{"code_sha256_prefix":"b3a949e1ac4df211","entry":"MonoDictionary","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b3a949e1ac4df211"}},{"code_sha256_prefix":"0dbc89bf4acae100","entry":"get_faiss_nearest_neighbours","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0dbc89bf4acae100"}},{"code_sha256_prefix":"52acac7d3d8db4c1","entry":"get_mean_similarity","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"52acac7d3d8db4c1"}},{"code_sha256_prefix":"5f80979177361120","entry":"normalize","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5f80979177361120"}},{"code_sha256_prefix":"7420a6015af2cf96","entry":"to_cuda","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7420a6015af2cf96"}},{"code_sha256_prefix":"6fda52188df3ae12","entry":"to_numpy","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6fda52188df3ae12"}},{"code_sha256_prefix":"73c2fd56af7fd2d4","entry":"CSLS","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"73c2fd56af7fd2d4"}},{"code_sha256_prefix":"fa5384f4641a38c6","entry":"CrossLingualDictionary","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fa5384f4641a38c6"}},{"code_sha256_prefix":"739c2f7e50496420","entry":"Evaluator","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"739c2f7e50496420"}},{"code_sha256_prefix":"af7ac7e231b2e9c2","entry":"GAN","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af7ac7e231b2e9c2"}},{"code_sha256_prefix":"93dd33482e05cba2","entry":"Hubness","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"93dd33482e05cba2"}},{"code_sha256_prefix":"6902e9966009110b","entry":"Language","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6902e9966009110b"}},{"code_sha256_prefix":"fe2a9ef830eb47a5","entry":"MonitorLR","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fe2a9ef830eb47a5"}},{"code_sha256_prefix":"dba0c0eab9fca257","entry":"WordDictionary","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dba0c0eab9fca257"}},{"code_sha256_prefix":"6d6683faa7f8a826","entry":"build_dictionary","repo":"taasnim/unsup-word-translation","repo_kind":"found_in_text","path":"src/dico_builder.py","file_url":"https://github.com/taasnim/unsup-word-translation/blob/HEAD/src/dico_builder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6d6683faa7f8a826"}},{"code_sha256_prefix":"cb12f7f5c5155ec2","entry":"get_candidates","repo":"taasnim/unsup-word-translation","repo_kind":"found_in_text","path":"src/dico_builder.py","file_url":"https://github.com/taasnim/unsup-word-translation/blob/HEAD/src/dico_builder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cb12f7f5c5155ec2"}},{"code_sha256_prefix":"359b798fb239c105","entry":"make_directory","repo":"joelmoniz/BLISS","repo_kind":"found_in_text","path":"bliss/models/models.py","file_url":"https://github.com/joelmoniz/BLISS/blob/HEAD/bliss/models/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"359b798fb239c105"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}