Elamur Research

Multi Task Learning For Zero Shot Performance Prediction of Multilingual Models

Paper · 2022 · Kabir Ahuja, Shanu Kumar, Sandipan Dandapat et al.

Summary

A multilingual language system may work well in a language for which it has received no task-specific training, yet perform poorly in another. That unevenness creates a practical problem: how can an engineer estimate performance in a language before obtaining a suitable evaluation set? Ahuja and colleagues study this question by learning to predict cross-language task scores from properties of the languages and the underlying system. Their central proposal is to train these performance predictors jointly across tasks, allowing a task with little evaluation evidence to borrow information from better documented tasks.

The paper concerns multilingual and cross-lingual NLP, specifically zero-shot transfer. Here, a pretrained multilingual model receives task-specific training in a source language, called the pivot, and is then evaluated in another language without task-specific training in that target. The authors examine mBERT and XLM-R across 11 tasks, covering classification, linguistic structure, question answering, and retrieval. Instead of directly improving those systems’ answers, they build a second layer that estimates how well each system will perform. Its inputs include vocabulary overlap, linguistic relatedness, target-language pretraining resources, and measurements of how aggressively the tokenizer divides words.

The limited evidence available to train such predictors poses the greatest challenge. A task may have evaluation scores for only a few languages. Fitting a separate predictor to each task can therefore produce unstable estimates and inconsistent accounts of which features matter. The authors compare several ways to share information, including common feature selection, joint matrix factorization, and a Gaussian-process approach that learns relationships between tasks. In their leave-one-language-out evaluation, the strongest aggregate XLM-R result comes from Multi-Task Deep Gaussian Process Regression, or MDGPR: its mean absolute prediction error is 4.98, against 5.51 for the strongest single-task aggregate baseline, Lasso. These errors are reported after scaling by 100. The authors describe the overall improvement as about 10%, with about 20% improvement when considering tasks represented by at most 10 target languages.

A separate experiment tests a harder resource imbalance: predictors learn the main task from relatively well-resourced languages and estimate its scores in less-resourced languages. Joint learning again helps. The authors report approximately 18% and 11% reductions in mean absolute error for Group Lasso over the strongest single-task comparison, for XLM-R and mBERT respectively. There is an important condition: helper tasks may retain observations for languages withheld from the task being predicted. These experiments therefore test whether evidence can transfer between tasks for a language, rather than whether the predictor can always succeed without any performance evidence about that language.

The paper also uses the predictors to investigate what accompanies successful transfer. Its joint feature-selection analysis associates vocabulary overlap particularly with retrieval, tokenizer fragmentation with token-level prediction, and pretraining resources with several tasks requiring broader semantic competence. Geographic distance remains useful across tasks, although the authors acknowledge that its unusually complete coverage may partly explain its prominence. These are predictive associations, not controlled demonstrations that changing any particular feature will cause a corresponding performance gain. The contribution is a more effective way to estimate missing multilingual results, together with a more disciplined framework for studying the factors associated with them.

Interesting ideas

Share evidence when individual problems are small. A prediction problem may be difficult because each task has few observations, even though related tasks collectively contain useful structure. Joint learning can exploit that structure without requiring every task to behave identically. The same principle applies to forecasting software performance, estimating annotation quality, or predicting the reliability of related linguistic components.

Separate shared relevance from shared effects. Group Lasso encourages tasks to consult a common collection of features while preserving task-specific coefficients. A feature can therefore matter across tasks without having an identical influence everywhere. This distinction is useful whenever several applications share explanatory variables but differ in their response to them, including resource planning and quality estimation.

Measure the representation bottleneck. The paper adds tokenizer measurements to a problem previously approached mostly through resource size and language similarity. This makes an upstream representation choice visible to the predictor. The broader lesson is to inspect what preprocessing does to the input, especially when downstream decisions depend on words or spans. An apparent reasoning failure may partly originate in an unsuitable representation.

Test the deployment gap directly. Withholding a language at a time and withholding less-resourced languages answer different questions. The latter deliberately creates a mismatch between the evidence available during training and the cases that matter in deployment. Evaluation becomes more informative when its missing-data pattern resembles the intended use, rather than merely producing a convenient partition.

Make simple borrowing a serious baseline. Averaging a language’s scores across other tasks is competitive in these experiments, sometimes outperforming more elaborate methods. Such a baseline asks whether a sophisticated predictor contributes beyond a readily available summary. Similar comparisons are valuable in recommendation, forecasting, and automated analysis, where complexity can obscure how much improvement actually comes from additional information.

Vary the amount of auxiliary evidence. The authors examine prediction error as the number of helper tasks changes. This connects the claimed benefit of joint learning to the resource that should produce it. In other settings, varying the number or kind of supporting observations can reveal whether improvement comes from complementary evidence, repeated coverage, or a particular auxiliary source.

Interpret importance through coverage and redundancy. A feature may appear valuable because it is measured consistently, while another may disappear because its information is already available elsewhere. The paper’s geographic and typological findings illustrate both possibilities. Feature importance is therefore more useful when considered alongside missing values, correlated variables, and the assumptions imposed by the learning method.

Deep dive: Multi Task Learning For Zero Shot Performance Prediction of Multilingual Models

How sharing evidence across tasks improves predictions of multilingual transfer, especially when evaluation data covers few languages. · about 35 minutes to read

How Mova uses it

Mova is a small language system written in Rust, with explicit linguistic rules, learned parameters, structured worlds, and bounded operational tools. Its current direction emphasizes logic, rules, and statistics. The most relevant transfers from this paper concern evaluation design, statistical estimation, preprocessing diagnostics, and evidence management. They do not require replacing Mova’s language core with a multilingual neural system.

The status marks below are proposals assessed against the documented mechanisms. They do not establish that this paper has already been applied. “New” identifies a proposed addition at the stated scope; its implementation status remains unknown where the available documentation does not settle it. The suggested effects would need measurement in Mova.

Idea: Share statistical evidence across small evaluation tasks. Where: Introduction; Sections 3.1 and 6.1. Area: stats/eval. Mova: частково є (the school students learn feature weights, and prag evaluates learned predictors). Mova could investigate a joint estimator for component reliability when an individual task has too few observations for a stable estimate. Parsing, pragmatic labels, and reading outcomes should retain separate targets instead of becoming one undifferentiated score. Why Mova: shared statistical evidence might improve estimates for sparsely measured capabilities while preserving the explicit mechanisms that produce their answers.

