betaFeedback

WorksComputer Science

How Sparse Probability Maps Shape Mixture-of-Experts Routing

Abstract

Mixture-of-experts (MoE) routers typically apply softmax to the router scores and keep the top-K experts, making every token use exactly K experts. Sparsity-inducing probability maps such as sparsemax, alpha-entmax and normmax can adaptively assign exact zeros to selected experts, and therefore appear to offer token-dependent expert participation, even when using the same top-K machinery. In this work, we study whether and how this sparsity survives training. We train matched 300M and 1B top-2 MoE language models with softmax, 1.5-entmax, sparsemax and 2-normmax, and find that the maps behave very differently once trained: at 1B, entmax discards 30% less probability mass than softmax while almost never dropping a selected expert, sparsemax retains the most mass, and normmax routes 21% of tokens to a single expert. These outcomes are not properties of the maps alone. Each map drops a selected expert only when the gap between the two largest scores reaches a fixed threshold, and the trained routers differ in the score distribution they learn: the entmax router learns scores with roughly half the spread of softmax's, which keeps its top-2 gaps below its threshold, while sparsemax and normmax, which share the same threshold, learn different gap distributions and hence different participation. Routers thus co-adapt their scores to the map, and a map's capacity to produce zeros does not by itself determine expert participation. While none of the sparse maps improves validation loss over softmax, they make the trained models far less sensitive to selecting more experts at inference: sparsemax trained with K=2 loses 0.02 nats when run with K=8, where softmax loses 0.58. Our results indicate that adaptive MoE routing has to be designed around the joint behavior of the probability map and the learned scores, rather than around the map alone.

Introduction

Mixture-of-experts (MoE) layers scale model capacity by activating only a few expert networks per token ([22, 5, 10]). A router scores the experts, a probability map turns the scores into weights, and a top-KK operator keeps the KK highest-weighted experts, whose outputs are combined with the renormalized weights. With softmax, every token uses exactly KK experts, regardless of how many it needs, and the selected experts often account for only a fraction of the router’s probability mass—the rest is discarded by truncation.

Sparsity-inducing probability maps promise a way out without changing the top-KK machinery. Sparsemax (Martins and Astudillo [14]), α\alpha-entmax (Peters et al. [17]) and normmax ([20, 21]) can assign exact zeros, so a selected expert may receive zero weight and drop out of the mixture. The number of experts that actually contribute to a token is then data-dependent, even when the expert budget KK stays fixed. Several recent routers also build on this idea ([15, 23, 26]). However, how sparsity behaves in these models is not obvious. Since the router scores are learned, changing the map also changes the scores that the map receives: a trained sparsemax router and a trained softmax router differ both in how they transform scores and in which scores they learned to produce. As a result, a map that can produce zeros may rarely do so once its router has been trained

In this paper, we study whether the sparsity of the probability map survives training, and what determines expert participation when it does not. We train matched 300M and 1B top-2 MoE language models with softmax, 1.5-entmax, sparsemax and 2-normmax under an identical architecture, data and balancing objective, and we measure the probability mass retained by the selected experts (retention), the number of selected experts with non-zero weight (participation), and predictive quality. To relate the map to the scores it receives, we record the router scores of every trained model and measure how their spread and top-2 gaps sit relative to each map’s sparsification threshold. Figure 1 summarizes the setting and the outcomes. We find that a map’s ability to produce zeros does not, by itself, determine how many experts a token uses. Our main contributions are:

Illustration of a top-2 MoE router, probability maps, discarded mass, and single-expert tokens

Figure 1. Left: in a top-2 MoE router, the probability map π\boldsymbol{\pi} is the only component we change. Middle: on the same router scores, the maps differ in how much probability mass falls outside the selected pair (discarded mass δ\delta, gray) and in whether a selected expert receives zero weight (a filler, dashed), which lowers the number of contributing experts K+K_+; shown for two illustrative 8-expert score vectors whose top-2 gaps are 0.5 and 1.1. Right: statistics of our trained 1B MoE models.

  • A controlled study of sparse maps as MoE routers. We train top-2 MoE language models at two scales that differ only in the probability map, and measure retention, participation, load balance and predictive quality, together with the router scores of every trained model (§ 3).

  • Retention and participation are distinct outcomes. Under top-2 selection, mass is discarded only when more than two experts have positive probability, while participation drops only when a single expert does ( Equation (7)). The trained routers land in different regimes: at 1B, 1.5-entmax discards 30% less mass than softmax yet keeps both experts for 99.95% of tokens, whereas normmax-2 routes 21% of tokens to a single expert (§4.2).

  • The map’s threshold and the learned scores jointly set participation. Each map drops a selected expert exactly when the top-2 gap reaches a fixed threshold. The sparse routers learn smaller score spreads than softmax, keeping 1.5-entmax’s gaps below its threshold of 2; sparsemax and normmax-2 share the threshold 1, yet route 6.9% and 21.3% of tokens to one expert, as their routers learn different gap distributions (§4.3).

  • Sparse maps reduce sensitivity to the inference-time budget. None improves validation loss at the trained budget, but running the 1B models trained with K=2K=2 at K=8K=8 costs sparsemax 0.02 nats against 0.58 for softmax, as sparsemax gives zero weight to most of the extra slots (§ 4.4).

Background: probability maps and expert selection

A bias-free router maps a token representation xi∈Rd\mathbf{x}_i \in\mathbb{R}^{d} to scores zi=Wrxi∈Rn\mathbf{z}_i = W_r\mathbf{x}_i \in\mathbb{R}^{n} and to probabilities pi=π(zi)∈Δn\mathbf{p}_i = \pi(\mathbf{z}_i) \in\Delta^{n}, where Δn={p∈Rn:p≥0, 1Tp=1}\Delta^{n} = \{\mathbf{p} \in\mathbb{R}^{n}: \mathbf{p} \ge0,\ \mathbf{1}^{\mathsf{T}}\mathbf{p} = 1\} is the (n−1)(n-1)-dimensional probability simplex. We write 1[ ⋅ ]\mathbf{1}[\,\cdot\,] for the indicator function, and [a]+=max⁡(a,0)[a]_+ = \max(a,0).

Selection and combination. For 1≤K≤n1 \le K \le n, let Si=TopK⁡(pi,K)S_i = \operatorname{TopK}(\mathbf{p}_i,K) be the KK selected experts (ties are broken by score, then by index). The contributing experts are those selected with positive weight, Ti={j∈Si:pij>0}T_i = \{j \in S_i : p_{ij} > 0\}. The retained mass, the normalized mixture weights and the layer output are

mi=∑j∈Sipij,qij=pij 1[j∈Si]mi,MoE⁡(xi)=∑j∈SiqijEj(xi),(1)m_i=\sum_{j\in S_i}p_{ij},\qquad q_{ij}=\frac{p_{ij}\,\mathbf{1}[j\in S_i]}{m_i},\qquad\operatorname{MoE}(x_i)=\sum_{j\in S_i}q_{ij}E_j(x_i), \tag*{(1)}

where EjE_j is the jjth expert network. Under softmax, Ti=SiT_i=S_i always. Under a sparse map, a selected expert can have pij=0p_{ij}=0; we call such a selection a filler. The task loss depends on the router only through qiq_i, while the full distribution pip_i also enters the balancing objective below.

Sparsity-inducing probability maps

We suppress the token index and write p=π(z)p=\pi(z). All maps we consider are regularized argmax transformations [1],

πH(z)=arg max⁡p∈△n pTz+H(p),(2)\pi_H(z)=\underset{p\in\triangle^n}{\operatorname{arg\,max}}\ \mathbf{p}^{\mathsf{T}}z+H(p), \tag*{(2)}

and differ only in the entropy HH. Shannon entropy, HS(p)=−∑jpjlog⁡pjH^{\mathrm{S}}(p)=-\sum_j p_j\log p_j, gives softmax, pj=ezj/∑kezkp_j=e^{z_j}/\sum_k e^{z_k}, which is dense: every expert receives positive probability at finite scores. The Tsallis entropy HαTs(p)=(1−∑jpjα)/(α(α−1))H_\alpha^{\mathrm{Ts}}(p)=(1-\sum_j p_j^\alpha)/(\alpha(\alpha-1)) with α>1\alpha>1 gives α\alpha-entmax [17],

pj=[(α−1)zj−τ]+1/(α−1),(3)p_j=\left[(\alpha-1)z_j-\tau\right]_+^{1/(\alpha-1)}, \tag*{(3)}

where the threshold τ\tau is the unique value for which the probabilities sum to one. Experts whose score falls below τ/(α−1)\tau/(\alpha-1) receive exactly zero probability; α→1\alpha\to1 recovers softmax and α=2\alpha=2 gives sparsemax, the Euclidean projection onto the simplex [14]. The norm entropy HγN(p)=1−∥p∥γH_\gamma^{\mathrm{N}}(p)=1-\lVert p\rVert_\gamma with γ>1\gamma>1 gives γ\gamma-normmax [20, 21],

pj=[zj−τ]+1/(γ−1)∑k[zk−τ]+1/(γ−1),∑j[zj−τ]+γ/(γ−1)=1,(4)p_j=\frac{[z_j-\tau]_+^{1/(\gamma-1)}}{\sum_k[z_k-\tau]_+^{1/(\gamma-1)}},\qquad\sum_j[z_j-\tau]_+^{\gamma/(\gamma-1)}=1, \tag*{(4)}

which is also sparse but, unlike entmax, favors distributions that are closer to uniform on their support. We use α=1.5\alpha=1.5, for which the threshold has an exact sorting-based solution and which has been the default in sparse attention work [17, 3], and γ=2\gamma=2, the Euclidean case studied by Santos et al. [21]. All four maps are differentiable almost everywhere and are trained by ordinary backpropagation.

Singleton thresholds. With the normalizations above, a map assigns the whole mass to a single expert exactly when the gap g=z(1)−z(2)g=z_{(1)}-z_{(2)} between the two largest scores reaches a fixed threshold, namely g≥2g\ge2 for 1.5-entmax and g≥1g\ge1 for both sparsemax and normmax-2 (Appendix § 11); softmax has no finite threshold. In particular, on the same scores, sparsemax and normmax-2 always agree on whether a token has one or two contributors.

