Manuscript Offprint

arXiv:2610.13370

Overcoming Data Imbalances with Expert Selection Biases

Ayush K. Tarun, Clara Meister, Antoine Bosselut

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Mixture-of-Experts (MoE) models have become the standard architecture for frontier LLMs. The multiple parallel experts in each transformer block theoretically enable expert specialization according to categories such as domains, languages, or modalities during pretraining. However, when data is imbalanced across categories, minority categories can become concentrated in a small fraction of the expert pool or spread inefficiently across them, effectively limiting their available capacity. In this work, we demonstrate that category-conditioned expert-selection biases can preferentially route tokens from different categories toward specialized expert pools. By applying biases based on input category, we provide a simple way to induce soft category-aligned specialization. This intervention encourages categories toward distinct expert subsets while retaining cross-category sharing when useful. More importantly, it enables the over-allocation of expert capacity to categories that would otherwise be disadvantaged by data scarcity. We observe performance improvements across modalities, low-resource languages, and code in models up to 10.6B parameters. At our smallest and largest model scales, these gains are equivalent to allocating 18.5% and 2.7% additional baseline training tokens, respectively. Overall, our results show that expert biases can serve as a lightweight control for category-level expert allocation, making room for low-resource categories while retaining standard MoE inference.

1 INTRODUCTION

Mixture-of-Experts (MoE) models offer the potential for specialization, where different experts are used to process different data categories, e.g., languages, modalities, or domains. Such specialization would increase effective modeling capacity by reducing training interference between heterogeneous data categories when there are no shared representations to be learned. However, category-aligned specialization does not reliably emerge under standard training (Jiang et al., 2024; Wang et al., 2026), and capacity may be asymmetrically allocated due to data imbalance even when it does. For example, in multimodal MoEs, Mustafa et al. (2022) show that tokens from a minority modality can collapse onto a single expert and saturate its capacity. Recent analyses of multilingual MoEs similarly report concentrated routing for underrepresented languages (Joseph et al., 2026).

Prior work has explored methods to explicitly encourage or enforce category-aware specialization through dedicated experts (Gururangan et al., 2022), category-guided routing (Zhao et al., 2024), and objectives that explicitly encourage category-level routing distributions to diverge (Li et al., 2026). These approaches establish that category information can meaningfully shape expert specialization during pretraining, and suggest that expert specialization could provide a mechanism for separating heterogeneous data categories, potentially reducing the competition for modeling capacity between them. However, these results do not establish that category-aware specialization can be used to aid model performance for data-scarce categories where this separation would be most consequential. For these low-resource categories, training alongside higher-resource categories degrades performance relative to training on the category alone, as reported for multimodal (Aghajanyan et al., 2023; Huang et al., 2022) and multilingual (Longpre et al., 2025) settings.

In this work, we investigate whether category-aligned expert selection alone can benefit low-resource categories. We propose COAX (Category-Oriented Allocation of eXperts; Figure 1), which repur-

∗^{*}Corresponding author.

Figure

Figure 1: Given an input category, COAX adds a category-conditioned bias α\alpha to the routing scores of a designated subset of experts before top-k selection. This bias softly encourages tokens from the same category to route to a common expert set, promoting category-specific specialization, while leaving all experts available when the learned routing scores sufficiently favor them. The mechanism is applied across MoE layers during pretraining, but the biases can be removed at inference time.

poses the per-expert router bias that Wang et al. (2024) introduced for load balancing. During pretraining, COAX adds a positive bias to the router probabilities of a designated subset of experts for each category. Rather than biasing experts according to their underuse, COAX biases based on data category, allowing a model developer to explicitly control the fraction of experts designated for a category, what we term the preferred expert share. This fraction can be set higher than the category's fraction of the training tokens, e.g., a language that makes up 1% of the training tokens can be assigned 4 of 128 routed experts (3.1%), allowing COAX to overcome data imbalances. Crucially, COAX represents a soft bias. All experts remain accessible to the router, allowing sufficiently strong learned routing scores to override the category bias, and preserving the possibility of cross-category knowledge sharing. The bias only needs to be applied during pretraining. At inference, the bias can be removed, simplifying the model to a standard top-K MoE, and preempting the need to slow inference by inducing category labels for input data.

Across modalities, languages, and code, we find that this simple intervention consistently improves low-resource performance, often with little to no degradation (and sometimes improvements) for higher-resource categories. We summarize our contributions as follows:

• We introduce COAX, which uses expert biases as category-conditioned routing priors. By biasing expert share per category, COAX enables preferred expert share, where the model is encouraged to give low-resource categories disproportionately large expert subsets without increasing per-token active compute.

• We evaluate COAX across modalities, languages, and domains at three model scales up to 10.6B parameters. In our 345M-A147M and 10.6B-A1.2B models, the improvements are equivalent to 18.5% and 2.7% additional training tokens, respectively. The largest gains are concentrated in low-resource categories for multilinguality and multimodality, and we further show that COAX induces functionally localized expert specialization. COAX also provides additional gains when combined with conventional data upsampling.

• COAX changes only the pretraining dynamics and requires no modifications to the standard MoE inference stack. No explicit category bias is needed at inference, meaning there is no additional inference-time overhead and no requirement for category labels. Its training overhead decreases sharply with scale, reaching ≤1.3%\leq 1.3\% at 10.6B-A1.2B.

References (41)