Idea: Use common feature selection without forcing identical behavior. Where: Section 4.3, Group Lasso. Area: stats. Mova: нове. A proposed statistical layer could select a common set of diagnostic features across related evaluation tasks, while giving each task its own coefficients. This would differ from imposing one universal scoring rule on syntax, pragmatics, and reading. Whether Mova already has an equivalent joint selection mechanism is unknown. Why Mova: a compact shared diagnostic vocabulary could make reliability estimates easier to inspect without concealing differences between components.

Idea: Compare independent fitting with pooled fitting. Where: Sections 4.2, 4.3, and 6.1. Area: eval. Mova: частково є (prag/src/eval.rs compares predictors and analyzes their confidence behavior). Any proposed joint estimator should be compared with separately trained estimators using the same inputs and withheld observations. This isolates the value of sharing from differences in feature availability or preprocessing. Why Mova: the comparison would show whether joint estimation adds useful information rather than merely adding machinery.

Idea: Measure an upstream representation bottleneck. Where: Section 3.2.2; Section 6.3; Appendix A.2. Area: tokenization/data. Mova: частково є (en/src/tok.rs, language-specific tokenization, and tokenizer evaluation commands). The paper’s sub-word metrics should not be copied directly into Mova’s native word tokenizer. Instead, Mova could measure its own relevant distortions, such as whether contractions or elisions reach the parser in the expected form, and relate those observations to downstream failures. Why Mova: representation diagnostics can locate errors before they are mistaken for failures of inference.

Idea: Keep different tokenizer measurements distinct. Where: Section 3.2.2; Appendix A.2. Area: data/stats. Mova: нове. The paper distinguishes the typical extent of fragmentation from how frequently fragmentation occurs. Mova could preserve an analogous distinction whenever it evaluates segmentation: how frequently a transformation happens and how extensive that transformation is need separate observations. Equivalent statistical reporting is not established by the documented tokenizer work. Why Mova: distinct measurements can identify different failure patterns that a single aggregate segmentation score would hide.

Idea: Withhold an entire language when estimating generalization. Where: Section 5.1, LOLO. Area: eval. Mova: частково є (language-specific development evaluations and held-out regression checks are documented). A future cross-language reliability predictor could remove every main-task observation for the target language before fitting. Existing English and French results do not establish such a predictor or its accuracy. Why Mova: this would test transfer beyond languages already represented in the estimator’s own training records.

Idea: Reproduce resource imbalance in the evaluation split. Where: Section 5.1, LLRO; Section 6.2. Area: eval. Mova: нове. A proposed evaluation could train a reliability estimator on well-documented languages or domains and reserve less-documented ones for assessment. The definition of resource availability would need an explicit source and should not be inferred from names or familiarity. Why Mova: the resulting test would address the cases where estimates are most needed and ordinary validation may be least representative.

Idea: Make helper-task access explicit. Where: Section 5.1 and its footnote on helper observations. Area: eval/data provenance. Mova: частково є (tools/enrich separates staged teaching material from admitted knowledge, and assessment labels remain outside training). If one task’s observations help predict another task’s score, Mova should record exactly which language-task observations were accessible. Why Mova: explicit access records prevent an estimate supported by auxiliary measurements from being presented as evidence-free generalization.

Idea: Use an average within the task as a baseline. Where: Section 4.1, AWT; Section 6.2. Area: stats/eval. Mova: нове. A prospective reliability estimator should compete with a simple estimate based on available outcomes for the same task. Such an estimate would remain separate from Mova’s actual answer and justification. A corresponding baseline for cross-language performance prediction is not documented. Why Mova: it establishes whether the estimator improves on a transparent summary requiring little fitting.

Idea: Use an average across tasks as a separate baseline. Where: Section 4.1, AAT; Section 6.1. Area: stats/eval. Mova: нове. Where scores are meaningfully comparable, a language’s observed outcomes on helper tasks could provide a simple prediction for an unmeasured task. Mova would first need to justify score compatibility; school accuracy, parser attachment, and other measurements should not be averaged merely because they are numeric. Why Mova: the baseline would expose how much predictive value comes from general language coverage before a more elaborate estimator is introduced.

Idea: Vary the amount of helper evidence. Where: Figure 2; Appendix Figure 8. Area: eval. Mova: нове. A proposed pooled estimator could be tested with different helper collections while keeping the main task and evaluation observations fixed. Recording the selected helpers would matter as much as recording their quantity. Why Mova: this would reveal whether gains depend on broad support, particular auxiliary tasks, or repeated access to the same languages.

Idea: Analyze which targets receive broad helper coverage. Where: Section 6.1, the correlation analysis of task coverage. Area: stats/eval. Mova: частково є (tools/dictindex reports source coverage and explicitly records missing coverage). A future reliability report could relate error to how broadly each target is represented in auxiliary measurements. Corpus coverage and evaluation coverage would need separate fields. Why Mova: a strong overall result may otherwise conceal weak estimates for precisely the least-observed targets.

Idea: Use descriptive features rather than language identity alone. Where: Section 3.2.2, discussion following tokenizer features. Area: stats/data. Mova: нове. A proposed transfer estimator could consume measured properties of the input and processing path rather than relying only on a language label. This would concern the estimator, not removal of language-specific grammar rules. Why Mova: descriptive inputs offer a possible basis for estimating unfamiliar conditions, while identity alone cannot explain why a new condition should resemble an observed one.

Idea: Detect feature conditions outside the observed range. Where: Section 3.2.2, discussion of unfamiliar feature distributions. Area: stats/eval. Mova: частково є (unsupported operational requests retain failures, and native readers expose gaps). A statistical reliability estimate could carry an explicit indication that its inputs differ substantially from those used to fit it. The paper does not provide a complete detector, so its design would remain a separate proposal. Why Mova: acknowledging extrapolation would make numerical estimates consistent with Mova’s existing practice of exposing unsupported conclusions.