Balancing objective. For a microbatch of MM tokens, we use the Switch-style objective [5],

fj=1MK∑i1[j∈Si],pˉj=1M∑ipij,LLB=n∑jfjpˉj,(5)f_j=\frac{1}{M K}\sum_i\mathbf{1}[j\in S_i],\qquad\bar{p}_j=\frac{1}{M}\sum_i p_{ij},\qquad\mathcal{L}_{\mathrm{LB}}=n\sum_j f_j\bar{p}_j, \tag*{(5)}

where the selection frequencies ff include fillers and are detached from differentiation. Because LLB\mathcal{L}_{\mathrm{LB}} uses the full probabilities pip_i rather than the selected mixture qiq_i, its gradient depends on the map even at a shared coefficient; under a sparse map, an expert with pij=0p_{ij}=0 receives no balancing gradient from token ii.

Routing measurements

We characterize routing by how much probability mass survives selection, how many selected experts contribute, and how evenly assignments are spread over experts. The discarded mass of token ii is the mass of the unselected experts,

δi=∑j∉Sipij=1−mi∈[0,1−K/n],(6)\delta_i=\sum_{j\notin S_i}p_{ij}=1-m_i\in[0,1-K/n], \tag*{(6)}

and we report its average δˉ\bar{\delta} over tokens. Since renormalization moves exactly this mass onto the selected experts, δi\delta_i is also the total variation distance between the routing distribution and its selected mixture, TV⁡(pi,qi)=12∥pi−qi∥1=δi\operatorname{TV}(p_i,q_i) = \frac{1}{2}\lVert p_i-q_i\rVert_1 = \delta_i. The number of contributors is K+,i=∣Ti∣≤KK_{+,i} = \lvert T_i\rvert\le K. Under top-2 selection, K+,i=1K_{+,i} = 1 whenever a selected expert has zero weight. Finally, we compare two assignment histograms over experts: the nominal load counts every selection, fillers included, and the contributor load counts only positive-weight selections, each assignment adding 1/K1/K. We report their coefficient of variation (CV) across experts [22], together with the standard deviation, since removing fillers also changes the mean. Appendix A.3 gives the aggregation details.

Experimental setup

Models and training. We train MoE language models at two scales with a Llama 3-style backbone (Grattafiori et al., 2024) in which every second feed-forward block is replaced by an MoE layer: a 300M model (8 layers, width 320, 4 MoE layers with 26 experts each) and a 1B model (9 layers, width 768, 4 MoE layers with 27 experts each). Every token selects K=2K = 2 experts, following Mixtral’s selection and weighted combination [10], without capacity constraints or token dropping; the 1B model has 302M active parameters. The four maps share everything except π\pi, including the balancing objective of Equation (5) with coefficient 0.01, averaged over MoE layers and evaluated on local microbatches. A dense model of matching depth and width at each scale provides a reference with a larger active-parameter budget. All models are trained on DCLM-baseline [12] for 10B tokens (19,073 updates of 524,288 tokens) with AdamW, cosine decay and bfloat16 mixed precision. Appendices A.1 and A.2 give the architecture details and the full training and evaluation recipe.

Evaluation. For the original matched comparison, we evaluate the final checkpoint of every run, which is also the one with the lowest DCLM validation loss. Predictive quality is measured by validation loss, mean accuracy over eight OLMES tasks and LAMBADA, and LAMBADA word perplexity [7, 16]. For each OLMES task and model, we use the higher accuracy of the multiple-choice and completion formulations, following the benchmark’s recommendation [7 §3.4].

Routing diagnostics use 61 documents from the WikiText-103 test subset of Paloma [13] at context 2,048, giving 285,107 targets per MoE layer. All routing statistics are averaged with equal weight over the four MoE layers. For every trained model we also record the router scores of all four layers on these documents, from which we compute the score spreads and top-2 gap distributions of §4.3.

Results

We first check that the MoEs are competent models (§ 4.1), then ask whether the sparsity of the map survives training (§4.2), whether the differences between trained routers come from the map or from the scores learned under it (§4.3), and what the sparse maps buy at inference time (§ 4.4). We report both scales and focus the discussion on the 1B models. The 300M models show the same qualitative routing patterns, with their training curves and load statistics in Appendix C.4.

Model quality

Table 1 reports predictive quality. All four MoEs are within 0.14 nats of validation loss and 3 points of mean accuracy of the dense reference, which has 3.3× their active parameters, so the routers we study are those of reasonable language models rather than of a toy setting. Among the MoEs, while softmax has the lowest validation loss and the highest average numbers, we note that the margins are small across all maps: 0.008–0.012 in validation loss and 0.7–0.8 in average points.

Moreover, individual task leaders vary (normmax-2 leads ARC-Easy and PIQA, sparsemax leads SocialIQA and WinoGrande). These runs show no consistent quality advantage for the sparse maps. The rest of this section asks what they change in routing.

Does the sparsity of the map survive training?

Figure 2 shows the two routing quantities during training. All three sparse maps drop contributors early on, but entmax recovers to almost exactly two contributors per token, whereas sparsemax and normmax settle at 1.93 and 1.79. At the end of training, reported in Table 2, 1.5-entmax discards 30% less probability mass than softmax (δˉ=0.462\bar{\delta} = 0.462 versus 0.661) with a contributor count that is still 2.000 to three decimals, sparsemax retains the most mass (δˉ=0.153\bar{\delta} = 0.153), and normmax uses the fewest contributors (K‾+=1.787\overline{K}_{+} = 1.787). The two quantities are governed by different regimes of the support size ss, the number of experts with positive probability. Under top-2 selection,

Figure 2. Discarded probability mass (a) and number of contributing experts per token (b) during training of the 1B MoE models, measured on training batches. The horizontal axis is the number of training tokens (log scale). All maps sparsify early in training; entmax then returns to two contributors while sparsemax and normmax do not. The 300M curves are provided in Appendix C.4.

Table 2: Routing statistics of the trained models. Besides discarded mass δˉ\bar{\delta} and activated experts K‾+\overline{K}_{+}, we also report the fraction of token–layer states with singleton support and with support of exactly two experts, the discarded mass conditional on support larger than two, the coefficient of variation of the expert loads counting every selection or only positive-weight selections (Contrib. CV), and the standard deviation of the contributor loads (Contrib. SD). Lower CV and SD indicate more even expert loads. Bold marks the lowest value at each scale, including ties at the displayed precision. Rows under softmax-based load balancing means that we used softmax probabilities for the auxiliary balancing loss.

Mapδˉ\bar{\delta}K‾+\overline{K}_{+}s=1s=1 %s=2s=2 %E[δ∣s≥3]\mathbb{E}[\delta\mid s \ge3]Nominal CV ↓Contrib. CV ↓Contrib. SD ↓
300M params.
Softmax0.5662.0000.0000.0000.5660.4040.4040.016
1.5-entmax0.3111.9970.2950.3880.3140.4000.4000.015
Sparsemax0.0991.9049.59828.1740.1600.4340.4500.017
Normmax-20.1461.76923.14416.2280.2410.3670.4040.014
1B params.
Softmax0.6612.0000.0000.0000.6610.3390.3390.013
1.5-entmax0.4622.0000.0480.0950.4620.3380.3380.013
Sparsemax0.1531.9316.88314.0790.1940.4140.4240.015
Normmax-20.2501.78721.2567.5870.3510.3410.3880.013
300M params. with softmax-based load balancing
1.5-entmax0.2921.9990.0790.2450.2930.4850.4850.019
Sparsemax0.0781.9217.94130.0190.1260.6430.6680.025

Table 2. Routing statistics of the trained models.

E[δ]=Pr⁡(s≥3) E[δ∣s≥3],E[K+]=2−Pr⁡(s=1),(7)\mathbb{E}[\delta] = \Pr(s \ge3)\,\mathbb{E}[\delta\mid s \ge3], \qquad\mathbb{E}[K_{+}] = 2 - \Pr(s = 1), \tag*{(7)}

since only a support larger than 2 can lose mass to truncation, and only a singleton support can reduce participation below 2. Entmax sits almost entirely in the first regime: 99.9% of its states have s≥3s \ge3, so it retains more mass than softmax while keeping both experts. Normmax sits in the second: 21.3% of its states are singletons, versus 6.9% for sparsemax, which instead has more states with exactly two positive probabilities (14.1% versus 7.6%), retaining all mass with two contributors. Sparsity in the routing distribution and sparsity in participation are therefore different outcomes, and a map can deliver one without the other. Results for the 300M models, provided in Appendix § 12.§ 4, share the same findings.

Is it the map, or the scores learned under it?

The trained models differ both in the map and in the scores that the map receives, and the two are easy to separate because each map has a fixed sparsification threshold (see § 2.1). Concretely, a selected expert is dropped exactly when the top-2 score gap is at least 2 for 1.5-entmax and at least 1 for sparsemax and normmax-2. The singleton rate of a trained model is therefore nothing but the fraction of its learned gaps that reach its map’s threshold. Figure 3 shows these gap distributions for the 1B models, with both thresholds marked in every panel. The numerical spreads and quantiles at both scales are retained in Table 7 in Appendix § 12.§ 2.

Figure 3. Top-2 score gaps of the trained 1B routers. Each panel pools 285,107 targets from each of the four MoE layers with equal weight. Gray dashed lines mark the singleton thresholds g=1g = 1 for sparsemax and normmax-2 and g=2g = 2 for 1.5-entmax. Softmax has no finite singleton threshold. Panel annotations give the fractions at or above each threshold, computed on the full sample, including density beyond g=4g = 4 for softmax. The peaks near g=1g = 1 for sparsemax and normmax-2 are consistent with gradient saturation: for g>1g > 1, these maps are locally constant and gradients through the routing probabilities vanish.

MapThreshold300M RMSg50g_{50}g90g_{90}g99g_{99}Singletons (%)1B RMSg50g_{50}g90g_{90}g99g_{99}Singletons (%)
Softmax–0.980.912.143.150.000.860.901.882.920.00
1.5-entmax20.520.451.121.710.300.360.440.951.450.05
Sparsemax10.410.360.841.279.600.320.400.811.206.88
Normmax-210.530.641.121.6023.140.380.611.061.4221.26

