Published in Transactions on Machine Learning Research (11/2025)
COMPASS: COntinual Multilingual PEFT with Adaptive Semantic Sampling Noah Flynn
UC Berkeley
arXiv:2604.20720v1 [cs.LG] 22 Apr 2026
Reviewed on OpenReview: https: // openreview. net/ forum? id= oapsbIO1Bd
Abstract Large language models (LLMs) often exhibit performance disparities across languages, with naive multilingual fine-tuning frequently degrading performance due to negative cross-lingual interference. To address this, we introduce COMPASS (COntinual Multilingual PEFT with Adaptive Semantic Sampling), a novel data-centric framework for adapting LLMs to target languages. COMPASS leverages parameter-efficient fine-tuning (PEFT) by training lightweight, language-specific adapters on a judiciously selected subset of auxiliary multilingual data. The core of our method is a distribution-aware sampling strategy that uses multilingual embeddings and clustering to identify semantic gaps between existing training data and a target usage distribution. By prioritizing auxiliary data from under-represented semantic clusters, COMPASS maximizes positive cross-lingual transfer while minimizing interference. We extend this into a continual learning framework, COMPASS-ECDA, which monitors for data distribution shifts in production and dynamically updates adapters to prevent model staleness, balancing adaptation to new data with the preservation of existing knowledge. Across three different model architectures (Phi-4-Mini, Llama-3.1-8B, and Qwen2.5-7B) and multiple challenging multilingual benchmarks (Global-MMLU, MMLUProX), including unseen long-context tasks (OneRuler), we demonstrate that COMPASS consistently outperforms baseline methods guided by linguistic similarity, providing an effective, efficient, and sustainable solution for developing and maintaining high-performing multilingual models in dynamic environments.
1
Introduction
Large language models (LLMs) demonstrate remarkable capabilities across diverse natural language tasks, but extending these to multiple languages, especially low-resource languages (LRLs), remains challenging. State-of-the-art LLMs overfit to English, exhibiting noticeable biases (e.g., gender, race, caste, religion) and unusual behaviors with less-represented languages not seen during training (Khandelwal et al., 2023; Kotek et al., 2023; Vashishtha et al., 2023; Khondaker et al., 2023). Closed datasets monopolize LRLs (Longpre et al., 2024), while open datasets and NLP breakthroughs consolidate around a few data-rich languages (Lucy et al., 2024; Zhang et al., 2022). The scarcity of openly available, high-quality, human-generated nonEnglish data widens the gap for under-represented languages (Longpre et al., 2024; Lucy et al., 2024; Zhang et al., 2022; Sun et al., 2023; Zampieri et al., 2017). This data scarcity contributes to broader systemic issues in multilingual NLP, including cross-lingual security vulnerabilities (Yong et al., 2024; Deng et al., 2024), tokenization inefficiencies for non-Latin scripts (Cui et al., 2024; Ji et al., 2023), privacy risks (Lukas et al., 2023; Li et al., 2024), and cultural mismatches (e.g., overemphasizing Western-centric concepts) or translation artifacts that arise when machine-translating English datasets (Vanmassenhove et al., 2021; Bizzoni et al., 2020; Chen et al., 2025). While these challenges exacerbate inequities in global AI deployment, they are diverse and multifaceted problems requiring distinct solutions. This work focuses on a specific but fundamental challenge underlying poor LRL performance: distributional mismatch between training data and real-world usage patterns. 1
Published in Transactions on Machine Learning Research (11/2025)
Fine-tuning on multilingual corpora for language adaptation offers a path to reducing linguistic inequality, but naive inclusion of data across multiple languages often degrades performance on the target language (Wang et al., 2020b). This negative interference stems from distributional misalignment: multilingual model training data often differs from real-world usage patterns (i.e., live production interactions) due to sampling biases, topical variations, or imbalanced language contributions. When training data over-exposes models to irrelevant patterns and under-exposes them to crucial ones for the target language, the model learns suboptimal representations. While linguistic differences (syntax, vocabulary, semantics) and cultural factors (translational ambiguity, localization nuances) contribute to cross-lingual interference, the fundamental issue that COMPASS targets is that languages "compete" for model capacity when their training distributions do not align with their respective usage distributions. Consequently, monolingual models often outperform massively multilingual models on language-specific tasks (Mistral, 2025; Pires et al., 2023; Cañete et al., 2023; Sarti & Nissim, 2022; Martin et al., 2019; Chan et al., 2020; Lee et al., 2021; Nguyen & Nguyen, 2020). A straightforward alternative is tuning individual models for each language using only monolingual data. However, this one-model-per-language approach incurs large memory overhead, and diverse, human-curated task data is scarce for many languages, especially those lacking sufficient native or fluent speaker involvement in data creation. Discarding all non-target language data avoids interference but sacrifices the benefits of cross-lingual transfer, where related language data can yield synergistic improvements. A key research question emerges: can we selectively incorporate cross-lingual data to achieve positive transfer for a target language while avoiding harmful interference? We posit the answer is yes – if additional data are strategically chosen based on distributional similarity to the target language’s requirements. In practice, multilingual model training data often differs distributionally from real-world usage data (i.e., live production interactions) due to sampling biases, topical variations, or imbalanced language contributions. This mismatch can over-expose models to irrelevant patterns and under-expose them to crucial ones for the target language. Addressing this distributional mismatch is crucial for effective cross-lingual transfer and can be achieved while still incorporating cross-lingual data for positive transfer. We introduce COntinual Multilingual PEFT with Adaptive Semantic Sampling (COMPASS), a novel data sampling strategy to adapt pre-trained language models to specific target languages. COMPASS does not directly tackle tokenization inefficiencies, safety vulnerabilities, or inherent linguistic structure differences – these remain important open problems. Instead, COMPASS operates on the principle that better coverage of the target distribution, achieved through semantically-guided auxiliary data selection, can improve model performance by reducing task-irrelevant noise and ensuring exposure to under-represented usage patterns. This improved distributional alignment may indirectly reduce some symptoms of linguistic interference (e.g., by filtering irrelevant cross-lingual examples), but the method is fundamentally task-distribution-driven rather than linguistically-informed. Recognizing that language use and data distributions are dynamic in real-world settings (e.g., new jargon, shifting user preferences or user pools, seasonality), COMPASS is designed both for effective initial adaptation and subsequent continual learning. We use parameter-efficient fine-tuning with weight-decomposed low-rank adaptation (DoRA) (Liu et al., 2024), enabling a single shared base model with lightweight, languagespecific adjustments. This facilitates multi-adapter deployment without training a full model per language. Our core idea is to fine-tune a DoRA adapter for each target language using a judiciously selected subset of multilingual data. This selection is guided by analyzing the target language’s expected "live" usage distribution, approximated using a proxy development set with simulated biases. In production, an initial language adapter may perform well initially, but its performance can degrade over time as incoming queries diverge from the offline training distribution. This is particularly relevant when bootstrapping models for LRLs in production, where initial user data for emerging markets is scarce, and model deployment is expected to generate more informative data for improvement. We propose a continual learning extension that periodically updates adapters with fresh data to match distribution shifts observed in incoming user requests. We simulate distribution shift scenarios (e.g., a sudden influx of queries on a new, challenging topic) and demonstrate that our adaptive retraining procedure recovers performance on new data while preserving it on original data. This transforms COMPASS from a one-time fine-tuning technique
2
Published in Transactions on Machine Learning Research (11/2025)
into a sustainable, long-term solution for multilingual model maintenance, fostering continuous improvement through real-world usage. Our contributions are: (1) a novel distribution-aware sampling strategy for multilingual model adaptation, using clustering and embedding-based distribution comparison to guide cross-lingual data selection; (2) application of this strategy to train adapters for multiple languages, achieving strong empirical gains on multilingual, human-generated benchmarks across various architectures with minimal negative transfer; (3) extensive experiments, including studies on language affinity, data budget optimization, cross-task generalization, and component-wise ablations to validate and analyze our approach; (4) an extension of the method to adapt to distribution shifts over time.
2
Related Works
Our work is situated at the confluence of several research directions: mitigating negative cross-lingual transfer, parameter-efficient model adaptation, dynamic data selection, and continual learning. 2.1
Mitigating Negative Cross-Lingual Transfer
A central challenge in building capable multilingual systems is the “curse of multilinguality”. While multilingual models are trained on a vast number of languages, they exhibit degraded performance on specific, especially lower-resource, languages when compared to their monolingual counterparts, underscoring the need for more effective, language-specific adaptation strategies (Xu et al., 2025). This phenomenon arises from an implicit competition among languages for a finite set of shared model parameters, which can lead to destructive interference between linguistic representations and suboptimal performance for any single language (Wang et al., 2020b). A range of strategies has been developed to mitigate interference, including interventions in the optimization process. Methods like Project Conflicting Gradients (PCGrad) (Yu et al., 2020) intervene during training to project gradient updates into a space where they do not conflict between languages. More recently, CONGRAD (Li et al., 2025) operationalizes this principle as a data selection strategy for multilingual preference alignment. It computes an aggregated cross-lingual gradient direction and filters the training data to retain only those samples whose individual gradients show high cosine similarity with this global update vector. This approach is precise, but its reliance on gradient computation makes the selection process computationally intensive. Shifts towards architectural solutions that move away from monolithic, one-size-fits-all models represent more modular or specialized architectures. The Cross-lingual Expert Language Models (X-ELM) framework, for instance, mitigates parameter competition by training multiple, smaller “expert” models, each specialized on a distinct cluster of languages (Blevins et al., 2024). These clusters can be formed using either supervised signals like linguistic typology or unsupervised methods based on TF-IDF text features, partitioning the linguistic load to reduce interference. Another architectural approach, XTransplant, proposes a dynamic, inference-time modification by “transplanting” specific model components, such as the feed-forward network (FFN) layers known to store factual knowledge, from a strong source-language context (e.g., English) to a weaker target-language context (Ye et al., 2025). These architectural solutions validate our premise that specialization is key to overcoming the curse of multilinguality. However, they introduce significant overhead. X-ELM requires training and storing multiple independent models, each of equivalent size to a seed language model, while XTransplant involves an expensive search process at inference time. Our work, COMPASS, embraces the principle of specialization via proactive, distribution-based selection with considerations towards efficiency. By leveraging lightweight, language-specific adapters on a single shared base model, we avoid substantial storage and training costs of full model ensembles. This architectural choice positions COMPASS as a data-centric alternative that is more direct than representation alignment methods, which often rely on parallel corpora (Liu & Niehues, 2025; Zhao et al., 2025), and more efficient than reactive gradient-based filtering. 3
Published in Transactions on Machine Learning Research (11/2025)
2.2
Parameter-Efficient Adaptation for Multilingualism
Parameter-Efficient Fine-Tuning (PEFT) has emerged as the standard methodology for adapting large pretrained models with minimal computational and memory overhead (Aggarwal et al., 2024). Methods like Low-Rank Adaptation (LoRA) can match full fine-tuning performance while updating a fraction of the parameters (Razuvayevskaya et al., 2024). Our work specifically builds upon Weight-Decomposed LowRank Adaptation (DoRA), an evolution of LoRA that decouples the magnitude and direction of weight updates to enable more stable and effective training. The application of PEFT to multilingualism enables efficient language specialization on a shared base model. The MAD-X framework introduced a modular approach with separate, stackable ‘language adapters‘ and ‘task adapters‘, allowing for parameter-efficient transfer to new languages and tasks (Pfeiffer et al., 2020). Similarly, Franken-Adapter proposes ‘embedding surgery’, where customized vocabularies are created for target languages and only the embedding layer is tuned before being integrated with an instruction-tuned base model (Jiang et al., 2025). Mix-of-Language-Experts (MoLE) architecture formalizes this approach for multilingual programming tasks by jointly optimizing a shared LoRA module for common knowledge alongside a collection of programming language-specific LoRA modules (Zong et al., 2025). The success of these modular, parameter-efficient architectures has shifted the research bottleneck from a question of if we can efficiently create language-specific modules to the question of how we should train them for optimal performance. These architectural solutions do not inherently prescribe a strategy for selecting data from a heterogeneous, multilingual pool to train each language adapter. We posit that naively fine-tuning adapters on all available data is suboptimal. Instead, COMPASS provides a distribution-guided method to construct a judiciously selected training subset for any language-specific PEFT module – be it a full adapter in MAD-X or a new embedding layer in Franken-Adapter. By doing so, COMPASS enhances the entire ecosystem of modular multilingual models, maximizing positive cross-lingual transfer while actively minimizing interference. 2.3
Data Selection for Cross-Lingual Fine-Tuning
Data quality over quantity is key to PEFT-based multilingual adaptation (Liu et al., 2025). Data selection strategies range from static, heuristic-based filtering to dynamic, model-in-the-loop frameworks. Our work falls into the latter category, using model-internal signals to guide selection. A foundational line of work uses model training dynamics to score data. Dataset Cartography, for instance, uses the model’s confidence and prediction variability across epochs to map a dataset into regions of "easyto-learn," "hard-to-learn," and "ambiguous" examples (Swayamdipta et al., 2020). This map serves as a diagnostic tool, revealing that ambiguous examples are often crucial for out-of-distribution generalization. Other methods like Variance of Gradients (VoG) and EL2N use gradient variance or error norms during training to identify challenging or easy examples (Agarwal et al., 2022). While powerful, these methods require at least a partial training run to derive their scores, posing a scalability challenge in a multi-adapter setting where one would need to repeat the process for each target language. More advanced frameworks learn a dynamic sampling policy. Differentiable Data Selection (MultiDDS) learns a data sampling policy by optimizing for gradient alignment between sampled training data and a small, trusted validation set (Wang et al., 2020a), while Mixture-of-Skills (MoS) uses reinforcement learning to adjust sampling probabilities across pre-defined datasets (“skills”) based on a set of hand-crafted reward heuristics, such as inter-dataset similarity and learning difficulty (Wu et al., 2024). MultiDDS optimizes for an indirect proxy of generalization (gradient alignment), while MoS optimizes a set of heuristic rewards that may not be robust across all data types. In contrast, COMPASS formulates cross-lingual data selection as a problem of unsupervised domain adaptation, where the goal is to minimize the distributional mismatch between the training data and a target usage distribution. This aligns our work with prior methods that use embedding-based clustering for distribution matching, but COMPASS’s novelty lies in its specific focus on identifying and filling under-represented semantic clusters to guide cross-lingual transfer. It discovers latent topics via unsupervised clustering rather than requiring pre-defined datasets (unlike MoS), and it uses the magnitude of the distributional gap itself as 4
Published in Transactions on Machine Learning Research (11/2025)
the primary, non-heuristic signal for selection (unlike MultiDDS or CONGRAD). Furthermore, COMPASS unifies the goals of selecting for both similarity and diversity. By prioritizing under-represented clusters, it inherently seeks semantic diversity; by prioritizing prototypical examples within those clusters, it ensures topical similarity and relevance. As data coverage increases, it gradually introduces more ambiguous examples to enhance learning (Sorscher et al., 2023). 2.4
Continual Learning for Adapting to Distribution Shifts
A one-time adaptation is insufficient for real-world deployment, where data distributions evolve over time due to new topics, shifting user needs, or seasonality. Models must adapt to new data without suffering from “catastrophic forgetting”, which entails degradation of performance on previously learned knowledge. Rehearsal-based methods, which replay a small buffer of past data, and regularization-based methods like Elastic Weight Consolidation (EWC), penalize changes to parameters deemed important for past tasks. Recent work has also explored more advanced signals, such as leveraging model uncertainty to guide data balancing, as seen in MultiUAT for machine translation (Wu et al., 2021), or employing causal frameworks to improve robustness (Wang & Huang, 2025). A significant portion of continual PEFT research focuses on task-incremental learning, where a model learns a sequence of distinct tasks. Architectural methods, such as those that train separate PEFT modules for each task and compose them with a router (Araujo et al., 2024), are designed for this. While powerful, their core mechanisms (e.g., task-specific routing or parameter subspaces) are suitable to task-incremental learning and are not applicable to our problem. COMPASS tackles domain-incremental learning, where the task remains constant (e.g., instruction-following for a specific language), but the underlying data distribution shifts. Other architectural innovations like CURLoRA (Fawi, 2024), which grounds the adapter update in the original pre-trained weights via CUR decomposition, are less suited for continual adaptation where preserving knowledge from the immediately preceding state is more critical than preserving knowledge from the initial pre-trained state.
3
Distribution-Guided Sampling for Multilingual Adaptation
Our approach focuses on selecting relevant cross-lingual data that mirrors the target language’s usage patterns, enriching the target language’s training data with this auxiliary data. The core insight of our approach is that negative cross-lingual transfer occurs because the distribution of source language data differs from the target language’s usage distribution. We address this by selectively sampling auxiliary language data that aligns with the target language’s distribution gaps. 3.1
Problem Definition
We address the task of adapting a pre-trained multilingual language model to a specific target language such that its performance on that language is maximized, leveraging auxiliary data from other languages. Formally, assume we have a base model Mbase (with parameters Θ) pretrained on many languages. We t define a target language ℓt for which we have a set of fine-tuning data Dt = {(xi , yi )}N i=1 and evaluation data (eval) (eval) Mt Et = {(xj , yj )}j=1 which represents the model’s intended S usage or test distribution in language ℓt . Additionally, we have a pool of auxiliary training data Daux = ℓ̸=ℓt Dℓ comprising data from a set of other languages (and possibly including more data from ℓt itself beyond Dt ). Our goal is to use Dt and a suitable subset of Daux to fine-tune the model such that performance on Et is maximized. Through a PEFT-based approach, we train a small set of additional parameters ϕt (the adapter for language ℓt ) while keeping Θ fixed, thus Madapted (·; Θ, ϕt ) is the adapted model for language ℓt . The distribution of Dt (what the model sees during fine-tuning for ℓt ) may differ from the distribution of Et (what the model is evaluated on). In many cases, Dt might be relatively small or collected in a certain manner, whereas Et (or actual user inputs in ℓt ) might cover a broader or different variety of content. We denote by Ptrain (z|ℓt ) the distribution over inputs z in the fine-tuning data for ℓt , and by Peval (z|ℓt ) the distribution over inputs in the evaluation set (or actual use) for ℓt . Our approach assumes we can use Et (eval) (eval) as a proxy for the latter (even if yj labels are not used in training, the xj give an idea of what 5
Published in Transactions on Machine Learning Research (11/2025)
content is important). The challenge is then that Ptrain (z|ℓt ) may not adequately cover regions of Peval (z|ℓt ). Conversely, the auxiliary data pool Daux (aggregated from many languages) is typically much larger and more diverse; it likely covers Et ’s domains, but indiscriminately adding all of Daux to training could introduce irrelevant regions that are not in Peval (z|ℓt ), thereby causing negative transfer. We need to find a subset S ⊆ Daux such that training on Dt ∪ S best approximates training on data drawn from Peval (z|ℓt ). 3.1.1
Distribution Mismatch
We quantify distribution mismatch by dividing the input space into regions and comparing the density of target data vs. auxiliary data in those regions. Let Z denote the space of input examples (e.g., the space of all possible text prompts). We assume the existence of a feature mapping f : Z → Rd that produces a meaningful vector representation (embedding) of an input. Ideally, in this feature space, texts with similar semantic content will be close together regardless of language. We do not require f to be perfectly languageagnostic, but it should cluster data by topic/task more strongly than by language. In practice, f will be a pretrained multilingual encoder that is not fine-tuned on our task labels, so f captures general semantic information. Given this representation, we cluster the combined set of embeddings of Dt ∪ Daux ∪ Et . Let {C1 , C2 , . . . , CK } be K clusters in the embedding space. These clusters represent regions of semantically related content. For each cluster Ck , define: • nkt = |{xi ∈ Dt : f (xi ) ∈ Ck }|, the number of target-language training examples in cluster k. • nkaux = |{x ∈ Daux : f (x) ∈ Ck }|, the number of auxiliary examples in cluster k. (eval)
(eval)
• nkeval = |{xj ∈ Et : f (xj true usage in that cluster).
) ∈ Ck }|, the number of eval examples in cluster k (our proxy for nk
nk
We then approximate the cluster-level distributions: Ptrain (Ck |ℓt ) ≈ P t nk′ , and Peval (Ck |ℓt ) ≈ P eval ′ . nk k′
t
k′
eval
eval (Ck |ℓt ) We measure mismatch in cluster k as the ratio of these: ρk = PPtrain (Ck |ℓt ) . If ρk > 1, cluster k is underrepresented in the training data relative to what the eval distribution would suggest (i.e., there’s a “hole” in training coverage). If ρk < 1, the training set has relatively more data in Ck than the eval distribution does (possibly we are over-emphasizing that region). Our aim is to adjust the training distribution by adding samples from Daux to better match Peval . Specifically, we want to sample more heavily from clusters with ρk > 1.
We formalize the selection problem as finding a sampling distribution Q over Daux (plus using all of Dt by default) such that for each cluster Ck , the effective training probability Ptrain+aux (Ck |ℓt ) moves closer to Peval (Ck |ℓt ). However, we also must respect a limit on how much auxiliary data we add (for efficiency and to avoid swamping the target data). Let B denote a budget factor (e.g., B = 1.0 means we will add an amount of auxiliary data P equal to |Dt |, B = 2.0 means double the target data size in auxiliary examples, etc.). We then require x∈Daux Q(x) = B · |Dt |. Our strategy will construct Q in two stages: first allocate weights to clusters, then within each cluster allocate to individual examples. 3.2
Initial Adaptation Phase
Illustrated in figure 1, COMPASS includes the following process: (1) obtain a semantically meaningful, multilingual embedding-based representation of all data, (2) estimate distributional mismatches between the target language’s training data and usage data (approximating the usage distribution with held-out data as an initial proxy), (3) compensate for this mismatch by ranking clusters according to the degree of mismatch, (4) weigh remaining instances with importance scores based on literature precedence, targeting prototypical or “easy” examples when there is high mismatch and targeting more “ambiguous” examples as mismatch decreases while accounting for diversity by discounting highly similar auxiliary pairs, (5) use the clusterlevel and instance-level weights to augment target language training data with auxiliary language data, (6) fine-tune language-specific adapters for a shared based model, (7) route incoming queries to the appropriate adapter with a language detection model at inference-time. Algorithm 1 provides a formal summary of the core COMPASS sampling procedure. 6
Published in Transactions on Machine Learning Research (11/2025)
Figure 1: An overview of COMPASS for multilingual adaptation. (Top left) Data, including target language training data, a proxy for live usage data, and an auxiliary multilingual data pool, are converted into semantic representations by a multilingual embedding model. (Top right) We cluster the data into semantic groups, which are used to compute cluster-level and instance-level importance weights that guide the stochastic sampling of auxiliary data to address distributional gaps. (Bottom) Lightweight, language-specific adapters are fine-tuned and deployed, with an identification model routing incoming queries. The COMPASS-ECDA extension provides a continual learning loop that monitors for distribution shifts, triggering data re-sampling and adapter updates to maintain performance.
7
Published in Transactions on Machine Learning Research (11/2025)
3.2.1
Embedding and Clustering
We use a pretrained multilingual embedding model f (·) to encode each candidate training example (both in Dt and Daux ) and each evaluation example in Et . We then run a clustering algorithm on these embeddings; we explore several: K-means clustering, hierarchical agglomerative clustering, Taylor-Butina clustering, and HDBScan. The result is K clusters {Ck }K k=1 , where each cluster can be thought of as a topic or latent facet of the data (for example, one cluster might group legal/philosophical questions, etc., often with a mix of languages present). 3.2.2
Cluster-level Weighting
Once clusters are formed, we calculate the target-vs-eval mismatch for each cluster k. Since we always include the target’s own data Dt in training, the simplest way to compensate a deficit in cluster k is to include more auxiliary examples from that cluster. We assign a cluster weight wk for sampling proportional to the mismatch ratio ρk (or some monotonic function of it). In practice, we define: k nkeval , if nk > 0, eval nt +ϵ wk = 0, if nkeval = 0, where ϵ = 1.0 is a smoothing constant to avoid division by zero. This essentially says: if a cluster has eval examples but no (or few) target training examples (nkt small), wk will be large, signaling we badly need examples of that type. If a cluster has no presence in eval (nkeval = 0), we ideally don’t want to sample from it at all (hence wk = 0). If both target and eval have proportional presence, wk ≈ 1, meaning no special up-weighting needed (we would include auxiliary roughly in proportion). We then normalize these weights to get a probability distribution over clusters for auxiliary sampling: w̃k = PKwk . This importance sampling j=1
wj
scheme reshapes the auxiliary data distribution to closer match the eval distribution of clusters. 3.2.3
Practical Strategies for Bootstrapping Et
In our experiments, we use held-out evaluation sets (dev sets of Global-MMLU and MMLU-ProX) as proxies for the live usage distribution Et . This approximation is pragmatic for research but raises practical questions for real-world deployment, particularly in "cold-start" scenarios where a model is being adapted to a new language without extensive prior user data. For cold-start deployment, a practical approach is to collect a few hundred representative "seed" examples through human curation. Et must span the anticipated semantic space of user queries, as COMPASS’s distribution-aware sampling requires diversity across semantic clusters rather than volume within clusters. In the extreme case where no proxy is available, setting Et = Dt (using the training data itself as the usage proxy) provides a baseline. This reduces COMPASS to an approximately uniform-sampling regime in the initial phase, as cluster weights become nearly equal when train and eval distributions are identical (ρk ≈ 1 for all clusters). While this eliminates distributional guidance initially, it does not harm performance relative to target-only training and allows the COMPASS-ECDA extension to refine Et over time based on observed usage. Alternatively, for languages within well-represented families and overlapping usage within defined geographic locales, usage distributions from related languages can serve as initial proxies (e.g., Spanish for Catalan within Spain), leveraging the multilingual embedding space’s cross-lingual semantic similarities to borrow distributional knowledge from higher-resource relatives. 3.2.4
Instance-level Weighting & Sampling
Within each cluster Ck , not all examples are equally useful. Intuitively, examples very close to the cluster’s centroid or densest region might be more representative of that cluster’s theme, whereas those on the fringe might be less relevant or outliers. Thus, we score each candidate x ∈ Ck from the auxiliary pool. One simple choice is the inverse distance from the cluster centroid: s(x) = 1+dist(f1 (x),µk ) , where µk is the centroid of cluster k in embedding space and dist(·,·) uses cosine similarity with normalized embeddings. 8
Published in Transactions on Machine Learning Research (11/2025)
This s(x) gives higher weight to points near the center of the cluster. We would then probabilistically sample examples from cluster k in proportion to s(x) until we fulfill that cluster’s quota. The cluster’s quota of examples is determined by the cluster weight and overall budget B: we want qk = (⌊w̃k ⌋ + r̃k ) × B × |Dt | examples from cluster k. r̃k is a random variable that is 1 with probability w̃k − ⌊w̃k ⌋, 0 otherwise. Based on work in Sorscher et al. (2023), computing instance weights using the distance of each instance’s embedding to its cluster decision boundary serves as a proxy for example difficulty. Following their results, it is advantageous to prioritize sampling of easier instances when there is little training data for the target language cluster. As the fraction of sampled data increases, it becomes more informative to expand sampling to more ambiguous instances further from the centroid, in the limit that instances near the decision boundary are more likely to be irrelevant or misannotated. Thus, within each cluster Ck , we employ an adaptive weighting scheme that dynamically adjusts sampling preferences based on the cluster’s distribution mismatch. Our core insight is that when facing severe underrepresentation (high ρk ), we should prioritize prototypical examples that clearly represent the cluster’s semantic content. As the mismatch decreases through sampling, we progressively favor more challenging boundary cases to improve model robustness, while remaining conservative about boundary examples since approximately 20% of examples closest to decision boundaries are expected to be hard-to-learn due to difficulty or misannotations (Swayamdipta et al., 2020). For each candidate x ∈ Ck from the auxiliary pool, we compute two complementary scores: Prototypical score: sproto (x) = 1+dist(f1 (x),µk ) , where µk is the cluster centroid. This favors examples near the cluster center. Boundary score: sboundary (x) = min{dist(f (x), µj ) : j ̸= k} − dist(f (x), µk ), normalized to [0, 1]. This favors examples near decision boundaries. The final instance weight interpolates between these scores based on the current sampling progress, with a conservative skew towards prototypical examples: s(x) = (1 − αk2 ) · sproto (x) + αk2 · sboundary (x) (1) k where αk = min 1, sampled_count represents the fraction of the cluster’s quota already fulfilled. The target_quota k
quadratic term αk2 ensures that boundary examples receive reduced influence throughout the sampling process, with prototypical examples maintaining dominance until the final stages of sampling. Initially (αk ≈ 0), we heavily favor prototypical examples. As sampling progresses (αk → 1), we more cautiously incorporate boundary cases, implementing a conservative curriculum from easy to hard examples. Given the multilingual nature of our auxiliary data pool, containing parallel or near-parallel examples across 50+ languages, redundancy within clusters can be substantial. To ensure diverse sampling while maintaining relevance to the target language, we penalize scores of instances in the same cluster that are above a similarity threshold. We construct a similarity matrix Sim for all auxiliary examples within each cluster, where each entry Simi,j quantifies the cosine similarity between a pair of embeddings. We establish a similarity threshold τsim (empirically set to 0.90) and derive an adjacency matrix A where Ai,j = 1 if Simi,j > τsim , and 0 otherwise. This formulates an undirected graph where vertices represent auxiliary instances and edges connect highly similar pairs. If an instance is sampled, we subtract a fixed penalty δ from the score s(x′ ) of any remaining neighbors x′ . This process yields up to qk examples from cluster k. P In practice, some clusters might have fewer candidates than qk , requiring further modifications to enforce k |Sk | = B|Dt |. We used a large pool of auxiliary data sufficient to avoid this issue. To mitigate this issue in settings with insufficient auxiliary data, one strategy would be to sample with replacement but institute a decay factor of 0.5n after an example has been sampled n times, effectively limiting each instance to at most 3 selections. 3.2.5
Fine-Tuning with Augmented Data
S The final selected training set for language ℓt is Dt ∪ S, where S = k Sk ⊂ Daux . By construction, |S| ≈ B|Dt |. In our experiments, we set B in the range 0.2 to 2.0 (so the auxiliary data is at most double 9
Published in Transactions on Machine Learning Research (11/2025)
Algorithm 1 COMPASS: Distribution-Guided Auxiliary Data Sampling Require: Target language data Dt , auxiliary data pool Daux , usage proxy Et , budget B, embedding model f (·) Ensure: Selected auxiliary set S 1: // Step 1: Embed and Cluster 2: Embed all data: E ← {f (x) : x ∈ Dt ∪ Daux ∪ Et } 3: Cluster embeddings into clusters: {C1 , C2 , . . . , CK } ← HDBScan(E) 4: 5: // Step 2: Compute Cluster Weights 6: for each cluster k = 1 to K do 7: nkt ← |{x ∈ Dt : x ∈ Ck }| 8: nkeval ← |{x ∈ Et : x ∈ Ck }|
( nk
eval
9:
wk ←
nk t +ϵ
0
▷ Target data count in cluster k ▷ Usage proxy count in cluster k
if nkeval > 0
▷ Mismatch ratio
otherwise
10: end for PK 11: Normalize: w̃k ← wk / j=1 wj 12: 13: // Step 3: Sample Auxiliary Data with Instance Weights 14: S ← ∅ 15: for each cluster k = 1 to K do 16: qk ← (⌊w̃k ⌋ + r̃k ) × B × |Dt | 17: sampled_countk ← 0 18: while sampled_countk < qk and |S| < B × |Dt | do 19: for each x ∈ Daux ∩ Ck do
αk ← min(1, sampled_countk /qk ) sproto (x) ← 1/(1 + dist(f (x), µk )) sboundary (x) ← minj̸=k dist(f (x), µj ) − dist(f (x), µk ) s(x) ← (1 − αk2 ) · P sproto (x) + αk2 · sboundary (x) s(x) ← s(x) − δ · x′ ∈S∩Ck ⊮[Sim(x, x′ ) > τsim ] 25: end for 26: Sample x ∼ Categorical({s(x)}) from Daux ∩ Ck 27: S ← S ∪ {x}; sampled_countk ← sampled_countk + 1 28: end while 29: end for 30: return S 20: 21: 22: 23: 24:
▷ Cluster sampling probabilities
▷ Cluster quota (r̃k is Bernoulli)
▷ Sampling progress ▷ Prototypical score ▷ Boundary score ▷ Diversity penalty
the target data size). This yields a small, efficient fine-tuning set compared to using the entire Daux . We always include all of Dt (the target’s original data) to ensure no target-specific information is lost. We fine-tune the base model on Dt ∪ S, instantiating a new adapter ϕt for the target language ℓt . During training, Θ remains frozen, and only ϕt ’s parameters are updated. After training, we have a specialized adapter ϕt that encodes improvements for language ℓt . 3.2.6
Multi-language Routing
We repeat the above process for each target language of interest, obtaining adapters ϕt1 , ϕt2 , . . . for languages ℓt1 , ℓt2 , . . . . At inference time, we load the base model Mbase (Θ) and all the adapters. When an input comes in, we detect its language using an inexpensive language ID model. Based on the detected language, we attach the corresponding adapter to the model and process the input. Because these adapters are lightweight, it’s feasible to store a large quantity of them. Switching adapters is also efficient as we’re swapping in a small set of weight delta matrices. This design means each input is handled by a model that’s effectively specialized for that language. 10
Published in Transactions on Machine Learning Research (11/2025)
3.3
Continual Adaptation Phase
Crucially, we extend COMPASS for continuous improvement. As language use and data distributions evolve in real-world scenarios (e.g., emerging markets, shifting user bases or preferences, new language- or localespecific jargon, seasonality), we facilitate periodic updates to these adapters. Furthermore, offline proxies to estimate "live usage distribution" may not reflect real-world usage patterns, leading to misaligned optimization. By comparing the distribution of incoming data, significant shifts can be detected, and COMPASS criteria can be reapplied to select relevant new training examples (from the incoming stream or an updated pool) to retrain or update the corresponding language-specific adapter when the clusters become stale. This allows the system to adapt to new data patterns while the targeted nature of the update, guided by distributional needs and localized to specific language adapters, might preserve performance on learned data patterns and avoid interference. Our enhancement of COMPASS with an Elastic Consolidation and Distributional Anchoring (ECDA) update mechanism contributes not by inventing a new continual learning primitive, but through data-centric integration of established techniques into a unified adaptation lifecycle, all governed by distributional signals. First, the Jensen-Shannon divergence between cluster distributions serves as trigger for detecting significant distribution shifts (Oh et al., 2025). Second, when a shift is detected, our sampling algorithm is re-applied to select the most relevant new data for the update. Third, our rehearsal buffer is not populated randomly but with “distributional anchors” – prototypical examples from the centroids of stable, previously learned clusters. This constitutes a principled form of rehearsal that is more targeted than random sampling (Isele & Cosgun, 2018). 3.3.1
Incremental Clustering
To enable meaningful distribution comparisons over time while accommodating evolving data patterns, we implement a hierarchical clustering. In the initial adaptation phase, experiments demonstrated that HDBSCAN and K-means provided the best cluster quality. For continual adaptation, we leverage their incremental variants to maintain computational efficiency while preserving cluster stability: Incremental K-means We maintain cluster centroids from the previous iteration and update them using mini-batch gradient descent on new data. The update rule for centroid µk at time t is: (t+1)
µk
(t)
= (1 − η)µk + η · mean(Xnew k )
(2)
where η is a learning rate controlling adaptation speed and Xnew represents new points assigned to cluster k k. Incremental HDBSCAN Following the transductive extension of HDBSCAN*, we fix the condensed tree structure from the initial training phase and assign new points to clusters based on where they would fall in this fixed hierarchy. This preserves cluster identities while allowing membership updates. Specifically, for each new point xnew , we (1) compute its core distance relative to the existing point set, (2) determine its position in the condensed tree without modifying the tree structure, and (3) assign it to the cluster corresponding to its tree position. 3.3.2
Distribution Mismatch Trigger
To enable continuous adaptation, we detect when language-specific adapters require updates via distributional divergence. For each language adapter corresponding to target language ℓt , we maintain a reference (ℓ ) distribution Preft representing the cluster proportions from its most recent training cycle. Formally, if the adapter was last trained using clusters {C1 , C2 , . . . , CK }, then: neval + naux,selected (ℓ ) k Preft (Ck ) = PK k eval + naux,selected ) (n j j=1 j 11
(3)
Published in Transactions on Machine Learning Research (11/2025)
where naux,selected denotes the number of auxiliary examples selected from cluster k during the last training k (ℓt ) cycle. We continuously compute a monitoring distribution Pmon from recent incoming data Wrecent . For each cluster Ck : |{x ∈ Wrecent : f (x) ∈ Ck }| (ℓt ) (4) Pmon (Ck ) = |Wrecent | The Jensen-Shannon divergence between these distributions provides our primary shift detection signal: (ℓ )
(ℓt ) JS(Preft ∥Pmon )= (ℓ )
1 1 (ℓ ) (ℓt ) · KL(Preft ∥M ) + · KL(Pmon ∥M ) 2 2
(5)
(ℓ )
t where M = 21 (Preft + Pmon ) and KL(·∥·) denotes the Kullback-Leibler divergence. An adapter update for language ℓt is triggered when: (ℓ ) (ℓt ) JS(Preft ∥Pmon ) > θJS (6)
where θJS is an empirically tuned threshold specific to each language. 3.3.3
Update: Incremental Fine-tuning with Distributional Guidance
Once the trigger condition is met, indicating a significant distribution shift for a target language lt , the corresponding adapter ϕt is updated. A simple retraining on the new data could lead to catastrophic forgetting of previously learned patterns. To balance adaptation to the new distribution with the preservation of existing knowledge, we employ a hybrid strategy called Elastic Consolidation and Distributional Anchoring (ECDA). This method combines parameter-space regularization with a targeted, distributionally-guided form of rehearsal. (i−1)
The update process involves incrementally fine-tuning the existing adapter ϕt to produce an updated (i) version ϕt . The fine-tuning is performed on a new dataset Dnew , which is selected from the recent data window Wrecent using the COMPASS sampling criteria. To mitigate forgetting, the optimization is guided by a composite loss function: (i)
(i−1)
Ltotal = Ltask (Dnew ) + β · LDAR (Banchor ) + LEWC (ϕt , ϕt
)
This objective function consists of three key components: 1. Task Loss (Ltask ): Cross-entropy loss on the new data Dnew , driving adaptation to the new data distribution. 2. Distributional Anchor Replay Loss (LDAR ): This is the task loss computed on a small, fixedsize memory buffer Banchor containing “distributional anchors” from the previous update cycle. These anchors are prototypical examples selected from the centroids of high-density clusters of the previous reference distribution. Targeted rehearsal provides stability by grounding the model in previously learned knowledge (Rolnick et al., 2019), with contribution of this loss weighted by a hyperparameter β. 3. Elastic Weight Consolidation Loss (LEWC ): Penalizes changes to the adapter parameters that were important for the previous task distribution, providing parameter-level stability. It is adapted from Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017) and is defined as: λX (i) (i−1) 2 Fj (θj − θj ) LEWC = 2 j where θj is an individual parameter of the adapter ϕt , λ is a regularization hyperparameter, and Fj is the diagonal of the Fisher Information Matrix (FIM). FIM is computed using the examples in the distributional anchor buffer Banchor , making the EWC component computationally tractable and focused on protecting parameters crucial for the most representative past data (Zhang et al., 2025). Following each update, the anchor buffer Banchor is repopulated with new prototypical examples from the just-learned data distribution, preparing the system for the next cycle. 12
Published in Transactions on Machine Learning Research (11/2025)
4
Experiment Setup
4.1
Datasets
We use a variety of datasets for fine-tuning and evaluation, focusing on those that provide extensive multilingual coverage. Appendix B describes the extent of language coverage, categorized across script, family, subgrouping, and data resources, for each dataset. • Aya Dataset (Singh et al., 2024): Our primary fine-tuning data source serving as the pool for Daux . Aya is a large open multilingual instruction tuning dataset, consisting of 204K human-curated instruction-response examples in 65 languages. It covers a wide range of tasks and domains, from general knowledge Q&A to creative prompts. Aya was collected via an open annotation platform, and it is currently one of the most comprehensive public datasets for aligning language models in many languages. For each target language that we adapt to, we define Dt as a subset of Aya (the fine-tuning target data in that language). We set Et as the dev set of Global-MMLU or MMLUProX questions in that language (for distribution analysis) and use the test sets of the evaluation benchmarks (detailed below) for final scoring. • Global MMLU (Singh et al., 2025): For primary evaluation of COMPASS, we use Global-MMLU, which extends the Massive Multitask Language Understanding (MMLU) benchmark (Hendrycks et al., 2021) to 42 languages. MMLU is a collection of multiple-choice questions across 57 subjects (history, science, math, etc.) originally in English. Global-MMLU provides translations of these questions into many languages with the addition of culture-specific questions for each language. We use the full Global-MMLU dataset, which consists of 792 culturally sensitive and 2,058 culturally agnostic instances per language (119,900 total instances) and a dev set of 285 instances per language. This dataset is challenging as it tests knowledge and reasoning across domains. We use it both as an evaluation benchmark and as a source to simulate distribution shifts (since it has a dev and test split for each language, and content differences across languages). • MMLU-ProX (Xuan et al., 2025): MMLU-ProX offers another challenging evaluation dataset. Expanding upon MMLU-Pro (Wang et al., 2024), which enhanced the original MMLU with increased complexity and answer choices, MMLU-ProX covers 29 languages with approximately 11,829 questions per language. Similar to Global-MMLU, MMLU-ProX was validated by expert human annotators for conceptual accuracy, terminological consistency, and cultural relevance. For MMLU-ProX, we use each language’s available dev set and the test set of MMLU-ProX-Lite as a proxy for live data to tune adapters on COMPASS-derived Aya training data, evaluating them on test samples from the full MMLU-ProX data set (minus the test samples contained within MMLU-ProX-Lite). • OneRuler (Kim et al., 2025): A multilingual benchmark designed to evaluate long-context understanding capabilities across 26 languages and context lengths of up to 128K tokens. OneRuler adapts the English-only RULER benchmark framework, featuring seven synthetic needle-in-a-haystack (NIAH) task variations: single NIAH, multi-key NIAH, multi-value NIAH, multi-query NIAH, nonexistent needle, and common word extraction (easy and hard versions). • Other evaluation sets: We consider additional evaluations to probe specific aspects of our methodology in smaller capacities with limited language coverage. XNLI (Conneau et al., 2018) is a crosslingual natural language inference dataset covering 15 languages, testing the model’s ability to understand entailment, contradiction, and neutral relationships between sentences. XQuad (Artetxe et al., 2020) is a QA dataset covering 11 languages, testing reading comprehension abilities. MGSM8k (Shi et al., 2022) is a multilingual grade school math problem dataset covering 10 languages, testing mathematical reasoning capabilities. Respectively, we include each as tests of how well our adapted models handle understanding semantics in multiple languages, improve on additional QA style interactions, and whether the adapters have improved reasoning or just linguistic understanding. For evaluation on these benchmarks, we use the COMPASS-derived adapters that used Global MMLU’s dev set as a reference. 13
Published in Transactions on Machine Learning Research (11/2025)
4.2
Models
We evaluate our method on three pre-trained models to demonstrate its effectiveness and generality. • Phi-4-Mini-Instruct-3.8B (Microsoft et al., 2025): a 3.8B parameter model that uses a Mixture-of-LoRAs architecture for integrating modalities, but here we use its text-only version. It has an expanded 200k vocabulary for multilingual support, but known regressions on non-English tasks compared to the earlier Phi3 iteration, possibly due to less balanced training. We treat Phi-4mini as a primary subject for improvement, as it represents a smaller, more specialized model that could benefit from targeted fine-tuning. • LLaMA-3.1-Instruct-8B (Grattafiori et al., 2024): an 8B parameter model based on a dense transformer model and known to have strong multilingual capability out-of-the-box on several highresource languages due to extensive pre-training. • Qwen2.5-7B-Instruct (Qwen et al., 2025): a 7B parameter model pre-trained on over 18T tokens across 29 languages, including many low-resource languages in our evaluation set. Provides insights into how COMPASS performs when the base model already has some exposure to target languages versus completely unseen languages. COMPASS requires specifying an embedding model to facilitate dataset sampling and a language identification model to route inputs to the appropriate, language-specific adapter. We use Jina-Embeddings-v3-570M (Jina) (Sturua et al., 2024) to generate task-specific embeddings customized for semantic text similarity and retrieval, supporting 100 languages (Appendix A) and context lengths of up to 8192 tokens. On semantic text similarity tasks within the Massive Multilingual Text Embedding Benchmark (MMTEB; (Enevoldsen et al., 2025)), Jina best captured semantic similarity across languages while being relatively robust to syntactic and lexical differences, outperforming multilingual-e5-large-instruct (the best performing model in the initial MMTEB release). For more details, we evaluate sensitivity to encoder choice and clustering parameters in section 5.7. In initial evaluations on COMPASS’ sensitive to the choice of encoder, we compared additional embedding models (gte-multilingual-base-305M, distiluse-base-multilingual-cased-v2-135M, paraphrase-multilingualmpnet-base-v2-278M (Zhang et al., 2024; Reimers & Gurevych, 2019; Yang et al., 2019)). Jina-Embeddingsv3-570M provided the best cross-lingual alignment and language coverage (i.e., unsupported language sentences might cluster oodly or be embedded erroneously near unrelated data points). Inference-time routing uses GlotLID-v3 (Kargaran et al., 2023) for language identification and loading of the correct adapter, enabling a unified system for all languages. GlotLID supports more than 2000 languages, including all languages used in this study, and all evaluations of COMPASS use GlotLID for adapter loading. If the language does not have a COMPASS-associated adapter, then it defaults to the pretrained model (if no fine-tuning data is available) or to the target only adapter (if fine-tuning data is available but there is no dev set for distribution matching). 4.3
Training Setup
We fine-tune DoRA adapters for each language in Global MMLU and MMLU-ProX, using all of the target language’s data within Aya in conjunction with the COMPASS-sampled auxiliary data. To avoid data leakage from the test set, distribution approximation is done to minimize distribution discrepancy between the train and development data sets. DoRA hyperparameters were tuned on an aggregate subset of languages representing different families and resource levels: Spanish, French, Russian, Arabic, Swahili, Vietnamese, Bengali, Korean, Thai, and Yoruba. We target modules in the attention and feedforward layers with low-rank decomposition matrices of rank r = 16 for Phi-4-mini and Qwen2.5-7B adapters, and r = 8 for LLaMA-8B. We use AdamW optimizer (β1 = 0.9, β2 = 0.999), weight decay of 0.1, gradient clipping of 1, batch size of 128, and with learning rate of 2e-4 for Phi-4-mini and 1e-4 for LLaMA-8B and Qwen2.5-7B, with a 0.1 warmup ratio and cosine scheduler in each setting. COMPASS with LoRA adapters achieved comparable performance but using DoRA adapters resulted in more robust improvements across a broader range of 14
Published in Transactions on Machine Learning Research (11/2025)
hyperparameter combinations. We limit fine-tuning to 3 epochs with early stopping. After fine-tuning, we have for each target language ℓt the adapter weights ϕt . We keep the base model weights Θ unchanged (shared across all). During inference, we keep the base W separate and add ∆W on the fly when the adapter is loaded. We compare our approach to several baselines: • Monolingual DoRA fine-tuning (Target): Fine-tune a DoRA adapter on Dt alone (target language data only). This represents the scenario of no cross-lingual transfer and avoids any possible interference. We expect our method to outperform this if cross-lingual transfer is beneficial, particularly for smaller Dt . • COMPASS full fine-tuning (COMPASS-FFT): Fine-tune the entire pretrained model on the COMPASS-supplied datasets, leveraging the model’s full parameter space to improve at the task. While this approach allows for maximum adaptation to the target language, it entails substantial memory overhead to store a complete set of model parameters for each target language and increases overfitting risk. Consistent with prior comparisons of learning rate sensitivity of LoRA-related methods to FFT (Biderman et al., 2024), we identified optimal FFT performance with reduced learning rates of 5e-5 for Phi-4-mini, 1e-5 for LLaMA-8B, and 2e-5 for Qwen2.5-7B, along with a reduced warm-up ratio of 0.05 and a batch size of 16 across all models. • All-data multilingual fine-tuning (All): Fine-tune a DoRA adapter on the entire multilingual dataset (Aya) for that task, i.e., combine all languages’ data. This is an extreme opposite of monolingual: maximum exposure to other languages (and also much larger training set). This tests the effect of indiscriminate multilingual training. In past research, this often hurts performance on individual languages especially if the model capacity is limited, due to noise from unrelated languages. But it could provide an upper bound in some cases if more data is always helpful. We apply DoRA fine-tuning on the concatenation of Dt plus all other languages in Aya. Note that this baseline effectively trains a single adapter for all languages. • Random sampling (Random): Fine-tune on Dt plus an equal amount of randomly sampled auxiliary data (from Daux ). If our method selects 2000 auxiliary examples, then this baseline also uses 2000 auxiliary examples but chosen uniformly at random from the pool of other-language examples. This isolates the effect of targeted selection vs. just adding more data. • LangRank-guided selection (LangRank) (Lin et al., 2019): Requires training a ranking model, dependent on the tasks and datasets used for training, to exhaustively evaluate transfer potential across many different languages, and recommends transfer languages from best to worst. For example, picking the single best auxiliary language (K = 1) and using all its data in addition to the target language’s data might equate to "just use Spanish data for Catalan". We evaluate for values of K from 1 to 3, inclusive, beyond which LangRank performance saturates. • Linguistic similarity-guided selection (LangSim) (Eronen et al., 2023): Uses linguistic similarity metrics to measure the distance between languages and choose optimal transfer language(s). eLinguistics-derived similarity (Beaufils & Tomin, 2020) was reported to result in the highest correlation with zero-shot performance on sentiment analysis, named-entity recognition, and dependency parsing tasks, but calculates a genetic proximity score based on comparing consonants, which fails in cross-script comparisons. Instead, we use an averaged vectors from lang2vec (Littell et al., 2017), which represents languages as typological, phylogenetic, and geographical vectors derived from multiple linguistic resources such as the World Atlas of Language Structures (WALS) (Dryer & Haspelmath, 2013) and Ethnologue (Eberhard et al., 2025). 4.3.1
Bias Simulation
In public data sets, the train data distribution often matches the test data distribution. To simulate distribution discrepancies when exposing a model to live data from real users, we simulate a subject-based sampling 15
Published in Transactions on Machine Learning Research (11/2025)
bias. Global MMLU and MMLU-ProX include a categorization into 57 subjects and 14 subjects, respectively. We assign each subject to a low-sampling bucket with 20% probability. Subjects in the low-sampling bucket are reduced to 20% of their original training data size by randomly removing 50% of instances belong to the subject. Subjects not assigned to the low-sampling bucket have their training data unmodified. Bias simulation is applied separately for each language, creating different training set distributions. To replicate the real-life scenario where the training set is composed of different data sources with different amounts of noise, we add out-of-distribution data to the Aya Data training set. We leverage the Aya Collection, a large corpus of templated and machine-translated multilingual datasets into 101 languages, and add their MLQA-en dataset (validation split), which was machine-translated using NLLB-3.3B (Team et al., 2022). MLQA-en was chosen from the Aya Collection because it was the only supplemental dataset that (1) covered all languages used in our evaluations and (2) had a high average approval ratio of 0.79 as voted on by at least 20 human annotators (e.g., average approval ratio of 0.8 would indicates that 4 out of every 5 annotations was perceived to be of good quality).
5
Results
5.1
COMPASS best balances cross-lingual transfer benefits and risks for all languages
COMPASS provides the most effective balance for multilingual adaptation, maximizing benefits of crosslingual transfer while minimizing risks of negative interference or the high costs associated with full model fine-tuning. Table 1 shows that COMPASS effectively leverages auxiliary data selected via distribution approximation, yielding substantial gains over baseline (ZS) performance for all languages and models and outperforming monolingual tuning (Target), particularly for lower-resource languages where targeted crosslingual transfer provides the most significant benefit by augmenting limited target-language data. Furthermore, COMPASS surpasses random auxiliary data sampling (Random), demonstrating the advantage of strategic data selection over simply increasing training data volume. Optimizing the auxiliary data distribution to match the target task distribution, as COMPASS aims to do, may offer a more refined approach to maximizing positive transfer than relying solely on general linguistic relatedness or past transfer performance rankings. While established cross-lingual transfer strategies like LangRank and LangSim show improvements over monolingual and random baselines, COMPASS scores consistently higher. Crucially, COMPASS avoids performance degradation observed with all-data multilingual baseline (All), where indiscriminate mixing of all language data introduces substantial negative interference, resulting in performance regressions across all tasks and models. Phi-4-Mini-Instruct-3.8B Pretrained (ZS) COMPASS Target COMPASS-FFT All Random LangRank LangSim
Llama-3.1-Instruct-8B
Qwen2.5-7B-Instruct
Global MMLU
MMLU-ProX
Global MMLU
MMLU-ProX
Global MMLU
MMLU-ProX
43.5 52.4 44.7* 49.9* 38.8* 44.9* 47.3* 47.3*
21.7 28.7 23.8* 27.7 18.5* 22.9* 24.5* 24.2*
49.1 55.2 50.8* 55.5 43.8* 50.6* 51.8* 51.0*
22.8 26.9 23.2* 26.1 19.6* 23.7* 24.4 24.0*
52.9 59.6 54.6* 58.1 48.0* 55.1* 56.7* 56.1*
37.5* 43.6 38.7* 42.5 33.7* 38.4* 39.4* 39.0*
*
*
*
*
*
Table 1: Global MMLU and MMLU-ProX benchmark scores in comparison with Phi, Llama, and Qwen models across COMPASS and related methods. Superscripts denote statistical significance of COMPASS vs. each baseline via permutation tests (10,000 iterations): ∗ p<0.05. Consistent performance gains across different base models suggest that the benefits of COMPASS approach are robust and not specific to a single architecture. Phi4-Mini improved the most, signaling that COMPASS recovers regressed multilingual performance that was previously reported on the related Multilingual-MMLU 16
Published in Transactions on Machine Learning Research (11/2025)
task as a regression from 55.4% (Phi3.5-Mini) to 49.3% (Phi4-Mini). Despite the increased difficulty, COMPASS also maintained its relative effectiveness on MMLU-ProX. Permutation tests confirm all COMPASS improvements over Target baseline achieve p<0.05 across models and benchmarks, with medium-to-large effect sizes (Cohen’s d = 0.72-0.85 for Global-MMLU, d = 0.61-0.79 for MMLU-ProX). Importantly, COMPASS significantly outperforms linguistically-informed baselines (p<0.05 vs. LangRank/LangSim with medium effect sizes d = 0.52-0.64), confirming that distribution-aware selection provides benefits beyond linguistic similarity alone. Sign tests confirm that COMPASS improvements are broadly distributed across languages rather than concentrated in a few outliers (binomial test p<0.05 for COMPASS compared to all baselines except COMPASS-FFT). +14.8% +16.2% +18.4% +19.8% +6.5% +8.3%
Script
Han Latin Cyrillic Arabic Japanese Hangul Devanagari Bengali Greek Telugu Sinhala Ge'ez
+21.5% +22.9% +7.2% +23.3% +25.8% +29.1%
0.25 0.30 0.35 0.40 0.45 0.50 0.55
Global MMLU Performance (Averaged Across Models)
Figure 2: Performance of Phi4-Mini with COMPASS on Global MMLU, segmented by script categorization (left) and by genus categorization (right). Indo-European language family was further split into subgroupings. COMPASS nets greatest performance gains across each script and genus represented in Global MMLU, and cross-lingual transfer was most beneficial to languages with less data (e.g., Swahili, Yoruba) where the benefit of auxiliary data is higher. Figure 2 breaks Global MMLU performance down across language script and genus categorizations. Regardless of their resource categorization, languages with no related language by script nor language family (Greek, Japanese, Korean, Vietnamese) had marginal performance gains, driven by COMPASS’ cluster-level weights facilitating targeted data enrichment. Compared to COMPASSFFT, COMPASS achieves comparable performance across most languages. While COMPASS-FFT elevates performance for the highest-resource languages, COMPASS remains competitive with greater parameter efficiency, reducing storage requirements and mitigating overfitting risks on mid- and low-resource languages, especially for afroasiatic and atlantic-congo families (see Appendix C for per-language performance). 5.2
Impact of Auxiliary Data Budget on Performance
To understand the relationship between the amount of auxiliary data and model performance, we investigate the effect of the budget B (ratio of auxiliary data to target language data). Figure 3 plots relative improvement on Global MMLU for Phi4-mini using COMPASS, compared to a baseline fine-tuned only on target language data. This analysis covers auxiliary budgets B ranging from 20% up to 200% (i.e., 2x) of the target language data size. The optimal amount of auxiliary data varies across languages, yet performance gains can be achieved with a moderate auxiliary data budget, supporting the notion that COMPASS can reduce data overhead. This result aligns with prior analyses in multilingual instruction fine-tuning that diversifying data mixtures with multilinguality can increase data efficiency, with up to 10x fewer examples, while exhibiting comparable or superior performance Shaham et al. (2024). For the 42 languages analyzed, the median optimal budget across 17
Published in Transactions on Machine Learning Research (11/2025)
languages is B = 80% (19 languages) and languages that peak at B = 100% (10 languages) or B = 60% (5 languages) show substantial gains when B = 80%. Only 3 languages achieved peak performance at B > 100% (Spanish, Portuguese, Telugu). Instead of requiring vast amounts of auxiliary data, COMPASS utilizes a modest amount of strategically sampled data to enhance model performance, with many languages achieving peak performance without auxiliary data volumes that exceed their own target data size (B ≤ 100%). The variability in optimal B may be attributed to several factors. Languages with a richer pool of high-affinity languages within the available auxiliary data might benefit from or tolerate larger budgets as COMPASS has more relevant examples to draw from. Conversely, for languages where the base model (Phi-4-mini) already possesses stronger initial capabilities due to its pre-training, or where high-quality, highly similar auxiliary data is less abundant, performance gains might saturate more quickly or decline with increasing B. For instance, languages like Greek (el), English (en), Japanese (ja), and Korean (ko) show peak performance at relatively low B values (20-40%) and exhibit diminishing returns or performance degradation beyond B = 100%. Japanese, for example, peaks at B = 20% (+4.92%) and shows a negative relative improvement of -13.44% at B = 200%. Auxiliary budget sensitivity pronounced for language isolates and languages with unique scripts, providing insight into why these languages show marginal improvements with COMPASS. These languages, e.g., Japanese (only Japonic language) and Korean (only Koreanic language), lack closely related family members in our auxiliary data pool. This isolation manifests empirically in auxiliary budget saturation at lower thresholds than the median optimal budget of B = 80% observed across all languages. Beyond these thresholds, performance degrades sharply, where Japanese’s -13.44% regression at B = 200% exemplifies how additional auxiliary data may become harmful. In contrast, well-represented families, such as Romance, Germanic, and Indo-Aryan languages, sustain performance gains across broader budget ranges, suggesting that syntactic and morphological similarities within language families enable more effective cross-lingual transfer. While COMPASS’s semantic clustering identifies topically relevant auxiliary examples for language isolates, which explains observed positive gains, we posit that syntactically incompatible examples contribute to diminishing or negative returns. At low budgets (B = 20 − 40%), COMPASS samples the most semantically aligned examples, yielding meaningful improvements. At higher budgets, COMPASS exhausts high-quality semantic matches and begins sampling examples that, despite semantic relevance, introduce syntactic noise or conflicting structural patterns that interfere with target language learning. As a diagnostic tool, sharp performance degradation beyond low budgets signals insufficient linguistic affinity in the auxiliary pool. For remaining experiments, we adopted a uniform budget of B = 80%, which was near-optimal and outperformed monolingual fine-tuning across all languages. However, as indiscriminate addition of auxiliary data can be counterproductive, production settings would benefit from budget tuning for each target language to maximize potential gains. In evaluations for B values of 400%, 600%, 800%, and 1000%, performance drop-offs were steep. As the volume of auxiliary data overshadowed the target language data, the adapters optimized more for the characteristics of auxiliary language content, leading to eventual regression for each target language. These diminishing returns are expected – as COMPASS samples more auxiliary data, distribution mismatch lessens and gains from language cross-pollination will plateau. 5.3
COMPASS detects & leverages language synergies
Multilingual training has the potential to enhance target language performance by transferring beneficial information from source languages. However, languages possess diverse properties, and their incorporation can be either advantageous or detrimental. Limiting variety and quantity of source languages mitigates the risk of negative cross-lingual transfer, but restricts potential for performance improvement. COMPASS dynamically detects and leverages language synergies to sample data from the source language pool, converging towards a distribution that enables optimal cross-lingual transfer for a given target language. COMPASS achieves this without relying on any prior knowledge of known language synergies; all source language data is available upfront. Figure 4 visualizes the distribution of source language data sampled for each target language. Languages from the same family are selected more frequently, e.g., Italic, Germanic, and Indo-Aryan languages show strong intra-family influence, suggesting that COMPASS exploits linguistic relationships. Notable exceptions, which draw significant contributions from other groups, include languages 18
8.4 14.8 10.8 4.6 7.5 -11.6 1.8 10.1 -7.7 4.6 2.2 11.0 -9.8 9.1 4.9 1.3 3.9 -13.4 -10.0 8.9 5.2 6.8 7.3 8.0 3.9 9.5 7.2 9.9 4.5 6.6 0.1 -2.3 11.0 5.2 6.7 8.8 20.0 4.5 7.0 -2.5 10.8 -6.8
30
25
20
15
10
5
Relative Improvement (%)
19.2 16.0 16.6 11.8 9.0 -8.6 4.2 12.1 0.1 13.3 7.5 18.5 -5.0 18.7 11.4 8.9 10.4 -6.9 -6.3 15.7 11.9 10.7 11.4 10.9 9.3 15.5 11.5 12.3 11.5 13.6 9.7 9.5 18.8 14.0 10.4 15.2 25.7 12.6 14.4 -1.4 18.8 -3.3
0
5
10
20 0
29.0 19.6 24.3 16.0 11.0 -1.6 6.9 10.4 3.7 17.4 12.1 22.5 4.2 20.2 15.7 22.1 12.5 -0.6 0.3 20.6 19.9 21.7 15.3 21.1 13.2 23.3 13.9 6.6 16.0 14.5 15.9 15.2 24.6 20.4 13.5 19.5 13.8 17.0 15.7 2.1 24.5 -0.3
15 0
30.0 20.0 13.2 9.9 12.3 3.5 7.6 7.4 4.6 9.3 5.4 27.3 8.3 21.4 8.5 26.5 7.7 3.9 5.5 23.7 23.1 25.0 17.0 23.7 7.6 26.3 16.3 5.2 8.9 15.4 22.3 20.1 28.1 12.5 15.4 23.1 10.9 10.2 16.7 4.3 28.1 3.2
10 0
24.3 13.4 9.8 7.4 9.1 6.0 8.0 6.3 17.9 7.5 4.0 17.4 16.1 14.3 7.6 15.9 4.8 3.9 6.1 14.2 14.7 14.7 11.2 15.0 6.1 26.5 10.6 3.5 7.2 9.7 28.1 26.5 16.9 9.0 9.7 13.7 8.0 6.5 11.3 4.4 16.8 11.3
80
14.8 8.4 5.5 4.1 6.2 8.4 8.7 3.6 11.2 4.5 1.2 10.7 21.9 9.5 4.6 10.7 4.0 4.7 7.3 9.2 9.5 10.6 6.5 10.3 3.6 10.7 7.5 3.4 4.5 7.1 13.8 13.4 11.4 4.8 6.1 8.8 3.8 4.6 7.1 5.1 11.4 15.4
60
6.3 3.9 3.1 2.3 2.3 9.9 3.5 0.7 4.7 1.7 1.2 4.7 4.8 3.4 2.5 4.7 2.8 4.9 1.3 3.4 3.4 4.0 4.4 4.4 1.9 6.4 3.5 1.1 1.6 2.9 5.7 5.7 4.9 1.9 4.2 4.0 1.3 2.6 2.6 0.9 4.4 5.0
40
Amharic Arabic Bengali Czech German Greek English Spanish Persian Filipino French Hausa Hebrew Hindi Indonesian Igbo Italian Japanese Korean Kyrgyz Lithuanian Malagasy Malay Nepali Dutch Nyanja Polish Portuguese Romanian Russian Sinhala Shona Somali Serbian Swedish Swahili Telugu Turkish Ukrainian Vietnamese Yoruba Chinese
20
Target Language
Published in Transactions on Machine Learning Research (11/2025)
Source Language Budget as Percentage of Target Language Training Data
Figure 3: Global MMLU performance of Phi4-Mini with COMPASS, across a range of auxiliary budgets from 20% to 200% (i.e., 2x the size of target language fine-tuning data), relative to performance when fine-tuning on just the target language data. within the Iranian, Sino-Tibetan, and Balto-Slavic families. The Isolate family functions as a negative control, where the observed lack of affinity is expected as none of these languages have a close linguistic relation to any other language. Several source languages contribute to a large number of target languages without a clear family-based pattern. These "indiscriminately sampled" languages include Malagasy, Malay, Tamil, Telugu, and Sinhala. 19
Published in Transactions on Machine Learning Research (11/2025)
Source Language's Highest Affinity
25 Austronesian
Percentage of Source Language Data (%)
Amharic Afro-Asiatic Arabic Hausa Hebrew Somali Atlantic-Congo Igbo Nyanja Shona Swahili Yoruba Filipino Indonesian Malagasy Malay Czech Lithuanian Polish Russian Serbian Ukrainian Telugu German English Dutch Swedish Bengali Hindi Nepali Sinhala Persian Greek Japanese Korean Vietnamese Spanish French Italian Portuguese Romanian Chinese Kyrgyz Turkish
20
Balto-Slavic
Dravidian
15 Germanic
Indo-Aryan
10 Iranian
Isolate
5 Italic
Sino-Tibetan Turkic
0
Amharic Arabic Hausa Hebrew Somali Igbo Northern Sotho Nyanja Shona Swahili Wolof Xhosa Yoruba Zulu Cebuano Filipino Indonesian Javanese Malagasy Malay Sundanese Czech Lithuanian Polish Russian Serbian Ukrainian Kannada Malayalam Tamil Telugu Danish German English Dutch Swedish Bengali Gujarati Hindi Marathi Nepali Punjabi Sinhala Sindhi Urdu Persian Kurdish Pashto Albanian Greek Basque Irish Japanese Korean Thai Vietnamese Spanish French Haitian Creole Italian Portuguese Romanian Burmese Chinese Kyrgyz Turkish Finnish Hungarian
Target Languages
For instance, Malagasy (mg) is sampled across a wide range of target languages, including those from Afro-Asiatic, Niger-Congo, and Austronesian families—language families with no demonstrable typological relationship to Malagasy. While Jina3 supports these languages, their reported primary tuning efforts focused on a set of 30 other languages that does not include any of the indiscriminately sampled languages. The observed affect on the sampling process might be an artifact of less refined or lower-quality embeddings, entailing less precise cross-lingual similarity assessments and spurious measures of linguistic similarity.
Source Languages
Figure 4: Heatmap of language contribution from each source language (x-axis) to each target language (y-axis). Indo-european languages were divided into further subgroupings. Isolates in this context refers to languages that are not demonstrably related to any other language in this study. The source language distribution reflects the optimum budget for the plurality of target languages. 5.4
COMPASS improves performance on multilingual long context tasks
We investigate whether guided fine-tuning with COMPASS and the Aya dataset (comprising short sequence lengths under 1K tokens) improves cross-lingual semantic alignment within the models. We hypothesize that this improved alignment will, in turn, enable the models’ pre-existing long-context architectural mechanisms, which were predominantly trained on high-resource data, to be more effectively transferred and applied to low-resource languages during inference. Our hypothesis is motivated by two lines of reasoning. First, multilingual models operate by learning shared representations across languages; they map words and concepts with similar meanings to nearby points in a shared vector space (Zhong et al., 2024). As we observed on other tasks, COMPASS strengthens these 20
Published in Transactions on Machine Learning Research (11/2025)
shared representations. Second, recent research in multilingual NMT has demonstrated that "a small amount of long-context data in a few languages is sufficient for cross-lingual length generalization, thereby inducing long-context capabilities" (Gumma et al., 2025). This suggests that the ability to handle long contexts, once learned and encoded into the model’s architecture (e.g., through adoption of relative positional embeddings), can be transferred across languages. While the Aya dataset itself lacks long-context data, it provides sufficient multilingual signal that may be a prerequisite for this transfer to occur. The fine-tuning process acts as a form of continued pre-training focused on multilingual instruction following, which should solidify the crosslingual alignments necessary for the model to apply its HRL-trained long-context machinery within LRL contexts. HRL Performance. For HRLs (English, French, German, Spanish, Italian, Russian, Japanese), we observe a mix of marginal improvement or regressions, with more pronounced regressions as context length increases. These languages are already well-represented in each models’ extensive pre-training corpora, which include vast amounts of long-context data (e.g., books, code repositories). Fine-tuning on the short-context Aya data is unlikely to introduce any new long-range reasoning capabilities while risking disruption of the carefully calibrated weights that govern long-context performance, leading to degradation. This is the exact problem that advanced techniques like LongRoPE2’s mixed short/long training are designed to prevent (Shang et al., 2025), offering a future mitigation strategy. These slight variations in baseline performance confirm that COMPASS fine-tuning neither significantly helps nor harms these already well-optimized languages, with limited parameter modifications via DoRA contributing to observed high-resource stability. A small subset of HRLs (Hindi, Polish, Portuguese, Dutch, Serbian) show more substantial improvements at 8K and 32K context lengths before tapering off at longer context lengths. LRL and MRL Performance. For LRLs and MRLs, the relative change in performance is tied to how well the target language is initially supported by the base model, with gains being largest at shorter long-context splits (8K and 32K) before consistently degrading at lengths of 64K and 128K. The baseline performance of the models in these languages on OneRuler is significantly lower than in HRLs, creating substantial room for improvement. Once the model can "think" more effectively in Swahili, it can apply its existing, but previously dormant long-context architectural machinery to a Swahili problem. Qwen2.5-7B (Vietnamese, Korean, Chinese, Swahili, Persian) and Phi4-Mini (Norwegian, Danish, Finnish, Czech, Ukrainian, Swedish, Chinese) utilize COMPASS fine-tuning to incur performance improvements on substantially more languages than Llama3.1-8B, possibly due to limitations in tokenization strategy or architectural bottlenecks. Hungarian and Tamil, for which only synthetic fine-tuning data is available with no explicit support across any of the base models, were the only languages with no improvement across any setting. Cross-Model Analysis. While all models support a 128K token context length, they employ different mechanisms for length extrapolation that empirically affect fine-tuning plasticity across context lengths. Qwen2.5-7B provides the most robust bridge between short-context fine-tuning extrapolated to long-context evaluation, whereas positive long-context transfer for Llama3.1-8B was non-existent in most OneRuler settings. Despite its small size, Phi4-Mini’s large multilingual vocabulary mitigates LRL tokenization issues that could plague other models. Furthermore, its usage of fractional RoPE, which leaves some attention dimensions position-agnostic, could be a built-in defense against overfitting to the positional information in the short-context training data. Despite architectural variations, the context decay pattern remains consistent: any per-language improvements diminish as context length increases, becoming negligible or negative at 128K tokens.
5.5
COMPASS-ECDA enables effective continual adaptation
We evaluate how different strategies perform when adapting COMPASS-trained multilingual adapters to distribution shifts. Importantly, all dynamic methods leverage COMPASS’s distribution-guided selection from the Aya dataset, differing only in their approach to the stability-plasticity dilemma, isolating the adaptation mechanisms from the underlying data selection strategy. 21
Hindi (hi) Serbian (sr) Polish (pl) Portuguese (pt) Dutch (nl) Swedish (sv) Japanese (ja) French (fr) Spanish (es) German (de) Swahili (sw) Russian (ru) Italian (it) Korean (ko) English (en) Danish (du) Vietnamese (vi) Chinese (zh) Persian (fa) Norwegian (no) Sesotho (st) Ukrainian (uk) Finnish (fi) Czech (cs) Hungarian (hu) Tamil (ta)
6.6 2.9 4.4 4.4 2.8 4.4 3.4 3.6 3.3 3.6 7.5 2.9 1.1 6.3 1.1 0.0 4.4 2.2 5.7 1.1 3.1 1.2 1.2 0.0 0.0 0.0
8k
Qwen2.5-7B 4.6 2.8 4.1 2.3 2.5 3.4 2.7 1.3 1.1 0.0 4.9 1.3 1.1 4.3 0.0 -1.3 4.8 2.3 3.8 -1.3 0.0 -2.5 -1.4 -1.4 -1.3 -1.8
32k
1.4 1.6 0.5 1.2 1.5 1.2 0.0 0.0 0.0 0.0 2.4 -1.4 0.0 1.8 -1.2 -1.2 0.0 0.0 -1.6 -5.1 -4.2 -5.1 -6.1 -7.0 -5.4 -7.4
64k
Context Length
1.8 1.6 -2.0 -1.9 1.6 0.0 -1.7 -1.6 -2.6 -2.8 2.9 -1.4 -1.4 1.9 -3.0 -1.4 -2.3 -1.6 -7.6 -9.4 -8.1 -7.7 -9.1 -9.4 -7.7 -10.7
128k
2.8 3.2 2.0 0.0 1.0 -2.0 3.6 2.0 3.3 3.2 -3.1 0.0 0.0 -2.2 3.2 -1.0 -1.1 -2.1 -3.3 -1.0 0.0 -2.2 -2.2 -1.1 -2.0 -2.3
8k
Llama3.1-8B 0.3 2.1 1.1 3.1 0.1 -4.1 -1.4 -2.1 -2.2 -2.1 -3.8 -2.1 -2.1 -3.4 -2.1 -4.2 -4.4 -4.3 -4.5 -4.2 -5.7 -4.2 -4.3 -4.2 -3.1 -4.2
-0.1 1.1 0.3 2.2 -1.5 -5.6 -3.1 -2.2 -2.4 -3.3 -5.6 -2.4 -2.3 -5.1 -3.4 -6.8 -5.7 -5.7 -6.3 -5.7 -5.7 -6.7 -6.8 -4.5 -5.7 -5.9
32k
64k
Context Length
-4.2 -2.5 -2.3 -1.3 -4.4 -8.3 -3.9 -4.2 -4.6 -4.1 -7.7 -4.2 -4.3 -9.0 -4.3 -7.2 -7.1 -7.1 -8.3 -7.8 -8.8 -7.8 -7.6 -8.3 -6.5 -9.1
128k
6.3 3.0 4.9 3.0 2.2 7.3 3.4 3.8 3.3 3.4 1.0 2.0 0.7 1.1 1.8 3.0 1.0 0.8 0.1 4.1 2.1 4.2 4.2 3.0 -0.6 -0.7
8k
Phi4-Mini
3.2 2.6 4.5 2.6 2.7 6.3 1.4 0.2 0.1 -0.7 -0.5 0.2 0.1 -0.4 -0.7 1.8 -0.9 0.2 -1.3 1.7 -1.8 0.5 1.6 1.7 -1.9 -2.5
32k
0.9 1.5 1.1 1.5 2.1 4.2 -1.0 -0.7 -0.7 -1.0 -2.5 -1.7 -0.7 -2.4 -1.9 1.8 -3.5 -1.8 -6.8 -2.0 -4.6 -2.0 -2.9 -3.9 -5.5 -6.9
64k
Context Length
-0.1 0.3 -2.1 -1.7 0.6 3.0 -2.4 -2.4 -3.2 -3.2 -3.6 -2.3 -2.3 -4.8 -3.4 1.7 -5.3 -3.3 -5.1 -6.2 -2.8 -4.5 -5.9 -6.3 -7.3 -10.2
128k
10.0 7.5 5.0 2.5 0.0 2.5 5.0
OneRuler Relative Change (%)
Target Language
Published in Transactions on Machine Learning Research (11/2025)
7.5 10.0
Figure 5: Relative change in performance between the baseline model with and without COMPASS on OneRuler, across language and context settings. To remain consistent with OneRuler’s experimental settings, we ensure that the total number of tokens shown to each model is identical, even if some models see more text than others. Regardless, for a given model, its baseline and COMPASS augmented forms see the same amount of text.
5.5.1
Single-Step Domain Adaptation
To investigate the inherent tension between learning new patterns and preserving existing knowledge, we simulate a distribution shift scenario in multilingual deployment. We train COMPASS adapters for each target language using a restricted subset of Global MMLU subjects. Specifically, we use only 27 of the 57 available subjects, deliberately excluding 30 subjects that will later appear in the distribution shift. The initial training follows standard COMPASS methodology: for each language ℓt , we use the Global MMLU dev set from the 27 included subjects to guide selection of training data from the training data pool, creating language-specific adapters. This represents the scenario where models are initially trained on available domain-specific data. After initial training, we simulate a distribution shift by introducing MMLU-ProX data. Critically, we focus on MMLU-ProX questions from the 30 subjects that were excluded from initial training. This ensures a genuine shift encompassing new subject areas the model has not encountered. All baseline methods begin from the same COMPASS-trained adapters and must adapt to the new distribution. They differ in how they select new training data from Aya and whether they employ regularization strategies. Static deployment provides a lower bound by using the original COMPASS adapter without any updates. Naive fine-tuning applies COMPASS selection using only the MMLU-ProX set for distribution guidance, ignoring the original Global MMLU distribution and representing aggressive adaptation without preservation mechanisms. Full retraining applies COMPASS selection using the combined sets from both distributions, treating them equally to find Aya samples matching the joint distribution. EWC uses COMPASS selection guided by MMLU-ProX but adds elastic weight consolidation, computing Fisher information on the original Global MMLU training data to identify and protect important parameters. Random rehearsal also uses COMPASS selection guided by MMLU-ProX, supplemented with 5% of the original training data randomly sampled and mixed with the new data. COMPASS-ECDA employs COMPASS selection guided by MMLU-ProX, enhanced with the synergistic mechanisms defined in our ECDA methodology. We apply COMPASS-ECDA with a replay buffer of 5% based on preliminary experiments reported in D. Each method trains for 5 epochs on its selected data, with the total data budget kept constant across methods through proportional scaling. COMPASS-ECDA achieves Pareto-optimal performance across all strategies through its integrated approach. Figure 6 presents the learning-forgetting trade-off when adapting from a subset of Global MMLU subjects 22
Published in Transactions on Machine Learning Research (11/2025)
Avg. Accuracy on MMLU ProX (%) [Higher = More Learning]
LLAMA
PHI
COMPASS-ECDA Full Retraining Naive Fine-tuning EWC Random Rehearsal
27
26
QWEN
30
46
29
45 44
28
43 27
25
42 26
24
41
25 44
46
48
50
52
54
56
Avg. Accuracy on Global-MMLU (%) [Higher = Less Forgetting]
58
40 44
46
48
50
52
Avg. Accuracy on Global-MMLU (%) [Higher = Less Forgetting]
54
56
54
56
58
60
62
64
Avg. Accuracy on Global-MMLU (%) [Higher = Less Forgetting]
66
Figure 6: Learning-forgetting trade-off across strategies. COMPASS-ECDA (dark blue) achieves Paretooptimal performance by combining distributional anchors with elastic regularization. Points represent performance after 5 epochs of adaptation. The x-axis shows retention on original Global MMLU subjects, while the y-axis shows adaptation to new MMLU-ProX domains.
to previously unseen MMLU-ProX domains. Since all non-static methods use COMPASS selection, the performance differences reflect the effectiveness of their adaptation strategies. Even with strategic data selection, adapting to new distributions requires explicit mechanisms to preserve prior knowledge. Despite using COMPASS to select optimal training data for MMLU-ProX, naive finetuning drops substantially on Global MMLU. Full retraining achieves moderate performance but at greater computational cost and assuming access to all data from the initial adaptation stage, which may not be available in practice. By itself, EWC reduces forgetting but remains suboptimal in performance, while random rehearsal’s naive preservation of old data fails to preserve core training samples. The relative advantage of COMPASS-ECDA is most pronounced on the smaller Phi4-Mini model. COMPASS-ECDA achieves the highest adaptation rate while minimizing forgetting below a 5% performance regression on Global MMLU. When model capacity is limited, the quality of preserved examples via distributional anchors becomes crucial. The adaptive instance weighting within the new COMPASS selection adapts sampling strategy based on cluster coverage, initially favoring prototypical examples and progressively incorporating boundary cases to ensure stable learning of new domains.
5.5.2
Multi-Step Continual Learning
COMPASS-ECDA navigates multiple distribution shifts while maintaining knowledge accumulated across temporal periods. Real-world deployment involves sequential distribution shifts as user needs evolve over time. To evaluate COMPASS-ECDA’s ability to handle multiple temporal shifts, we simulate a deployment trajectory spanning five distinct periods with evolving subject distributions. We partition the 57 MMLU subjects into temporal phases representing usage evolution (detailed subject allocation in Appendix D). Period T1 establishes initial deployment with 27 foundational subjects, followed by shifts towards 10 advanced STEM domains (T2), 10 humanities and ethics subjects (T3), 10 professional domains (T4), and, finally, a return to 10 subjects from the original T1 subject distribution, simulating cyclical usage while testing retention of intervening knowledge from T2-T4. Each period consists of approximately 2K samples per language and each transition is applied, and assessed, over 4 increments of 500 samples each. At each transition, the JS divergence trigger detects the distribution shift and initiates adapter updates (see Appendix D) for optimal trigger threshold setting). Performance is tracked throughout the adaptation process, measuring ability to adapt to new tasks and retention of previous knowledge. 23
Published in Transactions on Machine Learning Research (11/2025)
Figure 7 presents performance trajectories across the five periods for Qwen2.5-7B-Instruct. COMPASSECDA maintains robust performance throughout the temporal sequence, maintaining greater accuracy on MMLU-ProX than all methods aside from naive fine-tuning while preserving Global MMLU performance. In contrast, naive fine-tuning adapts well to each new distribution but exhibits catastrophic forgetting on Global MMLU. EWC and random rehearsal provide intermediate solutions, achieving moderate forgetting but with weaker adaptation to new distributions than COMPASS-ECDA. Full retraining achieves the strongest performance by leveraging all accumulated data at each period, but at multiples of computational cost.
Qwen2.5-7B-Instruct: Temporal Performance on New Tasks
MMLU-ProX Accuracy
0.50
Static Deployment Naive Fine-tuning Full Retraining
0.48 0.46 0.44 0.42 0.40 0.38
Backward Transfer ( Accuracy on Global MMLU)
EWC Random Rehearsal COMPASS-ECDA
0.0 0.02 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14
Initial 2.5
5.0
STEM
Humanities 10.0
7.5
Professional 12.5 15.0
Time Steps (×500 samples)
Cyclical 17.5
Qwen2.5-7B-Instruct: Forgetting Analysis on Original Tasks
T1 T2
T2 T3
Naive Fine-tuning Full Retraining EWC T3 T4
Period Transition
Random Rehearsal COMPASS-ECDA T4 T5
Figure 7: Temporal performance evolution for Qwen2.5-7B-Instruct. Note that time step 0 includes the initial 500 samples from the time period transition of T1 to T2 (i.e., the increments are 0-indexed on the x-axis. The cyclical return in T5 provides insights into knowledge retention. COMPASS-ECDA recovers T1 performance while maintaining T2-T4 knowledge, demonstrating that distributional anchors successfully preserve knowledge across non-adjacent periods. Naive fine-tuning recovers T1 performance but has largely forgotten T2-T4 subjects, regressing below its initial performance state relative to T1. When considering performance across all temporal transitions, COMPASS-ECDA achieves a superior balance of forward and backward transfer. Against naive fine-tuning, COMPASS-ECDA achieves comparable forward transfer while significantly reducing backward transfer per transition. Full retraining, despite access to all historical data and comparable forward and backward transfer, underperforms on computational ef24
Published in Transactions on Machine Learning Research (11/2025)
ficiency (see Appendix F). EWC and random rehearsal fail to match COMPASS-ECDA’s adaptation rates per transition. Model capacity influences continual learning dynamics in our experimental setting. The smaller Phi-4-Mini model benefits most from COMPASS-ECDA’s targeted preservation strategy, attributable to insufficient capacity to store essential information via DoRA, as it suffers from the largest regressions in backward transfer when using methods such as naive fine-tuning. LLaMA-3.1 demonstrates similar patterns with enhanced stability, while Qwen2.5’s stronger multilingual pretraining amplifies COMPASS-ECDA’s effectiveness, yielding the highest absolute performance across all periods. The consistent pattern across architectures, aggregated over multiple target languages and averaged over 3 random seeds, validates the generalizability of COMPASS-ECDA’s approach. Complete temporal trajectories and statistical comparisons for all models are provided in Appendix D. 5.6
COMPASS adaptation results in generalized multilingual benefits
The benefits of COMPASS generalize across other evaluation tasks, even without distribution matching (i.e., when cluster-level weights in COMPASS are not a dominant factor). The magnitude of improvement is most pronounced for languages that were initially poorly performing (MGSM) and on tasks that are similar to the fine-tuning objective (XQuAD) 8.
MGSM Performance (8-shot) 90
Accuracy (%)
80 70 60 50 40 30
PHI
LLAMA
QWEN
LLAMA
QWEN
XNLI Performance (0-shot)
65
Accuracy (%)
60 55 50 45 40 35
PHI
XQuAD Performance (0-shot)
F1 Score (%)
90 80 70 60 50
PHI
LLAMA Zero-Shot
Target
COMPASS
QWEN LangRank
LangSim
Figure 8: Model performance (Phi4-mini, LLaMA3.1, and Qwen2.5) across COMPASS, baselines, and competing approaches on three diverse multilingual evaluation tasks: MGSM, XNLI, and XQuAD. Our focus is on how performance shifts across different adaptation approaches for each model. The white dot and white line of each violin plot represent the mean and median performance, respectively. 25
Published in Transactions on Machine Learning Research (11/2025)
XQuAD. XQuAD exhibits the most substantial performance gains among the evaluated benchmarks, underscoring COMPASS’s effectiveness in adapting models for tasks that align closely with the instructionfollowing format of the Aya fine-tuning data. The magnitude of improvement correlates strongly with the baseline performance gap between languages. For Qwen2.5-7B, languages with weaker initial performance yet some exposure in the model’s pre-training data, such as Arabic, Thai, and Vietnamese, showed exceptional gains with COMPASS, while high-resource languages like English and Chinese demonstrated more moderate but still substantial improvements. COMPASS consistently outperforms full fine-tuning on XQuAD across all models, suggesting that the targeted cross-lingual transfer approach is particularly effective for questionanswering tasks where relevant knowledge may be distributed across languages. The LangRank and LangSim baselines achieve only 60-70% of COMPASS’s gains, confirming that distribution-aware selection provides superior transfer compared to linguistic similarity alone. XNLI. On XNLI, COMPASS demonstrates consistent improvements across all three model architectures, with the most salient improvements for languages with limited representation in the pre-training data. Bulgarian, which only had synthetic training data available, was the only language that exhibited a performance drop in the target-only setting, highlighting the challenges of fine-tuning only on data with questionable machine-translation quality. COMPASS mitigates this issue by leveraging high-quality cross-lingual data, maintaining performance even when target language data quality is questionable. MGSM. MGSM results reveal differentiated patterns based on initial model capabilities and language resources. For high-performing languages, COMPASS provides modest improvements across all models. However, for languages with weak baseline performance, the gains are more variable. Performance on MGSM highlights an important characteristic of COMPASS: its effectiveness scales with the availability of relevant cross-lingual knowledge. Mathematical reasoning, being more language-agnostic than other tasks, benefits from cross-lingual transfer when the target language lacks sufficient training examples, but shows diminishing returns for well-resourced languages where the base model already performs adequately. Cross-Model Analysis. Comparing across the three model architectures reveals consistent patterns. Phi4Mini has high relative improvements particularly on low-resource languages, suggesting that smaller models benefit more from targeted cross-lingual transfer. The model’s initial multilingual regression (noted in the Phi4 technical report) is mitigated by COMPASS. Llama3.1-8B demonstrates balanced improvements across all tasks, with less variance between high- and low-resource languages. Qwen2.5-7B, despite extensive multilingual pre-training, shows substantial uplift across the lower performing languages with COMPASS, particularly for XQuAD. Even models with significant multilingual exposure benefit from distribution-aware fine-tuning, especially when adapting to specific task formats. 5.7
Ablations
Embedding Model. COMPASS relies on the embedding model’s semantic representation capabilities, and a combination of lower quality embeddings and lack of language coverage in the embedding model deteriorates COMPASS’ data selection quality and downstream performance. GTE Multilingual Base is competitive with Jina3, with a discrepancy in average performance of 2.8% and 1.2%, respectively, on Global MMLU and MMLU-ProX that is in-line with its worse performance on MMTEB. The greater regression of GTE Multilingual Base on Global MMLU may be driven by its lack of coverage for low-resource languages such as Amharic (ge’ez script) and Hausa (latin script). Cluster- and sample-level weights assume distance in the embedding space reflects semantic text similarity. We posit that there is an inflection point where differences in embedding quality lead to a degradation in cluster- and sample-level weight computation and a subsequent degradation in performance on par with having neither cluster or sample level weights. To stress test COMPASS, we evaluate two more settings for embedding generation, Paraphrase Mpnet and Distiluse Base, representing greater discrepancy in both language coverage (lacking explicit coverage of one-third of Global MMLU languages and of Bengali, Swahili, and Chinese in MMLU-ProX) and with > 10% performance discrepancy on STS tasks in MMTEB relative to Jina3. Both result in performance reductions that mitigate the benefit of having fine-tuned on the target language and, in the case of Distiluse Base, worsen performance relative to the pretrained model, which is worse than the random sampling baseline. Standard deviations also increase by 3-4% due to associated 26
Published in Transactions on Machine Learning Research (11/2025)
regressions where both embedding models lack coverage. These regressions are worse than the random sampling baseline, and indicate that poor embedding quality results in a net negative. COMPASS-D vs. COMPASS-S. Both the deterministic (COMPASS-D) and stochastic (COMPASSS) algorithms improve over the baseline for all languages. While COMPASS-S outperforms COMPASS-D, indicating value in training data diversity, COMPASS-D is effective without extra sampling overhead. Global MMLU
MMLU ProX
Setting
Mean
SD
Mean
Phi4-Mini (3.8B)
43.5***
9.0
27.8*** 10.9
COMPASS (Optimal) Components: DoRA, Jina3, HDBScan, COMPASS-S
52.4
8.4
33.4
10.6
Ablation: PEFT Method LoRA (r=16)
51.2
10.2
32.5
12.1
Ablation: Embedding Model GTE Multilingual Base Distiluse Base Paraphrase Mpnet
49.6* 41.1** 43.9**
9.2 12.5 11.6
32.2 27.4** 28.8**
10.4 13.6 13.1
Ablation: Clustering Method KMeans Agglomerative (Ward) Taylor-Butina
47.1** 10.8 50.7* 8.9 40.6*** 12.4
29.0** 12.7 31.7* 11.3 22.1*** 13.5
Ablation: Sampling Strategy COMPASS-D
51.0*
9.4
32.1
10.6
Ablation: Sampling Importance Weights w/o sample-level w. w/o cluster-level w.
48.7* 47.3**
8.8 9.4
31.3* 29.9**
11.0 11.6
Component Varied
SD
Baseline Model
Table 2: Performance of COMPASS and variants on Global MMLU and MMLU-ProX. Scores are reported as the mean accuracy (%) across all languages. Standard deviation (SD) reflects variability of performance across languages, indicating cross-lingual consistency. Superscripts denote statistical significance vs. COMPASS (Optimal) via permutation tests: ∗ p<0.05, ∗∗ p<0.01, ∗ ∗ ∗ p<0.001. All results are from single-seed runs. Sampling Weights. Cluster- and sample-level weights are both important to COMPASS, with the former contributing most to performance. To ablate sample-level weights, we sample randomly within each cluster. To ablate cluster-level weights, we ignore cluster mismatches and sample a fixed number of examples per cluster evenly, picking the samples with highest semantic score in each. Cluster weights benefit the model’s ability to prioritize groupings of source language samples that are more representative of interactions with the target language’s users, as reflected by live traffic (or a suitable proxy). Sample-level weights prioritize source language data that has greater affinity to the target language and that are easy-to-learn in low data regimes. When we remove sample-level weights, performance drops by 3.7% (Global MMLU) and 2.1% (MMLU-ProX), whereas removal of cluster-level weights reduces performance by 5.1% (Global MMLU) and 3.5% (MMLU-ProX). Cluster selection (i.e., which topic to draw from) is more critical than sample-level weighting. Ignoring which clusters are needed (i.e., just taking top examples from each cluster equally) wastes capacity on clusters that already had target data reflective of live traffic, or spends too much on clusters that aren’t as useful. This aligns with the intuition that ensuring the model sees the right coverage of topics is paramount; seeing the absolute best example versus a moderately good example in a needed topic is secondary, and likely contributes to performance if sufficient to filter out hard-to-learn or noisy examples existing along the cluster boundary. 27
Published in Transactions on Machine Learning Research (11/2025)
Clustering Method. HDBScan was effective at handling variable cluster shapes and densities and in filtering noise points that were often dissimilar to others (for instance, some code-switched or garbage text examples introduced by MLQA-en). KMeans and Taylor-Butina clustering both underperform relative to HDBScan, with the latter regressing substantially. MMLU tasks are diverse and, when modified to reflect cultural nuances, diverge further from neat, spherical clusters with consistent density. With KMeans, forcing data into ill-fitting shapes across task/language boundaries with greater sensitive to outliers worsens performance. Taylor-Butina clustering, while also a density-based method, is better suited for high-dimensional binary representations with well-defined, often empirically-derived, pairwise similarity thresholds. Agglomerative clustering is most competitive with HDBScan, but is less robust to noise introduced by out-ofdistribution training data (MLQA-en). DoRA vs. LoRA. Across both Global MMLU and MMLU-ProX, DoRA achieves 1.2% and 0.9% higher average accuracy than LoRA (r=16), respectively. While this performance gain is marginal and not statistically significant relative to using LoRA, we chose DoRA for greater demonstrated robustness both across languages and hyperparameter configurations. The cross-lingual standard deviation for DoRA is 8.4% and 10.6% compared to LoRA’s 10.2% and 12.1% for Global MMLU and MMLU-ProX respectively, indicating more consistent performance across diverse language families. To quantify hyperparameter sensitivity, we evaluated both methods across a grid of learning rates (1e-6 to 2e-4) and rank values (8, 16, 32, 64), as shown in Figure 9. DoRA exhibited a broader optimal learning rate plateau (spanning 1e-5 to 5e-5), whereas LoRA demonstrated sharper performance peaks requiring precise learning rate tuning. While DoRA offers improved robustness, additional computations to perform weight decomposition into magnitude and direction result in increased training time. In terms of parameter and inference efficiency, DoRA adds a negligible number of parameters for the magnitude vector and does not increase inference overhead relative to LoRA, as both magnitude and direction components can be merged into the pre-trained weight after training (Liu et al., 2024). For COMPASS’s use case, the broader optimal hyperparameter range of DoRA reduces the risk of failures when adapting to new languages. Moreover, DoRA’s stability, compared to LoRA’s rank and learning rate sensitivity, obviates the need for as extensive hyperparameter sweeps to offset the increased cost of an individual training run.
Phi4-Mini-3.8B, Global MMLU
55
Phi4-Mini-3.8B, MMLU-ProX
36 34
4
2× 10
5
10
4
6
5× 10
10
6
10
5
4
2× 10
Learning Rate
5× 10
4
20
LoRA r=16 DoRA r=32 LoRA r=32
10
5
10
DoRA r=8 LoRA r=8 DoRA r=16
22 5
6
5× 10
24
5× 10
6
10
LoRA r=16 DoRA r=32 LoRA r=32
26
5
DoRA r=8 LoRA r=8 DoRA r=16
35
28
5
40
30
2× 10
Mean Accuracy (%)
45
32
2× 10
Mean Accuracy (%)
50
Learning Rate
Figure 9: Learning rate sensitivity comparison between DoRA and LoRA across different ranks on (left) Global MMLU and (right) MMLU-ProX. Solid lines with circles represent DoRA, dashed lines with squares represent LoRA. DoRA exhibits a broader optimal plateau and maintains stable performance across learning rates, while LoRA shows sharper peaks requiring precise tuning.
6
Discussion
COMPASS is effective for multilingual adaptation, outperforming baselines across diverse model architectures and evaluation benchmarks. By proactively identifying and sampling from under-represented semantic clusters in an auxiliary data pool, COMPASS minimizes the distributional mismatch between the training 28
Published in Transactions on Machine Learning Research (11/2025)
data and a target usage distribution. This data-centric approach stands in contrast to prior methods that rely on reactive, computationally intensive gradient manipulation during training or static heuristics such as linguistic similarity, which our experiments show to be less effective. The strategic selection of cross-lingual data maximizes positive transfer while mitigating the negative interference that plagues naive multilingual fine-tuning, a phenomenon starkly observed in the performance degradation of the "All" baseline. COMPASS-ECDA elevates the framework from a static, one-time adaptation technique to a dynamic, sustainable solution for real-world deployment, where data distributions are inherently non-stationary due to evolving user needs, emerging topics, or shifting demographics. A key advantage is the decoupling of the data selection process from the model training algorithm. The selection strategy, which operates on semantic representations in a pre-processing step, is agnostic to the specific PEFT method employed for adaptation (e.g., DoRA, LoRA). This modularity endows COMPASS with broad applicability, suggesting its potential to enhance not only current but also future adaptation techniques. 6.1
Limitations
The performance of any fine-tuning method is ultimately constrained by the properties of the base model and the data ecosystem. First, COMPASS is subject to a tokenization ceiling, where performance is capped by the base model’s pre-trained tokenizer. For many LRLs, pre-trained vocabularies are dominated by high-resource language tokens, leading to inefficient "over-fragmentation" where single LRL words are split into multiple sub-word tokens and placing greater strain on the model’s context window (Nag et al., 2025). This not only increases sequence lengths and computational costs but can also lead to suboptimal learning (Nicholas & Bhatia, 2023). As our fine-tuning process does not alter the tokenizer, this inherent inefficiency persists. While COMPASS optimizes the use of existing data, it cannot overcome the primacy of pre-training data scarcity. The foundational reason for the performance gap in LRLs is the scarcity of high-quality, representative data during the initial pre-training stage. Fine-tuning, even with a sophisticated method like COMPASS, is a powerful but partial intervention when compensating for the imbalance in web-scale data that forms the model’s core knowledge. Our evaluation relies on benchmarks like Global-MMLU and MMLU-ProX, yet these still represent only a fraction of the world’s linguistic and cultural diversity. The lack of quality, human-translated, and genuinely localized evaluation suites remains a critical challenge for the field. Reliance on translated or synthetic data can obscure a model’s true capabilities and risks, particularly for LRLs. These ecosystem-level constraints form a challenging cycle: a lack of pre-training data leads to poor tokenizers, making fine-tuning less effective, while a lack of good evaluation data hinders the measurement of progress. Algorithmic interventions like COMPASS, which improve data efficiency, are a crucial step. However, their full potential can only be realized in tandem with community-driven data curation efforts, which address the data scarcity and evaluation problems directly. Our framework is also built upon several assumptions. The initial adaptation phase relies on the "proxy for live data" assumption, using a held-out evaluation set to approximate the true "live" usage distribution. This is a pragmatic choice, but the proxy set may not perfectly reflect the topical or stylistic distribution of realworld user queries. This potential mismatch is a primary motivation for the continual learning component of our framework. COMPASS-ECDA is designed to be self-correcting; an imperfect initial adaptation can be refined over time as the system monitors and adapts to the actual incoming data stream. The continual update mechanism in COMPASS-ECDA is triggered by Jensen-Shannon (JS) divergence, a measure of distribution shift. This trigger is performance-blind. A significant distribution shift might occur that has no material impact on model performance (e.g., a new topic the model already handles well), leading to unnecessary updates. Conversely, a subtle but critical shift, such as the emergence of new adversarial phrasing, might not exceed the threshold, allowing performance to degrade silently. Furthermore, the continual learning phase relies on incremental clustering implementations that threaten long-term cluster stability. Over extended periods of significant distribution shift, the initial clusters may become "stale," rendering the incremental updates less effective. There likely exists a threshold beyond which performance cannot be improved without re-clustering the entire data pool from scratch (i.e., a "reset" of the 29
Published in Transactions on Machine Learning Research (11/2025)
adaptation process). The current work does not define or investigate this threshold, leaving open questions about the framework’s stability over very long time horizons. Finally, the entire data selection strategy is bottlenecked by encoder performance. The quality of the multilingual embeddings produced by the encoder model is paramount. Our ablation studies confirm this dependency, showing that lower-quality embeddings degrade performance. Any biases or weaknesses in the encoder will be propagated and potentially amplified by the selection process. Our empirical analysis reveals a specific manifestation of this encoder dependency: the "indiscriminate sampling" phenomenon where languages such as Malagasy, Malay, Tamil, Telugu, and Sinhala, which were not included in Jina3’s primary tuning set, were sampled disproportionately across unrelated target languages. Consequently, examples from these under-tuned languages contaminate the auxiliary data selection for targets with which they share no linguistic or topical affinity. This finding demonstrates that COMPASS’s sampling is systematically biased by encoder quality disparities across languages. When the encoder fails to capture precise semantic distinctions for certain languages, COMPASS’s cluster-based selection inherits and amplifies these flaws. It also highlights the hidden cost of general-purpose multilingual encoders: even when a language is nominally "supported," insufficient tuning can render it harmful to the selection process. Encoder selection and evaluation beyond aggregate metrics (e.g., average performance on MMTEB) would serve as a proactive diagnostic of per-language embedding quality, which might be addressed by either developing encoder-aware sampling weights that down-weight languages with known embedding deficiencies, or investigating whether fine-tuning the embedding model on a subset of the auxiliary data pool could reduce indiscriminate sampling by improving representation quality for under-tuned languages. 6.2
Future Work
The current framework’s modularity invites exploration into more sophisticated adapter architectures. Instead of treating adapters as monolithic, language-specific modules, future work could view them as carriers of composable "semantic skills." For instance, an adapter trained on Spanish legal text learns both "Spanish grammar" and "legal concepts." This perspective opens up several research directions. One is the development of merged adapters, where router scores from a language identification model could be used to combine multiple adapters at inference time. Another direction is the application of COMPASS to stacked adapters, where a language-specific adapter could be composed with a task-specific one (e.g., Spanish adapter + medica QA adapter) for more fine-grained specialization. While COMPASS focuses on distributional alignment, its framework could be extended to tackle broader systemic issues in multilingual NLP. For cross-lingual security, the distribution-guided approach could be adapted to select training examples that explicitly cover safety-critical scenarios in multiple languages, potentially reducing the jailbreaking success rates that can jump from ≤ 1% to 79% when translating unsafe inputs (Yong et al., 2024). For tokenization efficiency, COMPASS could be combined with script-aware sampling strategies that ensure balanced representation of non-Latin scripts during fine-tuning, potentially mitigating token length discrepancies that lead to inefficient encoding and decoding of non-Latin inputs (Cui et al., 2024; Ji et al., 2023). Regarding privacy preservation, enhanced multilingual capabilities may improve downstream multilingual preference alignment and safety tuning, strengthening defenses against sensitive training data extraction, personally identifiable information (PII) reconstruction, membership inference, and gradient leakage (Lukas et al., 2023; Li et al., 2024; Nasr et al., 2023). The principles of distribution-guided sampling are also domain-agnostic and could be extended to new applications. A compelling future direction is to adapt COMPASS for specialized multilingual domains such as multilingual code generation. In this context, the "target distribution" could be defined by a specific codebase, API, or programming style, and the framework could be used to select the most relevant code snippets from a vast, multilingual corpus of open-source projects to fine-tune a code-generating model. To address the "performance-blind" nature of the current update trigger, a multi-signal trigger system should be developed. The decision to update an adapter could be based on a learned score that integrates multiple signals: distribution divergence, performance degradation, uncertainty increase, and user feedback signals. 30
Published in Transactions on Machine Learning Research (11/2025)
Alternatively, consider that the data-centric approach of COMPASS-ECDA is complementary to parametercentric continual learning methods. A promising avenue is to integrate COMPASS-ECDA with the parameter preservation mechanisms of methods like CURLoRA. A hybrid system combining targeted rehearsal of distributional anchors with principled parameter regularization beyond EWC could prove highly robust. Addressing bias propagation requires integrating fairness constraints into the sampling objective. Future work should explore debiasing objectives that penalize selection of stereotypical associations and cluster-level auditing to identify whether certain topics (e.g., gender, religion, socioeconomic status) are disproportionately represented or omitted. Privacy-preserving Cluster interpretability methods, such as Clio Tamkin et al. (2024), may provide human oversight of the selection process in real-world applications. Ultimately, the solution to the LRL data scarcity problem lies beyond any single algorithm, underscoring the importance of large-scale, collaborative data creation and curation efforts. Initiatives like SeaCrowd, which is building comprehensive, standardized corpora for nearly 1,000 Southeast Asian languages, are essential high-quality, localized datasets and benchmarks needed to train and evaluate equitable multilingual models (Lovenia et al., 2025). While COMPASS provides an efficient framework for leveraging existing data, the long-term solution requires expanding the multilingual data ecosystem itself.
Broader Impact Statement The motivation for this work is to address and mitigate linguistic inequality prevalent in LLMs, thereby making advanced technologies more accessible and effective for speakers of low-resource languages. By improving model performance in a parameter- and data-efficient manner, our framework has the potential to foster greater digital inclusion and enable development of culturally and contextually relevant AI applications in underserved communities. Furthermore, enhancing the multilingual capabilities of base models is a crucial prerequisite for developing robust and equitable cross-lingual safety and alignment mechanisms, reducing the risk of users inadvertently bypassing safety guardrails when interacting in non-English languages. However, improved multilingual generation could be leveraged for malicious purposes, such as creating more convincing and targeted misinformation, spam, or propaganda across a wider range of languages, potentially impacting communities that are not well-equipped to detect or counter such threats. Additionally, our datacentric approach is dependent on the quality and composition of the underlying data sources and embedding models. The framework could inadvertently amplify existing societal biases present in the auxiliary data pool or in the multilingual text encoder used for semantic clustering. COMPASS does not explicitly audit or correct for bias, meaning that if the target data distribution itself reflects biases, the model will learn to replicate them. Beyond encoder biases, COMPASS’s data selection strategy could amplify biases present in the auxiliary data pool. High-performing semantic clusters are preferentially sampled, which may overrepresent majority viewpoints or Western-centric content even within non-Western languages, potentially marginalizing alternative cultural or institutional frameworks in affected communities. Our distribution-aware sampling prioritizes auxiliary data matching target usage patterns, which may inadvertently sample culturally sensitive content (e.g., indigenous knowledge, minority language expressions, religious texts) without proper cultural context or community consent. While COMPASS does not modify such content, the selection and repurposing of low-resource language data raises ethical questions about data sovereignty and appropriate use that warrant engagement with linguistic communities, especially those that have less agency in dictating data usage concerns. Lastly, the continual adaptation paradigm in COMPASS-ECDA requires periodic retraining cycles, which has associated environmental costs. While adapter-based approaches are more efficient than repeatedly training full models, production deployments should carefully consider the environmental impact of update frequency and explore strategies such as batching updates across multiple languages to reduce computational overhead. 31
Published in Transactions on Machine Learning Research (11/2025)
References Chirag Agarwal, Daniel D’souza, and Sara Hooker. Estimating example difficulty using variance of gradients, 2022. URL https://arxiv.org/abs/2008.11600. Divyanshu Aggarwal, Ashutosh Sathe, Ishaan Watts et al. MAPLE: Multilingual evaluation of parameter efficient finetuning of large language models. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Findings of the Association for Computational Linguistics: ACL 2024, pp. 14824–14867, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.881. URL https://aclanthology.org/2024.findings-acl.881/. Vladimir Araujo, Marie-Francine Moens, and Tinne Tuytelaars. Learning to route for dynamic adapter composition in continual learning with language models. In Yaser Al-Onaizan, Mohit Bansal, and YunNung Chen (eds.), Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 687–696, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024. findings-emnlp.38. URL https://aclanthology.org/2024.findings-emnlp.38/. Mikel Artetxe, Sebastian Ruder, and Dani Yogatama. On the cross-lingual transferability of monolingual representations. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.421. URL http://dx.doi.org/10.18653/v1/2020.acl-main.421. V. Beaufils and J. Tomin. Stochastic approach to worldwide language classification: the signals and the noise towards long-range exploration. 10 2020. doi: 10.31235/osf.io/5swba. Dan Biderman, Jacob Portes, Jose Javier Gonzalez Ortiz et al. Lora learns less and forgets less, 2024. URL https://arxiv.org/abs/2405.09673. Yuri Bizzoni, Tom S Juzek, Cristina España-Bonet et al. How human is machine translationese? comparing human and machine translations of text and speech. In Marcello Federico, Alex Waibel, Kevin Knight et al. (eds.), Proceedings of the 17th International Conference on Spoken Language Translation, pp. 280–290, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.iwslt-1.34. URL https://aclanthology.org/2020.iwslt-1.34/. Terra Blevins, Tomasz Limisiewicz, Suchin Gururangan et al. Breaking the curse of multilinguality with cross-lingual expert language models, 2024. URL https://arxiv.org/abs/2401.10440. José Cañete, Gabriel Chaperon, Rodrigo Fuentes et al. Spanish pre-trained bert model and evaluation data, 2023. Branden Chan, Stefan Schweter, and Timo Möller. German’s next language model. In International Conference on Computational Linguistics, 2020. URL https://api.semanticscholar.org/CorpusID: 224814107. Yupeng Chen, Xiaoyu Zhang, Yixian Huang et al. Beyond english: Unveiling multilingual bias in llm copyright compliance, 2025. URL https://arxiv.org/abs/2503.05713. Alexis Conneau, Ruty Rinott, Guillaume Lample et al. XNLI: Evaluating cross-lingual sentence representations. In Ellen Riloff, David Chiang, Julia Hockenmaier et al. (eds.), Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2475–2485, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-1269. URL https://aclanthology.org/D18-1269/. Yiming Cui, Ziqing Yang, and Xin Yao. Efficient and effective text encoding for chinese llama and alpaca, 2024. URL https://arxiv.org/abs/2304.08177. Yue Deng, Wenxuan Zhang, Sinno Jialin Pan et al. Multilingual jailbreak challenges in large language models, 2024. URL https://arxiv.org/abs/2310.06474. 32
Published in Transactions on Machine Learning Research (11/2025)
Matthew S. Dryer and Martin Haspelmath (eds.). WALS Online (v2020.4). Zenodo, 2013. doi: 10.5281/ zenodo.13950591. URL https://doi.org/10.5281/zenodo.13950591. David M. Eberhard, Gary F. Simons, and Charles D. Fennig (eds.). Ethnologue: Languages of the World. SIL International, Dallas, Texas, 28 edition, 2025. URL http://www.ethnologue.com. Kenneth Enevoldsen, Isaac Chung, Imene Kerboua et al. Mmteb: Massive multilingual text embedding benchmark, 2025. URL https://arxiv.org/abs/2502.13595. Juuso Eronen, Michal Ptaszynski, and Fumito Masui. Zero-shot cross-lingual transfer language selection using linguistic similarity. Information Processing Management, 60(3):103250, May 2023. ISSN 03064573. doi: 10.1016/j.ipm.2022.103250. URL http://dx.doi.org/10.1016/j.ipm.2022.103250. Muhammad Fawi. Curlora: Stable llm continual fine-tuning and catastrophic forgetting mitigation, 2024. URL https://zenodo.org/doi/10.5281/zenodo.12730055. Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. The llama 3 herd of models, 2024. URL https://arxiv.org/abs/2407.21783. Varun Gumma, Pranjal A Chitale, and Kalika Bali. Towards inducing long-context abilities in multilingual neural machine translation models. In Luis Chiruzzo, Alan Ritter, and Lu Wang (eds.), Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 7158–7170, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-189-6. doi: 10.18653/ v1/2025.naacl-long.366. URL https://aclanthology.org/2025.naacl-long.366/. Dan Hendrycks, Collin Burns, Steven Basart et al. Measuring massive multitask language understanding, 2021. URL https://arxiv.org/abs/2009.03300. David Isele and Akansel Cosgun. Selective experience replay for lifelong learning, 2018. URL https: //arxiv.org/abs/1802.10269. Yunjie Ji, Yan Gong, Yong Deng et al. Towards better instruction following language models for chinese: Investigating the impact of training data and evaluation. CoRR, abs/2304.07854, 2023. doi: 10.48550/ ARXIV.2304.07854. URL https://doi.org/10.48550/arXiv.2304.07854. Fan Jiang, Honglin Yu, Grace Chung et al. Franken-adapter: Cross-lingual adaptation of llms by embedding surgery, 2025. URL https://arxiv.org/abs/2502.08037. Amir Kargaran, Ayyoob Imani, François Yvon et al. Glotlid: Language identification for low-resource languages. In Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 6155–6218. Association for Computational Linguistics, 2023. doi: 10.18653/v1/2023.findings-emnlp.410. URL http: //dx.doi.org/10.18653/v1/2023.findings-emnlp.410. Khyati Khandelwal, Manuel Tonneau, Andrew M. Bean et al. Casteist but not racist? quantifying disparities in large language model bias between india and the west. CoRR, abs/2309.08573, 2023. URL https: //doi.org/10.48550/arXiv.2309.08573. Md Tawkat Islam Khondaker, Abdul Waheed, El Moatez Billah Nagoudi et al. GPTAraEval: A comprehensive evaluation of ChatGPT on Arabic NLP. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 220–247, Singapore, December 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.emnlp-main.16. URL https://aclanthology.org/2023.emnlp-main.16/. Yekyung Kim, Jenna Russell, Marzena Karpinska et al. One ruler to measure them all: Benchmarking multilingual long-context language models, 2025. URL https://arxiv.org/abs/2503.01996. James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521–3526, 2017. doi: 10.1073/pnas. 1611835114. URL https://www.pnas.org/doi/abs/10.1073/pnas.1611835114. 33
Published in Transactions on Machine Learning Research (11/2025)
Hadas Kotek, Rikker Dockum, and David Sun. Gender bias and stereotypes in large language models. In Proceedings of The ACM Collective Intelligence Conference, CI ’23, pp. 12–24. ACM, November 2023. doi: 10.1145/3582269.3615599. URL http://dx.doi.org/10.1145/3582269.3615599. Hyunjae Lee, Jaewoong Yoon, Bonggyu Hwang et al. Korealbert: Pretraining a lite bert model for korean language understanding. 2020 25th International Conference on Pattern Recognition (ICPR), pp. 5551– 5557, 2021. URL https://api.semanticscholar.org/CorpusID:231718643. Haoran Li, Yulin Chen, Jinglong Luo et al. Privacy in large language models: Attacks, defenses and future directions, 2024. URL https://arxiv.org/abs/2310.10383. Jiangnan Li, Thuy-Trang Vu, Christian Herold et al. Congrad:conflicting gradient filtering for multilingual preference alignment, 2025. URL https://arxiv.org/abs/2503.23777. Yu-Hsiang Lin, Chian-Yu Chen, Jean Lee et al. Choosing transfer languages for cross-lingual learning. In Anna Korhonen, David Traum, and Lluís Màrquez (eds.), Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 3125–3135, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1301. URL https://aclanthology.org/P19-1301/. Patrick Littell, David R. Mortensen, Ke Lin et al. URIEL and lang2vec: Representing languages as typological, geographical, and phylogenetic vectors. In Mirella Lapata, Phil Blunsom, and Alexander Koller (eds.), Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, pp. 8–14, Valencia, Spain, April 2017. Association for Computational Linguistics. URL https://aclanthology.org/E17-2002/. Danni Liu and Jan Niehues. Middle-layer representation alignment for cross-lingual transfer in fine-tuned LLMs. In Wanxiang Che, Joyce Nabende, Ekaterina Shutova et al. (eds.), Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 15979–15996, Vienna, Austria, July 2025. Association for Computational Linguistics. ISBN 979-8-89176-251-0. doi: 10.18653/v1/2025.acl-long.778. URL https://aclanthology.org/2025.acl-long.778/. Shih-Yang Liu, Chien-Yi Wang, Hongxu Yin et al. Dora: Weight-decomposed low-rank adaptation, 2024. URL https://arxiv.org/abs/2402.09353. Ziche Liu, Rui Ke, Yajiao Liu et al. Take the essence and discard the dross: A rethinking on data selection for fine-tuning large language models. In Luis Chiruzzo, Alan Ritter, and Lu Wang (eds.), Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pp. 6595–6611, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-189-6. doi: 10.18653/ v1/2025.naacl-long.336. URL https://aclanthology.org/2025.naacl-long.336/. Shayne Longpre, Rishi Mahari, Annie Chen et al. A large-scale audit of dataset licensing and attribution in AI. Nature Machine Intelligence, 6:975–987, 2024. doi: 10.1038/s42256-024-00878-8. Holy Lovenia, Rahmad Mahendra, Salsabil Maulana Akbar et al. Seacrowd: A multilingual multimodal data hub and benchmark suite for southeast asian languages, 2025. URL https://arxiv.org/abs/2406.10118. Li Lucy, Suchin Gururangan, Luca Soldaini et al. AboutMe: Using self-descriptions in webpages to document the effects of English pretraining data filters. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 7393–7420, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.400. URL https://aclanthology.org/2024.acl-long.400/. Nils Lukas, Ahmed Salem, Robert Sim et al. Analyzing leakage of personally identifiable information in language models, 2023. URL https://arxiv.org/abs/2302.00539. Louis Martin, Benjamin Muller, Pedro Ortiz Suarez et al. Camembert: a tasty french language model. In Annual Meeting of the Association for Computational Linguistics, 2019. URL https: //api.semanticscholar.org/CorpusID:207853304. 34
Published in Transactions on Machine Learning Research (11/2025)
Microsoft, :, Abdelrahman Abouelenin et al. Phi-4-mini technical report: Compact yet powerful multimodal language models via mixture-of-loras, 2025. URL https://arxiv.org/abs/2503.01743. Mistral. Mistral saba, 2025. URL https://mistral.ai/news/mistral-saba. Arijit Nag, Soumen Chakrabarti, Animesh Mukherjee et al. Efficient continual pre-training of LLMs for lowresource languages. In Weizhu Chen, Yi Yang, Mohammad Kachuee et al. (eds.), Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 3: Industry Track), pp. 304–317, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-194-0. doi: 10.18653/v1/2025. naacl-industry.25. URL https://aclanthology.org/2025.naacl-industry.25/. Milad Nasr, Nicholas Carlini, Jonathan Hayase et al. Scalable extraction of training data from (production) language models, 2023. URL https://arxiv.org/abs/2311.17035. Dat Quoc Nguyen and Anh Gia-Tuan Nguyen. Phobert: Pre-trained language models for vietnamese. In Findings, 2020. URL https://api.semanticscholar.org/CorpusID:211677475. Gabriel Nicholas and Aliya Bhatia. Lost in translation: Large language models in non-english content analysis, 2023. URL https://arxiv.org/abs/2306.07377. Changdae Oh, Zhen Fang, Shawn Im et al. Understanding multimodal llms under distribution shifts: An information-theoretic approach, 2025. URL https://arxiv.org/abs/2502.00577. Jonas Pfeiffer, Ivan Vulić, Iryna Gurevych et al. MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfer. In Bonnie Webber, Trevor Cohn, Yulan He et al. (eds.), Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 7654–7673, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.617. URL https://aclanthology.org/2020.emnlp-main.617/. Ramon Pires, Hugo Abonizio, Thales Sales Almeida et al. Sabiá: Portuguese large language models, 2023. Qwen, :, An Yang et al. Qwen2.5 technical report, 2025. URL https://arxiv.org/abs/2412.15115. Olesya Razuvayevskaya, Ben Wu, João A. Leite et al. Comparison between parameter-efficient techniques and full fine-tuning: A case study on multilingual news article classification. PLOS ONE, 19(5):e0301738, May 2024. ISSN 1932-6203. doi: 10.1371/journal.pone.0301738. URL http://dx.doi.org/10.1371/ journal.pone.0301738. Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, 11 2019. URL http://arxiv.org/abs/1908.10084. David Rolnick, Arun Ahuja, Jonathan Schwarz et al. Experience replay for continual learning. In H. Wallach, H. Larochelle, A. Beygelzimer et al. (eds.), Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL https://proceedings.neurips.cc/paper_files/paper/ 2019/file/fa7cdfad1a5aaf8370ebeda47a1ff1c3-Paper.pdf. Gabriele Sarti and Malvina Nissim. It5: Large-scale text-to-text pretraining for italian language understanding and generation. ArXiv, abs/2203.03759, 2022. URL https://api.semanticscholar.org/CorpusID: 247315276. Uri Shaham, Jonathan Herzig, Roee Aharoni et al. Multilingual instruction tuning with just a pinch of multilinguality. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Findings of the Association for Computational Linguistics: ACL 2024, pp. 2304–2317, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.136. URL https://aclanthology. org/2024.findings-acl.136/. Ning Shang, Li Lyna Zhang, Siyuan Wang et al. Longrope2: Near-lossless llm context window scaling, 2025. URL https://arxiv.org/abs/2502.20082. 35
Published in Transactions on Machine Learning Research (11/2025)
Freda Shi, Mirac Suzgun, Markus Freitag et al. Language models are multilingual chain-of-thought reasoners, 2022. URL https://arxiv.org/abs/2210.03057. Shivalika Singh, Freddie Vargus, Daniel Dsouza et al. Aya dataset: An open-access collection for multilingual instruction tuning, 2024. URL https://arxiv.org/abs/2402.06619. Shivalika Singh, Angelika Romanou, Clémentine Fourrier et al. Global mmlu: Understanding and addressing cultural and linguistic biases in multilingual evaluation, 2025. URL https://arxiv.org/abs/2412.03304. Ben Sorscher, Robert Geirhos, Shashank Shekhar et al. Beyond neural scaling laws: beating power law scaling via data pruning, 2023. Saba Sturua, Isabelle Mohr, Mohammad Kalim Akram et al. jina-embeddings-v3: Multilingual embeddings with task lora, 2024. URL https://arxiv.org/abs/2409.10173. Jiao Sun, Thibault Sellam, Elizabeth Clark et al. Dialect-robust evaluation of generated text. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 6010–6028, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.331. URL https: //aclanthology.org/2023.acl-long.331/. Swabha Swayamdipta, Roy Schwartz, Nicholas Lourie et al. Dataset cartography: Mapping and diagnosing datasets with training dynamics. In Bonnie Webber, Trevor Cohn, Yulan He et al. (eds.), Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 9275–9293, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.746. URL https://aclanthology.org/2020.emnlp-main.746/. Alex Tamkin, Miles McCain, Kunal Handa et al. Clio: Privacy-preserving insights into real-world ai use, 2024. URL https://arxiv.org/abs/2412.13678. NLLB Team, Marta R. Costa-jussà, James Cross et al. No language left behind: Scaling human-centered machine translation, 2022. URL https://arxiv.org/abs/2207.04672. Eva Vanmassenhove, Dimitar Shterionov, and Matthew Gwilliam. Machine translationese: Effects of algorithmic bias on linguistic complexity in machine translation. In Paola Merlo, Jorg Tiedemann, and Reut Tsarfaty (eds.), Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pp. 2203–2213, Online, April 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.eacl-main.188. URL https://aclanthology.org/2021.eacl-main. 188/. Aniket Vashishtha, Kabir Ahuja, and Sunayana Sitaram. On evaluating and mitigating gender biases in multilingual settings. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Findings of the Association for Computational Linguistics: ACL 2023, pp. 307–318, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-acl.21. URL https://aclanthology.org/2023.findings-acl.21/. Xinyi Wang, Yulia Tsvetkov, and Graham Neubig. Balancing training for multilingual neural machine translation. In Dan Jurafsky, Joyce Chai, Natalie Schluter et al. (eds.), Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 8526–8537, Online, July 2020a. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.754. URL https://aclanthology.org/ 2020.acl-main.754/. Yubo Wang, Xueguang Ma, Ge Zhang et al. Mmlu-pro: A more robust and challenging multi-task language understanding benchmark, 2024. URL https://arxiv.org/abs/2406.01574. Zhenyi Wang and Heng Huang. Data efficient continual learning of large language model, 2025. URL https://openreview.net/forum?id=aqvf3R48pl. 36
Published in Transactions on Machine Learning Research (11/2025)
Zirui Wang, Zachary C. Lipton, and Yulia Tsvetkov. On negative interference in multilingual models: Findings and a meta-learning treatment. In Bonnie Webber, Trevor Cohn, Yulan He et al. (eds.), Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4438–4450, Online, November 2020b. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.359. URL https://aclanthology.org/2020.emnlp-main.359/. Minghao Wu, Yitong Li, Meng Zhang et al. Uncertainty-aware balancing for multilingual and multi-domain neural machine translation training. In Marie-Francine Moens, Xuanjing Huang, Lucia Specia et al. (eds.), Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 7291–7305, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.emnlp-main.580. URL https://aclanthology.org/2021.emnlp-main.580/. Minghao Wu, Thuy-Trang Vu, Lizhen Qu et al. Mixture-of-skills: Learning to optimize data usage for fine-tuning large language models. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 14226– 14240, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/ v1/2024.emnlp-main.787. URL https://aclanthology.org/2024.emnlp-main.787/. Zixiang Xu, Yanbo Wang, Yue Huang et al. Cross-lingual pitfalls: Automatic probing cross-lingual weakness of multilingual large language models. In Wanxiang Che, Joyce Nabende, Ekaterina Shutova et al. (eds.), Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 8254–8284, Vienna, Austria, July 2025. Association for Computational Linguistics. ISBN 9798-89176-251-0. doi: 10.18653/v1/2025.acl-long.404. URL https://aclanthology.org/2025.acl-long. 404/. Weihao Xuan, Rui Yang, Heli Qi et al. Mmlu-prox: A multilingual benchmark for advanced large language model evaluation, 2025. URL https://arxiv.org/abs/2503.10497. Yinfei Yang, Daniel Cer, Amin Ahmad et al. Multilingual universal sentence encoder for semantic retrieval, 2019. Yangfan Ye, Xiaocheng Feng, Xiachong Feng et al. Exploring cross-lingual latent transplantation: Mutual opportunities and open challenges, 2025. URL https://arxiv.org/abs/2412.12686. Zheng-Xin Yong, Cristina Menghini, and Stephen H. Bach. Low-resource languages jailbreak gpt-4, 2024. URL https://arxiv.org/abs/2310.02446. Tianhe Yu, Saurabh Kumar, Abhishek Gupta et al. Gradient surgery for multi-task learning, 2020. URL https://arxiv.org/abs/2001.06782. Marcos Zampieri, Shervin Malmasi, Nikola Ljubešić et al. Findings of the VarDial evaluation campaign 2017. In Preslav Nakov, Marcos Zampieri, Nikola Ljubešić et al. (eds.), Proceedings of the Fourth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), pp. 1–15, Valencia, Spain, April 2017. Association for Computational Linguistics. doi: 10.18653/v1/W17-1201. URL https://aclanthology. org/W17-1201/. Daniel Zhang, Nestor Maslej, Erik Brynjolfsson et al. The ai index 2022 annual report, 2022. URL https: //arxiv.org/abs/2205.03468. Xin Zhang, Yanzhao Zhang, Dingkun Long et al. mGTE: Generalized long-context text representation and reranking models for multilingual text retrieval. In Franck Dernoncourt, Daniel Preoţiuc-Pietro, and Anastasia Shimorina (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, pp. 1393–1412, Miami, Florida, US, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-industry.103. URL https://aclanthology. org/2024.emnlp-industry.103/. Xin Zhang, Liang Bai, Xian Yang et al. C-lora: Continual low-rank adaptation for pre-trained models, 2025. URL https://arxiv.org/abs/2502.17920. 37
Published in Transactions on Machine Learning Research (11/2025)
Weixiang Zhao, Yulin Hu, Jiahe Guo et al. Lens: Rethinking multilingual enhancement for large language models, 2025. URL https://arxiv.org/abs/2410.04407.
Tianyang Zhong, Zhenyuan Yang, Zhengliang Liu et al. Opportunities and challenges of large language models for low-resource languages in humanities research, 2024. URL https://arxiv.org/abs/2412. 04497.
Yifan Zong, Yuntian Deng, and Pengyu Nie. Mix-of-language-experts architecture for multilingual programming, 2025. URL https://arxiv.org/abs/2506.18923.
A
Model Language Exposure
See Table 3. Note that Qwen2.5 advertises explicit support for 29 languages but not all of the supported languages are listed in their documentation. 38
Published in Transactions on Machine Learning Research (11/2025)
Bengali Cyrillic Latin Latin Greek Latin Latin Hebrew Latin Hangul Latin Latin Latin Latin Tamil Thai Cyrillic Arabic
Indo-European Indo-European Austronesian Indo-European Indo-European Austronesian Uralic Afro-Asiatic Austronesian Koreanic Indo-European Austronesian Indo-European Indo-European Dravidian Tai-Kadai Indo-European Indo-European
Indo-Aryan Balto-Slavic Malayo-Polynesian Germanic Graeco-Phrygian Malayo-Polynesian Finnic Semitic Malayo-Polynesian Korean Balto-Slavic Malayo-Polynesian Italic Germanic South Dravidian Kam-Tai Balto-Slavic Indo-Aryan
amh gle guj hat hau ibo jav kan kir kur mal mar mlg mya nep nor nso ny pan pus sin sna snd som sot sqi sun swa tel wol xho yor zul
Amharic Irish Gujarati Haitian Creole Hausa Igbo Javanese Kannada Kyrgyz Kurdish Malayalam Marathi Malagasy Burmese Nepali Norwegian Northern Sotho Nyanja Punjabi Pashto Sinhala Shona Sindhi Somali Southern Sotho Albanian Sundanese Swahili Telugu Wolof Xhosa Yoruba Zulu
Ge’ez Latin Gujarati Latin Latin Latin Latin Kannada Cyrillic Latin Malayalam Devanagari Latin Myanmar Devanagari Latin Latin Latin Gurmukhi Arabic Sinhala Latin Arabic Latin Latin Latin Latin Latin Telugu Latin Latin Latin Latin
Afro-Asiatic Indo-European Indo-European Indo-European Afro-Asiatic Atlantic-Congo Austronesian Dravidian Turkic Indo-European Dravidian Indo-European Austronesian Sino-Tibetan Indo-European Indo-European Atlantic-Congo Atlantic-Congo Indo-European Indo-European Indo-European Indo-European Indo-European Afro-Asiatic Atlantic-Congo Indo-European Austronesian Atlantic-Congo Dravidian Atlantic-Congo Atlantic-Congo Atlantic-Congo Atlantic-Congo
Semitic Celtic Indo-Aryan Italic Chadic Benue-Congo Malayo-Polynesian South Dravidian Common Turkic Iranian South Dravidian Indo-Aryan Malayo-Polynesian Burmo-Qiangic Indo-Aryan Germanic Benue-Congo Benue-Congo Indo-Aryan Iranian Indo-Aryan Indo-Aryan Indo-Aryan Cushitic Benue-Congo Albanian Malayo-Polynesian Benue-Congo South Dravidian North-Central Atlantic Benue-Congo Benue-Congo Benue-Congo
Dataset Language Coverage
See Table 4. 39
8B
▲
▲ ▲
▲
▲ ▲ ▲
▲ ▲ ▲ ▲
▲
▲ ▲ ▲ ▲ ▲
▲
▲
▲ ▲ ▲
▲
▲
▲ ▲ ▲ ▲ ▲ ▲
▲
▲ ▲ ▲
▲
tr
uc t-
▲
hi
B
tr
LL aM A
▲ ▲
4M P
▲ ▲
uc t dd in G gs lo tL ID v357 -v 0M 3
Bengali Bulgarian Cebuano Danish Greek Filipino Finnish Hebrew Indonesian Korean Lithuanian Malay Romanian Swedish Tamil Thai Ukrainian Urdu
▲ ▲
▲
-E m be
ben bul ceb dan ell fil fin heb ind kor lit msa ron swe tam tha ukr urd
▲ ▲ ▲ ▲
na
Semitic Balto-Slavic Germanic Germanic Italic Indo-Aryan Italic Japonic Germanic Iranian Balto-Slavic Italic Balto-Slavic Italic Balto-Slavic Common Turkic Vietic Sinitic
Ji
Afro-Asiatic Indo-European Indo-European Indo-European Basque Indo-European Indo-European Uralic Indo-European Japonic Indo-European Indo-European Indo-European Indo-European Indo-European Indo-European Indo-European Turkic Austroasiatic Sino-Tibetan
B -I ns
Arabic Latin Latin Latin Latin Latin Devanagari Latin Latin Japanese Latin Arabic Latin Latin Cyrillic Latin Cyrillic Latin Latin Han
-7
Arabic Czech German English Basque French Hindi Hungarian Italian Japanese Dutch Persian Polish Portuguese Russian Spanish Serbian Turkish Vietnamese Chinese
.5
ara ces deu eng eus fra hin hun ita jpn nld pes pol por rus spa srp tur vie zho
-I ns
Subgrouping
w en 2
Family
Q
Script
-3 .1
Language
in
Code
i-I ns t
ru ct -3
.8 B
Table 3: Language Support in Models (▲ = Supported)
▲
▲
▲
▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲
▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲
▲ ▲
▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲
▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲
▲
▲ ▲ ▲ ▲ ▲
▲ ▲ ▲
▲ ▲ ▲ ▲ ▲
▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲ ▲
Published in Transactions on Machine Learning Research (11/2025)
Afro-Asiatic Indo-European Indo-European Indo-European Basque Indo-European Indo-European Uralic Indo-European Japonic Indo-European Indo-European Indo-European Indo-European Indo-European Indo-European Indo-European Turkic Austroasiatic Sino-Tibetan
Semitic Balto-Slavic Germanic Germanic Italic Indo-Aryan Italic Japonic Germanic Iranian Balto-Slavic Italic Balto-Slavic Italic Balto-Slavic Common Turkic Vietic Sinitic
High High High High High High High High High High High High High High High High High High High High
ben bul ceb dan ell fil fin heb ind kor lit msa ron swe tam tha ukr urd
Bengali Bulgarian Cebuano Danish Greek Filipino Finnish Hebrew Indonesian Korean Lithuanian Malay Romanian Swedish Tamil Thai Ukrainian Urdu
Bengali Cyrillic Latin Latin Greek Latin Latin Hebrew Latin Hangul Latin Latin Latin Latin Tamil Thai Cyrillic Arabic
Indo-European Indo-European Austronesian Indo-European Indo-European Austronesian Uralic Afro-Asiatic Austronesian Koreanic Indo-European Austronesian Indo-European Indo-European Dravidian Tai-Kadai Indo-European Indo-European
Indo-Aryan Balto-Slavic Malayo-Polynesian Germanic Graeco-Phrygian Malayo-Polynesian Finnic Semitic Malayo-Polynesian Korean Balto-Slavic Malayo-Polynesian Italic Germanic South Dravidian Kam-Tai Balto-Slavic Indo-Aryan
Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid Mid
▲♦ ♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ♦ ▲♦ ▲♦ ▲♦ ▲♦ ♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦
amh gle guj hat hau ibo jav kan kir kur mal mar mlg mya nep nor nso ny pan pus sin sna snd som sot sqi sun swa tel wol xho yor zul
Amharic Irish Gujarati Haitian Creole Hausa Igbo Javanese Kannada Kyrgyz Kurdish Malayalam Marathi Malagasy Burmese Nepali Norwegian Northern Sotho Nyanja Punjabi Pashto Sinhala Shona Sindhi Somali Southern Sotho Albanian Sundanese Swahili Telugu Wolof Xhosa Yoruba Zulu
Ge’ez Latin Gujarati Latin Latin Latin Latin Kannada Cyrillic Latin Malayalam Devanagari Latin Myanmar Devanagari Latin Latin Latin Gurmukhi Arabic Sinhala Latin Arabic Latin Latin Latin Latin Latin Telugu Latin Latin Latin Latin
Afro-Asiatic Indo-European Indo-European Indo-European Afro-Asiatic Atlantic-Congo Austronesian Dravidian Turkic Indo-European Dravidian Indo-European Austronesian Sino-Tibetan Indo-European Indo-European Atlantic-Congo Atlantic-Congo Indo-European Indo-European Indo-European Indo-European Indo-European Afro-Asiatic Atlantic-Congo Indo-European Austronesian Atlantic-Congo Dravidian Atlantic-Congo Atlantic-Congo Atlantic-Congo Atlantic-Congo
Semitic Celtic Indo-Aryan Italic Chadic Benue-Congo Malayo-Polynesian South Dravidian Common Turkic Iranian South Dravidian Indo-Aryan Malayo-Polynesian Burmo-Qiangic Indo-Aryan Germanic Benue-Congo Benue-Congo Indo-Aryan Iranian Indo-Aryan Indo-Aryan Indo-Aryan Cushitic Benue-Congo Albanian Malayo-Polynesian Benue-Congo South Dravidian North-Central Atlantic Benue-Congo Benue-Congo Benue-Congo
Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low Low
▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ♦ ▲♦ ♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦
M M
▲♦ ▲♦ ▲♦ ▲♦
▲ ▲
▲♦ ▲♦ ▲♦ ▲♦ ▲♦
▲ ▲ ♦ ▲♦ ♦ ▲ ▲♦ ▲ ♦ ▲♦ ▲♦ ▲ ▲
40
▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦
▲ ▲ ▲
▲ ▲
▲
▲ ▲
▲■ ▲■ ▲■
▲
▲
▲ ▲
▲ ▲
▲ ▲
▲ ▲ ▲
▲ ▲ ▲
▲
▲♦
er
d
▲ ▲ ▲
▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■ ▲■
▲ ▲ ▲■
♦ ♦
▲
▲ ▲■
♦ ▲ ▲ ♦ ▲♦ ▲♦ ♦
▲♦
▲♦ ▲♦
▲■
▲ ▲■ ▲■ ▲♦ ▲♦ ▲♦
▲
▲
▲ ▲■
▲
▲♦
♦ ♦
♦
▲♦ ♦ ♦
▲♦ ▲■
♦
▲♦ ♦ ♦ ▲■
▲ ▲♦
▲♦ ▲♦ ▲♦
▲
▲♦ ▲♦
Per-Language Performance on Global MMLU & MMLU-ProX
See tables 5 to 10.
ro X
G
▲ ▲♦ ▲ ▲♦
Legend: ▲ = human translated, ♦ = machine translated, ■ = templated
C
P
lo
Ay a
▲♦ ♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦ ▲♦
O ne R ul
Arabic Latin Latin Latin Latin Latin Devanagari Latin Latin Japanese Latin Arabic Latin Latin Cyrillic Latin Cyrillic Latin Latin Han
SM 8K
Arabic Czech German English Basque French Hindi Hungarian Italian Japanese Dutch Persian Polish Portuguese Russian Spanish Serbian Turkish Vietnamese Chinese
G
ara ces deu eng eus fra hin hun ita jpn nld pes pol por rus spa srp tur vie zho
M
Resources
xq ua
Subgrouping
X N LI
Family
LU
ol l.♦ ) /C
l M
Script
ba
a▲
Language
(D at
Code
M LU
Table 4: Language Resources and Translation Data
▲
▲ ▲
▲■
Published in Transactions on Machine Learning Research (11/2025)
Language Amharic (am) Arabic (ar) Bengali (bn) Czech (cs) German (de) Greek (el) English (en) Spanish (es) Persian (fa) Filipino (fil) French (fr) Hausa (ha) Hebrew (he) Hindi (hi) Indonesian (id) Igbo (ig) Italian (it) Japanese (ja) Korean (ko) Kyrgyz (ky) Lithuanian (lt) Malagasy (mg) Malay (ms) Nepali (ne) Dutch (nl) Nyanja (ny) Polish (pl) Portuguese (pt) Romanian (ro) Russian (ru) Sinhala (si) Shona (sn) Somali (so) Serbian (sr) Swedish (sv) Swahili (sw) Telugu (te) Turkish (tr) Ukrainian (uk) Vietnamese (vi) Yoruba (yo) Chinese (zh) Average St. Dev.
ZS 0.29 0.44 0.36 0.49 0.56 0.40 0.69 0.57 0.40 0.45 0.57 0.32 0.40 0.41 0.50 0.33 0.55 0.49 0.44 0.37 0.38 0.35 0.46 0.37 0.52 0.33 0.48 0.56 0.49 0.51 0.31 0.33 0.31 0.43 0.51 0.38 0.34 0.46 0.47 0.45 0.31 0.51 0.435 0.090
T + COMPASS 0.39 0.54 0.46 0.58 0.64 0.45 0.75 0.65 0.50 0.54 0.65 0.42 0.50 0.51 0.59 0.43 0.63 0.53 0.49 0.47 0.48 0.45 0.55 0.47 0.60 0.43 0.57 0.64 0.58 0.60 0.41 0.43 0.41 0.53 0.60 0.48 0.44 0.55 0.56 0.49 0.41 0.60 0.524 0.083
T 0.30 0.45 0.37 0.50 0.57 0.43 0.69 0.58 0.41 0.46 0.58 0.33 0.41 0.42 0.51 0.34 0.56 0.52 0.47 0.38 0.39 0.36 0.47 0.38 0.53 0.34 0.49 0.57 0.50 0.52 0.32 0.34 0.32 0.44 0.52 0.39 0.35 0.47 0.48 0.48 0.32 0.52 0.447 0.090
F 0.35 0.51 0.43 0.56 0.63 0.42 0.74 0.64 0.47 0.52 0.64 0.38 0.47 0.48 0.57 0.39 0.62 0.51 0.51 0.44 0.45 0.41 0.53 0.44 0.59 0.39 0.55 0.63 0.56 0.58 0.37 0.39 0.37 0.50 0.58 0.45 0.40 0.53 0.54 0.46 0.37 0.58 0.499 0.093
A 0.25 0.39 0.31 0.44 0.51 0.35 0.64 0.52 0.35 0.40 0.52 0.28 0.35 0.36 0.45 0.29 0.50 0.44 0.39 0.32 0.33 0.31 0.41 0.32 0.47 0.29 0.43 0.51 0.44 0.46 0.27 0.29 0.27 0.38 0.46 0.33 0.30 0.41 0.42 0.40 0.27 0.46 0.388 0.087
T+R 0.31 0.46 0.38 0.51 0.57 0.37 0.69 0.58 0.42 0.47 0.58 0.34 0.42 0.43 0.52 0.35 0.56 0.46 0.41 0.39 0.40 0.37 0.48 0.39 0.53 0.35 0.50 0.57 0.51 0.53 0.33 0.35 0.33 0.45 0.53 0.40 0.36 0.48 0.49 0.43 0.33 0.53 0.449 0.088
T + LR 0.34 0.49 0.41 0.53 0.59 0.40 0.70 0.60 0.45 0.49 0.60 0.37 0.45 0.46 0.54 0.38 0.58 0.48 0.41 0.42 0.43 0.40 0.50 0.42 0.55 0.38 0.52 0.59 0.53 0.55 0.36 0.38 0.36 0.48 0.55 0.43 0.39 0.50 0.51 0.45 0.36 0.55 0.473 0.083
Table 5: Per-language performance on Global-MMLU (Phi-4-Mini-Instruct-3.8B)
41
T + LS 0.34 0.48 0.41 0.53 0.59 0.39 0.70 0.60 0.44 0.49 0.60 0.37 0.44 0.46 0.54 0.38 0.58 0.48 0.43 0.42 0.42 0.40 0.50 0.42 0.55 0.38 0.52 0.59 0.53 0.55 0.36 0.38 0.36 0.47 0.55 0.43 0.39 0.50 0.51 0.46 0.36 0.55 0.473 0.084
Published in Transactions on Machine Learning Research (11/2025)
Language Amharic (am) Arabic (ar) Bengali (bn) Czech (cs) German (de) Greek (el) English (en) Spanish (es) Persian (fa) Filipino (fil) French (fr) Hausa (ha) Hebrew (he) Hindi (hi) Indonesian (id) Igbo (ig) Italian (it) Japanese (ja) Korean (ko) Kyrgyz (ky) Lithuanian (lt) Malagasy (mg) Malay (ms) Nepali (ne) Dutch (nl) Nyanja (ny) Polish (pl) Portuguese (pt) Romanian (ro) Russian (ru) Sinhala (si) Shona (sn) Somali (so) Serbian (sr) Swedish (sv) Swahili (sw) Telugu (te) Turkish (tr) Ukrainian (uk) Vietnamese (vi) Yoruba (yo) Chinese (zh) Average St. Dev.
ZS 0.31 0.50 0.42 0.56 0.58 0.51 0.68 0.62 0.49 0.52 0.61 0.39 0.45 0.48 0.57 0.39 0.60 0.52 0.51 0.43 0.47 0.37 0.53 0.44 0.58 0.34 0.55 0.60 0.57 0.57 0.36 0.36 0.34 0.51 0.56 0.42 0.40 0.53 0.54 0.55 0.33 0.56 0.491 0.092
T + COMPASS 0.39 0.57 0.49 0.62 0.64 0.58 0.70 0.68 0.56 0.58 0.67 0.46 0.52 0.55 0.63 0.46 0.66 0.58 0.58 0.50 0.54 0.44 0.59 0.51 0.64 0.41 0.61 0.66 0.63 0.63 0.43 0.43 0.41 0.58 0.62 0.49 0.47 0.59 0.60 0.61 0.40 0.62 0.555 0.086
T 0.33 0.52 0.44 0.58 0.60 0.53 0.69 0.64 0.51 0.54 0.63 0.41 0.47 0.50 0.59 0.41 0.62 0.54 0.53 0.45 0.49 0.39 0.55 0.46 0.60 0.36 0.57 0.62 0.59 0.59 0.38 0.38 0.36 0.53 0.58 0.44 0.42 0.55 0.56 0.57 0.35 0.58 0.508 0.091
F 0.38 0.58 0.49 0.63 0.65 0.59 0.68 0.69 0.56 0.59 0.68 0.45 0.52 0.55 0.64 0.45 0.67 0.59 0.58 0.50 0.54 0.44 0.60 0.51 0.65 0.41 0.62 0.67 0.64 0.64 0.43 0.43 0.41 0.58 0.63 0.49 0.47 0.60 0.61 0.62 0.40 0.63 0.559 0.090
A 0.27 0.45 0.37 0.51 0.53 0.46 0.63 0.57 0.44 0.47 0.56 0.34 0.40 0.43 0.52 0.34 0.55 0.47 0.46 0.38 0.42 0.32 0.48 0.39 0.53 0.29 0.50 0.55 0.52 0.52 0.31 0.31 0.29 0.46 0.51 0.37 0.35 0.48 0.49 0.50 0.28 0.51 0.438 0.091
T+R 0.33 0.52 0.44 0.57 0.59 0.53 0.67 0.63 0.51 0.53 0.62 0.41 0.47 0.50 0.58 0.41 0.61 0.53 0.53 0.45 0.49 0.39 0.54 0.46 0.59 0.36 0.56 0.61 0.58 0.58 0.38 0.38 0.36 0.53 0.57 0.44 0.42 0.54 0.55 0.56 0.35 0.57 0.510 0.087
T + LR 0.37 0.54 0.46 0.59 0.61 0.55 0.68 0.65 0.53 0.55 0.64 0.43 0.49 0.52 0.60 0.43 0.63 0.55 0.55 0.47 0.51 0.41 0.56 0.48 0.61 0.38 0.58 0.63 0.60 0.60 0.40 0.40 0.38 0.55 0.59 0.46 0.44 0.56 0.57 0.58 0.37 0.59 0.522 0.086
Table 6: Per-language performance on Global-MMLU (Llama-3.1-Instruct-8B)
42
T + LS 0.36 0.53 0.45 0.58 0.60 0.54 0.68 0.64 0.52 0.54 0.63 0.42 0.48 0.51 0.59 0.42 0.62 0.54 0.54 0.46 0.50 0.40 0.55 0.47 0.60 0.37 0.57 0.62 0.59 0.59 0.39 0.39 0.37 0.54 0.58 0.45 0.43 0.55 0.56 0.57 0.36 0.58 0.513 0.086
Published in Transactions on Machine Learning Research (11/2025)
Language Amharic (am) Arabic (ar) Bengali (bn) Czech (cs) German (de) Greek (el) English (en) Spanish (es) Persian (fa) Filipino (fil) French (fr) Hausa (ha) Hebrew (he) Hindi (hi) Indonesian (id) Igbo (ig) Italian (it) Japanese (ja) Korean (ko) Kyrgyz (ky) Lithuanian (lt) Malagasy (mg) Malay (ms) Nepali (ne) Dutch (nl) Nyanja (ny) Polish (pl) Portuguese (pt) Romanian (ro) Russian (ru) Sinhala (si) Shona (sn) Somali (so) Serbian (sr) Swedish (sv) Swahili (sw) Telugu (te) Turkish (tr) Ukrainian (uk) Vietnamese (vi) Yoruba (yo) Chinese (zh) Average St. Dev.
ZS 0.317 0.596 0.471 0.615 0.656 0.504 0.746 0.681 0.531 0.556 0.674 0.341 0.536 0.489 0.645 0.336 0.671 0.637 0.619 0.415 0.494 0.351 0.607 0.424 0.646 0.342 0.611 0.680 0.622 0.646 0.340 0.351 0.333 0.568 0.627 0.364 0.356 0.569 0.602 0.639 0.335 0.683 0.529 0.130
T + COMPASS 0.388 0.662 0.540 0.683 0.719 0.556 0.791 0.741 0.577 0.619 0.743 0.421 0.599 0.553 0.711 0.415 0.731 0.702 0.687 0.415 0.563 0.431 0.702 0.488 0.709 0.422 0.684 0.747 0.707 0.718 0.419 0.431 0.413 0.633 0.681 0.444 0.436 0.636 0.662 0.712 0.414 0.737 0.596 0.127
T 0.334 0.616 0.491 0.635 0.677 0.521 0.766 0.701 0.527 0.575 0.696 0.358 0.554 0.506 0.665 0.353 0.691 0.657 0.639 0.353 0.511 0.368 0.628 0.442 0.667 0.359 0.636 0.701 0.652 0.667 0.357 0.368 0.350 0.587 0.633 0.381 0.373 0.588 0.614 0.660 0.352 0.702 0.546 0.133
F 0.370 0.652 0.531 0.673 0.709 0.545 0.784 0.730 0.565 0.610 0.732 0.396 0.587 0.542 0.697 0.390 0.721 0.689 0.677 0.390 0.549 0.406 0.683 0.479 0.699 0.397 0.674 0.735 0.685 0.707 0.395 0.406 0.387 0.623 0.671 0.419 0.411 0.623 0.651 0.699 0.389 0.729 0.581 0.132
A 0.281 0.547 0.422 0.565 0.603 0.464 0.685 0.626 0.468 0.511 0.620 0.301 0.493 0.449 0.593 0.297 0.617 0.585 0.569 0.297 0.454 0.310 0.541 0.379 0.594 0.302 0.566 0.625 0.577 0.593 0.300 0.310 0.294 0.522 0.563 0.322 0.315 0.523 0.546 0.588 0.296 0.627 0.480 0.127
T+R 0.339 0.622 0.497 0.644 0.685 0.526 0.771 0.706 0.533 0.582 0.702 0.363 0.561 0.511 0.672 0.357 0.696 0.664 0.647 0.357 0.517 0.373 0.638 0.448 0.674 0.364 0.644 0.707 0.658 0.676 0.362 0.373 0.354 0.593 0.641 0.386 0.378 0.595 0.620 0.667 0.356 0.705 0.551 0.135
T + LR 0.365 0.634 0.513 0.655 0.695 0.535 0.778 0.715 0.544 0.592 0.713 0.390 0.571 0.522 0.683 0.384 0.706 0.675 0.658 0.384 0.529 0.399 0.658 0.462 0.685 0.391 0.655 0.719 0.669 0.687 0.389 0.399 0.381 0.604 0.652 0.412 0.404 0.606 0.632 0.680 0.383 0.712 0.567 0.128
Table 7: Per-language performance on Global-MMLU (Qwen2.5-7B-Instruct)
43
T + LS 0.359 0.626 0.506 0.648 0.689 0.529 0.774 0.709 0.538 0.586 0.706 0.384 0.565 0.516 0.676 0.378 0.700 0.668 0.651 0.378 0.523 0.393 0.650 0.456 0.679 0.385 0.648 0.712 0.663 0.681 0.383 0.393 0.375 0.598 0.646 0.406 0.398 0.599 0.625 0.672 0.377 0.707 0.561 0.128
Published in Transactions on Machine Learning Research (11/2025)
Language English (en) Chinese (zh) Japanese (ja) Korean (ko) French (fr) German (de) Spanish (es) Portuguese (pt) Arabic (ar) Thai (th) Hindi (hi) Bengali (bn) Swahili (sw) Czech (cs) Hungarian (hu) Indonesian (id) Italian (it) Marathi (mr) Nepali (ne) Russian (ru) Serbian (sr) Telugu (te) Ukrainian (uk) Urdu (ur) Vietnamese (vi) Wolof (wo) Yoruba (yo) Zulu (zu) Overall St. Dev.
ZS 51.6 35.3 23.9 14.3 37.3 36.8 37.9 37.7 27.4 17.6 13.0 11.7 13.7 21.1 16.8 14.0 35.3 12.7 8.0 32.6 24.4 14.9 22.8 14.0 24.6 3.3 3.4 2.1 21.7 12.3
T + COMPASS 54.8 43.3 32.0 20.8 43.9 44.5 44.8 44.7 34.0 28.2 24.3 20.9 21.6 26.0 18.1 17.1 42.7 21.0 15.8 40.1 30.1 23.0 27.8 20.0 30.3 5.6 17.9 9.8 28.7 12.0
T 49.4 37.4 26.1 17.5 39.3 38.8 39.9 39.8 28.4 20.1 20.9 16.0 17.3 20.7 16.5 13.7 38.5 15.2 10.4 32.4 25.5 16.5 23.5 15.3 25.7 4.1 10.2 7.4 23.8 11.5
F 52.6 43.3 30.9 20.2 43.9 44.5 44.8 44.7 33.0 27.8 23.6 19.9 20.7 22.7 17.7 14.9 41.1 20.3 15.4 38.6 28.9 21.5 26.7 19.4 29.1 5.6 15.8 8.6 27.7 12.12
A 40.6 31.1 20.6 11.9 33.4 33.8 33.8 33.5 23.3 13.8 10.9 8.8 10.3 18.3 14.6 12.2 30.7 11.0 6.8 28.3 21.2 12.4 19.5 12.1 21.4 0.4 2.8 0.6 18.5 10.95
T+R 50.5 38.4 27.2 16.1 40.2 39.8 41.0 40.8 29.4 21.4 17.7 14.6 15.4 21.0 16.6 13.9 34.8 12.6 8.0 32.5 24.2 15.2 22.3 14.1 24.4 1.1 3.6 3.2 22.9 12.8
T + LR 51.6 39.5 28.2 18.7 41.2 40.8 42.0 41.9 30.4 22.6 20.3 16.6 17.4 21.4 16.8 14.1 39.3 16.9 11.6 33.0 26.2 17.8 22.8 15.7 24.9 1.3 7.2 5.4 24.5 12.5
Table 8: Per-language performance on MMLU-ProX (Phi4-Mini-Instruct-3.8B)
44
T + LS 50.5 39.5 28.2 18.1 40.2 40.8 41.0 40.8 30.4 21.4 20.3 16.5 17.6 21.2 16.7 14.0 38.9 16.7 11.5 32.7 25.9 17.6 22.5 15.5 24.6 3.0 7.1 5.4 24.2 12.1
Published in Transactions on Machine Learning Research (11/2025)
Language English (en) Chinese (zh) Japanese (ja) Korean (ko) French (fr) German (de) Spanish (es) Portuguese (pt) Arabic (ar) Thai (th) Hindi (hi) Bengali (bn) Swahili (sw) Czech (cs) Hungarian (hu) Indonesian (id) Italian (it) Marathi (mr) Nepali (ne) Russian (ru) Serbian (sr) Telugu (te) Ukrainian (uk) Urdu (ur) Vietnamese (vi) Wolof (wo) Yoruba (yo) Zulu (zu) Overall St. Dev.
ZS 45.2 31.9 24.9 24 31.2 32.2 20.7 37.8 13.4 27.9 20.5 18.8 15.1 23.1 25.5 22.6 34.8 19.7 17.3 28.8 27.1 14.2 24.1 14.2 31.3 0.4 6.4 4.5 22.8 9.9
T + COMPASS 47.2 38.8 30.9 31.6 37.6 39.1 24.8 45.7 17.7 34.8 26.6 25.4 20.2 25.9 27.5 25.1 38.3 22.5 20.1 32.3 30.5 17.5 26.7 15.9 35.2 0.5 8.1 5.9 26.9 11.0
T 43.6 33.4 26.0 25.7 33.1 34.2 21.7 39.8 14.3 29.1 21.8 20.2 16.3 22.7 25.0 22.2 34.1 19.4 17.2 28.3 26.7 14.2 23.4 14.0 30.8 0.4 6.4 4.5 23.2 10.0
F 47.1 38.4 30.0 30.5 37.6 39.1 24.8 45.2 17.1 33.8 25.7 24.5 19.4 24.8 26.9 24.0 36.7 21.5 19.2 30.9 29.2 16.1 25.6 15.3 33.6 0.5 7.3 5.3 26.1 11.0
A 35.3 27.7 21.7 20.4 28.2 29.0 18.6 33.6 11.2 24.5 17.4 15.4 12.6 20.1 22.2 19.6 30.3 17.1 14.6 25.0 23.6 11.9 20.7 12.3 27.2 0.3 5.3 3.7 19.6 8.5
T+R 44.7 34.4 26.9 26.8 33.9 35.1 22.3 41.0 15.0 30.1 22.7 21.2 17.0 23.0 25.2 22.4 34.3 19.6 17.4 28.7 26.9 14.4 23.6 14.1 31.1 0.4 6.5 4.6 23.7 10.2
T + LR 45.7 35.3 27.8 27.9 34.8 36.1 22.9 42.1 15.6 31.2 23.6 22.2 17.7 23.4 25.6 22.8 34.9 20.1 18.0 29.2 27.5 15.4 24.1 14.4 31.7 0.5 7.0 5.0 24.4 10.4
Table 9: Per-language performance on MMLU-ProX (Llama-3.1-Instruct-8B)
45
T + LS 45.2 34.9 27.3 27.3 34.4 35.6 22.6 41.6 15.3 30.7 23.1 21.7 17.3 23.2 25.3 22.6 34.5 19.8 17.7 28.9 27.2 15.2 23.8 14.2 31.4 0.4 6.9 4.9 24.0 10.3
Published in Transactions on Machine Learning Research (11/2025)
Language English (en) Chinese (zh) Japanese (ja) Korean (ko) French (fr) German (de) Spanish (es) Portuguese (pt) Arabic (ar) Thai (th) Hindi (hi) Bengali (bn) Swahili (sw) Czech (cs) Hungarian (hu) Indonesian (id) Italian (it) Marathi (mr) Nepali (ne) Russian (ru) Serbian (sr) Telugu (te) Ukrainian (uk) Urdu (ur) Vietnamese (vi) Wolof (wo) Yoruba (yo) Zulu (zu) Overall St. Dev.
ZS 57.5 50.5 43.6 41.5 48.9 46.9 49.3 46.1 40.2 39.6 34 32.2 23.2 42.3 31.3 46.6 49.1 29.5 27.3 46.3 39.7 23.4 42.9 25.7 46.4 11 21.1 13.3 37.5 11.7
T + COMPASS 62.8 57.6 50.8 48.9 55.3 53.2 55.5 52.3 47.5 46.7 41.7 40.2 31.3 47.8 34.1 52.3 54.5 34 32 52.4 45 29.1 48 31.1 52.6 19.6 27.5 18.3 43.6 11.7
T 58.1 53.8 46.8 44.8 52.3 50.3 52.6 49.4 41.5 40.8 35.4 33.7 24.4 42 31 46.2 48.6 29.3 27.4 46 39.4 23.6 42 25.5 46.1 13.3 24.3 14.6 38.7 11.9
F 62.4 57.1 49.9 47.8 55.3 53.2 55.5 52 46.6 45.8 40.8 38.9 29.2 45.9 33.3 49.9 52.3 32.4 30.5 50.2 43.1 26.8 46 29.9 50.3 20.2 26.3 17.7 42.5 11.7
A 52.5 46.9 40.5 38.2 45.9 44 46.3 43.3 37 36.4 30.9 29 20.7 37.2 27.5 40.9 43.2 25.9 23.3 40.7 34.9 19.8 37.2 22.6 40.8 8.9 17.8 10.9 33.7 11.2
T+R 58.6 52.6 45.6 43.5 50.8 48.8 51.1 47.8 42.1 41.4 36 34.2 25.1 42.6 31.2 46.7 48.9 29.7 27.7 46.6 39.8 23.9 42.5 25.8 46.6 11.5 21.6 13.7 38.4 12.0
T + LR 59.4 53.5 46.5 44.4 51.5 49.5 51.8 48.4 42.8 42.2 36.9 35.1 25.9 43.4 31.7 47.5 49.7 30.3 28.7 47.4 40.7 25.6 43.3 26.3 47.5 13.6 23.3 15 39.4 11.7
T + LS 59.1 53.1 46.1 44 51.2 49.2 51.5 48.1 42.5 41.8 36.4 34.7 25.6 42.9 31.4 47 49.2 30 28.3 46.9 40.2 25.2 42.8 26 46.9 14.4 22.9 14.7 39 11.6
Table 10: Per-language performance on MMLU-ProX (Qwen2.5-7B-Instruct)
D
Continual Adaptation Experimental Design
D.1
Subject Allocation for Learning-Forgetting Experiments
For the controlled distribution shift experiments, we partition the 57 MMLU subjects into two groups. Initial Training Subjects (27 subjects) The initial Global MMLU adapter training includes broad coverage of basic knowledge while excluding advanced specialized topics that will constitute the distribution shift: Algebra, Elementary Mathematics, High School Biology, High School Chemistry, High School Physics, High School Psychology, High School Statistics, High School US History, High School World History, High School Geography, Anatomy, Astronomy, Conceptual Physics, Facts, Human Aging, Nutrition, Prehistory, Sociology, Miscellaneous, High School Government and Politics, High School Macroeconomics, High School Microeconomics, Public Relations, Genetics, Virology, High School Computer Science, and Elementary Mathematics. Held-Out Subjects for MMLU-ProX Shift (30 subjects) The distribution shift introduces subjects representing advanced and specialized knowledge: Business Ethics, Clinical Knowledge, Computer Science (University), Mathematics (University), Medicine (University), Physics (University), Biology (University), Chemistry (University), Psychology (Professional), Computer Security, Econometrics, Electrical Engineer46
Published in Transactions on Machine Learning Research (11/2025)
ing, International Law, Jurisprudence, Logical Fallacies, Machine Learning, Management, Marketing, Medical Genetics, Moral Disputes, Moral Scenarios, Philosophy, Accounting (Professional), Law (Professional), Medicine (Professional), Security Studies, US Foreign Policy, World Religions, Formal Logic, and Human Sexuality.
D.2
Temporal Distribution Shift Subject Allocation
Real-world deployment involves sequential distribution shifts as user interests evolve. To evaluate the COMPASS-ECDA trigger mechanism, we simulate temporal dynamics through subject-based distribution changes reflecting natural query evolution across five distinct periods. T1 - Initial Deployment (27 subjects) on a subset of 27 Global MMLU subjects.
The initial period T1 establishes COMPASS adapters trained
T2 - STEM Expansion (10 new subjects) Period T2 introduces a distribution shift toward advanced STEM content from MMLU-ProX, including Computer Science (University), Mathematics (University), Medicine (University), Physics (University), Biology (University), Chemistry (University), Computer Security, Electrical Engineering, Genetics, and Machine Learning. This shift simulates users adopting the system for advanced technical applications. T3 - Humanities Diversification (10 new subjects) The user base diversifies to include: Philosophy, World Religions, Moral Scenarios, Moral Disputes, Human Sexuality, Psychology (Professional), Formal Logic, Business Ethics, Jurisprudence, and Logical Fallacies. This shift represents expansion into ethical, legal, and philosophical domains previously absent from the training distribution. T4 - Professional Integration (10 new subjects) Enterprise adoption brings professional domains: Management, Marketing, Accounting (Professional), Medicine (Professional), Law (Professional), Clinical Knowledge, Econometrics, Security Studies, US Foreign Policy, and International Law. T5 - Cyclical Return (10 old subjects The distribution returns to the original T1 subject set assessed on MMLU ProX samples, simulating a seasonal usage pattern. To control for data size, we randomly selected 10 of the original 27 subjects, resulting in: Anatomy, Astronomy, Conceptual Physics, High School Mathematics, High School Psychology, Miscellaneous, Nutrition, Prehistory, Public Relations, and Virology. Table 11 reveals the trade-offs across different threshold values, evaluated across a range from 0.05 to 0.30. Aggressive thresholds below 0.15 trigger excessive updates, with θJS = 0.05 producing a 66.7% false positive rate where updates occur during stable distributions. This wastes computational resources and risks destabilizing well-adapted models through unnecessary retraining. Conservative thresholds above 0.20 exhibit the opposite problem, failing to respond promptly to distribution shifts. At θJS = 0.30, the system triggers only once across all five temporal periods, missing critical adaptation opportunities during the T2 STEM expansion and T3 humanities diversification. The large sample average delay means the model operates suboptimally for extended periods. The threshold value of 0.15 emerges as optimal, achieving zero false positives while maintaining prompt response to distribution shifts with an average delay of 2,180 samples. This threshold identifies all four major distribution transitions (T1→T2, T2→T3, T3→T4, T4→T5) without spurious triggers during stable periods. The computational cost remain manageable and comparable to the ideal setting of knowing the fixed-intervals in advance. While 0.15 serves as a robust default, for practical deployment scenarios we anticipate that language-specific calibration is desired, as low resource languages may benefit from higher thresholds to avoid unstable updates with limited validation data. 47
Published in Transactions on Machine Learning Research (11/2025)
JS Threshold θJS
Updates Triggered
Avg Delay (samples)
False Pos Rate (%)
0.05 0.10 0.15 0.20 0.25 0.30
12 7 4 3 2 1
0 100 400 900 1,500 1,800
66.7 42.9 0.0 0.0 0.0 0.0
Fixed
4
0
0.0
Table 11: Divergence threshold analysis on Qwen2.5-7B across temporal shifts T1-T5 added in 100 sample increments. Updates Triggered counts adaptation events, Avg Delay measures samples between distribution change and update trigger, rounded to nearest 100, False Positive Rate indicates updates without meaningful distribution shift.
D.3
Multi-Step Continual Learning Results
This section provides comprehensive results from the multi-step continual learning experiments across all three evaluated models. The temporal evolution spans five distinct periods (T1-T5) with each transition representing a significant distribution shift in subject composition. Figures 10 and 11 complement the Qwen2.5-7B results presented in the main text, illustrating performance evolution for Phi-4-Mini and LLaMA-3.1 models respectively. The consistent pattern across architectures validates the generalizability of COMPASS-ECDA’s approach. Tables 12, 13, and 14 report mean accuracy with standard deviation across 3 random seeds for key checkpoints (T1 and T5) and overall performance across the entire temporal span. Method Naive Fine-tuning Full Retraining EWC Random Rehearsal COMPASS-ECDA
PROX T1 0.264±0.001 0.261±0.004 0.259±0.006 0.257±0.009 0.258±0.008
PROX T5 0.270±0.024 0.276±0.008 0.265±0.012 0.274±0.021 0.281±0.014
PROX Overall 0.277±0.016 0.275±0.009 0.272±0.011 0.270±0.018 0.276±0.013
MMLU T1 0.479±0.001 0.475±0.002 0.477±0.001 0.481±0.002 0.477±0.002
MMLU T5 0.319±0.058 0.471±0.003 0.440±0.017 0.438±0.012 0.470±0.006
MMLU Overall 0.363±0.085 0.470±0.004 0.448±0.021 0.448±0.023 0.469±0.007
Table 12: Aggregate performance metrics for Phi-4-Mini-Instruct-3.8B.
Method Naive Fine-tuning Full Retraining EWC Random Rehearsal COMPASS-ECDA
PROX T1 0.233±0.001 0.234±0.002 0.235±0.003 0.230±0.002 0.232±0.001
PROX T5 0.246±0.028 0.251±0.011 0.241±0.014 0.236±0.010 0.252±0.012
PROX Overall 0.253±0.020 0.246±0.010 0.245±0.010 0.239±0.009 0.252±0.015
MMLU T1 0.519±0.002 0.517±0.002 0.520±0.002 0.523±0.002 0.519±0.001
MMLU T5 0.391±0.044 0.508±0.005 0.484±0.013 0.485±0.013 0.506±0.008
MMLU Overall 0.428±0.067 0.511±0.006 0.494±0.018 0.493±0.020 0.509±0.007
Table 13: Aggregate performance metrics for LLaMA-3.1-Instruct-8B.
D.4
Memory-Performance Analysis
We investigate the relationship between distributional anchor buffer size and performance retention using the Global MMLU to MMLU-ProX shift scenario. The analysis explores buffer sizes ranging from 0% representing pure regularization without rehearsal to 100% representing full rehearsal of all original training data. 48
Published in Transactions on Machine Learning Research (11/2025)
Phi-4-Mini-Instruct-3.8B: Temporal Performance on New Tasks Static Deployment Naive Fine-tuning Full Retraining
Backward Transfer ( Accuracy on Global MMLU)
MMLU-ProX Accuracy
0.34 0.32
EWC Random Rehearsal COMPASS-ECDA
0.30 0.28 0.26 0.24 0.22
Initial 0.0
0.02 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14
2.5
STEM 5.0
Humanities 7.5
Professional
10.0
12.5
Time Steps (×500 samples)
Cyclical
15.0
17.5
Phi-4-Mini-Instruct-3.8B: Forgetting Analysis on Original Tasks
T1 T2
T2 T3
Naive Fine-tuning Full Retraining EWC T3 T4
Random Rehearsal COMPASS-ECDA T4 T5
Period Transition
Figure 10: Temporal performance evolution for Phi-4-Mini-Instruct-3.8B across five distribution shifts. Despite limited model capacity, COMPASS-ECDA (dark blue) maintains stable adaptation with minimal forgetting. The pronounced forgetting in naive fine-tuning (light blue) underscores the importance of explicit retention mechanisms for smaller models. Method Naive Fine-tuning Full Retraining EWC Random Rehearsal COMPASS-ECDA
PROX T1 0.406±0.002 0.408±0.001 0.402±0.001 0.402±0.002 0.405±0.002
PROX T5 0.420±0.026 0.427±0.010 0.418±0.016 0.417±0.012 0.437±0.015
PROX Overall 0.430±0.023 0.425±0.013 0.422±0.016 0.418±0.013 0.431±0.019
MMLU T1 0.604±0.002 0.600±0.001 0.603±0.001 0.600±0.002 0.600±0.001
MMLU T5 0.491±0.036 0.591±0.005 0.576±0.011 0.570±0.010 0.591±0.006
MMLU Overall 0.522±0.058 0.590±0.007 0.580±0.016 0.579±0.014 0.592±0.007
Table 14: Aggregate performance metrics for Qwen2.5-7B-Instruct. Table 15 reveals diminishing returns beyond 5% distribution anchor buffer size in terms of mitigating forgetting. Ultimately, the size of the buffer reflects how susceptible the network architecture is to catastrophic forgetting, which remains low due to the nature of PEFT. D.5
Hyperparameter Selection for COMPASS-ECDA
To determine optimal regularization strength EWC (λ) and loss weight for the DAR buffer (β), we performed a joint hyperparameter sweep over a predefined set of values for both hyperparameters. The search space for 49
Published in Transactions on Machine Learning Research (11/2025)
LLaMA-3.1-Instruct-8B: Temporal Performance on New Tasks
Backward Transfer ( Accuracy on Global MMLU)
MMLU-ProX Accuracy
0.32
Static Deployment Naive Fine-tuning Full Retraining
0.30
EWC Random Rehearsal COMPASS-ECDA
0.28 0.26 0.24 0.22 0.20 0.02 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0.14
0.0
Initial 2.5
5.0
STEM
Humanities 10.0
7.5
Professional 12.5 15.0
Time Steps (×500 samples)
Cyclical 17.5
LLaMA-3.1-Instruct-8B: Forgetting Analysis on Original Tasks
T1 T2
T2 T3
Naive Fine-tuning Full Retraining EWC T3 T4
Period Transition
Random Rehearsal COMPASS-ECDA T4 T5
Figure 11: Temporal performance evolution for LLaMA-3.1-Instruct-8B. Buffer Size (%) 0 1 5 10 20
Global MMLU ∆
MMLU ProX ∆
-10.9 -5.0 -1.6 -1.0 -0.7
+6.9 +6.3 +5.2 +2.4 +1.6
Table 15: Memory-performance trade-offs for distributional anchor buffers on Qwen2.5-7B. ∆ shows change from initial performance.
λ was set to [0.1, 1, 2, 10, 100, 1000] to explore different orders of magnitude for the regularization penalty. The search space for β was set to [0.001, 0.01, 0.1, 0.5] to evaluate different weights for the rehearsal loss. For each pair of (λ, β), we trained the adapter on the distribution shift task, adapting from the initial Global MMLU subjects to the new MMLU-ProX subjects. The optimal pair was selected based on its ability to achieve the best Pareto-optimal trade-off on a held-out validation set, i.e., maximized performance on the new MMLU-ProX subjects while ensuring performance degradation on the original Global MMLU subjects remained minimal. This process identified λ = 2 and β = 0.1 as the most effective combination. These values were subsequently used for all COMPASS-ECDA experiments presented in the main paper. 50
Published in Transactions on Machine Learning Research (11/2025)
K-Means: Optimal K Distribution
HDBSCAN: Optimal Min Cluster Size 8
8
6
6
6
6
4
2
2
2
2
1 95 10 0 10 5 11 0 11 5 12 0
90
85
Number of Clusters (K)
16
15 10 5 0
80
0
22 20
4 5
10
15
Minimum Cluster Size
20
25
Number of Target Languages
9
Number of Target Languages
Number of Target Languages
HDBSCAN: Optimal Min Samples
25
10
23
20
15
15 10 5 0
4 1
5
Minimum Samples
10
Figure 12: Distribution of optimal clustering parameters across 42 target languages. Left: K-means optimal cluster number (K) selected by maximizing silhouette score. Middle: HDBSCAN optimal minimum cluster size selected by maximizing DBCV score. Right: HDBSCAN optimal minimum samples parameter. The balanced distribution between 5 and 10 indicates moderate density requirements for effective semantic clustering.
E
Clustering Methods
COMPASS’s performance depends on the quality of semantic clustering. We evaluated multiple clustering algorithms and conducted parameter sweeps to identify optimal configurations for each target language. For practical scenarios, we recommend conducting similar clustering hyperparameter investigations for each language, considering additional hyperparameter values beyond the upper bounds considered in this study. In this study, we use clustering metrics instead of downstream performance for efficiency, as fine-tuning each adapter is relatively costly and labeled test data may not be available prior to deployment. K-Means Clustering. Our K-means implementation was configured to test a range of clusters from K = 10 to K = 120 in steps of 5. We used the k-means++ initialization method with 10 different seeds for each value of K and evaluated cosine distance metrics. The final number of clusters per target language was selected by maximizing the silhouette score. Across all 42 languages, optimal K ranged from 80 to 120, with no language achieving optimal performance below K = 80 (Figure 12, left panel). The distribution is heavily weighted toward higher values (K ≥ 100) for 29 languages. HDBSCAN Clustering. For HDBSCAN, we conducted a grid search over parameter combinations to find optimal configurations, evaluating cluster quality using the Density-Based Clustering Validation (DBCV) score, which accounts for varying cluster densities and shapes while penalizing noise points. We performed a grid search over minimum cluster sizes of [5, 10, 15, 20] and minimum samples of [1, 5, 10]. The optimal minimum cluster size varied across languages (Figure 12, middle panel), though the majority of languages (22/42) achieved optimal clustering with min_cluster_size= 20. Only 4 languages required smaller values of 10, corresponding to low-resource languages. The minimum samples parameter, which determines core point density constraints, balanced between 5 and 10 (Figure 12, right panel), with preference for 5 samples. Only 4 languages (9.5%) achieved best performance with min_samples= 1. The preference for min_samples∈ {5, 10} indicates that COMPASS requires moderate density thresholds to distinguish meaningful semantic clusters from noise, and larger minimums may net even better clustering. Hierarchical Agglomerative Clustering. For hierarchical agglomerative clustering, we implemented a two-step approach using Ward’s linkage method to build a hierarchical cluster tree and fcluster to cut the dendrogram at an optimized number of clusters. After clustering, we compute cluster centers as the mean of all embeddings in each cluster for allocating cluster assignments. We evaluated both Euclidean and cosine distance metrics. For cosine similarity, we normalize embeddings before computing the distance matrix. The number of clusters was selected by maximizing the silhouette score over the range K = 80 to K = 120, 51
Published in Transactions on Machine Learning Research (11/2025)
following from initial results on K-means. Optimal K values were distributed similarly to K-means, with majority of languages optimized at values of K ≥ 110. Taylor-Butina Clustering. Taylor-Butina clustering is a density-based algorithm that iteratively: (1) computes pairwise distances between all embeddings, (2) sorts points by their number of neighbors within a threshold, (3) assigns points as cluster centers if they haven’t been claimed, and (4) assigns all neighbors of a center to its cluster. We enhanced this with an adaptive threshold selection mechanism that uses binary search to find the distance threshold within range [0.70, 0.95] that yields an optimal number of clusters. This approach iteratively adjusts the threshold between specified minimum and maximum values until convergence, finding the threshold that produces the largest number of non-singleton clusters while ensuring that at least 95% of the data points were assigned to a cluster.
F
Computational Efficiency Analysis
Preprocessing Overhead. COMPASS incurs a one-time preprocessing cost for embedding generation and clustering, which is amortized across all target languages. Using Jina-Embeddings-v3-570M (A100 GPU, batch size 128), we embed 204K examples from Aya dataet in 42.4 minutes (averaged over 3 embedding runs). HDBScan clustering on 204K 1024-dimensional embeddings required 2.2 hours on CPU. Amortized over 42 target languages, the one-time cost of preprocessing was 4.15 minutes per language. Per-Adapter Training Costs. Per-adapter training time for COMPASS for Phi4-Mini-3.8B, Llama-3.18B, and Qwen2.5-7B was 44.9, 104.7, and 86.3 minutes per language, respectively. Comparatively, peradapter training time was 17.9, 49.7, and 32.8 minutes per language, respectively, when only using the target language training data and not incorporating the auxiliary training data. For full finetuning, we observed increases in training time to 61.3, 133.2, and 110.6 minutes per language, respectively, for Phi4Mini-3.8B, Llama-3.1-8B, and Qwen2.5-7B. While rigorous comparison to full finetuning requires careful experimental controls (batch size, rank) and depends on hardware configuration and usage of optimized implementations, existing literature suggests LoRA and DoRA typically achieve up to 40% reductions in peak memory compared to full finetuning, though there are certain settings where throughput can decrease by up to 15% (Biderman et al., 2024; Liu et al., 2024). Inference Costs. COMPASS introduces minimal inference overhead through adapter loading and language detection. Given sentence-length inputs, GlotLID-v3 latency averaged 6 milliseconds with the model already loaded in memory. With all adapters pre-loaded, switching is less than 1 millisecond. In aggregate, these add negligible overhead to typical LLM inference latency. When loaded dynamically, the DoRA adapters introduced no more than 3% inference overhead compared to the base model across 3 runs on GlobalMMLU. Per-adapter memory overhead for Qwen2.5-7B-Instruct is approximately 40 MB (1.68 GB total for 42 adapters), representing roughly 10% additional storage relative to base model size. Scaling Considerations. Adding support for a new language requires embedding the new language’s dev set, computing cluster weights, sampling auxiliary data, and training one adapter. Assuming pre-computed cluster assignments from the initial clustering run on the initial language set, supporting a new language with a dev set of 3,000 examples required 496 seconds for the first three steps: embedding examples (248 sec), computing cluster weights (174 sec), and sampling auxiliary data (74 sec). The primary bottleneck remains adapter training (0.75 to 2.25 hours depending on the base model and data budget). While COMPASS-ECDA update cycles add distribution shift detection and usage of incremental clustering, the scaling bottleneck remains adapter retraining. Adding support for a new language entails linear scaling for storage ( 40 MB per adapter) and constant inference overhead, as language detection and adapter loading times remain unaffected by the total number of supported languages.
G
Statistical Testing
To assess statistical significance of performance differences between COMPASS and baseline methods, we employ non-parametric statistical tests that leverage cross-language variance from our single-run experiments across 42 languages (Global-MMLU) and 29 languages (MMLU-ProX). 52
Published in Transactions on Machine Learning Research (11/2025)
Permutation tests. For each pairwise comparison (e.g., COMPASS vs. Target), we perform approximate randomization tests by randomly shuffling the method labels across languages and recalculating the mean performance difference. We repeat this process 10,000 times to construct an empirical null distribution under the hypothesis of no systematic difference between methods. The p-value is computed as the proportion of permutations yielding a difference as large or larger than the observed difference. This approach tests whether COMPASS’s improvements are consistent across the language distribution or could arise from random variation. Effect sizes. We report Cohen’s d effect sizes to quantify the practical magnitude of improvements beyond statistical significance. Effect sizes are calculated using the pooled standard deviation across languages and interpreted using standard thresholds: small (d ≈ 0.2), medium (d ≈ 0.5), and large (d ≥ 0.8). This addresses the concern that with 42 languages, even small differences may achieve statistical significance despite limited practical importance. Sign tests. To evaluate whether improvements are distributed across languages rather than driven by outliers, we use binomial sign tests that count how many languages improved with COMPASS versus how many regressed. We test against the null hypothesis of equal probability (50%).
53