Idea: Keep pairwise and individual evidence separate. Where: Sections 3.2.1 and 3.2.2. Area: data/knowledge representation. Mova: нове. For a future transfer study, Mova could distinguish properties of a source-target relationship from properties of the target alone. Tokenization suitability is not the same kind of evidence as similarity to a source language. Why Mova: this separation would help explanations identify whether an estimate depends on the target’s own representation or on a particular transfer route.

Idea: Compress relational descriptions cautiously. Where: Section 3.2.1, motivation for pairwise relatedness features. Area: data/stats. Mova: частково є (typed graph observations and explicit correspondences already describe selected relationships). Aggregate similarity could be useful as an estimator input when detailed linguistic features are too numerous for the available observations. It should retain its definition and should not replace the original structural evidence. Why Mova: compact features can support small-data statistics without turning a summary into an unexplained linguistic judgment.

Idea: Measure vocabulary overlap as a set relation. Where: Equation 2; Section 6.3. Area: lexical data/math. Mova: частково є (tools/dictindex supports evidence-backed lexical queries, while tools/enrich uses lexical overlap for retrieval). A transfer estimator could test a precisely defined overlap statistic for compatible lexical inventories. Source licences, language normalization, and the meaning of an inventory would remain explicit. Why Mova: a reproducible set-based measure is easier to inspect than an informal claim that vocabularies are similar.

Idea: Treat overlap as a retrieval clue rather than proof. Where: Section 6.3, discussion of retrieval tasks; Conclusion. Area: information retrieval/eval. Mova: вже є (tools/enrich treats lexical overlap as retrieval evidence, not proof of a topic gap). The paper offers another reason to preserve that boundary: shared vocabulary can help prediction while leaving the underlying cause unresolved. Mova could test overlap’s contribution without admitting retrieved text as established knowledge. Why Mova: the distinction protects source-bound reasoning while allowing cheap lexical signals to guide search.

Idea: Record resource quantities with provenance. Where: Section 3.2.2, pretraining size and rare typological traits. Area: data/stats. Mova: частково є (tools/sources records source manifests, and tools/dictindex retains credits and indexed coverage). A future performance study could use measured amounts of relevant training or dictionary evidence, with versioned definitions of what was counted. The paper’s pretraining-size feature is specific to its multilingual systems. Why Mova: reproducible resource measurements would make comparisons more informative than broad labels such as well-resourced or under-resourced.

Idea: Consider whether rare properties are represented. Where: Section 3.2.2, WMRR. Area: syntax/data/stats. Mova: нове. Mova could investigate whether uncommon grammatical constructions are poorly represented in the material supporting a component, instead of considering only total corpus size. This would require a defined inventory of constructions and reliable occurrence evidence. Why Mova: a large corpus can still provide little support for a particular rule family, so targeted coverage may explain failures that total size misses.

Idea: Interpret missingness alongside importance. Where: Section 6.3, typological relatedness discussion. Area: stats/data quality. Mova: частково є (tools/dictindex distinguishes absent evidence, pending classifications, and measured coverage). A statistical report should show whether a weak feature is uninformative or simply unavailable for many cases. Why Mova: exposing missingness would keep incomplete source coverage from being misread as a negative linguistic finding.

Idea: Interpret shared selection in light of the imposed regularizer. Where: Section 4.3; Section 6.3. Area: stats/interpretability. Mova: нове. If Mova adopts grouped statistical selection, its report should explain that common feature membership is encouraged by the objective. Agreement between tasks would then be partly a design choice, requiring held-out validation. Why Mova: this would make the estimator’s own assumptions visible instead of presenting its output as an independent discovery.

Idea: Distinguish redundancy from irrelevance. Where: Section 6.3, discussion of genetic similarity. Area: stats/interpretability. Mova: частково є (explicit rules and graph explanations retain their contributing evidence). In a future estimator, a discarded feature should be described as unnecessary under the tested feature set, not universally meaningless. Why Mova: this would prevent a statistical omission from silently becoming a permanent rule about which linguistic relationships matter.

Idea: Separate predictive association from causal explanation. Where: Section 6.3; Appendix A.2; Conclusion. Area: stats/knowledge representation. Mova: частково є (Frame::evid distinguishes epistemic kinds, and retained knowledge has admission checks). An association between segmentation and error could be stored as a reviewed empirical claim with its scope, without turning it into a causal rule. Why Mova: Mova’s explicit knowledge structure is well suited to preserving the difference between a useful predictor and an established mechanism.

Idea: Use a joint factorization for incomplete measurement records. Where: Section 4.3, CMF; Equation 3. Area: math/stats. Mova: нове. A separate experimental tool could represent tasks and processing configurations through a compact shared factorization, using configuration features to help estimate missing results. This would be a statistical observation tool instead of an answer engine. Why Mova: it could support analysis of incomplete evaluation records without modifying deterministic linguistic inference.

Idea: Learn which tasks can support each other. Where: Appendix A.1, multitask kernel; Equation 6. Area: stats. Mova: нове. The transferable idea is to estimate task relatedness from observed outcomes instead of assuming that all helper tasks contribute equally. Mova could investigate a simpler statistical version before considering the paper’s neural feature mapping. Why Mova: selective borrowing could reduce inappropriate transfer between tasks whose error patterns differ.

Idea: Keep forecast values distinct from observed receipts. Where: Sections 3.1 and 5.1, definition and evaluation of predicted scores. Area: eval/operational evidence. Mova: частково є (tools/twin separates prospective predictions from measured runs, and worker results retain explicit evidence types). A future language-performance estimate should retain its inputs, fitted estimator, and validation scope separately from an actual assessment result. Why Mova: a forecast can guide which experiment to run while remaining unsuitable as proof that a capability has passed it.

Idea: Validate a proposed resource strategy separately. Where: Conclusion, recommendations about geographic pivots and tokenizers. Area: eval/resource planning. Mova: частково є (seed changes and learning proposals pass regression and admission gates). If a predictor suggests expanding a dictionary, adding a grammar source, or changing tokenization, Mova should measure the resulting downstream behavior before retaining the change. Why Mova: predictive importance can prioritize work, but only a controlled revision can establish that the proposed intervention helps.

The problem and its context

Transfer creates an evaluation problem

The starting point is an attractive property of multilingual pretraining. A system exposed to several languages can sometimes learn a task in a source language and carry that ability into another. This reduces dependence on task-specific training material in every language. It also creates a misleading expectation: if transfer works for some targets, users may assume that it works comparably for all of them.