Table 7. Learned score spread and top-2 gap distribution of the trained routers on the Paloma WikiText-103 test documents. RMS is the root mean square of the centered scores and g50g_{50}, g90g_{90}, g99g_{99} are percentiles of the top-2 score gap z(1)−z(2)z_{(1)} - z_{(2)}, all averaged over the four MoE layers. A selected expert is dropped exactly when the gap reaches the map’s threshold, so the singleton rate is the fraction of gaps at or above it.

The learned scores turn out to matter as much as the map. All three sparse routers learned markedly smaller score spreads than the softmax router, with an RMS between 0.32 and 0.38 against 0.86. Under a sparse map, this scale determines how often a score gap reaches the singleton threshold. For 1.5-entmax the consequence is decisive. Its 99th-percentile gap is 1.45, well below the threshold of 2, so the trained router produces a singleton in only 0.05% of states, even though 7.8% of the softmax router’s gaps reach that threshold. Sparsemax and normmax-2 tell a complementary story. The two maps share the threshold 1, so on any given score vector they always agree on whether a token keeps one or two contributors, and yet the trained models differ by 0.14 contributors per token. The difference can only come from the scores the two routers learned, and it does: the median gap of the normmax-2 router is 0.61 against 0.40 for the sparsemax router, and its gaps reach 1 three times as often.

Taken together, 1.5-entmax keeps both experts because its threshold is the highest of the three maps and because its router learned scores that stay under it, while sparsemax and normmax-2 differ only in what their routers learned. Participation is thus set jointly by the map’s threshold and by the learned score distribution, and the router adapts the latter to the former.

Depth. The layer averages hide a strong depth dependence. In Table 6 in the appendix, we note that normmax-2 routes 54% of tokens to a single expert in the first MoE layer but only 7% in the last. Sparsemax shows the same pattern with smaller magnitude (19% to 4%), and 1.5-entmax has essentially no singletons anywhere. Early layers learn the sparsest routers, which suggests that the useful degree of participation is itself depth-dependent and provides a further reason not to set KK arbitrarily.

Map300M, MoE layer1B, MoE layer
24682468
Singleton rate Pr⁡(s=1)\Pr(s=1) (%)
Softmax0.0000.0000.0000.0000.0000.0000.0000.000
1.5-entmax0.0590.0480.0721.0000.0030.0010.0310.159
Sparsemax27.9345.4512.0023.00319.2670.8873.5733.806
Normmax-258.28118.6219.1476.52654.45511.98011.4837.104
Discarded mass δˉ\bar{\delta}
Softmax0.6090.5100.5560.5880.6820.6710.6260.664
1.5-entmax0.3320.2670.2790.3690.4480.4800.4230.496
Sparsemax0.0770.0680.0950.1590.1140.2100.1330.156
Normmax-20.1170.1020.1440.2200.1330.3070.2270.333
Contributors K‾+\overline{K}_{+}
Softmax2.0002.0002.0002.0002.0002.0002.0002.000
1.5-entmax1.9992.0001.9991.9902.0002.0002.0001.998
Sparsemax1.7211.9461.9801.9701.8071.9911.9641.962
Normmax-21.4171.8141.9091.9351.4551.8801.8851.929
Nominal load CV
Softmax0.2550.3220.5080.5300.2600.4010.3050.391
1.5-entmax0.2610.3320.5010.5050.2360.3410.3260.448
Sparsemax0.2790.3890.5910.4790.3670.4440.4190.426
Normmax-20.2560.3430.4730.3960.2440.3880.3720.361
Contributor load CV
Softmax0.2550.3220.5080.5300.2600.4010.3050.391
1.5-entmax0.2610.3320.5010.5060.2360.3410.3260.449
Sparsemax0.3300.3890.5910.4910.3960.4440.4170.437
Normmax-20.3550.3560.4980.4090.3730.4140.3860.377

Table 6. Routing statistics of every MoE layer (network depths 2, 4, 6 and 8) on the Paloma WikiText-103 test documents. Each block reports one statistic of Table 2 per layer instead of its layer average.

What the sparse maps buy at inference time

Although they do not improve quality, the sparse maps make the trained model much less sensitive to selecting more experts at inference. We carry that analysis in Table 3. When the models trained with K=2K=2 are run with K=8K=8 and frozen weights, softmax loses 0.58 nats, because it is forced to spread weight over six experts it never learned to combine. Sparsemax loses only 0.02 nats, since it keeps assigning zero weight to most of the extra slots and uses 4.3 experts on average at K=8K=8, and normmax-2 and 1.5-entmax fall in between. The robustness is one-sided: reducing the budget to K=1K=1 costs every map about 0.10 nats. For every map the loss is lowest at the trained budget, so selecting more experts to retain more mass does not help either, which confirms that retention, participation, and quality are three distinct quantities.

Map300M K=1K=1300M K=2K=2300M K=4K=4300M K=8K=8300M Δ\Delta1B K=1K=11B K=2K=21B K=4K=41B K=8K=81B Δ\Delta
Softmax3.7033.5603.6233.913+0.3543.3603.2543.3283.835+0.582
1.5-entmax3.7113.5623.5983.693+0.1313.3633.2613.3063.512+0.250
Sparsemax3.7153.5653.5663.568+0.0043.3653.2633.2743.284+0.021
Normmax-23.7033.5623.5743.586+0.0243.3683.2663.2863.329+0.064

Table 3. Robustness to the inference-time budget. NLL (nats/target) on the retained DCLM diagnostic sample when a model trained with K=2K=2 is run, with frozen weights, with K∈{1,2,4,8}K \in\{1, 2, 4, 8\} selected experts; Δ\Delta is the increase from K=2K=2 to K=8K=8. Retention and contributor counts for every setting are in Appendix C.3.

Load balance. Counting contributors rather than nominal selections also changes the picture of expert balance, as the last three columns of Table 2 show. The 1.5-entmax router has the lowest load CV under both conventions (0.338), and because almost all of its selections carry positive weight, excluding the fillers changes nothing for it. Normmax-2 is different: its nominal CV is only slightly above softmax’s (0.341 against 0.339), but once the fillers are excluded its contributor CV rises to 0.388, so its load is less balanced than the nominal histogram suggests, and sparsemax is the least balanced under either convention. The balancing objective is one possible source of these differences. Because it uses the full distribution, an expert with zero probability receives no direct balancing gradient under a sparse map, and changing the score scale also changes the probabilities seen by this objective.

To examine the balancing mechanism, we trained 300M 1.5-entmax and sparsemax routers with softmax(zz) used only in the auxiliary loss. Routing and expert combination still use their respective sparse maps. For 1.5-entmax, nominal and contributor CV both rise from 0.400 to 0.485, while centered score RMS rises from 0.517 to 0.603 and the singleton fraction falls from 0.295% to 0.079%. Sparsemax shows the same pattern. Nominal CV rises from 0.434 to 0.643 and contributor CV from 0.450 to 0.668 (Table 2), while centered score RMS rises from 0.413 to 0.442 and the singleton fraction falls from 9.598% to 7.941%. Since higher CV means a less even distribution of traffic across experts, the dense auxiliary probability does not improve load balance in either run. Figure 6 shows why fewer tokens become singletons: the entmax tail near q=2q=2 thins, and the sparsemax peak just above g=1g=1 becomes smaller. More tokens therefore keep both selected experts, but their contributions are distributed less evenly across the expert pool. Per-token participation and load balance move in opposite directions in both runs, which does not support the simple explanation that sparsemax’s imbalance comes solely from zero-probability experts receiving no direct balancing gradient.

Figure 6. Top-2 score gaps of the 300M sparsemax and 1.5-entmax routers trained with the softmax-based balancing loss. Each panel pools 285,107 target positions from each of the four MoE layers with equal weight, using the same 61 Paloma WikiText-103 test documents as Figure 5. Dashed lines mark the singleton threshold g=1g = 1 for sparsemax and g=2g = 2 for 1.5-entmax, with g=1g = 1 also shown in the entmax panel for reference.

Related work

