Papers › MetaXL: Meta Representation Transformation for Low-resource Cross-lingual Learning

MetaXL: Meta Representation Transformation for Low-resource Cross-lingual Learning

16 Apr 2021NAACL 2021 4arXiv:2104.07908archive 2025-07-28

Mengzhou Xia, Guoqing Zheng, Subhabrata Mukherjee, Milad Shokouhi, Graham Neubig, Ahmed Hassan Awadallah

The combination of multilingual pre-trained representations and cross-lingual transfer learning is one of the most effective methods for building functional NLP systems for low-resource languages. However, for extremely low-resource languages without large-scale monolingual corpora for pre-training or sufficient annotated data for fine-tuning, transfer learning remains an under-studied and challenging task. Moreover, recent work shows that multilingual representations are surprisingly disjoint across languages, bringing additional challenges for transfer onto extremely low-resource languages. In this paper, we propose MetaXL, a meta-learning based framework that learns to transform representations judiciously from auxiliary languages to a target one and brings their representation spaces closer for effective transfer. Extensive experiments on real-world low-resource languages - without access to large-scale monolingual corpora or large amounts of labeled data - for tasks like cross-lingual sentiment analysis and named entity recognition show the effectiveness of our approach. Code for MetaXL is publicly available at github.com/microsoft/MetaXL.

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

Code

Syntology Ran 4 of 13 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 5 samples from 1 repository, 4 ran; community (archive-listed): 8 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

microsoft/MetaXL officialmentioned in papermentioned on GitHubpytorch report
liatb282/metaxlr mentioned on GitHubpytorchMIT 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

13 samples harvested; 4 ran; 1 honoured the contract we drafted; 9 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 · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
9unverified

Licence: 8 of the 13 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.

_dot microsoft/MetaXL/mlt.py official repository ran · honoured contract MIT (permissive) · 691a05c33aab632f · report
masked_cross_entropy microsoft/MetaXL/mlt.py official repository ran · our draft was wrong MIT (permissive) · 3c561bc9240f884c · report
masked_cross_entropy_longvector microsoft/MetaXL/mlt.py official repository ran · fixture could not drive it MIT (permissive) · 22ba58ab2e67adae · report
step_metaxl microsoft/MetaXL/mlt.py official repository ran · our draft was wrong MIT (permissive) · 3ced20a5adc3c80e · report
sync_backward microsoft/MetaXL/mlt.py official repository unverified MIT (permissive) · 72f0841ee3deb1f5 · report
calculate_parameters liatb282/metaxlr/utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 624d7acf663ae752 · report
distr liatb282/metaxlr/mtrain.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · c76c28eb3d0f2d48 · report
draw liatb282/metaxlr/mtrain.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · ea581ea3f25dd281 · report
find_index liatb282/metaxlr/utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · b00098ec748c4d57 · report
masked_cross_entropy liatb282/metaxlr/models.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 9ba80da0d76244fa · report
permute_aug liatb282/metaxlr/mlt.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · ec26c809cf2ea367 · report
sync_autograd liatb282/metaxlr/mlt.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 804969f23b1b82b8 · report
trim_input liatb282/metaxlr/models.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 30328e1cfdcf3c85 · report

Tasks

Cross-Lingual TransferMeta-LearningNamed Entity RecognitionNamed Entity Recognition (NER)Sentiment AnalysisTransfer Learningnamed-entity-recognition

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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