The paper describes earlier evidence that this expectation fails. Languages with limited pretraining resources can receive substantially weaker results. Linguistic distance from the pivot can also matter. These observations make evaluation difficult because the languages most in need of an estimate are often those without a convenient test set. Running a benchmark in a well-documented language does not resolve uncertainty about a less-documented one.

The authors therefore distinguish the task system from the performance predictor. The task system performs an activity such as tagging or answering questions. The predictor estimates the score that activity would achieve under a specified language configuration. This second problem can be treated as regression: observed evaluation scores become training targets, while measurable properties of languages and systems become inputs.

Such an estimate could help guide deployment or data collection. The paper points to earlier work connecting performance prediction with annotation strategies. A useful estimate might indicate where additional evaluation or training material is most valuable. Its usefulness depends on generalizing beyond the language-task combinations already measured, rather than merely reproducing their scores.

Why earlier predictors were fragile

The paper places its proposal after several approaches to performance prediction. Some earlier work estimated accuracy from agreement among classifiers or from properties of the underlying data distribution. Other work used explanatory variables to forecast machine-translation performance or ranked languages as candidates for transfer.

More directly, Lauscher and colleagues used regression to estimate multilingual transfer from resource quantities and linguistic relatedness. Srinivasan and colleagues expanded the feature inventory and used XGBoost. Dolicki and Spanakis examined individual syntactic properties rather than relying only on aggregate similarity measures.

The limitation identified here is the number of languages available for fitting a predictor. The introduction describes many XTREME-R tasks as having observations for 7–11 languages. That is a small evidential base for deciding how multiple correlated features relate to performance. A predictor may fit peculiarities of the available task or dataset and then behave unpredictably elsewhere.

Joint learning addresses this scarcity by treating tasks as related sources of evidence. An observation from a tagging task does not become a question-answering score. Instead, it helps constrain shared structure: which language configurations tend to be difficult, which features recur as useful predictors, or which tasks have related patterns.

Conflicting explanations motivate joint analysis

The paper also responds to disagreement over what makes transfer work. Pires and colleagues found that successful transfer could occur despite little shared sub-word vocabulary. The paper describes another study that removed direct vocabulary overlap through an artificial language and observed only limited degradation. By contrast, Wu and Dredze reported strong associations between overlap and transfer in several tasks.

Resource size produced similarly qualified findings. Are All Languages Created Equal in Multilingual BERT? associated low resources with weaker transfer. Other findings suggested that linguistic relatedness could better explain some structural tasks. The authors do not resolve these disagreements through a new causal experiment. They ask whether sharing information across tasks produces more stable predictors and, consequently, less erratic feature analyses.

Their tokenizer features add another possible explanation. How Good is Your Tokenizer? examined how multilingual segmentation quality relates to task performance when training occurs in the target language. Ahuja and colleagues bring those measurements into zero-shot performance prediction. This extends the explanatory inventory from language relationships and corpus quantities to the way the system represents the target’s words.

The method, step by step

Define the quantity being predicted

The procedure begins with a pretrained multilingual system and a downstream task. Task-specific fine-tuning uses a pivot language. Evaluation then occurs in a different target language. The predictor’s desired output is the resulting evaluation score.

To avoid confusing the target language with the task, the notation below uses τ for the task and t for the target language. Let M denote the multilingual system, L its pretraining-language set, P the pivots, and T the targets. The paper’s zero-shot formulation requires the pivot and target sets to be disjoint. Its experiments use English as the pivot.

For each observed configuration, yₚ,ₜ^τ is the actual score and xₚ,ₜ is a vector of explanatory features. Separate predictors are fitted for mBERT and XLM-R, so the multilingual-system identity can be omitted from the working notation. Task identity remains necessary because the same language configuration can produce different outcomes on different tasks.

Predicting missing multilingual task scores

The steps in order.

Predicting missing multilingual task scoresStep 1: Gather observed language-task evaluation scores1. Gather observed language-task evaluation scoresStep 2: Describe languages and transfer relationships2. Describe languages and transfer relationshipsStep 3: Measure target tokenizer behavior3. Measure target tokenizer behaviorStep 4: Fit predictors jointly across tasks4. Fit predictors jointly across tasksStep 5: Withhold main-task target observations5. Withhold main-task target observationsStep 6: Estimate scores and measure prediction error6. Estimate scores and measure prediction error

The important separation is between obtaining task scores and learning to predict them. The joint estimator operates on records of observed performance. It does not conduct multilingual task training on behalf of the underlying system, and it does not generate task answers.

Express sharing through an objective

The paper gives a general objective combining prediction error and regularization:

J(Θ, Φ) = Στ∈𝒯 Σp∈P Σt∈T ‖f(xₚ,ₜ, τ; Θ, Φ) − yₚ,ₜ^τ‖₂² + λg‖Θ‖₁ + λs‖Φ‖₁,₁ + λgroup‖Φ‖₁,q

Here, 𝒯 is the task collection. The function f predicts a score from the feature vector and task. Θ contains parameters shared across tasks, while Φ contains task-specific parameters. The first term penalizes disagreement between predicted and observed scores. In practice, learning uses the available observations rather than requiring every possible combination to have a recorded result.

The λ terms control different penalties. λg regulates the shared parameters, λs regulates task-specific parameters individually, and λgroup regulates groups of coefficients belonging to the same feature. The parameter q determines how coefficients within a group are combined.

This formulation allows more than one kind of sharing. Tasks can share parameters directly, or they can share a preference for using the same features. If there are no shared parameters and the group penalty is removed, the formulation reduces to independently fitted task predictors.

Describe the source-target relationship

The pairwise features characterize how the pivot relates to the target. The authors use aggregate relatedness instead of adding a large inventory of individual typological attributes. This limits the number of explanatory variables when observations are scarce.

Vocabulary overlap is defined through the intersection and union of sub-word vocabularies:

o_sw(p, t) = |Vₚ ∩ Vₜ| / |Vₚ ∪ Vₜ|

Vₚ is the sub-word vocabulary associated with the pivot, and Vₜ is its target-language counterpart. The vertical bars indicate set size. The numerator counts shared vocabulary entries, while the denominator counts entries appearing in either vocabulary.