Sparse maps and differentiable gates in MoE routers. Softmax followed by top-KK remains the dominant router ([22, 5, 10]), with sigmoid scores renormalized among the selected experts as the main production alternative ([4]. Sparse probability maps have been used as routers before. For example, Multilinear MoE compares entmax with softmax over factorized experts ([15]), DUAL studies sparsemax under routing constraints ([23]), and ReMoE replaces the map by rectified gates with a separate sparsity controller ([26]). Differentiable relaxations of the selection step itself include DSelect-k, a smooth gate with explicit cardinality control ([8]), the sparse top-kk operators of Sander et al. [19], Soft MoE, which replaces discrete routing by soft slot assignment ([18]), and, more recently, SoftMoE, a truncated LapSum relaxation with learned per-layer budgets ((Zadas et al., 2026)), and ProbMoE, which samples cardinality-constrained subsets and differentiates through inclusion marginals ([29]). These works propose new routers and evaluate them end-to-end, whereas we keep the router fixed to top-2 and ask what a sparse map delivers once the router has been trained with it, and how the score distribution it learns interacts with the map’s sparsification threshold (§4.3).

Load balancing and routing geometry. Balancing objectives range from the Switch-style loss we use ([5]) to balanced assignment ([11, 30]), loss-free bias adjustment ([25]) and ϕ\phi-Balancing, which targets population-level balance through a convex potential and mirror descent ([2]). Yoon et al. [27] show that the task gradient reaches only the selected experts and that balancing provides no token-level counterfactual signal, and Huu et al. [9] analyze the switching surfaces of top-KK routing and propose smoothing near them. Our observation that the balancing objective interacts with the map through the full distribution (§ 4.4) is complementary: it concerns which experts the balancing gradient can reach under a sparse map.

Sparse probability transformations. Sparsemax ([14]) and α\alpha-entmax ([17]) are regularized argmax maps in the Fenchel–Young framework of Blondel et al. [1], which also covers the norm entropies behind normmax ([20, 21]). Their sparsity has been exploited in attention, where the support size is known to depend on the scale of the scores: Correia et al. [3] learn α\alpha per head, and Vasylenko et al. [24] learn a temperature so that α\alpha-entmax attention interpolates between sparse and dense regimes as the context grows. Our results transfer this observation to routing, where the score scale learned by the router, together with the map’s threshold, sets participation. This suggests that learned scales or shapes are the right knob for adaptive MoE routing.

Conclusions

We studied whether the sparsity of a probability map survives training in a top-2 MoE router. Across matched 300M and 1B models, the answer is that it survives only partly, and never as a property of the map alone. The 1.5-entmax router retains more probability mass than softmax while keeping both selected experts, the sparsemax router retains the most mass, and the normmax-2 router uses the fewest contributors. These behaviors are set jointly by the map’s sparsification threshold and by the score distribution the router learns under it. The 1.5-entmax router keeps both experts because its learned scores have half the spread of softmax’s, which keeps its top-2 gaps below the threshold, whereas sparsemax and normmax-2, which sparsify at the same gap, differ only because their routers learned different gap distributions. Retention, participation and predictive quality also turn out to be three distinct quantities: none of the sparse maps improves validation loss over softmax, yet all of them make the trained model less sensitive than softmax to increasing the inference-time budget.

Our results also say where a sparse router should be designed, rather than merely swapped in. Because the router co-adapts its score scale to the map, that scale is a modelling choice that we currently leave to the optimizer, and it would be better learned explicitly, as is already done for sparse attention ([3, 24]). A router whose scale is under control could then be trusted to choose its own budget: the sparse maps already assign zero weight to most of the extra slots when KK is raised, so selecting every expert in the support instead of a fixed top-KK, capped by an at-most-kk operator, is a small step from what the trained models already do. The balancing objective is another design choice to test: its gradients depend on the map, so changing the probabilities used for balancing may alter the score scales and expert loads learned during training. We leave these directions to future work.

Limitations. Our matched comparison uses a single training seed per configuration, so the small quality differences between maps (at most 0.012 nats of validation loss) do not establish a ranking. We test two members of the entmax family (α=1.5\alpha= 1.5 and sparsemax, α=2\alpha= 2), one normmax (γ=2\gamma= 2) and one balancing objective, whose probabilities we vary in a single 300M ablation. Contributor counts measure expert participation, not compute. As such, whether zero-weight experts are skipped, and what that saves, depends on the dispatch implementation, which we do not measure. We did not verify that the diagnostic samples are disjoint from the training data. Finally, the score-scale analysis is descriptive: it relates each router’s singleton rate to its learned gap distribution but does not identify the training mechanism that produced the smaller scales.

Acknowledgments

We thank the SARDINE Lab members for reviewing this paper and providing helpful feedback.

This work was partially supported by Portuguese national funds through FCT under project UIDB/50021/2020. Additionally, the work was partially supported by the project Center for Responsible AI, reference C628696807-00454142.

AI Use Statement

In this work, we used generative AI tools to assist in writing the proofs and fixing notation issues. We also used generative AI tools for summarizing and analyzing existing literature, searching for information, discovering literature beyond our manual search, and editing and polishing the paper for readability. We used generative AI tools to write and edit software code. All uses of AI tools were accompanied by a careful review process. In particular, we manually checked the proofs and made them more accessible, and LLM-generated code was verified and tested for correctness. We take responsibility for the final content of this work, including any text, claims, or artifacts produced with the aid of generative AI.

Reproducibility statement

Appendix § 10 gives the architecture shapes and parameter counts (A.1), the full training recipe including optimizer settings, schedule, batch composition and the balancing objective (A.2), and the evaluation protocol, including the quality metrics, the exact definition of every routing diagnostic and the inference-time budget experiment (A.3); Appendix § 11 derives the singleton thresholds and defines the score-scale analysis, and Appendix § 12 collects the per-layer and 300M results. In the original matched comparison, all models at a given scale share the same data, seed and hyperparameters and differ only in the probability map. We will release the training and evaluation code, the configuration files of every run, the recorded router scores of every trained model used in §4.3, and a numerical supplement with the routing, score-scale and quality summaries at both scales, so that every table and figure in the paper can be regenerated.

Experimental details

Architecture and parameter accounting

All models use an untied input embedding and language-model head with vocabulary size 128,256, pre-RMSNorm blocks and a final RMSNorm, grouped-query attention, rotary embeddings with base 500,000, and bias-free SwiGLU feed-forward blocks (Grattafiori et al., 2024). The configured maximum context is 8,192; training and the routing diagnostics use 2,048 tokens. The norm epsilon is 10−510^{-5}, dropout is zero and the initialization standard deviation is 0.02. Table 4 gives the shapes and parameter counts.

Table 4: Architectures and parameter counts. FF width is the hidden width of each SwiGLU branch; MoE layers replace every second feed-forward block. Nominal active parameters include the full embedding tensors and count two experts per MoE layer, even when one combine weight is zero.

ModelLayersWidthQ/KVFF widthMoE layersExpertsTotalActiveRouter
Dense 283M1076812/33072––283M283M–
MoE 300M83208/22048426297M108M33K
Dense 1B18153624/66144––1.01B1.01B–
MoE 1B976812/330724271.01B302M83K

Table 4.

With LL layers, LML_{\mathrm{M}} MoE layers, width dd, SwiGLU width hh, vocabulary VV and dKV=dnKV/nQd_{\mathrm{KV}} = d n_{\mathrm{KV}}/n_{\mathrm{Q}}, the parameter count is

Ptotal=2Vd+L(2d2+2ddKV+2d)+d+3dh[(L−LM)+LMn]+LMdn,P_{\mathrm{total}} = 2Vd + L(2d^2 + 2dd_{\mathrm{KV}} + 2d) + d + 3dh[(L-L_{\mathrm{M}}) + L_{\mathrm{M}}n] + L_{\mathrm{M}}dn,

where the last term counts the router matrices. Replacing nn by K=2K = 2 in the expert term gives the nominal active count, which includes the full embedding tensors and counts two experts per MoE layer even when one combine weight is zero. The four maps add no parameters at fixed α\alpha and γ\gamma. Nominal active parameters do not equate training or inference FLOPs across dense and MoE models.

Training recipe

Training uses DCLM-baseline (Li et al., [12]) with the Meta-Llama-3 tokenizer and seed 42. AdamW has peak learning rate 3×10−43 \times10^{-4}, minimum rate 3×10−63 \times10^{-6}, betas (0.9, 0.95), weight decay 0.1 and gradient clipping at norm 1.0; the learning rate warms up linearly for 500 updates and then follows cosine decay to the minimum at update 19,073. Mixed precision is bfloat16. Every run uses four GPUs with batch size 4 per process and 16 gradient-accumulation microbatches, i.e. 256 sequences or 524,288 tokens per optimizer update, and 19,073 updates for the nominal 10B-token budget. The MoE runs use the Switch-style balancing loss of Equation (5), evaluated on each local microbatch of 8,192 tokens with coefficient 0.01 and averaged over the four MoE layers; there is no router z-loss, and the dense references have no balancing loss. Validation cross-entropy on a 10M-token cache is logged every 500 updates and at the final update; for all ten models the minimum is at the final update, which is the checkpoint we evaluate.

Evaluation protocol

Quality metrics. Validation loss and the diagnostic-domain losses exclude the balancing loss; every unmasked 2,048-token chunk contributes 2,047 next-token targets. The eight OLMES tasks are ARC-Challenge, ARC-Easy, CommonsenseQA, HellaSwag, OpenBookQA, PIQA, SocialIQA and WinoGrande (Gu et al., [7]), each evaluated in the multiple-choice and completion formulations with the OLMES scoring rules. We report the higher of the two accuracies per model and task, as recommended in Gu et al. [7]. LAMBADA (Paperno et al., [16]) counts a prediction as correct only if every token of the final word is predicted correctly, and its word perplexity uses the full target-word log probability. The mean accuracy weights the eight OLMES tasks and LAMBADA equally. Evaluation runs in FP32 with autocast and TF32 disabled. Table 1 in the main text gives the per-task results at both scales.

ModelVal.LMB (ppl)LMBARC-EARC-CCSQAHSOBQAPIQASQAWGAvg.
300M parameters.
Dense3.41144.831.846.728.637.230.031.860.342.350.039.9
Softmax3.534104.224.342.727.636.529.429.661.941.450.838.2
1.5-entmax3.536102.824.243.027.134.629.427.860.041.751.737.7
Sparsemax3.538104.024.642.726.536.027.828.459.840.352.537.6
Normmax-23.536105.923.442.825.533.329.625.260.540.950.536.9
1B parameters.
Dense3.10318.841.656.029.347.339.033.863.942.751.345.0
Softmax3.23228.936.350.128.643.734.233.864.142.951.542.8
1.5-entmax3.24029.535.450.328.342.134.630.463.541.951.342.0
Sparsemax3.24230.335.150.128.341.932.630.863.743.252.142.0
Normmax-23.24432.134.851.827.541.234.930.664.841.651.942.1

Table 1. Predictive quality of the 300M and 1B models: DCLM validation loss, perplexity and accuracies (%) on LAMBADA (LMB) and the eight OLMES tasks (ARC-Easy, ARC-Challenge, CommonsenseQA, HellaSwag, OpenBookQA, PIQA, SocialIQA, WinoGrande). The dense references have a larger active-parameter budget.

Diagnostic samples. Domain losses use 489 packed 2,048-token blocks of retained DCLM (1,000,983 scored targets) and the 61 Paloma WikiText-103 test documents (285,107 targets). The inference-budget evaluation uses the retained DCLM sample. All Paloma diagnostics reported here use the test sample at context 2,048.

Routing diagnostics. For every MoE layer and token batch, the nominal load assigns 1/K1/K to each selected index, fillers included, and the contributor load only to selections with strictly positive weight; histograms are divided by the number of routed tokens, and the CV is the population standard deviation divided by the mean, averaged over layers. The router computes scores and probabilities in FP32 under mixed precision and casts the normalized combine weights pij/mip_{ij}/m_i to the expert-output dtype. The training curves of Figure 2 and Figure 4 use every logged training batch at a cadence of 10 updates. The checkpoint diagnostic runs every trained model in FP32 on the 61 Paloma test documents with identical inputs, contexts and target order, giving 285,107 targets per layer and 1,140,428 target–layer events per model; the recorded router scores of all four layers are the data from which the spreads and gap quantiles of §4.3 and Appendix § 11.§ 4 are computed. Targets and layers are dependent observations from one checkpoint per map, not training replications.

Figure 4. Discarded probability mass (a) and number of contributing experts (b) during training of the 300M MoE models, measured on training batches; the horizontal axis is the number of training tokens (log scale).

Inference-time budget. For the experiment of § 4.4 we take each trained model with frozen weights and run it with K∈{1,2,4,8}K \in\{1, 2, 4, 8\} selected experts on the retained DCLM diagnostic sample, keeping the map and renormalizing the selected probabilities as in Equation (1). Besides the loss, we record the retained mass 1−δi1-\delta_i and the number of contributors K+,iK_{+,i} of every target–layer event and average them over targets and layers; Table 3 in the main text reports the loss and Table 9 in Appendix § 12 the full set.

Map300M, budget KK: 1300M, budget KK: 2300M, budget KK: 4300M, budget KK: 81B, budget KK: 11B, budget KK: 21B, budget KK: 41B, budget KK: 8
Loss (nats)
Softmax3.7033.5603.6233.9133.3603.2533.3283.835
1.5-entmax3.7113.5623.5983.6933.3633.2613.3063.512
Sparsemax3.7153.5653.5663.5683.3653.2633.2733.284
Normmax-23.7033.5623.5743.5863.3683.2663.2863.329
Retained mass 1−δˉ1-\bar{\delta}
Softmax0.3230.4370.5440.6880.2550.3400.4340.582
1.5-entmax0.5020.6940.8330.9510.4060.5430.6640.821
Sparsemax0.6690.9140.9901.0000.6370.8480.9660.999
Normmax-20.6620.8670.9680.9970.6170.7660.8800.973
Contributors Kˉ+\bar{K}_{+}
Softmax1.0002.0004.0008.0001.0002.0004.0008.000
1.5-entmax1.0001.9983.9877.8541.0001.9993.9967.978
Sparsemax1.0001.8962.7963.0641.0001.9333.3694.296
Normmax-21.0001.7712.7813.4511.0001.7603.0915.077

Table 9. Frozen-weight inference at budgets K∈{1,2,4,8}K \in\{1, 2, 4, 8\} on the retained DCLM diagnostic sample (489 blocks, 1,000,983 scored targets) for models trained at K=2K = 2: loss (nats per target), retained mass 1−δˉ1-\bar{\delta} and number of contributors Kˉ+\bar{K}_{+}.

Singleton thresholds and the score-scale analysis

This appendix derives the singleton thresholds quoted in § 2.1 from the optimality conditions of each map, records the closed forms that follow from them, and then defines the score-scale quantities used in §4.3. Throughout, the token index is suppressed, z∈Rn\boldsymbol{z} \in\mathbb{R}^{n} is a score vector with sorted entries z(1)≥z(2)≥⋯≥z(n)z_{(1)} \ge z_{(2)} \ge\cdots\ge z_{(n)}, g=z(1)−z(2)g = z_{(1)} - z_{(2)} is its top-2 gap, and I={j:pj>0}\mathcal{I} = \{j : p_j > 0\} is the support of p=π(z)\boldsymbol{p} = \pi(\boldsymbol{z}), with size s=∣I∣s = |\mathcal{I}|.

Optimality conditions

Every map we use solves the regularized argmax problem of Equation (2),

p=arg max⁡p∈Δn pTz+H(p),(8)\boldsymbol{p} = \underset{\boldsymbol{p}\in\Delta^n}{\operatorname{arg\,max}}\ \boldsymbol{p}^{\mathsf{T}}\boldsymbol{z} + H(\boldsymbol{p}), \tag*{(8)}

for a concave entropy HH. Introducing a multiplier θ∈R\theta\in\mathbb{R} for the constraint 1Tp=1\boldsymbol{1}^{\mathsf{T}}\boldsymbol{p} = 1 and multipliers μj≥0\mu_j \ge0 for the constraints pj≥0p_j \ge0, the Lagrangian is

L(p,θ,μ)=pTz+H(p)−θ(1Tp−1)+μTp,(9)\mathcal{L}(\boldsymbol{p},\theta,\boldsymbol{\mu}) = \boldsymbol{p}^{\mathsf{T}}\boldsymbol{z} + H(\boldsymbol{p}) - \theta(\boldsymbol{1}^{\mathsf{T}}\boldsymbol{p} - 1) + \boldsymbol{\mu}^{\mathsf{T}}\boldsymbol{p}, \tag*{(9)}

and the Karush–Kuhn–Tucker (KKT) conditions read, for every expert jj,

zj+∂jH(p)−θ+μj=0,μj≥0,μjpj=0,p∈Δn.(10)z_j + \partial_j H(\boldsymbol{p}) - \theta+ \mu_j = 0,\qquad\mu_j \ge0,\qquad\mu_j p_j = 0,\qquad\boldsymbol{p} \in\Delta^n. \tag*{(10)}

Because the objective is concave and the simplex is convex, these conditions are necessary and sufficient, and for the three entropies below the maximizer is unique ([1, 21]). Splitting Equation (10) by whether pjp_j is positive gives the two conditions we use repeatedly:

zj+∂jH(p)=θfor j∈I,zj+∂jH(p)≤θfor j∉I.(11)z_j + \partial_j H(\boldsymbol{p}) = \theta\quad\text{for } j \in\mathcal{I},\qquad z_j + \partial_j H(\boldsymbol{p}) \le\theta\quad\text{for } j \notin\mathcal{I}. \tag*{(11)}

The first says that on the support the score, shifted by the entropy gradient, is constant; the second says that an expert is left out exactly when its shifted score does not reach that constant.

Softmax. With the Shannon entropy HS(p)=−∑jpjlog⁡pjH^{\mathrm{S}}(\mathbf{p})=-\sum_j p_j\log p_j we have ∂jHS(p)=−log⁡pj−1\partial_jH^{\mathrm{S}}(\mathbf{p})=-\log p_j-1, which diverges to +∞+\infty as pj→0p_j\to0. The inactive condition in Equation (11) can therefore never hold, so every expert is on the support, and the active condition gives log⁡pj=zj−1−θ\log p_j=z_j-1-\theta, i.e. pj=ezj/∑kezkp_j=e^{z_j}/\sum_k e^{z_k} after choosing θ\theta so that the probabilities sum to one.

α\alpha-entmax. The Tsallis entropy HαTs(p)=(1−∑jpjα)/(α(α−1))H^{\mathrm{Ts}}_\alpha(\mathbf{p})=(1-\sum_j p_j^\alpha)/(\alpha(\alpha-1)) has gradient

∂jHαTs(p)=−αpjα−1α(α−1)=−pjα−1α−1,(12)\partial_jH^{\mathrm{Ts}}_\alpha(\mathbf{p})=-\frac{\alpha p_j^{\alpha-1}}{\alpha(\alpha-1)}=-\frac{p_j^{\alpha-1}}{\alpha-1}, \tag*{(12)}

which is finite at pj=0p_j=0 for every α>1\alpha>1, so experts can leave the support. Substituting in Equation (11), the active condition becomes zj−pjα−1/(α−1)=θz_j-p_j^{\alpha-1}/(\alpha-1)=\theta, that is

pjα−1=(α−1)(zj−θ)⟺pj=[(α−1)zj−(α−1)θ]1/(α−1)for j∈I,(13)p_j^{\alpha-1}=(\alpha-1)(z_j-\theta)\quad\Longleftrightarrow\quad p_j=[(\alpha-1)z_j-(\alpha-1)\theta]^{1/(\alpha-1)}\quad\text{for }j\in\mathcal{I}, \tag*{(13)}

and the inactive condition becomes zj≤θz_j\le\theta. Both are captured by the single expression

pj=[(α−1)zj−τ]+1/(α−1),τ=(α−1)θ,(14)p_j=[(\alpha-1)z_j-\tau]_+^{1/(\alpha-1)},\qquad\tau=(\alpha-1)\theta, \tag*{(14)}

which is Equation (3): the bracket is positive exactly for the experts with zj>θz_j>\theta, and those are the support. The threshold τ\tau is fixed by the simplex constraint,

∑j[(α−1)zj−τ]+1/(α−1)=1.(15)\sum_j[(\alpha-1)z_j-\tau]_+^{1/(\alpha-1)}=1. \tag*{(15)}

The left-hand side is continuous and strictly decreasing in τ\tau wherever it is positive, tends to +∞+\infty as τ→−∞\tau\to-\infty and vanishes for τ≥(α−1)z(1)\tau\ge(\alpha-1)z_{(1)}, so Equation (15) has exactly one root, which can always be found by bisection. For the two values of α\alpha we use, the root also has a sorting-based closed form. If the support is the top kk experts, then for sparsemax (α=2\alpha=2) Equation (15) reads ∑j≤k(z(j)−τ)=1\sum_{j\le k}(z_{(j)}-\tau)=1, so

τk=1k(∑j≤kz(j)−1),(16)\tau_k=\frac{1}{k}\left(\sum_{j\le k}z_{(j)}-1\right), \tag*{(16)}

and for 1.5-entmax (α=3/2\alpha=3/2, so that (α−1)=1/2(\alpha-1)=1/2 and 1/(α−1)=21/(\alpha-1)=2) it reads ∑j≤k(z(j)/2−τ)2=1\sum_{j\le k}(z_{(j)}/2-\tau)^2=1. Writing mkm_k and vkv_k for the mean and the variance of the kk halved scores z(1)/2,…,z(k)/2z_{(1)}/2,\ldots,z_{(k)}/2, we have ∑j≤k(z(j)/2−τ)2=k[(mk−τ)2+vk]\sum_{j\le k}(z_{(j)}/2-\tau)^2=k[(m_k-\tau)^2+v_k], and the root that keeps the probabilities positive is

τk=mk−1−kvkk.(17)\tau_k=m_k-\sqrt{\frac{1-kv_k}{k}}. \tag*{(17)}

In both cases the support size is the unique kk for which the candidate τk\tau_k is consistent with Equation (11), i.e. the kk largest bracket arguments are positive and the remaining ones are not; after one sort this is a linear scan over kk ([14, 17]). In our implementation 1.5-entmax uses this exact algorithm, and sparsemax and normmax-2 solve their threshold equations by bisection.

γ\gamma-normmax. The norm entropy HγN(p)=1−∥p∥γH^{\mathrm{N}}_\gamma(\mathbf{p})=1-\lVert\mathbf{p}\rVert_\gamma has gradient

∂jHγN(p)=−pjγ−1∥p∥γγ−1=−(pjR)γ−1,R=∥p∥γ,(18)\partial_jH^{\mathrm{N}}_\gamma(\mathbf{p})=-\frac{p_j^{\gamma-1}}{\lVert\mathbf{p}\rVert_\gamma^{\gamma-1}}=-\left(\frac{p_j}{R}\right)^{\gamma-1},\qquad R=\lVert\mathbf{p}\rVert_\gamma, \tag*{(18)}

which again vanishes at pj=0p_j=0 for γ>1\gamma>1. Equation (11) therefore gives (pj/R)γ−1=zj−θ(p_j/R)^{\gamma-1}=z_j-\theta on the support and zj≤θz_j\le\theta off it, so

pj=R[zj−θ]+1/(γ−1).(19)p_j=R[z_j-\theta]_+^{1/(\gamma-1)}. \tag*{(19)}

Summing Equation (19) over jj and using 1Tp=1\mathbf{1}^{\mathsf{T}}\boldsymbol{p}=1 identifies R=1/∑k[zk−θ]+1/(γ−1)R=1/\sum_k[z_k-\theta]_+^{1/(\gamma-1)}, which turns Equation (19) into the ratio form of Equation (4) with τ=θ\tau=\theta. Substituting Equation (19) back into the definition Rγ=∑jpjγR^\gamma=\sum_j p_j^\gamma and dividing by RγR^\gamma gives the normalization ∑j[zj−θ]+γ/(γ−1)=1\sum_j[z_j-\theta]_+^{\gamma/(\gamma-1)}=1 stated in Equation (4). As for entmax, the left-hand side of this normalization is strictly decreasing in θ\theta, so the threshold is unique and can be found by bisection; for γ=2\gamma=2 it reads ∑j(zj−θ)+2=1\sum_j(z_j-\theta)_+^2=1 and admits the same sorted closed form as Equation (17), with the raw scores in place of the halved ones.

Order preservation. In each of the three cases, the active condition has the form zj−θ=ϕ(pj)z_j-\theta=\phi(p_j) for a strictly increasing function ϕ\phi with ϕ(0)=0\phi(0)=0 (namely ϕ(p)=pα−1/(α−1)\phi(p)=p^{\alpha-1}/(\alpha-1) for entmax and ϕ(p)=(p/R)γ−1\phi(p)=(p/R)^{\gamma-1} for normmax), and the inactive condition is zj−θ≤0z_j-\theta\le0. Hence pjp_j is a nondecreasing function of zjz_j: larger scores receive larger probabilities, equal scores receive equal probabilities, and every expert with pj>0p_j>0 has a larger score than every expert with pj=0p_j=0. Consequently the top-KK experts by probability are the top-KK by score (ties broken by the same rule), which is why the selection SS of Equation (1) and all the statements below can be phrased in terms of scores alone.

Singleton thresholds

Proposition 1 (Singleton thresholds). Let g=z(1)−z(2)g=z_{(1)}-z_{(2)}. The support of α\alpha-entmax is the singleton {(1)}\{(1)\} if and only if g≥1/(α−1)g\ge1/(\alpha-1); the support of γ\gamma-normmax is {(1)}\{(1)\} if and only if g≥1g\ge1, for every γ>1\gamma>1; and the support of softmax is never a singleton. In particular the thresholds are 2 for 1.5-entmax and 1 for both sparsemax and normmax-2.

Proof. For softmax the claim was shown above: all probabilities are positive at finite scores. For the other two maps we test the candidate p=e(1)\boldsymbol{p}=\boldsymbol{e}_{(1)} against the KKT conditions (11); since the conditions are sufficient, the candidate is the solution whenever it satisfies them, and since the solution is unique, it is not the solution whenever it violates them.

Entmax. At p=e(1)\boldsymbol{p}=\boldsymbol{e}_{(1)} the active condition for expert (1)(1) reads 1α−1=(α−1)(z(1)−θ)1^{\alpha-1}=(\alpha-1)(z_{(1)}-\theta), which fixes the multiplier,

θ=z(1)−1α−1.(20)\theta=z_{(1)}-\frac{1}{\alpha-1}. \tag*{(20)}

The inactive condition for every other expert jj is zj≤θz_j\le\theta, that is z(1)−zj≥1/(α−1)z_{(1)}-z_j\ge1/(\alpha-1). Because z(2)z_{(2)} is the largest of the remaining scores, all these inequalities hold if and only if the one for j=(2)j=(2) holds, i.e. if and only if g≥1/(α−1)g\ge1/(\alpha-1). At α=3/2\alpha=3/2 this is g≥2g\ge2 and at α=2\alpha=2 it is g≥1g\ge1.

Normmax. At p=e(1)\boldsymbol{p}=\boldsymbol{e}_{(1)} the norm is R=∥e(1)∥γ=1R=\lVert\boldsymbol{e}_{(1)}\rVert_\gamma=1, so the active condition for expert (1)(1) reads (1/1)γ−1=z(1)−θ(1/1)^{\gamma-1}=z_{(1)}-\theta, i.e. θ=z(1)−1\theta=z_{(1)}-1 regardless of γ\gamma. The inactive conditions zj≤θz_j\le\theta for j≠(1)j\ne(1) again reduce to the one for (2)(2), which is g≥1g\ge1. □

Two consequences of Proposition 1 are used in the main text. Firstly, since the maps preserve score order, top-2 selection always picks {(1),(2)}\{(1),(2)\}, and the second selection is a filler exactly when gg reaches the threshold; for a trained router, the singleton rate reported in Table 2 and Table 7 is therefore the fraction of its top-2 gaps at or above its map’s threshold, Pr⁡(K+=1)=Pr⁡(g≥tπ)\Pr(K_+=1)=\Pr(g\ge t_\pi) with tπ∈{2,1,1}t_\pi\in\{2,1,1\} for 1.5-entmax, sparsemax and normmax-2. Secondly, sparsemax and normmax-2 share the threshold 1, so on the same score vector they always agree on whether the token has one or two contributors, even though their full supports and their mixture weights differ. Any difference between their contributor counts in Table 2 must therefore come from the scores their routers learned, which is the observation that §4.3 develops.

How the second expert fades. The thresholds describe where the second selected expert reaches zero weight; the closed forms on a two-expert support show how it gets there. Suppose only experts (1) and (2) are active, so that p(1)+p(2)=1p_{(1)}+p_{(2)}=1, and subtract the two active conditions of Equation (11). For sparsemax, p(1)−p(2)=gp_{(1)}-p_{(2)}=g, hence

p(2)=1−g2,(21)p_{(2)}=\frac{1-g}{2}, \tag*{(21)}

a weight that decreases linearly in the gap and vanishes at g=1g = 1. For 1.5-entmax, p(1)−p(2)=g/2\sqrt{p_{(1)}} - \sqrt{p_{(2)}} = g/2; writing a=p(1)a = \sqrt{p_{(1)}} and b=p(2)b = \sqrt{p_{(2)}} with a2+b2=1a^2 + b^2 = 1, squaring gives 1−2ab=g2/41 - 2ab = g^2/4, so ab=(4−g2)/8ab = (4 - g^2)/8 and a+b=1+2ab=8−g2/2a + b = \sqrt{1 + 2ab} = \sqrt{8 - g^2}/2; then b=12[(a+b)−(a−b)]b = \frac{1}{2}[(a + b) - (a - b)] yields

p(2)=(8−g2−g)216,(22)p_{(2)} = \frac{\left(\sqrt{8-g^2}-g\right)^2}{16}, \tag*{(22)}

which equals 1/21/2 at g=0g = 0 and vanishes at g=2g = 2. For normmax-2, (p(1)−p(2))/R=g(p_{(1)} - p_{(2)})/R = g with R=p(1)2+p(2)2R = \sqrt{p_{(1)}^2 + p_{(2)}^2}; parameterizing p(1)=(1+x)/2p_{(1)} = (1 + x)/2 and p(2)=(1−x)/2p_{(2)} = (1 - x)/2 gives R2=(1+x2)/2R^2 = (1 + x^2)/2 and hence x2=g2(1+x2)/2x^2 = g^2(1 + x^2)/2, so

p(2)=12(1−g2−g2),(23)p_{(2)} = \frac{1}{2}\left(1-\frac{g}{\sqrt{2-g^2}}\right), \tag*{(23)}

which vanishes at g=1g = 1. At a gap of g=0.5g = 0.5, for instance, the second expert keeps a weight of 0.250 under sparsemax, 0.311 under normmax-2 and 0.326 under 1.5-entmax; at the same scores, the maps with the larger threshold, or the more uniform tendency, hold on to the second expert longer. These formulas apply whenever the third score is below the map’s threshold, which by Equation (11) is the condition for the support to have exactly two experts.

Retained mass of sparsemax and normmax-2 on the same scores

Although sparsemax and normmax-2 agree on the contributor count, they do not agree on the discarded mass. The following argument shows that, on the same score vector, sparsemax always keeps at least as much top-2 mass as normmax-2.

Let θ\theta be the normmax-2 threshold and define the truncated scores uj(t)=(zj−t)+u_j(t) = (z_j - t)_+ for any t∈Rt \in\mathbb{R}. By Equation (4) with γ=2\gamma= 2, the normmax-2 probabilities are pjN=uj(θ)/∥u(θ)∥1p_j^{N} = u_j(\theta)/\lVert u(\theta)\rVert_1 with ∥u(θ)∥2=1\lVert u(\theta)\rVert_2 = 1, and by Equation (14) with α=2\alpha= 2 the sparsemax probabilities are pjS=uj(τ)p_j^{S} = u_j(\tau) with ∥u(τ)∥1=1\lVert u(\tau)\rVert_1 = 1. The argument has three steps.

  1. The sparsemax threshold is at least the normmax-2 threshold. For every vector, ∥u∥1≥∥u∥2\lVert u\rVert_1 \ge\lVert u\rVert_2, so ∥u(θ)∥1≥∥u(θ)∥2=1=∥u(τ)∥1\lVert u(\theta)\rVert_1 \ge\lVert u(\theta)\rVert_2 = 1 = \lVert u(\tau)\rVert_1. Since t↦∥u(t)∥1t \mapsto\lVert u(t)\rVert_1 is nonincreasing, this forces τ≥θ\tau\ge\theta. In particular the sparsemax support is contained in the normmax-2 support.

  1. The top-2 share of truncated mass is nondecreasing in the threshold. Let m(t)=(u(1)(t)+u(2)(t))/∥u(t)∥1m(t) = (u_{(1)}(t) + u_{(2)}(t))/\lVert u(t)\rVert_1 be the fraction of truncated mass on the two largest coordinates, and let s(t)s(t) be the number of positive coordinates of u(t)u(t). On any interval of tt where s(t)≥2s(t) \ge2 is constant, the numerator has derivative −2-2 and the denominator has derivative −s(t)-s(t), so

ddtm(t)=−2∥u(t)∥1+s(t)(u(1)(t)+u(2)(t))∥u(t)∥12≥0,(24)\frac{\mathrm{d}}{\mathrm{d}t}m(t)=\frac{-2\lVert u(t)\rVert_1+s(t)(u_{(1)}(t)+u_{(2)}(t))}{\lVert u(t)\rVert_1^2}\ge0, \tag*{(24)}

because the mean of the two largest positive coordinates is at least the mean of all s(t)s(t) positive coordinates, i.e. (u(1)+u(2))/2≥∥u∥1/s(u_{(1)} + u_{(2)})/2 \ge\lVert u\rVert_1/s. The function mm is continuous where the support changes and equals 1 once s(t)≤2s(t) \le2, so it is nondecreasing on all of R\mathbb{R}.

  1. Conclusion. The retained top-2 mass of normmax-2 is m(θ)m(\theta) and that of sparsemax is u(1)(τ)+u(2)(τ)=m(τ)u_{(1)}(\tau) + u_{(2)}(\tau) = m(\tau), because ∥u(τ)∥1=1\lVert u(\tau)\rVert_1 = 1. By the two previous steps, m(τ)≥m(θ)m(\tau) \ge m(\theta), that is δS≤δN\delta^{S} \le\delta^{N}.

This is a same-score statement. The trained sparsemax and normmax-2 routers see different scores, so the ordering of their discarded masses in Table 2 (0.153 against 0.250 at 1B) is consistent with the argument but not implied by it.

Score scale and top-2 gaps

Proposition 1 turns the question of how often a router drops its second expert into a question about the distribution of its top-2 gaps. The gap distribution has a scale and a shape, and the two play different roles.

Definitions. For a trained router and a fixed MoE layer, let zi,ez_{i,e} be the recorded score of expert ee for target ii, with M=285,107M = 285{,}107 targets per layer (Appendix § 10.§ 3) and nn experts. We center each target’s scores across experts, ci,e=zi,e−zˉic_{i,e} = z_{i,e} - \bar{z}_i with zˉi=1n∑eci,e\bar{z}_i = \frac{1}{n}\sum_e c_{i,e}, which removes the additive freedom that no map is sensitive to, and define the layer’s score scale as the root mean square of the centered scores,

RMS⁡=(1nM∑i=1M∑e=1nci,e2)1/2,(25)\operatorname{RMS} = \left(\frac{1}{nM}\sum_{i=1}^{M}\sum_{e=1}^{n} c_{i,e}^{2}\right)^{1/2}, \tag*{(25)}

The top-2 gap of target ii is gi=zi,(1)−zi,(2)g_i = z_{i,(1)} - z_{i,(2)}, and gqg_q denotes the qqth percentile of {gi}\{g_i\} within the layer. Table 7 in Appendix § 12.§ 2 averages the scale and the gap percentiles over the four MoE layers; Table 8 in Appendix § 12 lists them per layer. All these quantities are computed in float64 from the recorded FP32 scores, without re-running any model or map.

Map300M, MoE layer 24681B, MoE layer 2468
RMS
Softmax0.8751.0821.0370.9350.8180.8470.8610.902
1.5-entmax0.4670.5310.5520.5180.3550.3540.3790.352
Sparsemax0.3840.3980.4550.4160.3220.2830.3360.339
Normmax-20.5000.5390.5540.5320.4060.3480.3740.373
g50g_{50}
Softmax0.8491.1310.8770.7730.9370.9980.9930.678
1.5-entmax0.3980.5660.4980.3460.5300.4350.4250.354
Sparsemax0.4290.4400.3150.2370.6630.3140.3700.262
Normmax-21.1370.5780.4680.3581.0440.4900.5180.369
g90g_{90}
Softmax2.4302.2941.8651.9681.9241.8131.9671.799
1.5-entmax1.3451.1321.0940.9071.0420.8970.9300.916
Sparsemax1.1480.8730.7110.6141.0630.6890.7730.730
Normmax-21.4151.1810.9810.9021.2821.0331.0300.892
g99g_{99}
Softmax3.0673.0872.7953.6492.7152.4143.0493.501
1.5-entmax1.7111.5671.5572.0001.4631.2441.4551.649
Sparsemax1.3191.2541.1201.3831.2500.9891.2131.361
Normmax-21.6391.5251.3691.8451.5511.2661.4281.419

Table 8. Score scale and top-2 gap percentiles of every trained router in every MoE layer (network depths 2, 4, 6 and 8) on the Paloma WikiText-103 test documents; Table 7 averages these values over layers. RMS is the root mean square of the centered scores and gqg_q the qqth percentile of the top-2 gap.

Why the scale matters. Multiplying the scores by ρ>0\rho> 0 multiplies every gap by ρ\rho and leaves the shape of the gap distribution unchanged, so by Proposition 1 the singleton rate of a map with threshold tt on the scaled scores is Pr⁡(ρg≥t)\Pr(\rho g \ge t). Equivalently, in terms of the standardized gap Gi=gi/RMS⁡G_i = g_i/\operatorname{RMS}, the singleton rate is Pr⁡(G≥t/RMS⁡)\Pr(G \ge t/\operatorname{RMS}): a router can change how often it drops an expert either by reshaping its standardized gaps or by moving its scale relative to the threshold. Because the router weights are trained by ordinary backpropagation under the map, nothing pins the scale, which is why §4.3 treats it as a learned quantity.

Gap fractions under each threshold. Since the thresholds are conditions on the scores alone, we can ask, for every trained router, what fraction of its gaps lies at or above 1 (the sparsemax and normmax-2 threshold) and at or above 2 (the 1.5-entmax threshold); Table 5 reports both, next to the router’s own singleton rate. For each sparse router the own rate coincides with the fraction at its own threshold, as Proposition 1 requires, which is also a check of the recorded scores against the recorded routing. The table makes the scale effect visible: at 1B, 7.8% of the softmax router’s gaps exceed 2 and 44.8% exceed 1, whereas the 1.5-entmax router, with an RMS less than half as large, has only 0.05% of its gaps above 2 and 8.3% above 1. Sparsemax and normmax-2 sit at the same threshold, so the difference between their singleton rates (6.9% against 21.3%) is entirely a difference between the gap distributions their routers learned; Table 7 shows that it comes from the whole distribution being shifted up rather than from a heavier tail, since normmax-2’s median gap is 0.61 against 0.40 for sparsemax and its 90th percentile 1.06 against 0.81. These fractions describe the recorded score distributions in threshold units; they do not apply one router’s map to another router’s scores.

Map300M g≥1g \ge1 (%)300M g≥2g \ge2 (%)300M Own (%)1B g≥1g \ge1 (%)1B g≥2g \ge2 (%)1B Own (%)
Softmax45.70213.7850.00044.7577.8240.000
1.5-entmax15.3470.2950.2958.2580.0480.048
Sparsemax9.5980.0019.5986.8830.0066.883
Normmax-223.1440.13323.14421.2560.01421.256

Table 5. Fraction of top-2 score gaps at least 1 (the sparsemax and normmax-2 threshold) and at least 2 (the 1.5-entmax threshold) for every trained router, averaged over layers, next to the router’s own singleton rate. For each sparse router the own rate equals the fraction at its own threshold; softmax has no finite threshold.

Additional results

Routing statistics by layer

Table 6 breaks the layer averages of Table 2 down by MoE layer. The singleton rate is strongly depth-dependent for sparsemax and normmax-2, which route between a fifth (sparsemax) and over half (normmax-2) of the tokens to a single expert in the first MoE layer and under a tenth in the last, while 1.5-entmax has essentially no singletons at any depth. The two load conventions also separate by layer: writing fjnom=fj++fj0f_j^{\mathrm{nom}} = f_j^{+} + f_j^{0} for the contributor and filler parts of the nominal load, Var⁡j(fjnom)=Var⁡j(fj+)+Var⁡j(fj0)+2Cov⁡j(fj+,fj0)\operatorname{Var}_j(f_j^{\mathrm{nom}}) = \operatorname{Var}_j(f_j^{+}) + \operatorname{Var}_j(f_j^{0}) + 2\operatorname{Cov}_j(f_j^{+}, f_j^{0}), so a negative covariance between contributor and filler loads can mask contributor imbalance in the nominal histogram, which is what happens to normmax-2 in the first layers.

Score distributions and scale by layer

Table 7 gives the score spreads and gap quantiles behind Figure 3, together with the corresponding 300M values. Its quantiles are averaged across layers, whereas the histograms pool the equally sized layer samples. Table 8 gives the per-layer values behind Table 7. The ordering of the scales is the same in every layer: softmax is the largest and sparsemax the smallest, with 1.5-entmax and normmax-2 close together in between. The 1.5-entmax router’s 99th-percentile gap stays below its threshold of 2 in every layer, with the single exception of the last MoE layer at 300M, where it reaches 2.000 and where that router also has its highest singleton rate (1.0%, Table 6). For sparsemax and normmax-2, whose threshold is 1, the same percentiles explain the depth dependence of the singleton rate: the first MoE layer is the only one where normmax-2’s median gap exceeds 1, and it is the layer where both routers drop the second expert most often.

Inference-time budget

Table 9 completes Table 3 with the retained mass and the number of contributors at every budget. Every map has its lowest loss at the trained K=2K = 2, so retaining more mass by selecting more experts does not help, and the sparse maps convert a larger budget into far fewer contributors than softmax: at K=8K = 8 the 1B sparsemax router uses 4.3 experts on average and normmax-2 5.1, against 8.0 for softmax and 7.98 for 1.5-entmax.

Full results at 300M

The 300M models use an eight-layer backbone with 26 experts in each of the four MoE layers (Table 4). Their quality, routing and budget results are reported next to the 1B ones in Table 1, Table 2 and Table 3 of the main text. Table 7 gives their score-gap summaries, and Table 6 and Table 8 give their per-layer statistics. Figure 4 and Figure 5 show their training curves and gap distributions.

Figure 5. Top-2 score gaps of the original 300M seed-42 routers on the same 61 Paloma WikiText-103 test documents. Samples, normalization and threshold lines follow Figure 3. The peaks near g=1g = 1 for sparsemax and normmax-2 are likewise consistent with gradient saturation beyond the singleton threshold.

The picture matches 1B. Softmax has the lowest validation loss and the highest mean accuracy among the MoEs in these runs. The 1.5-entmax router retains more mass than softmax with almost two contributors (99.3% of its states have support larger than two, with conditional discarded mass 0.314 against 0.566 for softmax), sparsemax retains the most mass and normmax-2 uses the fewest contributors. The sparse routers again learn smaller score spreads than softmax (RMS 0.41–0.53 against 0.98); the 1.5-entmax router’s 99th-percentile gap is 1.71, below its threshold of 2, while 13.8% of the softmax router’s gaps exceed 2, and normmax-2’s gaps exceed 1 far more often than sparsemax’s (23.1% against 9.6%). The one difference from 1B is the load balance: at 300M, normmax-2 has a lower nominal CV than softmax (0.367 against 0.404) but the same contributor CV (0.404), and 1.5-entmax has the lowest contributor CV (0.400).

References

  1. [1]Mathieu Blondel, André F. T. Martins, and Vlad Niculae. Learning with Fenchel-Young losses. Journal of Machine Learning Research, 21(35):1–69, 2020. URL https://jmlr.org/papers/v21/19-021.html.arxiv.org/abs/1901.02324
  2. [2]Lizhang Chen, Jonathan Li, Qi Wang, Runlong Liao, Shouzhe Li, Chen Liang, Ni Lao, and Qiang Liu. φ-balancing for mixture-of-experts training. In Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026. URL https://openreview.net/forum?id=DBzbJOquz4.
  3. [3]Gonçalo M. Correia, Vlad Niculae, and André F. T. Martins. Adaptively sparse transformers. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2174–2184. Association for Computational Linguistics, 2019.
  4. [4]DeepSeek-AI. DeepSeek-V3 technical report. arXiv preprint arXiv:2412.19437, 2024. URL https://arxiv.org/abs/2412.19437.
  5. [5]William Fedus, Barret Zoph, and Noam Shazeer. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120):1–39, 2022. URL https://jmlr.org/papers/v23/21-0998.html.arxiv.org/abs/2101.03961
  6. [7]Yuling Gu, Oyvind Tafjord, Bailey Kuehl, Dany Haddad, Jesse Dodge, and Hannah Hajishirzi. OLMES: A standard for language model evaluations. In Findings of the Association for Computational Linguistics: NAACL 2025, pages 5020–5048, 2025. doi: 10.18653/v1/2025.findings-naacl.282. URL https://aclanthology.org/2025.findings-naacl.282/.DOI
  7. [8]Hussein Hazimeh, Zhe Zhao, Aakanksha Chowdhery, Maheswaran Sathiamoorthy, Yihua Chen, Rahul Mazumder, Lichan Hong, and Ed H. Chi. DSelect-k: Differentiable selection in the mixture of experts with applications to multi-task learning. In Advances in Neural Information Processing Systems, volume 34, 2021.arxiv.org/abs/2106.03760
  8. [9]Tho Tran Huu, Huu-Tuan Nguyen, Thien-Hai Nguyen, Nhat-Tri Ho, Viet-Hoang Tran, Tho Quan, and Tan Minh Nguyen. Geometric and stochastic analysis of discontinuities in sparse mixture-of-experts. In Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026. URL https://openreview.net/forum?id=AYrnR1EXn5.
  9. [10]Albert Q. Jiang, Alexandre Sablayrolles, Antoine Roux, Arthur Mensch, Blanche Savary, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Emma Bou Hanna, Florian Bressand, et al. Mixture of experts. arXiv preprint arXiv:2401.04088, 2024. URL https://arxiv.org/abs/2401.04088.
  10. [11]Mike Lewis, Shruti Bhosale, Tim Dettmers, Naman Goyal, and Luke Zettlemoyer. BASE layers: Simplifying training of large, sparse models. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 6265–6274, 2021. URL https://proceedings.mlr.press/v139/lewis21a.html.arxiv.org/abs/2103.16716
  11. [12]Jeffrey Li, Alex Fang, Georgios Smyrnis, et al. DataComp-LM: In search of the next generation of training sets for language models. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, pages 14200–14282, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/19e4ea30dded58259665db375885e412-Abstract-Datasets_and_Benchmarks_Track.html.arxiv.org/abs/2406.11794
  12. [13]Ian Magnusson, Akshita Bhagia, Valentin Hofmann, Luca Soldaini, Ananya Harsh Jha, Oyvind Tafjord, Dustin Schwenk, Evan Pete Walsh, Yanai Elazar, Kyle Lo, Dirk Groeneveld, Iz Beltagy, Hanne­nah Hajishirzi, Noah A. Smith, Kyle Richardson, and Jesse Dodge. Paloma: A benchmark for evaluating language model fit. In Advances in Neural Information Processing Systems, volume 37, 2024. URL https://papers.nips.cc/paper_files/paper/2024/hash/760b2d94398aa61468aa3bc11506d9ea-Abstract-Datasets_and_Benchmarks_Track.html.arxiv.org/abs/2312.10523
  13. [14]André F. T. Martins and Ramón F. Astudillo. From softmax to sparsemax: A sparse model of attention and multi-label classification. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 1614–1623, 2016. URL https://proceedings.mlr.press/v48/martins16.html.arxiv.org/abs/1602.02068
  14. [15]James Oldfield, Markos Georgopoulos, Grigorios G. Chry sos, Christos Tzelepis, Yannis Panagakis, Mihalis Nicolaou, Jiankang Deng, and Ioannis Patras. Multilinear mixture of experts: Scalable expert specialization through factorization. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, pages 53022–53063, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/file/5eeb693f46d753e5fe24c97212c22bd2-Paper-Conference.pdf.arxiv.org/abs/2402.12550
  15. [16]Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc Quan Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The LAMBADA dataset: Word prediction requiring a broad discourse context. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1525–1534, Berlin, Germany, August 2016. Association for Computational Linguistics. doi: 10.18653/v1/P16-1144. URL https://aclanthology.org/P16-1144/.DOI
  16. [17]Ben Peters, Vlad Niculae, and André F. T. Martins. Sparse sequence-to-sequence models. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 1504–1519, 2019. doi: 10.18653/v1/P19-1146. URL https://aclanthology.org/P19-1146/.DOI
  17. [18]Joan Puigcerver, Carlos Riquelme, Basil Mustafa, and Neil Houlsby. From sparse to soft mixtures of experts. In The Twelfth International Conference on Learning Representations, 2024.arxiv.org/abs/2308.00951
  18. [19]Michael Eli Sander, Joan Puigcerver, Josip Djolonga, Gabriel Peyré, and Mathieu Blondel. Fast, differentiable and sparse top-k: a convex analysis perspective. In International Conference on Machine Learning, pages 29919–29936. PMLR, 2023.arxiv.org/abs/2302.01425
  19. [20]Saul Santos, Vlad Niculae, Daniel C. McNamee, and André F. T. Martins. Sparse and structured hopfield networks. In Forty-first International Conference on Machine Learning, 2024.arxiv.org/abs/2402.13725
  20. [21]Saul Santos, Vlad Niculae, Daniel McNamee, and André F. T. Martins. Hopfield-Fenchel-Young networks: A unified framework for associative memory retrieval. Journal of Machine Learning Research, 26(265):1–51, 2025. URL https://jmlr.org/papers/v26/24-1961.html.arxiv.org/abs/2411.08590
  21. [22]Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations (ICLR), 2017. URL https://openreview.net/forum?id=B1ckMDqlg.arxiv.org/abs/1701.06538
  22. [23]Kushal Thaman. One must imagine experts happy: Rebalancing neural routers via constrained optimization. In ICLR 2025 Workshop on Sparsity in LLMs, 2025. URL https://iclr.cc/virtual/2025/33506.
  23. [24]Pavlo Vasylenko, Hugo Pitorro, André F. T. Martins, and Marcos V. Treviso. Long-context generalization with sparse attention. In The Fourteenth International Conference on Learning Representations, 2026.arxiv.org/abs/2506.16640
  24. [25]Lean Wang, Huazuo Gao, Chenggang Zhao, Xu Sun, and Damai Dai. Auxiliary-loss-free load balancing strategy for mixture-of-experts. arXiv preprint arXiv:2408.15664, 2024. URL https://arxiv.org/abs/2408.15664v1.
  25. [26]Ziteng Wang, Jun Zhu, and Jianfei Chen. ReMoE: Fully differentiable mixture-of-experts with ReLU routing. In International Conference on Learning Representations, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/94dc604e115237a7f4a758b3146cd976-Abstract-Conference.html.arxiv.org/abs/2412.14711
  26. [27]Youngsik Yoon, Siwei Wang, Wei Chen, and Jungseul Ok. When Are Experts Misrouted? Counterfactual Routing Analysis in Mixture-of-Experts Language Models, 2026. URL https://arxiv.org/abs/2605.07260v1.
  27. [29]Heng Zhao, Zilei Shao, Guy Van den Broeck, and Zhe Zeng. ProbMoE: Differentiable Probabilistic Routing for Mixture-of-Experts, 2026. URL https://arxiv.org/abs/2606.01509.
  28. [30]Yangi Zhou, Tao Lei, Hanxiao Liu, Nan Du, Yanping Huang, Vincent Zhao, Andrew M. Dai, Zhifeng Chen, Quoc V. Le, and James Laudon. Mixture-of-experts with expert choice routing. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/2f00ecd787b432c1d36f3de9800728eb-Abstract-Conference.html.arxiv.org/abs/2202.09368

Paper details

vlnc:W_5mpvgtwg
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents