Papers › Improving Word Translation via Two-Stage Contrastive Learning

Improving Word Translation via Two-Stage Contrastive Learning

15 Mar 2022ACL 2022 5arXiv:2203.08307archive 2025-07-28

Yaoyiran Li, Fangyu Liu, Nigel Collier, Anna Korhonen, Ivan Vulić

Word translation or bilingual lexicon induction (BLI) is a key cross-lingual task, aiming to bridge the lexical gap between different languages. In this work, we propose a robust and effective two-stage contrastive learning framework for the BLI task. At Stage C1, we propose to refine standard cross-lingual linear maps between static word embeddings (WEs) via a contrastive learning objective; we also show how to integrate it into the self-learning procedure for even more refined cross-lingual maps. In Stage C2, we conduct BLI-oriented contrastive fine-tuning of mBERT, unlocking its word translation capability. We also show that static WEs induced from the `C2-tuned' mBERT complement static WEs from Stage C1. Comprehensive experiments on standard BLI datasets for diverse languages and different experimental setups demonstrate substantial gains achieved by our framework. While the BLI method from Stage C1 already yields substantial gains over all state-of-the-art BLI methods in our comparison, even stronger improvements are met with the full two-stage framework: e.g., we report gains for 112/112 BLI setups, spanning 28 language pairs.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2203.08307")

Code

Syntology Ran 5 of 6 code samples harvested from 2 repositories linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · our draft was wrong; 2 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 2 samples from 1 repository, 2 ran; found in paper text by Syntology: 4 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cambridgeltl/contrastivebli officialmentioned in papermentioned on GitHubpytorch 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

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

1ran · our draft was wrong
2ran · fixture could not drive it
2ran
1unverified

Licence: 4 of the 6 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 2 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.

Beholder cambridgeltl/ContrastiveBLI/C1/src/models.py official repository ran fingerprinted MIT (permissive) · a3a7abba781e200d · report
C1_Model cambridgeltl/ContrastiveBLI/C1/src/models.py official repository ran MIT (permissive) · 1f690157c87b631e · report
build_matrices vinsachi/FIPPCLE/xling-bli/code/projection.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · 44f62679b81ab137 · report
get_seeds vinsachi/FIPPCLE/xling-bli/code/projection.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 731634f448ca1287 · report
isotrop_preproc vinsachi/FIPPCLE/xling-bli/code/projection.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 9a3c12dfc8a9399f · report
project_fipp vinsachi/FIPPCLE/xling-bli/code/projection.py found in paper text by Syntology unverified no licence file found · pointer only · 3472926e2229b9b0 · report

Tasks

Bilingual Lexicon InductionContrastive LearningCross-Lingual Word EmbeddingsMachine TranslationMultilingual NLPMultilingual Word EmbeddingsPretrained Multilingual Language ModelsSelf-LearningWord AlignmentWord EmbeddingsWord Translation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive LearningGradual Self-TrainingInfoNCEProcrustesSelf-LearningfastTextmBERT

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