This feature measures a particular kind of representational commonality. It does not measure semantic equivalence, translation quality, or grammatical similarity. Languages can share vocabulary entries without behaving alike, and useful transfer can occur without extensive overlap.

The remaining pairwise inputs come from URIEL and lang2vec. They describe syntactic similarity, phonological similarity, genetic similarity, and geographic distance. The paper names these s_syn, s_pho, s_gen, and d_geo. They provide different views of relatedness rather than interchangeable measurements of one underlying property.

Describe the target’s representation

Individual features concern the target’s position within the multilingual system. Pretraining size is represented by the base-10 logarithm of its corpus size measured in words. This captures resource availability without using raw corpus size directly.

The rare-traits feature, WMRR, summarizes how well the target’s typological properties are represented in pretraining. Typological properties are ranked according to the amount of pretraining material associated with languages possessing them. A target receives a mean reciprocal rank over its properties. The intention is to distinguish abundant general resources from resources representing the target’s particular linguistic characteristics.

The tokenizer measurements concern subword tokenization. FERT records how many sub-word pieces a word produces on average. PCW records how frequently a word continues across multiple pieces. These measurements are related but distinct: one concerns the extent of segmentation, while the other concerns its incidence.

Language names are not predictor features. Consequently, an unfamiliar language can in principle receive an estimate if its explanatory features are available. That does not guarantee accurate extrapolation. The authors explicitly expect poorer predictions when the new feature configuration differs substantially from those observed during fitting.

Establish simple comparisons

The within-task averaging baseline, AWT, estimates an unseen target from the other target scores for the same task and pivot:

f_AWT(xₚ,ₜ, τ) = [1 / (|T| − 1)] Σt′∈T∖{t} yₚ,ₜ′^τ

The set T contains target languages, and t′ ranges over targets other than the one being predicted. The pivot p and task τ remain fixed. The baseline ignores explanatory features and assumes that the available task scores provide a reasonable central estimate.

The across-task baseline, AAT, instead uses the target language’s scores on other tasks:

f_AAT(xₚ,ₜ, τ) = [1 / (|𝒯| − 1)] Στ′∈𝒯∖{τ} yₚ,ₜ^τ′

Here, τ′ ranges over helper tasks. The target language stays fixed. This comparison is especially important because it already borrows auxiliary information without learning a sophisticated relationship between tasks.

The fitted single-task comparisons are Lasso, XGBoost, and DGPR. Lasso adds an absolute-value penalty to linear regression. XGBoost provides a nonlinear tree-based alternative. DGPR supplies a single-task comparison for the deep-kernel Gaussian-process method, helping distinguish the value of task sharing from the value of that underlying predictor family.

Share feature selection with Group Lasso

Group Lasso fits task-specific linear coefficients but penalizes each feature’s coefficients together:

‖Φ‖₁,q = Σj=1ⁿ (Στ=1^|𝒯| |Φjτ|^q)^(1/q)

The index j identifies a feature, n is the feature count, and Φjτ is its coefficient for task τ. The inner expression measures the combined size of that feature’s coefficients across tasks. The outer sum combines these feature groups.

The authors set q to 2. Minimizing the penalty encourages some entire feature groups to disappear. Tasks therefore tend to retain a common feature inventory, although their retained coefficients can differ.

The paper also tests Dirty Models and Multi Level Lasso, which allow a less restrictive separation between common and task-specific structure. Those alternatives match or underperform Group Lasso in the authors’ experiments. The paper does not present them as a general failure of more flexible sharing.

Share latent structure through factorization

Collective Matrix Factorization, or CMF, organizes the observations as a task-by-language-pair matrix:

Y ≈ T Lᵀ

Y contains observed task scores. T is a matrix of task factors, while L contains factors for pivot-target configurations. Their shared latent dimension determines the size of the compact representation. The superscript ᵀ indicates matrix transposition.

This resembles a recommendation problem: tasks occupy the role of users, and language configurations occupy the role of items. A score can be estimated from the compatibility of its task and language-pair representations.

The method also factorizes the feature matrix:

X ≈ L Fᵀ

X contains the explanatory features for language configurations, and F connects those features with the latent representation. Crucially, L appears in both decompositions. Language-pair factors must therefore account for observed scores and descriptive features together.

This side information helps connect incomplete performance records with measurable language properties. The paper uses separate regularization for the relevant factors and does not use the Group Lasso penalty in this approach.

Share relationships through a Gaussian process

A Gaussian process represents a distribution over possible prediction functions. For a task τ, the prior is written as:

f ∼ N(μτ, Kτ)

The symbol N denotes a Gaussian distribution. μτ is the mean, and Kτ is the covariance matrix connecting observations according to their feature similarity.

The observation assumption adds task-specific noise:

y | f(xₚ,ₜ) ∼ N(f(xₚ,ₜ), στ²)

The observed score y is centered on the function value f at the relevant language configuration. The quantity στ² represents noise variance for task τ.

In DGPR, a neural mapping transforms the explanatory features before the kernel compares them:

kτ(xₚ,ₜ, xₚ′,ₜ′) = kτ(g(xₚ,ₜ), g(xₚ′,ₜ′))

The function g is the learned nonlinear transformation. The kernel kτ measures similarity between transformed inputs. Primed symbols identify another language configuration. In this implementation, the “deep” component supplies learned features to the kernel.

MDGPR extends this structure by incorporating learned task similarity:

km([xₚ,ₜ, τ], [xₚ′,ₜ′, τ′]) = k(g(xₚ,ₜ), g(xₚ′,ₜ′)) × ktask(τ, τ′)

The function km is the multitask kernel. Its input-related component k measures similarity between transformed configurations. The factor k_task describes similarity between tasks τ and τ′. The task covariance matrix is constrained to be positive semidefinite, making it suitable for the covariance construction.

This method can borrow more strongly between tasks whose observed patterns support a relationship. The neural mapping supplies shared parameters, while the task covariance captures task-specific relationships.

Include a meta-learning alternative

The final joint-learning comparison uses Model-Agnostic Meta-Learning, or MAML. Its shared object is an initialization for a neural predictor. Helper tasks train that initialization, after which observations from the main task adapt it through gradient descent.

This differs from simply fitting one predictor to pooled data. The initialization is intended to support rapid adaptation. In the authors’ experiments, however, that approach does not deliver the strongest prediction accuracy. Its inclusion broadens the comparison and shows that sharing information is not sufficient by itself; the form of sharing matters.

