Research
Modality Matching Matters: Calibrating Language Distances for Cross-Lingual Transfer in URIEL+
Modality Matching Matters: Calibrating Language Distances for Cross-Lingual Transfer in URIEL+ Overview Research area: Natural Language Processing / cross-lingual transfer, with a focus on linguistic
- arXiv
- 2510.19217
- Published
- 2025-10-22
- Authors
- York Hay Ng, Aditya Khan, Xiang Lu, Matteo Salloum, Michael Zhou, Phuong H. Hoang, A. Seza Doğruöz, En-Shiun Annie Lee
AI summary
Modality Matching Matters: Calibrating Language Distances for Cross-Lingual Transfer in URIEL+Overview
Research area: Natural Language Processing / cross-lingual transfer, with a focus on linguistic distance measures derived from linguistic knowledge bases (URIEL+), and their use in selecting source languages for multilingual NLP tasks.
Technical level: Intermediate. The paper is written for readers comfortable with cross-lingual transfer terminology and basic geometry/optimization concepts, but it explains each of its three modeling choices from first principles.
Scope in one sentence: The paper proposes structure-aware ("modality-matched") representations for geographic, genetic, and typological language distances, plus a composite distance that aggregates them, and evaluates them through the LangRank transfer-language-selection framework across nine task/dataset settings.
What This Paper Is About
Linguistic knowledge bases such as URIEL and URIEL+ quantify how close two languages are, using geographic, genetic (genealogical), and typological (featural) signals for over 7,000 languages. The problem is that URIEL+ represents every modality the same way: as high-dimensional Euclidean vectors compared with angular distance, which does not match the actual structure of the underlying linguistic data, and it offers no principled way to combine modalities into a single score. The goal of this paper is to give each modality a representation and distance metric that matches its latent structure, and to define a composite distance that aggregates them.
Key Contributions
-
A formal framework for modality-matched language distances. For each modality $m$, the paper defines a representation mapping $f^m$ from raw data space $\mathcal{X}^m$ into a representation space $\mathcal{Z}^m$, and an associated normalized distance $d^m \in [0,1]$ defined on that space.
-
Three new structure-aware representations:
- Geographic: each language is modeled as a discrete probability distribution over speaker locations (speaker-weighted distributions, using country speaker counts and WGS84 centroids), compared with Earth Mover's distance (Wasserstein-1).
- Genetic: the Glottolog genealogical tree is embedded into hyperbolic space as dense, low-dimensional vectors (including internal nodes such as families and sub-families); the hyperboloid model is adopted after preliminary experiments, with the Poincaré disk model also explored.
- Typological: correlated binary features are grouped into latent variables called "islands" using latent tree models fit with Expectation–Maximization, producing a compact posterior-based representation compared with angular distance.
-
A composite distance. A normalized weighted average of the modality distances, with
w_m = 1/|M|(a simple average) presented as a "strong default" requiring no task-specific tuning; alternative weight-selection approaches are described in the paper's Appendix E.2. -
An empirical validation of these representations on cross-lingual transfer. The paper applies LangRank to nine task/dataset settings, ablating representation choices, and reports regression coefficients with standard errors from a linear mixed-effects model.
Main Findings
-
Modality-matched representations improve transfer language selection over URIEL+. The paper reports statistically significant improvements in transfer language selection compared to URIEL+ representations (significant results at $p < 0.05$ are shown in bold in the paper's Table 3).
-
Baseline performance losses vary widely by task. Using URIEL+ distances with LangRank, baseline performance losses ranged from 6.2 to 38.1 across tasks. The paper's Table 3 intercepts are: DEP 11.4 ± 2.9, EL 30.0 ± 6.2, MT 12.5 ± 1.8, POS 27.9 ± 4.4, Taxi1500 38.1 ± 0.5, SIB200 16.9 ± 1.1, XNLI 6.2 ± 1.2, UD 2.14 POS 27.4 ± 1.5, UD 2.14 DEP 35.6 ± 1.9.
-
The strongest reported reductions are task-specific. For XNLI, the latent islands typology representation reduces the baseline loss of 6.2 by 2.4 points (reported as a 39% improvement). For Machine Translation, the hyperbolic genetic embeddings reduce the baseline loss of 12.5 by 4.5 points (reported as a 36% improvement).
-
Effects are not uniformly positive. Swapping out URIEL+ representations sometimes worsens performance. For example, the speaker-distribution geography representation shows a change of −7.4 ± 2.0 on Entity Linking and −2.1 ± 0.2 on Taxi1500, while hyperbolic genetics shows −3.9 ± 0.6 on UD 2.14 DEP and −2.6 ± 0.6 on UD 2.14 POS. The paper states there is no one-size-fits-all distance measure for cross-lingual transfer.
-
No contradictions across datasets instantiating the same task. When comparing datasets for the same NLP task (e.g., Taxi1500 vs. SIB200, both topic classification), a representation that significantly improves transfer in one dataset never significantly degrades performance in another within the same task.
-
The composite distance is a strong general-purpose baseline. Table 4 reports composite-distance performance losses of DEP 9.9 (↓1.5), EL 25.6 (↓4.4), MT 11.2 (↓1.3), POS 22.8 (↓5.1), XNLI 3.5 (↓2.7), Taxi 46.7 (↑8.6), SIB 14.4 (↓2.5), POS 2 21.3 (↓6.1), DEP 2 36.7 (↑1.1). It improves over URIEL+ on most tasks (e.g., Entity Linking 25.6 vs. a baseline of 30.0; XNLI 3.5 vs. a baseline of 6.2) but under-performs on Taxi1500 (46.7 vs. a baseline of 38.1).
-
Transfer performance depends on both the task and the language representation used, confirming and extending prior work; the paper also reports that results on the low-resource languages in the evaluation (Taxi1500 is described as containing 764 low-resource languages, defined as language classes 0–2 from Joshi et al. (2020)) generally favor the new representations.
Methodology in Plain English
The researchers start from two complaints about existing distance resources. First, URIEL+ compresses fundamentally different kinds of linguistic information into the same kind of vector: languages are pinned to a single Glottolog coordinate (with distances measured to 299 fixed reference points), the Glottolog family tree is flattened into sparse one-hot vectors with more than 3,700 dimensions that are 99.85% zeros, and typological features are stored as sparse binary vectors. Second, there is no built-in way to combine these three signals into one score.
Their fix is to give each modality a representation shaped like the data:
-
Geography as a distribution. Instead of one point, each language becomes a list of locations with weights equal to the share of the language's speakers in each place, using country-level speaker counts from Ethnologue and geographic centroids. Distances between two languages are computed with Earth Mover's distance, normalized by the maximum geodesic distance on Earth. Languages attested in only one country keep their Glottolog coordinate to preserve that granularity.
-
Genealogy as a hierarchy. The Glottolog tree is treated as a directed acyclic graph, and every node, including families and sub-families, is embedded into hyperbolic space. Training uses a contrastive objective: positive pairs are ancestor–descendant pairs from the transitive closure of parent–child edges, and negatives are sampled nodes that are not descendants. The hyperbolic distance is normalized by the maximum pairwise hyperbolic distance to keep it in [0, 1].
-
Typology as low-noise factors. A latent tree model groups correlated binary features into "islands" governed by binary latent variables. Features are added greedily by mutual information, splits are accepted or rejected using a modified Bayesian Information Criterion, and languages are represented by the concatenated posterior probabilities over islands. Because this representation is naturally normalized per island, angular distance is used.
To combine them, the paper defines a composite distance as a weighted average of the normalized modality distances. The default setting gives every modality equal weight, which requires no task-specific tuning.
For evaluation, the authors plug these distances into LangRank, which uses gradient-boosted decision trees to pick a transfer (source) language for a target language, using only language distances as features. They measure "performance loss": the relative loss when transferring from the top-1 language chosen by LangRank instead of the optimal source. They run leave-one-language-out cross-validation per task and ablation, then fit a linear mixed-effects model with performance loss as the dependent variable, categorical variables indicating the representation used as fixed effects, and a random intercept on the cross-validation fold, estimating parameters with L-BFGS optimization. The task suite includes machine translation (TED), dependency parsing and POS tagging (UD v2.2 and UD v2.14), entity linking (Wikipedia), topic classification (Taxi1500 and SIB200), and NLI (XNLI), mirroring model and dataset choices from prior work so that results are comparable. Results with LLaMA-3.1-8B on Taxi1500 are additionally reported in an appendix.
Why This Matters
Impact on research. The paper reframes linguistic distance as a representation-design problem rather than only a metric-selection problem. It shows that how a modality is encoded matters as much as which distance formula is used, and it provides an openly released implementation and the hyperbolic genetic and latent island typological representations, with the geographic speaker distributions withheld because the Ethnologue data is proprietary. It also claims to be the first to embed the full Glottolog hierarchy into hyperbolic space, giving other researchers a reusable artifact.
Real-world applications:
- Source-language selection for multilingual model training. Choosing which language to train or fine-tune from is the core application the paper evaluates, and better selection translates into less performance loss for a target language.
- Low-resource language technology. The evaluation highlights gains on low-resource languages, where choosing a bad source language is most costly.
- Cross-lingual benchmarking and evaluation design. A single reusable composite score simplifies setting up multilingual evaluations and comparing language coverage.
- Data and training-set curation. The paper notes that compact, structured typological representations can support typology-driven tasks such as data or language selection and machine translation.
Industry relevance. Multilingual product teams routinely must decide which languages to pool for training a shared model. A single, normalized, task-agnostic distance score is a practical, low-effort decision aid for that, and the released embeddings can be dropped into existing pipelines without task-specific training.
Future Directions
-
Learning modality weights. The paper states that its framework enables future work on learning weights based on relevance to specific tasks, which could yield additional gains and reveal which modalities matter for which tasks.
-
More expressive, task-adapted models. The authors note that singular numerical distances cannot fully capture linguistic relationships, and that more complex, non-linear models adapted to specific tasks could yield further gains, which they leave for future work.
-
Beyond LangRank. The evaluation covers only transfer language selection with LangRank; the utility of these representations in other frameworks and applications is stated as unexplored.
-
Better and more open data. The geographic model is limited to national-level Ethnologue counts that ignore factors such as time, topography, and culture, and cannot be publicly released; Glottolog captures one model of language history with possibly incomplete dialect coverage; and 87% of URIEL+ typological values are missing prior to imputation, which the authors expect to affect low-resource languages most.
Target Audience
Researchers and practitioners working on cross-lingual transfer, multilingual NLP, and low-resource language technology, especially those who use URIEL/URIEL+ or LangRank for source-language selection. It is also relevant to computational linguists interested in how genealogical, geographic, and typological structure can be encoded geometrically (hyperbolic embeddings, optimal transport, latent tree models), and to engineers who need a single reusable language-similarity score rather than a task-specific one.
Authors’ abstract
Existing linguistic knowledge bases such as URIEL+ provide valuable geographic, genetic and typological distances for cross-lingual transfer but suffer from two key limitations. First, their one-size-fits-all vector representations are ill-suited to the diverse structures of linguistic data. Second, they lack a principled method for aggregating these signals into a single, comprehensive score. In this paper, we address these gaps by introducing a framework for type-matched language distances. We propose novel, structure-aware representations for each distance type: speaker-weighted distributions for geography, hyperbolic embeddings for genealogy, and a latent variables model for typology. We unify these signals into a robust, task-agnostic composite distance. Across multiple zero-shot transfer benchmarks, we demonstrate that our representations significantly improve transfer performance when the distance type is relevant to the task, while our composite distance yields gains in most tasks.