Experiments and results

Task coverage and implementation settings

The experiments use mBERT’s bert-base-multilingual-cased configuration and XLM-R’s xlm-roberta-large configuration. Performance predictors are fitted separately for these underlying systems. All evaluated tasks use English training data for task-specific adaptation.

The classification group contains XNLI, PAWS-X, and XCOPA. Structural prediction uses UDPOS and WikiANN. The latter supplies the named-entity recognition task, while UDPOS evaluates part-of-speech tagging.

The question-answering group contains XQUAD, MLQA, and TyDiQA. Retrieval is represented by Tatoeba, Mewsli-X, and LAReQA. These categories matter because the paper later compares feature patterns across tasks with related output requirements.

Language coverage varies substantially. MLQA and PAWS have 7 targets each; XCOPA has 8, and TyDiQA has 9. XQUAD, LAReQA, and MewsliX each have 10. The broader-coverage tasks include XNLI with 14, WikiANN with 32, Tatoeba with 35, and UDPOS with 48.

The authors specify key fitting choices. XGBoost uses 100 estimators and maximum depth 10. Group Lasso uses regularization strength 0.01 through MuTaR. CMF uses alternating least squares, 5 latent factors, and regularization 0.1 through a collective-factorization implementation.

For MDGPR, the kernel is radial basis function. Its feature mapping has 50 and 10 units in successive layers, with ReLU activation. Training uses learning rate 0.01 and 200 epochs, implemented through GPyTorch. These settings describe the tested comparison; they do not establish that each method received an equally extensive search over configurations.

Leave-one-language-out evaluation

LOLO withholds every main-task observation for a target language, fits on the remaining targets, and evaluates prediction error for the withheld one. Repeating this process across targets produces a task-level mean absolute error, or MAE. MAE measures the typical absolute discrepancy between a predicted score and its observed counterpart.

For multitask methods, the other tasks remain available as helpers, including their observations for the withheld language. This is a deliberate part of the experiment. A language is unseen for the main task, but it need not be unseen across the complete prediction dataset.

The first chart shows aggregate XLM-R results. The unit is prediction error after the paper’s scaling by 100, rather than the underlying tasks’ own accuracy or retrieval measures.

XLM-R, average LOLO prediction error across tasks

MDGPR gives the lowest aggregate prediction error among the compared methods.

XLM-R, average LOLO prediction error across tasksAverage within task: 6.89Average within task6.89Average across tasks: 5.98Average across tasks5.98Lasso: 5.51Lasso5.51XGBoost: 6.12XGBoost6.12DGPR: 5.91DGPR5.91Group Lasso: 5.21Group Lasso5.21CMF: 5.44CMF5.44MDGPR (this paper): 4.98MDGPR (this paper)4.98MAML: 7.76MAML7.76
The numbers
System or settingMAE scaled by 100
Average within task6.89
Average across tasks5.98
Lasso5.51
XGBoost6.12
DGPR5.91
Group Lasso5.21
CMF5.44
MDGPR (this paper)4.98
MAML7.76

These results support the paper’s central claim at the aggregate level. The authors characterize MDGPR’s advantage over the strongest single-task aggregate method as about 10%. They do not claim that every joint-learning approach beats every independent approach: MAML’s aggregate error is worse than the simpler comparisons.

The second chart restricts the average to tasks with at most 10 target languages. This is where the small-data motivation should matter most.

XLM-R, LOLO prediction error for tasks with at most 10 targets

MDGPR remains strongest when evaluation coverage is limited.

XLM-R, LOLO prediction error for tasks with at most 10 targetsAverage within task: 5.53Average within task5.53Average across tasks: 5.11Average across tasks5.11Lasso: 5.03Lasso5.03XGBoost: 6.18XGBoost6.18DGPR: 5.34DGPR5.34Group Lasso: 4.38Group Lasso4.38CMF: 4.62CMF4.62MDGPR (this paper): 4.02MDGPR (this paper)4.02MAML: 6.73MAML6.73
The numbers
System or settingMAE scaled by 100
Average within task5.53
Average across tasks5.11
Lasso5.03
XGBoost6.18
DGPR5.34
Group Lasso4.38
CMF4.62
MDGPR (this paper)4.02
MAML6.73

The authors describe the improvement in this restricted comparison as about 20%. The result is consistent with shared evidence being particularly helpful when an individual task offers few observations. It remains an average over heterogeneous tasks rather than a guarantee for each one.

The aggregate ranking changes slightly for mBERT:

mBERT, average LOLO prediction error across tasks

CMF gives the strongest aggregate result, with MDGPR close behind.

mBERT, average LOLO prediction error across tasksAverage within task: 8.69Average within task8.69Average across tasks: 6.57Average across tasks6.57Lasso: 5.55Lasso5.55XGBoost: 6.86XGBoost6.86DGPR: 6.10DGPR6.10Group Lasso: 5.45Group Lasso5.45CMF (this paper): 5.08CMF (this paper)5.08MDGPR: 5.12MDGPR5.12MAML: 8.14MAML8.14
The numbers
System or settingMAE scaled by 100
Average within task8.69
Average across tasks6.57
Lasso5.55
XGBoost6.86
DGPR6.10
Group Lasso5.45
CMF (this paper)5.08
MDGPR5.12
MAML8.14

For mBERT’s limited-coverage subset, CMF reports 4.18 and MDGPR reports 4.53, while Lasso reports 4.99. The broader pattern persists, but no single sharing mechanism dominates both underlying systems in every aggregate comparison.

Task-level results qualify the headline

Individual tasks show why the aggregate should not be read as universal superiority. For XLM-R on MewsliX, MDGPR’s MAE is 10.07, while Lasso’s is 15.70. The authors describe the improvement over the best single-task alternative as about 36%. This is a substantial example supporting the joint-learning argument.

Other tasks favor different methods. XLM-R PAWS has a Lasso error of 0.8, while Group Lasso reports 1.32 and MDGPR reports 2.71. On XNLI, XGBoost reports 1.53, whereas MDGPR reports 3.54. Sharing can therefore help the overall collection while harming particular tasks.

LAReQA provides an especially useful warning about baselines. For XLM-R, the across-task average reports 1.51. Group Lasso reports 1.52, and Lasso reports 1.53. The simplest auxiliary-information baseline is strongest in that comparison. This makes it difficult to attribute every success to sophisticated task relationship learning.

The mBERT task results also vary. On MLQA, MDGPR reports 2.42 against Lasso’s 6.39. On UDPOS, DGPR reports 6.18, while CMF reports 6.58 and Group Lasso reports 8.94. The evidence favors joint learning as an effective strategy for this collection, with method choice remaining consequential.

Leaving less-resourced languages out

LLRO creates a deliberate resource mismatch. The authors use the taxonomy from The State and Fate of Linguistic Diversity and Inclusion in the NLP World. Languages in classes 4 and 5 provide main-task training observations; languages in class 3 or below become targets for prediction.

Helper tasks again retain their language coverage. Therefore, the experiment asks whether those helpers improve estimates for less-resourced languages when the main task is measured only in better-resourced ones. It does not remove all low-resource-language information from the joint estimator.

The authors report that Group Lasso, CMF, and MDGPR outperform the independent methods and averaging comparisons in this setting for both underlying systems. For XLM-R, Lasso and XGBoost even perform worse than averaging within the task. Their fitted relationships fail to generalize as effectively as the task’s simple central estimate.

The paper reports roughly 18% lower MAE for Group Lasso than the strongest single-task method on XLM-R, and approximately 11% on mBERT. These findings directly support the importance of evaluating resource imbalance instead of relying only on ordinary leave-one-language-out averages.

What the ablations show

More helper tasks generally improve prediction

The paper’s controlled analyses include varying helper-task availability. Figure 2 presents this comparison for XLM-R, with an appendix counterpart for mBERT. Errors are normalized by their maximum values to compare trends across methods and tasks.

The authors observe that errors generally decline as more helpers become available, particularly for CMF and MDGPR. This is consistent with the proposed mechanism: auxiliary observations constrain relationships that would be difficult to estimate from the main task alone.

The analysis is not equivalent to proving that any additional task will help. Helper identity, target-language coverage, and task relatedness can all matter. Nonetheless, varying auxiliary support gives a more direct test of the sharing hypothesis than comparing only the final aggregate results.

The paper also examines whether a target’s presence in more tasks accompanies lower error. It reports a Pearson correlation of −0.39, while noting that the pattern is less clear. This supports a qualified interpretation: broader auxiliary coverage can help, but coverage alone does not determine predictability.

Shared selection produces a more consistent feature pattern

The feature analysis uses SHAP values to describe how inputs contribute to predictions. A larger mean value indicates a stronger predictive contribution in the reported analysis. It does not independently establish a beneficial direction or a causal mechanism.

For XLM-R Group Lasso, rare typological traits, tokenizer fertility, and genetic similarity are excluded across tasks. The remaining features receive different levels of importance depending on the task. This is the expected grouped sparsity pattern: common membership, variable contribution.

Independent Lasso produces more inconsistent feature selections. The authors highlight the contrast between related retrieval tasks: MewsliX gives vocabulary overlap substantial importance, while LAReQA gives it almost none. They interpret the joint result as more robust because both tasks concern cross-language alignment.

That interpretation is plausible but must be read alongside the regularizer. Group Lasso is explicitly designed to encourage common selection. Some consistency is therefore built into the method, rather than discovered without constraint. Better prediction provides supporting evidence, but common selection is not by itself proof that the selected explanation is correct.

Tokenizer effects align with output requirements

PCW is comparatively important for XLM-R’s structural and extractive tasks. These tasks must assign labels to input words or identify answer spans, making segmentation a plausible source of difficulty. The pattern differs from retrieval and sentence classification, where vocabulary overlap receives more attention in the authors’ discussion.

The appendix compares mBERT and XLM-R tokenizers. Chinese and Japanese stand out as having much higher fragmentation measurements for XLM-R. The authors also describe unusually weaker XLM-R structural results for these languages, including an absolute drop of up to 20%.

This is a diagnostic comparison, not a tokenizer replacement experiment. The paper does not hold the rest of the system fixed while changing segmentation. It consequently supports tokenizer quality as a useful predictor and a plausible explanation, while leaving the intervention claim unresolved.

For mBERT, fertility receives greater importance than PCW. This difference matters: even closely related measurements do not contribute identically across underlying systems. The paper’s broader message is to measure representation quality, rather than to declare one tokenizer statistic universally sufficient.

Resource size and relatedness remain task-dependent

The analysis associates pretraining size more strongly with several higher-level tasks than with UDPOS or NER. The authors extend earlier observations to XCOPA, Tatoeba, MLQA, and LAReQA. They contrast this with independent Lasso’s less consistent treatment of pretraining resources.

Geographic distance receives strong importance across tasks. The authors offer alternative explanations: it may capture contact and shared regional properties, or it may benefit from more complete measurement. URIEL’s geographic vectors have 100% coverage, whereas syntactic and phonological descriptions contain substantial missingness.

Genetic similarity is not retained by XLM-R Group Lasso. The authors suggest that its useful information may already be represented by other relatedness features. This is a redundancy interpretation, not evidence that language ancestry has no relationship to transfer.

The paper does not present a comprehensive feature-removal ablation establishing each feature’s unique contribution under every predictor. Its evidence combines predictive comparisons, SHAP analyses, helper-task variation, and tokenizer diagnostics. Those analyses answer related questions, but they should not be treated as interchangeable causal tests.

Limitations

Limits explicitly acknowledged by the authors

The authors state that predictions become less dependable when a new language’s features differ substantially from those available during fitting. Omitting language identity permits prediction for unfamiliar languages, but does not solve the statistical problem of extrapolation. A predictor still needs relevant evidence connecting its inputs to likely scores.

The main experimental setup also has a narrow pivot configuration. English supplies task-specific training for the evaluated datasets. The paper identifies multiple pivots and few-shot target-language settings as future directions. Its results therefore do not establish which pivot should be chosen among many candidates or how much target-language supervision would change the estimates.

The tokenizer interpretation remains cautious. The authors connect fragmentation measurements with weak structural transfer and propose that tokenizer quality may help explain the pattern. They do not demonstrate that replacing the tokenizer would yield the expected gains. Their recommendation to improve multilingual tokenizers is motivated by the analysis rather than directly validated through such a replacement.

The geographic finding also receives explicit qualification. The authors recognize that geographic descriptions are more complete and less noisy than some alternative typological features. They also suggest that geography could capture shared linguistic properties arising from contact. The experiments do not separate these explanations.

Finally, the paper calls for further probing of vocabulary overlap in retrieval. Its predictive usefulness does not resolve the disagreement among earlier studies about the role overlap plays in cross-language generalization. The task setting and the way overlap is manipulated or measured remain important.

Limits visible in the evaluation design

A careful reader should distinguish missing task evidence from missing language evidence. In LOLO, the target disappears from the main task but may remain visible through helpers. In LLRO, lower-resource languages disappear from main-task fitting but may still contribute helper scores.

This is a meaningful deployment situation: an organization may have standard evaluations for a language while lacking a new task’s evaluation. It is nonetheless a more informed situation than predicting a language with no measured results anywhere. The reported gains should not be assumed to survive unchanged when the helper coverage is removed.

The dataset collection also limits the scope of the aggregate findings. Its tasks cover several categories, yet the number of languages differs greatly between them. A reported average over tasks summarizes that collection; it does not describe every language equally or establish a universal multilingual performance law.

Score prediction also differs from error analysis at the example level. A language-level task score can identify broad weakness while concealing which constructions, entities, or question types fail. The paper’s estimator does not by itself supply an explanation for an individual incorrect answer.

The across-task averaging baseline raises a related issue. Different tasks assess different abilities using their own score definitions. A numerical average across them can be empirically useful, as the results show, but its interpretation depends on how comparable those values are. Strong performance by that baseline demonstrates available cross-task signal without proving that the tasks measure one common capability.

Limits of the explanatory claims

Feature importance belongs to a fitted predictor and its available feature set. If geographic distance summarizes information also present in vocabulary or syntax, its importance need not correspond to an independent mechanism. Conversely, a feature excluded by regularization may be redundant rather than irrelevant.

Shared sparsity adds another qualification. The method encourages tasks to retain the same features, so its coherent selections partly reflect its design. The appropriate claim is that this inductive assumption works well in the reported comparisons and produces interpretable patterns. It would be stronger than the evidence to say that it discovers the definitive feature inventory governing multilingual transfer.

The main result tables report point estimates of prediction error. They do not attach uncertainty intervals to those aggregate comparisons. A reader can assess the reported ranking and task variation, but should not infer an unreported level of statistical certainty.

Likewise, Gaussian-process machinery can represent predictive uncertainty, but the paper’s central comparison evaluates MAE. It does not establish that uncertainty estimates from the joint method are calibrated for deployment. Better average predictions and trustworthy confidence estimates are separate achievements.

The resource recommendations should therefore be treated as research directions. Geographic pivots and improved segmentation are plausible priorities given the observed associations. Choosing an intervention still requires evaluating its effects under controlled conditions, especially where resource availability, linguistic similarity, and preprocessing quality change together.

What came after

The later citation record connects the paper to several strands of multilingual research. It establishes that the listed works cite Ahuja and colleagues. It does not, on its own, establish that they implement Group Lasso, reuse the performance features, or reproduce the joint-learning results. The distinction matters because citation can reflect background, motivation, comparison, or direct methodological reuse.

Language Models are Multilingual Chain-of-Thought Reasoners concerns multilingual reasoning expressed through intermediate reasoning steps. Its citation places the performance-prediction paper within a broader discussion of uneven multilingual abilities. The available citation information does not identify which predictor, feature, or experimental conclusion it adopted, so a direct extension of the multitask method cannot be asserted.

mGPT: Few-Shot Learners Go Multilingual addresses multilingual few-shot learning. This is adjacent to a setting Ahuja and colleagues explicitly leave for future exploration. However, that connection is thematic: the citation record does not show that mGPT extends their regression setup into few-shot prediction or validates their proposed feature relationships.

MasakhaNER 2.0: Africa-centric Transfer Learning for Named Entity Recognition focuses on transfer for named entities in an Africa-centered setting. Named-entity recognition and unequal language resources are directly relevant to the earlier paper’s motivation. The later work’s listed title and citation do not establish whether it uses joint performance prediction to select transfer languages or instead cites the paper as context.

Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Models moves the subject towards internal components associated with particular languages. This offers a different level of analysis from estimating task scores through external features. Nothing in the available citation description establishes that its internal analysis confirms, replaces, or operationalizes the earlier paper’s tokenizer and relatedness findings.

SynthLLM: An LLM-based Scalable Synthetic Data Generation Pipeline for Low-Resource Languages concerns generating synthetic material for languages with limited resources. Data creation could address the scarcity that motivates performance estimation, but the citation record does not show that the pipeline uses Ahuja and colleagues’ predictors to choose languages, allocate generation effort, or evaluate gains. Those would be possible connections requiring further evidence.

Modality Matching Matters: Calibrating Language Distances for Cross-Lingual Transfer in URIEL+ has the clearest topical connection to the relatedness features: its title identifies language-distance calibration for transfer. Ahuja and colleagues already show why distance measurements deserve scrutiny, especially when coverage differs across feature families. The later citation information does not supply results demonstrating how the calibration changes their findings, so no such revision can be claimed.

Together, these citations show continued relevance across multilingual reasoning, few-shot learning, entity recognition, internal analysis, synthetic data, and language-distance measurement. What remains specifically established by Ahuja and colleagues is narrower and concrete: under their helper-task access conditions, sharing performance evidence across tasks often improves estimates of missing multilingual scores, with particularly useful gains when main-task evaluation coverage is limited.

Cite

Cite as Kabir Ahuja, Shanu Kumar, Sandipan Dandapat and Monojit Choudhury. 2022. Multi Task Learning For Zero Shot Performance Prediction of Multilingual Models. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.acl-long.374

@inproceedings{ahuja2022multi,
  title = {{Multi Task Learning For Zero Shot Performance Prediction of Multilingual Models}},
  author = {Kabir Ahuja, Shanu Kumar, Sandipan Dandapat and Monojit Choudhury},
  booktitle = {Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.374},
  url = {https://doi.org/10.18653/v1/2022.acl-long.374}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ahuja-2022-multi-task-learning-zero-shot/