betaFeedback

WorksComputer Science

EDWARD-NMT: Elastic Dimensions With Adaptive Routing and Dual-consistency for Neural Machine Translation

Abstract

Sparse Mixture-of-Experts (MoE) is a powerful paradigm for scaling Neural Machine Translation (NMT) and managing language heterogeneity. However, practical limitations hinder its deployment on resource-constrained devices: the entire expert pool must remain in memory, and the per-token compute budget is statically fixed during training by rigid top-k routing. We introduce EDWARD-NMT (Elastic Dimensions With Adaptive Routing and Dual-consistency for NMT), a novel MoE encoder-decoder architecture designed for a train once, deploy anywhere paradigm that exposes a family of deployable sub-networks at inference time. EDWARD-NMT integrates three key innovations: (i) Matryoshka-style elastic dimensions to flexibly reduce the memory footprint; (ii) an adaptive sigmoid router with a learned, task-conditioned threshold, allowing each token to dynamically determine its active expert count; and (iii) a dual-consistency objective to maximize the performance of the extracted sub-networks. Extensive experiments on PhoMT (En-Vi), WMT-14 (En-De), multilingual OPUS-16, and a multi-domain De-En benchmark validate our approach. The full-capacity architecture matches or exceeds strong MoE baselines with improved parameter efficiency. Furthermore, the sub-networks seamlessly extracted from a single checkpoint consistently outperform comparably sized dense Transformers without any retraining.

Introduction

Managing language and domain heterogeneity is a fundamental challenge in Neural Machine Translation (NMT) [4] (Koehn and Knowles 2017; Pham et al. 2021), as training corpora routinely mix diverse lexical and stylistic distributions [15] (Stahlberg 2020). The Mixture-

of-Experts (MoE) paradigm addresses this by routing tokens to conditionally activated experts, scaling capacity to specialize in distinct patterns while keeping per-token computation tractable [13, 10] (Shazeer et al. 2017; Zhang et al. 2024; Liang et al. 2025).

Despite state-of-the-art performance, MoEs face deployment bottlenecks in resource-constrained environments. First, the entire expert pool must reside in memory [17] (Xu et al. 2023). While lightweight adapters reduce this overhead (Zhang et al., 2024), they still yield static, hardware-specific models. Second, standard MoEs rely on rigid top-kk routing, applying an identical compute budget regardless of token complexity [16] (Jawahar et al. 2023). Although Neural Architecture Search can design heterogeneous sub-networks (Jawahar et al., 2023), it requires complex offline phases. Consequently, NMT practitioners lack a unified framework to dynamically adjust memory and compute footprints on the fly.

To address these gaps, we propose EDWARD-NMT (Elastic Dimensions With Adaptive Routing and Dual-consistency for NMT), an encoder-decoder architecture enabling a train-once, deploy-anywhere paradigm through two coordinated forms of adaptivity. To overcome memory bottlenecks, we apply Matryoshka representation learning (Kusupati et al., 2022) to expert dimensions, allowing the MoE to be deterministically sliced into weight-sharing sub-networks at inference. To eliminate rigid compute constraints, we replace top-kk selection with an adaptive sigmoid router using a learned, task-conditioned threshold, empowering tokens to dynamically dictate their active expert count. Finally, to ensure aggressively truncated sub-networks maintain translation quality without post-hoc fine-tuning, we introduce a novel in-place dual-consistency objective that explicitly aligns predictive distributions across nested structural scales.

Extensive experiments on PhoMT (En↔Vi) [11], WMT-14 (En↔De) [3], multilingual OPUS-16 (Zhao et al., 2024), and a multi-domain De↔En [1] benchmark validate our approach. EDWARD-NMT achieves strong full-capacity performance, improving upon Transformer Big (Vaswani et al., 2017) across benchmarks, while keeping smaller variants highly capable. Our full model matches recent lightweight MoEs (Zhang et al., 2024), while our smallest variant (EDWARD-NMT-S) outperforms a dense Transformer Base, with all variants seamlessly extracted from a single checkpoint. In summary, our main contributions are:

  • We propose EDWARD-NMT, coupling elastic expert dimensions with dynamic, token-level sigmoid routing to realize a train-once, deploy-anywhere NMT architecture.

  • We formulate a dual-consistency self-distillation objective, an entirely in-place regularization mechanism that stabilizes aggressively sliced sub-networks without requiring post-hoc adaptation or fine-tuning.

  • We demonstrate that a single training run yields a discrete family of high-performing sub-networks, with the full-capacity model matching strong MoE baselines and smaller variants outperforming comparably sized dense networks.

Related Work

Static vs. Elastic Mixture-of-Experts. Sparse MoEs dominate sequence model scaling (Shazeer et al., 2017; Fedus et al., 2022; Dai et al., 2022; Jiang et al., 2024; Liu et al., 2024) and multi-domain NMT (Costa-Jussà et al., 2022; Zhang et al., 2024), yet produce static models with fixed memory footprints. Post-hoc compression (Lagunas et al., 2021; Li et al., 2025) yields rigid, hardware-specific models, while multi-sub-network architectures (Cai et al., 2020; Yu et al., 2019; Hou et al., 2020) require explicit fine-tuning. Existing elastic designs either restrict flexibility to dense networks (Kudugunta et al., 2024) or limit it to token-level granularity [6]. While concurrent work (MoSE (Tastan et al., 2026)) introduces slimmable experts, it retains rigid top-kk routing and employs test-time training for width adaptation. In contrast, EDWARD-NMT embeds Matryoshka-style elasticity directly into sparse experts. By introducing a variance-preservation scaling factor, we stabilize activations across nested widths, allowing a single trained MoE to yield a family of deployable sub-networks without any post-hoc adaptation.

Dynamic Routing and Adaptive Compute. Traditional MoEs employ rigid top-kk routing, applying identical compute budgets regardless of token complexity and relying on restrictive load-balancing losses [7]. Relaxations include soft (Puigcerver et al., 2024) and expert-choice routing (Zhou et al., 2022), while recent methods adapt per-token compute dynamically via null experts (AdaMoE (Zeng et al., 2024)), auto-tuned activations (DynMoE [16]), or differentiable ReLU routing (ReMoE (Wang et al., 2025)). EDWARD-NMT is concurrent but distinct: by coupling elastic experts with an adaptive sigmoid router, our framework uniquely enables dynamic adjustment of both memory and compute footprints at inference.

Self-distillation and Consistency Regularization. To enhance model generalization and robustness, typical consistency regularization aligns predictions across perturbed forward passes or augmented data views (Xie et al., 2020; Liang et al., 2021; Yao et al., 2025), while self-distillation transfers knowledge between layers or temporal states (Furlanello et al., 2018; Lan et al., 2018; Mobahi et al., 2020). Although in-place distillation successfully trains dense elastic networks by aligning sub-networks with a full-capacity teacher (Yu and Huang, 2019; Cai et al., 2020), it remains confined to statically routed architectures. We extend this via a novel dual-consistency objective tailored for elastic MoEs. Rather than aligning augmented views, we dynamically transfer knowledge between nested widths using a symmetric Kullback-Leibler (Jeffreys) divergence. This bidirectional regularization anchors the full-capacity network while preserving the quality of aggressively truncated variants.

Shared Experts. To prevent sparse experts from redundantly learning general linguistic patterns, architectures like DeepSeek-MoE [9] and Qwen3 (Yang et al., 2025) isolate common knowledge into a dense, universally shared expert. EDWARD-NMT extends this by dynamically conditioning the shared expert on the translation direction via FiLM modulation (Perez et al., 2018), creating a unified, direction-aware backbone without the parameter overhead of dedicated experts.

EDWARD-NMT

EDWARD-NMT builds upon the Transformer encoder-decoder architecture (Vaswani et al., 2017; Shazeer, 2020), selected over decoder-only alternatives for its superior parameter efficiency and low inference latency, making it highly practical for resource-constrained deployment. We replace conventional feed-forward sublayers with a novel MoE block comprising three jointly optimized innovations: (i) elastic experts encoding a family of nested inner widths, (ii) an adaptive sigmoid router dynamically allocating the optimal expert count per token, and (iii) a dual-consistency objective aligning predictions across capacity views. Additionally, a lightweight Direction-Aware Shared Expert (DASE) is computed in parallel. Figure 1 provides a schematic overview.

Overview of the EDWARD-NMT architecture

Figure 1. Overview of the EDWARD-NMT architecture. Left: The macro-level Transformer block integrating the Dynamic MoE layer. Center: The Adaptive Sigmoid Router computes a token-specific threshold (τ\tau) conditioned on a translation direction embedding (edire_{dir}) to dynamically allocate the sparse expert budget. Top Right: The internal structure of a Matryoshka Expert, illustrating the nested parameter slices used to extract varying capacities. Bottom Right: The Direction-Aware Shared Expert (DASE) applies FiLM modulation (γdir,βdir\gamma_{dir}, \beta_{dir}) to provide a stable, direction-aware backbone.

Preliminaries: Standard Mixture-of-Experts

We adopt the sparsely gated MoE feed-forward layer (Shazeer et al., 2017; Fedus et al., [13]) as our baseline. Let x∈Rdmodelx \in\mathbb{R}^{d_{\mathrm{model}}} denote the input token representation. An MoE layer consists of EE independent expert networks, {Ei}i=1E\{E_i\}_{i=1}^{E}, and a routing function gθ,k(x)g_{\theta,k}(x) parameterized by a weight matrix Wg∈Rdmodel×EW_g \in\mathbb{R}^{d_{\mathrm{model}} \times E}.

The standard router projects the input to unnormalized logits z=xWgz = xW_g. The routing weights are thus computed as gθ,k(x)=Softmax⁡(TopK⁡(xWg,k))g_{\theta,k}(x) = \operatorname{Softmax}(\operatorname{TopK}(xW_g,k)), and the MoE layer outputs their weighted sum:

MoE⁡(x)=∑i∈Tk(x)gθ,k(x)i⋅Ei(x),(1)\operatorname{MoE}(x) = \sum_{i \in\mathcal{T}_k(x)} g_{\theta,k}(x)_i \cdot E_i(x), \tag*{(1)}

where Tk(x)\mathcal{T}_k(x) is the set of selected expert indices. Each expert EiE_i is typically a SwiGLU Multi-Layer Perceptron (Shazeer, 2020), parameterized by up-projection weights W1,W2∈Rdmodel×MW_1, W_2 \in\mathbb{R}^{d_{\mathrm{model}} \times M} and down-projection weights W3∈RM×dmodelW_3 \in\mathbb{R}^{M \times d_{\mathrm{model}}}, where MM is the maximum inner dimension.

This standard formulation exhibits two critical limitations: rigid top-kk routing fixes the per-token compute budget, and the physical memory footprint scales linearly with E⋅ME \cdot M regardless of how many experts are actively evaluated.

Elastic Experts via Matryoshka Dimensions

Inspired by Matryoshka Representation Learning (Kusupati et al., 2022; Kudugunta et al., 2024), we design experts to support a nested family of inner dimensions D⊆{1,…,M}\mathcal{D} \subseteq\{1,\ldots,M\} sharing a single set of parameter tensors. During each forward pass, a target dimension Dk∈DD_k \in\mathcal{D} is sampled. Rather than instantiating physically separate experts, we dynamically truncate intermediate activations to their first DkD_k components. Letting [:Dk][:D_k] denote the hidden dimension slice, the elastic SwiGLU expert computes:

h=SiLU⁡(xW1)⊙(xW2),(2)h = \operatorname{SiLU}(xW_1) \odot(xW_2), \tag*{(2)}
Ei(x;Dk)=ψ(Dk)⋅(h[:Dk]W3,[:Dk,:]).(3)E_i(x;D_k) = \psi(D_k) \cdot\left(h_{[:D_k]}W_{3,[:D_k,:]}\right). \tag*{(3)}

Variance Preservation. Truncating the inner dimension intrinsically shrinks the magnitude of the down-projected activations, destabilizing residual additions and RMSNorm statistics (Zhang and Sennrich, 2019). To compensate, we introduce a deterministic rescaling factor ψ(Dk)\psi(D_k) dependent strictly on the chosen width:

ψ(Dk)=Mmax⁡(Dk,1).(4)\psi(D_k) = \sqrt{\frac{M}{\max(D_k,1)}}. \tag*{(4)}

This ensures the expected squared norm of Ei(x;Dk)E_i(x;D_k) remains invariant to DkD_k, a correction paramount for stable joint training across all nested capacities. Consequently, a single trained network seamlessly exposes ∣D∣|D| weight-sharing sub-networks freely selectable at inference.

Adaptive Sigmoid Routing

To decouple the model from rigid top-kk constraints, we replace the standard softmax gate with a token-adaptive sigmoid gate, empowering tokens to activate a variable expert count based on complexity.

Differentiable τ\tau-routing. Let z=xWg∈REz=xW_g\in\mathbb{R}^{E} be the unnormalized router logits with learned projection Wg∈Rdmodel×EW_g\in\mathbb{R}^{d_{\mathrm{model}}\times E}, and edir∈Rddire_{\mathrm{dir}}\in\mathbb{R}^{d_{\mathrm{dir}}} be a learnable direction embedding for the translation direction. We compute per-expert probabilities rr and a dynamic threshold τ\tau:

r=σ(z+ϵ),ϵ∼U(−η,η),(5)r = \sigma(z+\epsilon), \qquad\epsilon\sim U(-\eta,\eta), \tag*{(5)}
τ~=σ([x;edir]TWτ),(6)\tilde{\tau} = \sigma\left([x;e_{\mathrm{dir}}]^{\mathsf{T}}W_{\tau}\right), \tag*{(6)}
τ=τmin⁡+(τmax⁡−τmin⁡)⋅τ~,(7)\tau= \tau_{\min}+(\tau_{\max}-\tau_{\min})\cdot\tilde{\tau}, \tag*{(7)}

where Wτ∈Rdmodel+ddirW_{\tau}\in\mathbb{R}^{d_{\mathrm{model}}+d_{\mathrm{dir}}} projects the concatenated representation, and η\eta is a training jitter to prevent routing collapse [13].

A token activates expert EiE_i if and only if ri>τr_i>\tau. To backpropagate through this discrete decision, we use a Straight-Through Estimator (STE) [2]:

Misoft=σ(ri−τ),(8)M_i^{\mathrm{soft}}=\sigma(r_i-\tau), \tag*{(8)}
Mihard=I[ri>τ],(9)M_i^{\mathrm{hard}}=\mathbb{I}[r_i>\tau], \tag*{(9)}
Mi=sg⁡(Mihard−Misoft)+Misoft,(10)M_i=\operatorname{sg}\left(M_i^{\mathrm{hard}}-M_i^{\mathrm{soft}}\right)+M_i^{\mathrm{soft}}, \tag*{(10)}

where sg⁡(⋅)\operatorname{sg}(\cdot) is the stop-gradient operator. The MoE output is given by:

MoE⁡(x)=∑i=1EMi ri Ei(x;Dk).(11)\operatorname{MoE}(x)=\sum_{i=1}^{E}M_i\,r_i\,E_i(x;D_k). \tag*{(11)}

During inference, only experts where Mihard=1M_i^{\mathrm{hard}}=1 are activated, rendering per-token compute dynamically data-dependent.

Expert Sparsity Constraints. To explicitly control the computational budget and prevent load imbalance, we enforce a target sparsity ρtarget\rho_{\mathrm{target}} for active experts. An auxiliary loss aligns the empirical routing sparsity with this constraint to ensure uniform expert utilization:

Lsp=1∣B∣∑x∈B(∑i=1EMi(x)−ρtarget)2+1E∑i=1E(fi−ρtargetE)2.(12)\mathcal{L}_{\mathrm{sp}}= \frac{1}{|\mathcal{B}|}\sum_{x\in\mathcal{B}} \left(\sum_{i=1}^{E}M_i(x)-\rho_{\mathrm{target}}\right)^2 +\frac{1}{E}\sum_{i=1}^{E}\left(f_i-\frac{\rho_{\mathrm{target}}}{E}\right)^2. \tag*{(12)}

where fif_i is the activation frequency of expert ii within batch B\mathcal{B}, masking padded positions for accurate sparsity estimation.

Dual-Consistency Objective

A central challenge in elastic MoEs is ensuring aggressively truncated sub-networks remain performant without downstream fine-tuning. We resolve this via a dual-consistency objective tying varying capacity views together.

At every training step, we sample two dimensions DA,DB∼DD_A,D_B\sim\mathcal{D} with replacement. We perform two forward passes by dynamically slicing expert activations to widths DAD_A and DBD_B, yielding predictive vocabulary distributions PAP_A and PBP_B. We define the loss using a Symmetrized Kullback-Leibler (KL) divergence (Jeffreys Divergence):

Ldc=12[KL⁡(sg⁡(PA)∥PB)+KL⁡(sg⁡(PB)∥PA)],(13)\mathcal{L}_{\mathrm{dc}}=\frac{1}{2}\left[\operatorname{KL}(\operatorname{sg}(P_A)\|P_B)+\operatorname{KL}(\operatorname{sg}(P_B)\|P_A)\right], \tag*{(13)}

where sg⁡(⋅)\operatorname{sg}(\cdot) denotes the stop-gradient operator. This formulation unifies two regularizing paradigms. When DA≠DBD_A\ne D_B, it functions as in-place self-distillation: the larger capacity view provides a richer target to guide the smaller variant, while the smaller core acts as a structural regularizer for the larger network. When DA=DBD_A=D_B, it defaults to consistency regularization similar to R-Drop (Liang et al. (2021)), minimizing the divergence between stochastic forward passes of the same sub-network. This bidirectional flow anchors the full-capacity model while preserving the translation quality of truncated variants.

Direction-Aware Shared Expert

Multi-directional and multi-domain NMT models frequently suffer from negative interference. Following recent successes isolating common knowledge in shared experts (Rajbhandari et al. (2022a); Dai et al. [9]), we introduce a single dense expert activated for every token in parallel with the sparse router. To render this backbone direction-aware without the parameter overhead of dedicated experts, we dynamically modulate its hidden state via Feature-wise Linear Modulation (FiLM) (Perez et al. (2018)). We use the discrete translation direction to index learned modulation vectors γc,βc∈RM\gamma_c, \beta_c \in\mathbb{R}^{M}. The DASE computes:

hshr=SiLU⁡(xW1shr)⊙(xW2shr),(14)h^{\mathrm{shr}} = \operatorname{SiLU}(xW^{\mathrm{shr}}_{1}) \odot(xW^{\mathrm{shr}}_{2}), \tag*{(14)}
h^shr=hshr⊙(1+γc)+βc,(15)\hat{h}^{\mathrm{shr}} = h^{\mathrm{shr}} \odot(1+\gamma_c) + \beta_c, \tag*{(15)}
Eshr(x;Dk)=α⋅ψ(Dk)⋅(h^[:Dk]shrW3,[:Dk,:]shr).(16)E_{\mathrm{shr}}(x;D_k) = \alpha\cdot\psi(D_k) \cdot\left(\hat{h}^{\mathrm{shr}}_{[:D_k]}W^{\mathrm{shr}}_{3,[:D_k,:]}\right). \tag*{(16)}

where 0<α<10 < \alpha< 1 is a static damping factor preventing the shared expert from overpowering the sparsely routed experts. The DASE acts as a stable, grammatical backbone, freeing routed experts to specialize heavily across idiosyncratic domains.

The final output of the elastic MoE block aggregates the dynamic routed paths with the shared direction-conditioned path:

yMoE(x;Dk)=∑i=1EMiriEi(x;Dk)+Eshr(x;Dk).(17)y_{\mathrm{MoE}}(x;D_k) = \sum_{i=1}^{E} M_i r_i E_i(x;D_k) + E_{\mathrm{shr}}(x;D_k). \tag*{(17)}

Training Objective and Inference

The complete optimization objective minimizes the standard label-smoothed cross-entropy loss alongside our auxiliary routing constraints and dual-consistency regularization. Because we sample two distinct capacity dimensions DAD_A and DBD_B at each training step, the cross-entropy and routing losses are calculated independently for each width and averaged. The final loss L\mathcal{L} is formulated as:

L=12∑D∈{DA,DB}(Lce(D)+λspLsp(D))+λdcLdc,(18)\mathcal{L} = \frac{1}{2}\sum_{D\in\{D_A,D_B\}}\left(\mathcal{L}_{\mathrm{ce}}^{(D)}+\lambda_{\mathrm{sp}}\mathcal{L}_{\mathrm{sp}}^{(D)}\right)+\lambda_{\mathrm{dc}}\mathcal{L}_{\mathrm{dc}}, \tag*{(18)}

where Lce(D)\mathcal{L}_{\mathrm{ce}}^{(D)} and Lsp(D)\mathcal{L}_{\mathrm{sp}}^{(D)} denote the cross-entropy and target sparsity computed during the forward pass of width DD. The scalar weights λsp\lambda_{\mathrm{sp}} and λdc\lambda_{\mathrm{dc}} balance the relative impact of the routing and consistency constraints.

During inference, a target memory footprint is dictated simply by specifying an expert width Dk∈DD_k \in\mathcal{D}. The corresponding sub-network is extracted seamlessly via deterministic matrix slicing. Simultaneously, the adaptive sigmoid router dynamically calibrates the active expert count per token. By decoupling static memory capacity from the dynamic compute budget, EDWARD-NMT realizes a highly efficient “train once, deploy anywhere” paradigm.

Experimental Setup

Datasets

We evaluate EDWARD-NMT on four benchmark families (full dataset and preprocessing details are provided in Appendix § 8.§ 1): (1) PhoMT (En↔Vi) (Doan et al. [11]), (2) the standard WMT-14 (En↔De) (Bojar et al. [3]) evaluated on newstest2014, (3) the multi-domain De↔En benchmark (Zhang et al. (2024)) spanning five diverse domains evaluated via macro-averaging, and (4) the multilingual translation OPUS-16 dataset following Zhao et al. (2024), with 16 languages divided into high (>0.9> 0.9M pairs), low (<0.1< 0.1M pairs) and medium resource.

Architecture and Sub-network Family

The encoder-decoder backbone has Lenc=Ldec=8L_{\mathrm{enc}}=L_{\mathrm{dec}}=8 layers, dmodel=512d_{\mathrm{model}}=512, eight attention heads, E=4E=4 routed experts, and one direction-aware shared expert (total of 5 experts) per MoE layer. Both routed and shared experts have a maximum inner dimension M=2048M=2048, governed by the nested family: D={2048,1024,512,256}\mathcal{D}=\{2048, 1024, 512, 256\}. This yields the four variants in Table 1. Total parameters vary across datasets due to vocabulary size. All share a single set of trained parameters, differing only by the inference slice Dk∈DD_k \in\mathcal{D}.

VariantDkD_kTotal ParamsActive Params
EDWARD-NMT-S25667 – 74M51 – 59M
EDWARD-NMT-M51298 – 105M66 – 76M
EDWARD-NMT-L1024161 – 168M97 – 109M
EDWARD-NMT-XL2048287 – 294M158 – 175M

Table 1. EDWARD-NMT sub-network variants extracted from a single trained model.

Routing & Consistency. The direction embedding edir∈R64e_{\mathrm{dir}} \in\mathbb{R}^{64} is learned per translation direction. The router uses jitter η=0.05\eta= 0.05, thresholds τmin⁡=0.05\tau_{\min} = 0.05 and τmax⁡=0.60\tau_{\max} = 0.60. The target sparsity is set to ρtarget=1.25\rho_{\mathrm{target}} = 1.25. The auxiliary weight is λsp=0.01\lambda_{\mathrm{sp}} = 0.01, and the DASE damping factor is α=0.1\alpha= 0.1. For dual-consistency (λdc=1\lambda_{\mathrm{dc}} = 1), dimensions DA,DB∼DD_A, D_B \sim\mathcal{D} are sampled uniformly with replacement per step.

Baselines

We compare against standard dense Transformers (BASE/BIG) (Vaswani et al., 2017; Ott et al., 2018), mBART (Liu et al., 2020), and MoE methods: the Switch Transformer [13] with top-1 token-based routing (ST-MoE) and GShard (Lepikhin et al., 2021) with top-2 token-based routing (GS-MoE). Both MoE models use TRANSFORMERS BIG backbone for multi-domain benchmark. All models are trained jointly on all translation directions to match our setup. For OPUS-16 we report baseline results from Zhao et al. (2024), more MoE baselines are provided in Appendix § 9.§ 2.

Implementation Details

Training. All models are trained on a single TPU v5-64 pod using the AdamW optimizer (Loshchilov and Hutter, 2019) (β1=0.9\beta_1 = 0.9, β2=0.98\beta_2 = 0.98). The learning rate warms up linearly from 10−610^{-6} to 10−210^{-2} over the first 1k steps. We use an effective batch size of 8,192 sequences (max length 128), a dropout rate of 0.1, and label smoothing of 0.1. Training spans 16k steps for the multi-domain, 30k for OPUS-16, 40k for PhoMT, and 60k for WMT-14. Complete hyperparameters are listed in Appendix Table 10.

Inference and Evaluation. We decode via beam search (width 4, length penalty 0.6). Performance is measured using case-sensitive sacreBLEU (Post, 2018) for PhoMT, WMT-14, and OPUS-16, and tokenized BLEU (Papineni et al., 2002) for the multi-domain dataset. We also report COMET (Rei et al., 2020) for semantic fidelity on WMT-14 and multi-domain dataset. chrF2 (Popović, 2016) on WMT-14 and TER (Snover et al., 2006) on PhoMT results are detailed in Appendix § 9.§ 6 and B.7. All reported improvements over baselines are statistically significant (Appendix § 8.§ 4). Edge inference latency and throughput are profiled using compiled LiteRT checkpoints (Appendix § 9.§ 1). Crucially, all four EDWARD-NMT variants are extracted and evaluated from the same checkpoint.

Results

Main Translation Quality

PhoMT and WMT-14. Table 2 reports sacreBLEU on PhoMT (En↔Vi) and WMT-14 (En↔De). EDWARD-NMT-XL exceeds TRANSFORMER BIG across all directions while activating fewer parameters, improving by +1.30 BLEU on PhoMT (Vi→En) and +1.48 on WMT-14 (De→En). Furthermore, it surpasses much larger mBART models across all directions on En→Vi, while remaining highly competitive on Vi→En despite using 3×3\times fewer active parameters. The smaller sub-networks extracted from the same checkpoint maintain robust performance: EDWARD-NMT-S (51–59M active parameters) outperforms the dense TRANSFORMER BASE by +0.69 to +3.18 BLEU at a comparable parameter footprint, performing on par with TRANSFORMER BIG on PhoMT.

MethodParamsActiveEn→ViVi→EnParamsActiveEn→DeDe→En
Transformer Base65M65M42.1237.1961M61M24.5628.76
Transformer Big213M213M42.9437.83210M210M27.5331.48
mBART2448M448M43.4639.78610M610M24.9032.51
EDWARD-NMT-S67M51M42.9137.8874M59M26.8531.94
EDWARD-NMT-M98M66M43.3538.50105M76M27.4932.45
EDWARD-NMT-L161M97M<u>43.61</u>38.93168M109M27.96<u>32.65</u>
EDWARD-NMT-XL287M158M43.79<u>39.13</u>294M175M28.0332.96

Table 2. Main results on PhoMT (En↔Vi) and WMT-14 (En↔De) measured in sacreBLEU. “Active” denotes average parameters activated by our sigmoid router. Best and second-best scores are bolded and <u>underlined</u>, respectively.

Multi-domain De↔En. Table 3 compares EDWARD-NMT to dense and MoE baselines on the multi-domain benchmark. Our EDWARD-NMT-XL achieves the highest average BLEU, outperforming TRANSFORMER BIG by +0.62 BLEU across all five domains with significantly fewer active parameters (161M vs. 210M). This efficiency extends to smaller sub-networks: EDWARD-NMT-L surpasses TRANSFORMER BIG using under half the active parameters (102M), while the smallest EDWARD-NMT-S (57M) improves upon TRANSFORMER BASE by +0.49 BLEU and rivals the much heavier GS-MoE (260M).

MethodParamsActiveKORITMEDLAWSUBAVGEn→XXXX→En
Transformer Base61M61M20.5340.0151.2553.7225.2938.1626.92330.673
Transformer Big210M210M22.55<u>41.84</u><u>53.35</u>56.2226.7340.13--
ST-MoE360M210M21.7341.0052.0155.6926.1839.3229.68333.893
GS-MoE360M260M20.7041.3552.3154.5624.7238.7228.28332.313
EDWARD-NMT-S74M57M21.6140.0751.0153.9926.5638.6529.5532.99
EDWARD-NMT-M105M72M22.7240.8752.1155.2126.8839.5630.7334.84
EDWARD-NMT-L168M102M<u>23.56</u>41.5352.95<u>56.27</u><u>27.13</u><u>40.28</u><u>31.64</u><u>35.82</u>
EDWARD-NMT-XL294M161M24.0641.9053.4557.0527.3040.7532.2736.30

Table 3. Experimental results on the multi-domain (De↔En) averaged across both directions and multilingual OPUS-16 benchmarks (English to any En→XX and any to English XX→En). The “Params” and “Active” columns report footprints for the multi-domain setup. 3Reported from Zhao et al. (2024). Extended OPUS-16 comparisons are provided in Appendix § 9.§ 2.

Multilingual OPUS-16. Demonstrating robust scalability, our architecture also excels on the massively multilingual OPUS-16 dataset (Table 3). While our most compressed sub-network, EDWARD-NMT-S, remains competitive, scaling to just the EDWARD-NMT-M variant is sufficient to consistently outperform both ST-MoE and GS-MoE across both translation directions. The full-capacity EDWARD-NMT-XL further extends this lead. An extended comparison against a wider range of baselines is provided in Appendix § 9.§ 2.

Semantic Quality Beyond surface-level nn-gram matching, we evaluate semantic integrity using COMET-224 (Rei et al., 2022). Table 4 presents the average scores across all evaluation directions

MethodActiveAVGActiveAVG
WMT-14WMT-14Multi-domainMulti-domain
Transformer Base61M80.7861M80.20
Transformer Big210M83.69210M<u>81.62</u>
mBART5610M83.56--
ST-MoE--210M80.95
GS-MoE--260M78.20
EDWARD-NMT-S59M83.4857M80.96
EDWARD-NMT-M76M83.9872M81.32
EDWARD-NMT-L109M84.12102M81.62
EDWARD-NMT-XL175M84.30161M81.80

Table 4. Semantic-level translation quality measured in COMET-22. Scores are averaged across all translation directions (and domains for the Multi-domain benchmark). Best and second-best scores are bolded and <u>underlined</u>. 5mBART is a pretrained many-to-many model.

and domains. On WMT-14, our highly compressed EDWARD-NMT-S (59M active parameters) significantly outperforms TRANSFORMER BASE (61M active) by an average margin of +2.70 COMET. Additionally, our EDWARD-NMT-M (76M) and EDWARD-NMT-L (109M) variants

consistently exceed the 210M-parameter TRANSFORMER BIG. At full capacity, EDWARD-NMT-XL establishes a new Pareto frontier by surpassing TRANSFORMER BIG by +0.61 COMET on average. This semantic robustness extends to the Multi-domain benchmark, where heavily parameterized models such as GS-MoE (260M) experience severe semantic degradation (78.20 COMET). In stark contrast, our EDWARD-NMT-S model (57M) maintains a robust score of 80.96 COMET. This performance is comparable to the 210M-parameter ST-MoE and outperforms GS-MoE by +2.76 points. Furthermore, the EDWARD-NMT-XL model achieves the highest overall score (81.80), demonstrating that our architecture strictly preserves meaning even within aggressively truncated sub-networks.

Quality vs. Active Parameters. Driven by our adaptive sigmoid routing, which activates only 1.34 to 1.70 experts per token (Table 5), EDWARD-NMT establishes an efficient Pareto frontier. Crucially, this number of active experts is explicitly controlled by the target density ρ\rho (Table 25).

MethodPhoMTWMT-14MDOPUS-16
EDWARD-NMT-S1.441.641.371.34
EDWARD-NMT-M1.451.661.371.35
EDWARD-NMT-L1.471.691.381.37
EDWARD-NMT-XL1.511.701.391.39

Table 5. Average active routed experts per token across the PhoMT, WMT-14, Multi-domain (MD) and OPUS-16 benchmarks (out of E=4E = 4 routed experts, excluding the fixed shared expert).

MethodTarget Density (ρ\rho)
ρ=1.0\rho= 1.0ρ=1.25\rho= 1.25ρ=1.5\rho= 1.5
EDWARD-NMT-S1.181.391.69
EDWARD-NMT-M1.171.381.67
EDWARD-NMT-L1.161.371.66
EDWARD-NMT-XL1.151.371.65

Table 25. Average active routed experts per token on the Multi-domain benchmark across different target density (ρ\rho) settings. Values are averaged across both translation directions and all domains.

The extracted sub-networks consistently outperform dense baselines like TRANSFORMER BIG and mBART while using up to 3.6×3.6\times fewer active parameters. For instance, EDWARD-NMT-L surpasses TRANSFORMER BIG utilizing less than half the active capacity (102M vs. 210M) and higher generation throughput (61.5 vs. 48.0 TPS). This structural compactness translates effectively to practical on-device acceleration. While experiencing only a marginal drop in translation quality, the compact S variant reduces the total parameter footprint by 4×4\times and delivers a 2.2×2.2\times speedup over the full XL variant (Appendix Table 11), with all sizes extracted from a single checkpoint.

Ablation Studies

All ablations are run on the multi-domain benchmark (averaged across En↔\leftrightarrowDe) and report the tokenized BLEU of every sub-network (XL/L/M/S) extracted from the same training run. PhoMT ablations are provided in Appendix § 9.7.

Contributions of Each Component. Table 6 incrementally adds EDWARD-NMT components to a Top-2 MoE baseline. Adding Matryoshka Experts (ME) yields immediate gains, peaking the XL capacity at 40.96. While fully integrating the Sigmoid router and Dual-Consistency (DC) causes a slight XL quality drop on this benchmark, this represents a deliberate, highly favorable trade-off. The adaptive router drastically reduces the active compute budget (Top-2 →∼1.38\to\sim1.38 experts), while DC prevents smaller sub-networks from collapsing. Consequently, the full system (+ ME + DC + Sigmoid) provides the optimal configuration, maintaining highly competitive XL performance at significantly lower inference costs, while maximizing translation quality for the L, M, and S variants. Ablations on PhoMT (Appendix Table 20) confirm the efficacy that it improves all capacities performance.

En↔\leftrightarrowDe
SettingXLLMS
MoE (k=2k=2)40.3539.6439.2138.24
+ ME40.9640.2639.3538.34
+ ME + Sigmoid40.7240.2339.2038.16
+ ME + DC40.6640.1639.3638.49
+ ME + DC + Sigmoid40.7540.2839.5638.65

Table 6. Ablation results on the Multi-domain benchmark, averaged over both translation directions. All settings use shared expert (DASE).

Impact of Shared Expert Routing. Table 7 isolates the effect of the shared expert strategy. Compared to a standard MoE without shared experts (No SE), introducing a Common Shared Expert (Common SE) provides modest gains (+0.2 to +0.3 BLEU). However, our Direction-Aware Shared Expert (DASE) unlocks substantial improvements across the board, yielding approximately +1.0 BLEU on XL and +0.6 BLEU on S over the No SE baseline. This confirms that intelligently routing common knowledge is vital for maximizing multi-domain translation quality.

En↔\leftrightarrowDe
SettingXLLMS
No SE39.7539.4038.8438.13
Common SE39.9539.7339.1238.46
DASE (ours)40.7440.2639.3938.72

Table 7. Ablation on the shared expert (SE) routing strategies on the Multi-domain benchmark, averaged over both translation directions.

Choice of Consistency Loss. Our proposed Dual-Consistency (DC Loss) introduces a bidirectional alignment mechanism critical for elastic architectures. As shown in Table 8, standard R-Drop isolates identical widths, which limits cross-scale knowledge transfer and degrades the flagship capacity (−0.6 BLEU on L). A symmetric JensenShannon Divergence (Sym. JSD) (Lin, 1991) is similarly ineffective, providing negligible gains for smaller sub-networks. While unidirectional distillation (Asym. KL) mitigates this by treating the larger sampled width as a detached teacher, it lacks mutual regularization. Furthermore, anchoring strictly to the full-capacity model (Asym. KL Max) yields sub-optimal intermediate variants. By coupling capacity views - with larger variants serving as distillation targets and smaller cores acting as regularizers - our DC Loss establishes a balance that maximizes quality across all sub-networks.

En↔\leftrightarrowDe
SettingXLLMS
No loss40.7240.2339.2038.16
R-Drop40.0039.7339.1938.47
Sym. JSD40.8040.1739.1938.19
Asym. KL40.7640.1439.5038.59
Asym. KL (Max)41.0439.8939.1438.39
DC Loss (ours)40.7540.2839.5638.65

Table 8. Ablation on the Dual-Consistency loss (DC Loss) on the Multi-domain benchmark, averaged over both translation directions.

Elasticity of Model Capacities. EDWARD-NMT’s structural elasticity enables fluid extraction of sub-networks at arbitrary granularities. As detailed in Table 14 (Appendix), despite being optimized on only four discrete views (D={2048,1024,512,256}\mathcal{D} = \{2048, 1024, 512, 256\}), the capacity space seamlessly interpolates. Unseen intermediate sub-networks (e.g., D=1536\mathcal{D} = 1536 or 768768) maintain robust translation quality and strictly follow a monotonic compute-performance trade-off without post-hoc fine-tuning. However, this elasticity is bounded by the trained envelope; extrapolating below the minimum trained threshold (D=128\mathcal{D} = 128) triggers a severe performance breakdown, confirming that structural integrity requires optimized geometric bounds.

DimP.Act.Sp.En→TgtTgt→En
PhoMT (En↔Vi)
2048287M158M1.4443.7939.13
1536224M128M1.4443.6238.98
1024161M97M1.4543.6138.93
768130M82M1.4643.4838.58
51298M67M1.4743.3538.50
25667M51M1.5142.9137.88
12851M44M1.5639.2633.98
WMT-14 (En↔De)
2048294M175M1.6328.0332.96
1536231M142M1.6328.0232.67
1024168M109M1.6527.9632.65
768137M92M1.6627.6632.46
512105M76M1.6827.4932.45
25674M59M1.7126.8531.94
12858M51M1.7622.9027.78
Multi-Domain (En↔De)
2048294M161M1.3738.7842.71
1536231M132M1.3738.3942.53
1024168M102M1.3738.2442.33
768136M87M1.3837.7741.90
512105M72M1.3837.5541.56
25674M57M1.3936.5140.78
12858M50M1.4531.4235.88

Table 14. Performance across dimensions on the PhoMT, WMT-14, and Multi-domain benchmarks. Column abbreviations denote total parameters (P.), average active parameters per token (Act.), and routing sparsity (Sp.) (active routed experts per token out of 4, excluding the shared expert). Multi-Domain scores are macro-averaged across five domains. The best and second best scores within each dataset are highlighted.

Effect of Variance Preservation. Removing the deterministic rescaling factor ψ(Dk)\psi(D_k) consistently degrades translation quality across all extracted sub-networks (Table 15, Appendix). This performance drop becomes significantly more pronounced at smaller capacities (−0.37-0.37 BLEU for D=256\mathcal{D} = 256), confirming that explicitly stabilizing down-projected activation magnitudes is crucial for the robust joint training of nested structures.

SettingXLLMS
En↔De
w/o ψ(Dk)\psi(D_k)40.5240.0339.2038.35
With ψ\psi40.7440.2639.3938.72

Table 15. Ablation of the Variance Preservation factor ψ(Dk)\psi(D_k) on the Multi-domain benchmark, averaged over both translation directions.

Conclusion

We introduced EDWARD-NMT, an elastic MoE architecture realizing an efficient train-once, deploy-anywhere paradigm for NMT. By synergizing Matryoshka-style elastic experts, an adaptive sigmoid router, and a direction-aware shared expert, our framework decouples the static memory footprint from the dynamic computational budget. Crucially, a symmetric dual-consistency objective aligns predictive distributions across nested widths, ensuring truncated sub-networks retain high quality without post-hoc fine-tuning. Extensive evaluations across PhoMT, WMT-14, multilingual OPUS-16, and a multi-domain benchmark validate our approach. The full-capacity EDWARD-NMT matches or exceeds strong MoE baselines, while the seamlessly extracted smaller sub-networks remain highly competitive, outperforming comparably sized dense Transformers. Overall, coupling structural elasticity with dynamic routing offers a practical, scalable path to resource-aware sequence modeling and adaptable on-device deployment.

Limitations

Despite its effectiveness, EDWARD-NMT has several limitations that offer avenues for future research:

Architectural Scope. We evaluate EDWARD-NMT strictly on encoder-decoder architectures to demonstrate its efficacy for machine translation targeted at resource-constrained edge devices. Extending this elastic formulation to massively multilingual settings, decoder-only large language models, or broader sequence generation tasks remains an important direction for future work.

Dimensions of Elasticity. Our design prioritizes structural flexibility within the feed-forward networks, as they constitute the vast majority of parameters in MoE models. Although EDWARD-NMT achieves robust elasticity for these capacities within the optimized training envelope, we have not yet explored elasticity along orthogonal architectural axes. Future work will investigate integrating early exiting (dynamic depth) and variable hidden state dimensions (dmodeld_{\mathrm{model}}) to realize a fully elastic, multi-dimensional architecture capable of simultaneous depth-and-width adaptation.

Extreme Compression. Although EDWARD-NMT interpolates robustly within its trained envelope (D\mathcal{D}), performance inherently degrades when extrapolating below the minimum trained capacity. Investigating continuous width formulations or dynamically expanding these lower bounds without destabilizing the shared backbone remains a key direction for extreme-compression scenarios.

Ethical Considerations

This work uses only publicly available NMT benchmarks with no personally identifiable or sensitive data, and all baselines are cited and reproduced under their respective licenses. Like any NMT system, EDWARD-NMT may propagate biases or inaccuracies from training corpora and should not inform high-stakes decisions without human review. We foresee no direct harmful applications; by improving parameter and compute efficiency, our work lowers the barrier to deploying translation systems on resource-constrained devices, improving accessibility to translation technology.

Acknowledgments

This research was supported with Cloud TPUs from Google’s TPU Research Cloud (TRC) program. We would like to thank the TRC team for providing the computational resources used in this work.

Experimental Details

This appendix provides the comprehensive experimental details required to reproduce the results reported in § 5. We outline the datasets, training configurations, and hyperparameters necessary to independently re-implement the methodology (§ 3) using publicly available data.

Datasets and Preprocessing

The datasets are summarized in Table 9.

DatasetLangTrainDevTestVocab
PhoMTEn↔Vi2,977k19,15119,15120k SPM
WMT-14En↔De3,906k3,0003,00332k BPE
MDDe↔En1,284k10,00010,00032k BPE
OPUS-1616 lang17,559k30,00030,00032k SPM

Table 9. Dataset sizes (sentence pairs) and shared vocabularies. SPM: SentencePiece. The “Train” column reports the final number of filtered sentence pairs used for model training. The multi-domain (MD) training set is the concatenation of five diverse domains (Koran, IT, Medical, Law, Subtitles) following Zhang et al. (2024). The OPUS-16 dataset includes 16 languages following Zhao et al. (2024).

PhoMT (En↔Vi). A large-scale parallel corpus (Doan et al., [11]) comprising approximately 3M sentence pairs across domains such as news, subtitles, legal documents, and Wikipedia. We use the full PhoMT corpus, utilizing the official training pairs directly. For subword tokenization, we train a shared SentencePiece (Kudo and Richardson, 2018) model with a vocabulary size of 20, 000 tokens strictly on the training set, which is subsequently applied to encode all data splits.

WMT-14 (En↔De). We utilize the standard WMT-14 training corpora (Europarl v7, Common Crawl, and News Commentary v9), comprising approximately 4.5M original sentence pairs. First, we normalize punctuation and tokenize the text using the Moses toolkit (Koehn et al., 2007)6. Next, we learn a joint Byte-Pair Encoding (BPE) (Sennrich et al., 2016) model with 32,000 merge operations on the concatenated English and German training data, which is subsequently applied to all data splits. Finally, we filter the training and validation sets to remove sentences longer than 250 tokens or with a source-target length ratio exceeding 1.5. This results in roughly 3.9M filtered training pairs. Final translation performance is evaluated on the standard newstest2014 test set. The models are trained using a joined dictionary capped at 32,768 tokens. Our preprocessing pipeline is based on open-source Fairseq7 (Ott et al., 2019).

Multi-domain De↔En. Following Zhang et al. (2024), we evaluate on a multi-domain corpus encompassing five distinct domains: KORAN, IT, MEDICAL, LAW, and SUBTITLES. The total filtered size is approximately 1.3M sentence pairs. The tokenization and normalization process follows the exact same Moses-based pipeline as WMT-14. We aggregate the training sets from all five domains across both languages to learn a single, unified BPE model with 32,000 merge operations. After applying the identical length and ratio filtering (maximum length of 250, length ratio of 1.5), the filtered data from all domains is concatenated into a single combined training set and a combined validation set. The models are trained using a joined dictionary capped at 32,768 tokens, while evaluation is conducted separately on the test sets (each has 2000 samples) of each domain.

Multilingual OPUS-16. The OPUS-16 benchmark (Zhao et al., 2024) comprises 16 diverse languages. We prepare the training, validation, and test data following Zhao et al. (2024). The training and validation data are filtered to remove sentences exceeding 100 tokens. We train a joint SentencePiece unigram model with a base vocabulary of 32,000 tokens on the training set and subsequently apply it to encode all data splits.

Architecture

The encoder-decoder backbone has Lenc=Ldec=8L_{\mathrm{enc}}=L_{\mathrm{dec}}=8 layers, dmodel=512d_{\mathrm{model}}=512, and h=8h=8 heads (dh=64d_h=64). We use a Pre-Norm setup with RMSNorm (Zhang and Sennrich, 2019) applied to token embeddings, layer inputs, and attention queries/keys (QK-norm). RoPE (Su et al., 2024) position embeddings are used. MoE blocks with SwiGLU

(Shažeer, 2020) non-linearities replace every feed-forward layer, each containing E=4E=4 routed Matryoshka experts with elastic inner dimensions D={256,512,1024,2048}\mathcal{D}=\{256,512,1024,2048\} plus one Direction-Aware Shared Expert (DASE). Both the router and DASE are conditioned on a 64-dimensional direction embedding. Source and target embeddings are tied with the output projection, and final logits are soft-capped at 30.0.

Hyperparameters

The hyperparameters are reported in Table 10.

ParameterValueSearch Space
OptimiserAdamW (β1=0.9\beta_1=0.9, β2=0.98\beta_2=0.98, ϵ=10−8\epsilon=10^{-8})–
Weight decay0.01–
Peak learning rate10−210^{-2}{5×10−4,10−3,5×10−3,10−2}\{5\times10^{-4}, 10^{-3}, 5\times10^{-3}, 10^{-2}\}
Initial learning rate10−610^{-6}–
Final learning rate10−410^{-4}–
Warmup steps1,000{0,1000,2000,4000}\{0, 1000, 2000, 4000\}
Schedulecosine to ηend\eta_{\mathrm{end}}–
Total steps16k (multi-domain), 30k (OPUS-16), 40k (PhoMT), 60k (WMT-14)–
Effective batch (sequences)8,192–
Micro-batch / accum. steps2,048 / 4–
Max sequence length128 tokens–
Gradient clippingglobal norm 1.0–
Label smoothing0.1–
Dropout (attn / FFN)0.1 / 0.1–
Routed experts EE4–
Shared experts1–
Max expert dim MM2,048–
Nested widths D\mathcal{D}{256,512,1024,2048}\{256, 512, 1024, 2048\}–
Direction embedding dim64{32,64,128}\{32, 64, 128\}
Router jitter η\eta0.05{0.01,0.05,0.1}\{0.01, 0.05, 0.1\}
Threshold range [τmin⁡,τmax⁡][\tau_{\min}, \tau_{\max}][0.05, 0.60]τmin⁡∈{0.05,0.1,0.2}\tau_{\min} \in\{0.05, 0.1, 0.2\}
Target sparsityρtarget=1.25\rho_{\mathrm{target}}=1.25{1.0,1.25,1.5}\{1.0, 1.25, 1.5\}
Auxiliary weightλsp=0.01\lambda_{\mathrm{sp}}=0.01{0.01,0.1,1.0}\{0.01, 0.1, 1.0\}
Dual-consistency weightλdc=1.0\lambda_{\mathrm{dc}}=1.0{0.01,0.1,1.0}\{0.01, 0.1, 1.0\}
DecodingBeam search, beam 4, length penalty 0.6–

Table 10. Full hyperparameter set and search space. Values marked with “–” were fixed based on hardware constraints or standard architectural practices. The same router and elasticity settings are used across all benchmarks.

Model Selection and Evaluation

We compute validation BLEU every 1,000 steps and select the checkpoint with the highest validation BLEU averaged over the two translation directions as the final model for evaluation. For sub-network selection, we apply the same criterion independently to each Dk∈DD_k \in\mathcal{D} on the same validation set. For evaluation on PhoMT and WMT-14, we use sacreBLEU8 v2.4.0 (signature nrefs:1|case:mixed|eff:no|tok:13a|smooth:exp|version:2.4.0). For multi-domain, we use tokenized BLEU with multi-bleu.pl9 matching the conventions of prior work.

Significance Testing. We conducted paired approximate randomization (10,000 trials) alongside paired bootstrap resampling (1,000 resamples) to establish 95% confidence intervals. These tests confirm that the performance gains of the EDWARD-NMT sub-networks over the baselines are highly robust and statistically significant, consistently achieving p<0.001p < 0.001 across our primary benchmarks.

Baselines

We compare against standard dense Transformers (BASE/BIG) (Vaswani et al., 2017; Ott et al., 2018), mBART (Liu et al., 2020), and MoE methods: the Switch Transformer [13] with a top-1 token-based routing (ST-MoE) and GShard (Lepikhin et al., 2021) with a top-2 token-based routing (GS-MoE). For Transformers (BASE/BIG), ST-MoE and GS-MoE, we reproduce the results using Fairseq10. For mBART, we report the result from Doan et al. [11] on PhoMT, and we use the pretrained mBART many-to-many model11.

Software and Hardware Settings

All of our main experiments on EDWARD-NMT are implemented in JAX12 (0.9.2) and Flax13 (0.12.5). Training uses FSDP-style sharding with jax.distributed and gradient accumulation through jax.lax.scan so that the effective batch of 8192 sequences fits on a single TPU v5-64 pod. The dual-consistency objective is implemented by sampling two width masks per step inside the scanned step function, so the two forward passes share both the parameter slice and the data batch. All training and inference was performed on 64 chips TPU v5e, with total training times of approximately 6 hours for the multi-domain benchmark, 9 hours for OPUS-16, 12 hours for PhoMT, and 18 hours for WMT-14.

Training Cost and Efficiency. Profiling natively on a TPU v5e pod reveals that EDWARD-NMT requires ∼\sim1160 ms per training step, roughly 2.2×\times

the time of standard MoE baselines (ST-MOE, GS-MOE; ∼\sim523 ms) and 3.3×\times the time of TRANSFORMER BIG (∼\sim348 ms). This overhead stems entirely from the Dual-Consistency (DC) objective evaluating two capacity views simultaneously. However, this joint optimization is highly efficient: training the S, M, L, and XL variants individually without DC would total 1267 ms per step, strictly exceeding our single-run cost. By extracting an entire family of sub-networks simultaneously, the amortized training time per model is just 2.01×\times that of TRANSFORMER BASE (144 ms), nearly half the cost of training a standard MoE (3.63×\times).

Step-by-Step Reproduction Guide

A self-contained reproduction of the primary empirical results reported in § 5 and Appendix § 9 requires the following steps. All artefacts are publicly available, and no proprietary code or weights are needed.

  1. Prepare data. Following Section A.1 for preparing the data and tokenizer.

  1. Implement architecture. Construct an encoder-decoder Transformer with the structural settings in Section A.2, replacing every

other feed-forward layer with the EDWARD-NMT MoE block of § 3 (Equations 17 and the surrounding definitions of Ei(x;Dk)E_i(x; D_k), ψ(Dk)\psi(D_k), and Eshr(x;Dk)E_{\mathrm{shr}}(x; D_k)).

  1. Implement router. Use the sigmoid router with jitter, learned threshold, and STE as defined in § 3.3, with the target sparsity ρtarget\rho_{\mathrm{target}} defined in Section A.3. Add the auxiliary losses Lsp\mathcal{L}_{\mathrm{sp}} with weight λsp=0.01\lambda_{\mathrm{sp}}=0.01.

  1. Dual-consistency loss. At every optimization step, sample two widths DAD_A, DBD_B with replacement from D\mathcal{D}, compute two forward passes that share parameters, and add DC Loss defined in Equation (13) to the cross-entropy loss with λdc=1\lambda_{\mathrm{dc}}=1.

  1. Train. Pre-tokenized the data with Tensorflow Datasets14 with predefined max-length in Section A.3. Optimise with the schedule and batching of Table 10 for the number of steps indicated per benchmark.

  1. Extract sub-networks. After training, obtain the four {S,M,L,XL}\{\mathrm{S},\mathrm{M},\mathrm{L},\mathrm{XL}\} variants from the same weights by setting DkD_k to 256, 512, 1024, 2048 respectively at inference and applying the prefix mask m(Dk)m(D_k) together with the deterministic re-scaling ψ(Dk)\psi(D_k). No fine-tuning, distillation, or post-hoc adaptation is performed.

  1. Decode and evaluate. Decode with beam search (beam 4, length penalty 0.6) and evaluate with settings listed in Section A.4.

Additional Results

Computational Results

To evaluate deployment viability, we benchmarked the extracted sub-networks across both edge and server regimes (Table 11). For edge deployment, we profiled models on a consumer-grade CPU (Apple M4, 4 threads, FP16) using compiled LiteRT checkpoints at a batch size of B=1B = 1. As shown in Table 11, the most compact variant, EDWARD-NMT-S, activates only 57M parameters and requires just 6.28 GFLOPs. At B=1B = 1, the system is inherently memory-bound; the sparse routing machinery introduces unavoidable memory-movement overhead, resulting in an on-device throughput (104.9 TPS) that is highly competitive with, though slightly below, the dense TRANSFORMER BASE (117.7 TPS). However, it still drastically outperforms the TRANSFORMER BIG baseline (48.0 TPS) and delivers a 2.2×\times speedup over our full XL variant (47.6 TPS).

ModelParamsActiveFLOPs (G)TPS (B=1B = 1)B=1B = 1B=4B = 4B=16B = 16B=64B = 64B=128B = 128
Transformer Base61M61M7.98117.72,3545,86713,07819,69421,755
Transformer Big210M210M31.2648.01,6823,9078,03710,60711,114
EDWARD-NMT-S73M57M6.28104.91,7636,64020,41848,02270,372
EDWARD-NMT-M105M72M8.8388.71,6885,90020,30947,66968,786
EDWARD-NMT-L168M102M14.0761.51,4885,65019,36444,27064,766
EDWARD-NMT-XL294M161M25.2047.61,4105,21817,49941,85659,199

Table 11. Inference efficiency across edge and server deployment regimes (64 output tokens). FLOPs (lower is better) are measured via native CPU execution. Edge throughput (Tokens Per Second, TPS, higher is better) is profiled using compiled LiteRT checkpoints on an Apple M4 CPU (4 threads, FP16) to simulate strict on-device constraints (B=1B = 1). Server throughput is measured via JAX on a single NVIDIA H100 GPU across multiple batch sizes (BB).

In server-side deployment (profiled natively via JAX on a single NVIDIA H100 GPU), this routing overhead is efficiently amortized across larger batches, allowing the theoretical FLOP advantages to materialize dramatically. From B=4B = 4 onwards, EDWARD-NMT-S strictly outperforms TRANSFORMER BASE, ultimately delivering a 3.2×\times throughput speedup at B=128B = 128 (70,372 vs. 21,755 TPS). Similarly, the full-capacity XL variant is 5.3×\times faster than TRANSFORMER BIG at B=128B = 128 while activating significantly fewer parameters. Ultimately, our train-once architecture effectively balances high representational capacity with the strict latency requirements of edge deployment, while concurrently offering massive scalability for high-throughput servers.

Multilingual Results

Baselines. We report our model on OPUS-16 in Table 12. For the MoE baselines, we report: Switch Transformers ([13]) with a top-1 token-based routing (as ST-MoE); GShard (Lepikhin et al., 2021) a top-2 token-based routing (as GS-MoE); LS-MoE with fixed routing (Pires et al., 2023); Hybrid-MoE (Kudugunta et al., 2021) with a top-2 token routing in the encoder and a top-2 target language routing in the decoder; Residual-MoE ([12] (Rajbhandari et al. 2022b; Zhang et al. 2021)) that augments each MoE layer with a shared feed-forward network through a binary gate function; Lingual-SMoE (Zhao et al., 2024) as MoE with linguistic-guided routing and dynamic expert allocation. We acquire these baselines result from Zhao et al. (2024). We also report THOR-MoE result from Liang et al. (2025).

ModelsEn→\toXXXX→\toEnAvg.
highmediumlowAvg1_1.highmediumlowAvg2_2.
DenseTransformer-Base†{}^{\dagger}25.3739.1214.7826.9228.8139.2424.2130.6728.79
GS-MoE†{}^{\dagger}25.5540.7118.9728.2828.7741.7029.2532.3130.29
ST-MoE†{}^{\dagger}26.5543.0420.2329.6829.9444.0030.9433.8931.79
MoELS-MoE†{}^{\dagger}20.0637.3111.7222.9923.6942.9932.0130.5026.75
Hybrid-MoE†{}^{\dagger}24.5631.7013.3824.2329.5941.7427.8132.4828.35
Residual-MoE†{}^{\dagger}26.5243.4921.5830.0629.8443.9431.2533.8831.97
Lingual-SMoE†{\dagger}27.1146.2423.3431.4629.8743.4932.0233.9632.71
Thor-MoE (Top-1)‡{\ddagger}27.2146.3723.8831.1729.6844.0132.5833.9932.57
Thor-MoE (Top-2)‡{\ddagger}27.8847.2924.8531.9830.3844.5233.2634.6433.31
Thor-MoE (Top-pp)27.6346.8224.1531.5529.9744.1832.9634.2632.91
Ours (L=6L = 6)EDWARD-NMT-S24.9544.9721.2629.5529.8943.1327.7632.9931.27
EDWARD-NMT-M25.8146.3123.0730.7330.6644.7632.7834.8432.78
EDWARD-NMT-L26.3147.5324.6731.6431.3445.8334.4535.8233.73
EDWARD-NMT-XL26.7648.2225.6832.2731.7746.4934.7936.3034.28
Ours (L=8L = 8)EDWARD-NMT-S25.7846.3423.5230.8130.8144.4633.2034.9332.87
EDWARD-NMT-M26.4147.3825.4331.8131.4245.8035.0035.9733.89
EDWARD-NMT-L27.1148.6726.7032.7832.0746.7036.1836.7934.79
EDWARD-NMT-XL27.2649.2728.1533.3032.4247.4336.6537.2735.29

Table 12. Averaged BLEU scores on multilingual OPUS-16 dataset. The best and second best scores in each column are highlighted in bold and underlined. †{}^{\dagger}Reported from Zhao et al. (2024). ‡{}^{\ddagger}Reported from Liang et al. (2025).

Settings. For comparison, we report our EDWARD-NMT result with 2 settings: (1) same settings as described in § 4.2; (2) we reduce the number of encoder and decoder layers to L=Lenc=Ldec=6L=L_{\mathrm{enc}}=L_{\mathrm{dec}}=6 to match other baseline settings. Both settings use the same training hyperparameters in Section A.3. We use temperature-based data sampling strategy with T=1.5T = 1.5. We report the model parameters from two settings in Table 13.

VariantL=8L = 8 ParamsL=8L = 8 ActiveL=6L = 6 ParamsL=6L = 6 Active
S74M57M59M47M
M105M72M83M59M
L169M102M131M83M
XL295M161M226M128M

Table 13. EDWARD-NMT variants with two settings of 8 layers (L=8L = 8) and 6 layers (L=6L = 6) on OPUS-16.

Noted that all the MoE baselines use 32 experts per MoE layers, MoE frequency is set to 2, with a total of 32×6=19232 \times6 = 192 experts. Our second setting with 4 routed experts and 1 shared expert, result in 5×12=605 \times12 = 60 experts in total.

Results. As shown in Table 12, EDWARD-NMT establishes a new state-of-the-art on the multilingual OPUS-16 benchmark. When reducing the model depth to L=6L = 6 to align with the scale of the baselines, the full EDWARD-NMT-XL variant achieves the highest overall average of 34.28 BLEU, comfortably outperforming THOR-MoE (33.31) and LINGUAL-SMoE (32.71). Our backbone achieves this superior quality with extreme expert efficiency, instantiating significantly fewer total experts (60 vs 192 in the baselines). Deploying our primary L=8L = 8 architecture further widens the gap; EDWARD-NMT-XL dominates almost all individual resource brackets across both translation directions, peaking at an impressive average BLEU of 35.29. Furthermore, our extracted sub-networks demonstrate exceptional parameter efficiency: even the highly compressed EDWARD-NMT-S variant at L=8L = 8 (32.87 Avg) easily outperforms the dense Tʀᴀɴsғᴏʀᴍᴇʀ-Bᴀsᴇ baseline and remains highly competitive against much heavier sparse models.

Architecture Elasticity

Table 14 provides the comprehensive empirical results supporting the structural elasticity analysis discussed in the main text. We report the exact translation quality, active parameter counts, and routing sparsity of EDWARD-NMT across all three benchmarks (PhoMT, WMT-14, and Multi-Domain) for both the explicitly trained dimensions (DD) and the unseen intermediate granularities. These detailed metrics empirically confirm the robust interpolation capabilities of our architecture within the optimized envelope (e.g., D=1536,768D = 1536, 768), as well as the expected performance breakdown when extrapolating below the minimum trained capacity (D=128D = 128).

Ablation on Variance Preservation

Table 15 presents the empirical results for the variance preservation mechanism discussed in the main text. By comparing the full configuration against a baseline lacking the deterministic rescaling factor ψ(Dk)\psi(D_k), we observe a consistent degradation in translation quality across all nested capacities. Crucially, the performance gap widens as the sub-network size decreases, confirming that explicitly stabilizing the down-projected activation magnitudes is indispensable for maintaining the structural integrity of highly compressed dimensions (e.g., D=256D = 256) during joint training.

Detailed Multi-domain Results

In § 5.1, we reported the performance of EDWARD-NMT on the multi-domain benchmark averaged across both translation directions (De↔En) to provide a concise overview of model efficiency. For completeness, Table 16 provides the detailed, uni-directional tokenized-BLEU scores for all five domains (KOR, IT, MED, LAW, SUB) separately for the De→En and En→De directions. Consistent with the averaged results, our extracted sub-networks (L and XL) continue to demonstrate state-of-the-art performance against established baselines on almost all individual domains while requiring significantly fewer active parameters.

MethodParamsActiveDe→En KORITMEDLAWSUBAVGEn→De KORITMEDLAWSUBAVG
TRANSFORMER BASE61M61M20.9542.6653.0456.9027.1640.1420.1037.3549.4550.5323.4236.17
TRANSFORMER BIG210M210M22.0644.9955.3759.3628.7542.1123.0338.6851.3253.0824.7038.16
ST-MoE360M210M22.9643.9054.2758.7928.3041.6420.4938.1049.7552.5924.0637.00
GS-MoE360M260M20.36<u>44.79</u>54.2357.5125.9940.5821.0337.9150.3851.6023.4436.87
EDWARD-NMT-S74M57M22.2742.6753.1357.0828.7640.7820.9437.4748.8950.8924.3636.51
EDWARD-NMT-M105M72M22.9343.4654.0758.2929.0741.5622.5138.2750.1452.1324.6837.55
EDWARD-NMT-L168M102M<u>23.54</u>44.3655.01<u>59.44</u><u>29.31</u><u>42.33</u><u>23.58</u><u>38.69</u>50.88<u>53.09</u><u>24.94</u><u>38.24</u>
EDWARD-NMT-XL294M161M23.6544.6955.5960.2129.4342.7124.4639.10<u>51.31</u>53.8925.1638.78

Table 16. Detailed multi-domain results on the De↔En benchmark with tokenized-BLEU.

Additional WMT-14 Results

To provide a comprehensive evaluation of character-level translation quality, we additionally report the chrF2 metric on the WMT-14 benchmark (Table 17). The chrF2 results align perfectly with our primary BLEU and COMET evaluations. Specifically, the highly compressed EDWARD-NMT-S variant (59M active) substantially outperforms the comparably sized Tʀᴀɴsғᴏʀᴍᴇʀ Bᴀsᴇ (61M active) by +1.70 and +2.20 points in the En→De and De→En directions, respectively. At the upper bound, EDWARD-NMT-

MethodActiveEn→DeDe→En
TRANSFORMER BASE61M55.8256.23
TRANSFORMER BIG210M58.2058.38
mBART†610M56.4258.85
EDWARD-NMT-S59M57.5258.43
EDWARD-NMT-M76M58.0858.83
EDWARD-NMT-L109M<u>58.45</u><u>59.02</u>
EDWARD-NMT-XL175M58.5959.29

Table 17. Character nn-gram F-score (chrF2, higher is better) on the WMT-14 benchmark. Best and second-best scores are bolded and underlined, respectively. †mBART is a pretrained many-to-many model.

XL achieves the highest overall chrF2 scores, robustly surpassing both TRANSFORMER BIG and the 610M-parameter mBART despite activating significantly fewer parameters.

Additional PhoMT Results

Post-editing Efficiency To evaluate the practical post-editing effort required for our generated translations, we report the Translation Edit Rate (TER, lower is better) on the PhoMT benchmark (Table 18). The results strictly corroborate our BLEU improvements and highlight the extreme parameter efficiency of our architecture. Despite

MethodActiveEn→ViVi→En
TRANSFORMER BASE65M43.7944.28
TRANSFORMER BIG213M43.0444.06
mBART†448M42.57<u>42.54</u>
EDWARD-NMT-S51M42.7543.27
EDWARD-NMT-M66M42.4342.88
EDWARD-NMT-L97M<u>42.21</u>42.56
EDWARD-NMT-XL158M42.1342.42

Table 18. Translation Edit Rate (TER, lower is better) on the PhoMT benchmark. †mBART is a pretrained many-to-many model.

SettingXLLMS
MoE (k=2k=2)40.7240.7140.5639.86
+ ME41.3141.1540.6940.04
+ ME + Sigmoid<u>41.41</u>41.1940.8240.13
+ ME + DC41.3841.2340.9040.42
+ ME + DC + Sigmoid41.4641.2740.93<u>40.40</u>

Table 20. Ablation on the contributions of each EDWARD-NMT component (PhoMT), averaged over both translation directions. ME, DC, Sigmoid stand for Matryoshka Experts, Dual-Consistency and Adaptive Sigmoid Routing respectively. All settings use DASE.

utilizing 4× fewer active parameters, our most compressed sub-network, EDWARD-NMT-S (51M active), achieves a lower TER than TRANSFORMER BIG (213M active) in both translation directions. Furthermore, the full-capacity EDWARD-NMT-XL (158M active) achieves the lowest overall post-editing effort (42.13 En→Vi and 42.42 Vi→En), effectively outperforming the massively parameterized mBART model (448M) while operating with nearly 3× fewer active parameters.

Additional Ablations on Consistency Strategies.

Table 19 provides additional ablation results for the consistency loss variants on the PhoMT benchmark (averaged over En↔Vi), complementing the multi-domain findings in the main text. The observed trends align perfectly with our primary results: applying the symmetric R-Drop objective degrades performance across all scales. While asymmetric KL distillation (using the largest variant as a detached teacher) mitigates this severe degradation, it still falls slightly short of the baseline. Consistent with the multi-domain experiments, our proposed Dual-Consistency (DC Loss) provides the optimal regularization strategy, successfully outperforming the “No loss” baseline and achieving the highest scores across all model capacities (XL, L, M, S).

SettingXLLMS
No loss41.4141.1940.8240.13
R-Drop41.3241.0140.5039.62
Asym. KL41.3141.1340.6540.08
DC Loss (ours)41.4641.2740.9340.40

Table 19. Ablation on the Dual-Consistency loss (DC Loss) on PhoMT, averaged over both directions.

Additional Ablations on Contribution. Table 20 incrementally adds the EDWARD-NMT components on top of a standard Top-2 MoE baseline on PhoMT (noting that all settings use DASE). Adding Matryoshka Experts (ME) yields immediate improvements across all widths (e.g., +0.59 BLEU on XL and +0.18 on S over the Top-2 baseline). The gains are further amplified by the Dual-Consistency (DC) objective, which acts as a crucial regularizer to keep the smaller sub-networks competitive (+0.38 BLEU on S over ME alone). Finally, replacing the fixed Top-kk=2 routing with our proposed Adaptive Sigmoid Router provides the best overall performance for the larger variants (XL, L, M).

Additional Hyperparameter Ablations

Target Sparsity (ρtarget\rho_{\text{target}})
Direction1.01.251.5
Avg.40.4040.6640.73

Table 21. Ablation on target density (ρtarget\rho_{\text{target}}) for the XL variant on the multi-domain benchmark.

Min Threshold (τmin⁡\tau_{\min})
Direction0.010.050.10
Avg.40.6340.6640.34

Table 22. Ablation on the min routing threshold (τmin⁡\tau_{\min}) for the XL variant on the multi-domain benchmark.

Router Jitter (η\eta)
Direction0.010.050.10
Avg.38.9840.6640.62

Table 23. Ablation on the router jitter noise (η\eta) for the XL variant on the multi-domain benchmark.

Other additional ablations on hyperparameters. We train only the largest variant EDWARD-NMT-XL (D=2048D = 2048), without DC Loss. We report

the evaluation result of the hyperparameters in Table 21, Table 22 and Table 23.

We report the active experts and the dynamic threshold of the model during training in Figure 2 and Figure 3. The number of active experts per layer in encoder and decoder of each variant is reported in Figure 4.

Average active experts per token during training

Figure 2. Average active experts per token during training.

Learnable threshold over the course of training

Figure 3. Learnable threshold τ\tau over the course of training.

Figure 4. Percentage of number of active experts per layer across different elastic dimensions on the multi-domain benchmark.

Table 24 shows the impact of the consistency weight λdc\lambda_{dc}. A smaller weight (λdc=0.1\lambda_{dc} = 0.1) favors the full-capacity XL model but yields sub-optimal smaller variants due to insufficient knowledge transfer. Conversely, an excessively large weight (λdc=5.0\lambda_{dc} = 5.0) over-regularizes and degrades all scales. Our default λdc=1.0\lambda_{dc} = 1.0 provides the optimal trade-off, maximizing the quality of the deployment-critical L, M, and S sub-networks. Table 25 validates our sparsity constraint. By adjusting the target density ρ\rho, the empirical active experts scale predictably across all capacities (e.g., from ∼1.15\sim1.15 experts at ρ=1.0\rho= 1.0 up to ∼1.69\sim1.69 at ρ=1.5\rho= 1.5). This confirms that our auxiliary loss successfully grants fine-grained, predictable control over the inference compute budget without requiring any architectural modifications.

En↔\leftrightarrowDe
SettingXLLMS
λdc=0.1\lambda_{dc} = 0.140.9840.2639.4438.34
λdc=1.0\lambda_{dc} = 1.040.7540.2839.5638.65
λdc=5.0\lambda_{dc} = 5.038.3338.2337.9237.44

Table 24. Ablation on the Dual-Consistency loss weight (λdc\lambda_{dc}) on the multi-domain benchmark, averaged over both translation directions.

References

  1. [1]Roee Aharoni and Yoav Goldberg. 2020. Unsupervised domain clusters in pretrained language models. In Proceedings of the 58th annual meeting of the association for computational linguistics, pages 7747–7763.arxiv.org/abs/2004.02105
  2. [2]Yoshua Bengio, Nicholas Léonard, and Aaron Courville. 2013. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432.arxiv.org/abs/1308.3432
  3. [3]Ondřej Bojar, Christian Buck, Christian Federmann, Barry Haddow, Philipp Koehn, Johannes Leveling, Christof Monz, Pavel Pecina, Matt Post, Herve Saint-Amand, Radu Soricut, Lucia Specia, and Aleš Tamchyna. 2014. Findings of the 2014 workshop on statistical machine translation. In Proceedings of the ninth workshop on statistical machine translation, pages 12–58.DOI
  4. [4]Denny Britz, Quoc Le, and Reid Pryzant. 2017. Effective domain mixing for neural machine translation. In Proceedings of the second conference on machine translation, pages 118–126.DOI
  5. [6]Umberto Cappellazzo, Minsu Kim, Pingchuan Ma, Honglie Chen, Xubo Liu, Stavros Petridis, and Maja Pantic. 2026. Mome: Mixture of matryoshka experts for audio-visual speech recognition. Advances in neural information processing systems, 38:40013–40040.arxiv.org/abs/2510.04136
  6. [7]Aidan Clark, Diego de Las Casas, Aurelia Guy, Arthur Mensch, Michela Paganini, Jordan Hoffmann, Bogdan Damoc, Blake Hechtman, Trevor Cai, Sebastian Borgeaud, and 1 others. 2022. Unified scaling laws for routed language models. In International conference on machine learning, pages 4057–4086. PMLR.arxiv.org/abs/2202.01169
  7. [9]Damai Dai, Chengqi Deng, Chenggang Zhao, R.x. Xu, Huazuo Gao, Deli Chen, Jiashi Li, Wangding Zeng, Xingkai Yu, Y. Wu, Zhenda Xie, Y.k. Li, Panpan Huang, Fuli Luo, Chong Ruan, Zhifang Sui, and Wenfeng Liang. 2024. Deepseekmoe: Towards ultimate expert specialization in mixture-of-experts language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1280–1297.
  8. [10]Damai Dai, Li Dong, Shuming Ma, Bo Zheng, Zhifang Sui, Baobao Chang, and Furu Wei. 2022. Stablemoe: Stable routing strategy for mixture of experts. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7085–7095.
  9. [11]Long Doan, Linh The Nguyen, Nguyen Luong Tran, Thai Hoang, and Dat Quoc Nguyen. 2021. Phomt: A high-quality and large-scale benchmark dataset for vietnamese-english machine translation. In Proceedings of the 2021 conference on empirical methods in natural language processing, pages 4495–4503.
  10. [12]Maha Elbayad, Anna Sun, and Shruti Bhosale. 2023. Fixing MoE over-fitting on low-resource languages in multilingual machine translation. In Findings of the Association for Computational Linguistics: ACL 2023, pages 14237–14253, Toronto, Canada. Association for Computational Linguistics.
  11. [13]William Fedus, Barret Zoph, and Noam Shazeer. 2022. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120):1–39.arxiv.org/abs/2101.03961
  12. [15]Baban Gain, Dibyanayan Bandyopadhyay, Asif Ekbal, and Trilok Nath Singh. 2026. Bridging the linguistic divide: a survey on leveraging large language models for machine translation. Language Resources and Evaluation, 60(2):40.DOI
  13. [16]Yongxin Guo, Zhenglin Cheng, Xiaoying Tang, Zhaopeng Tu, and Tao Lin. 2025. Dynamic mixture of experts: An auto-tuning approach for efficient transformer models. In International Conference on Learning Representations, volume 2025, pages 79643–79762.arxiv.org/abs/2405.14297
  14. [17]Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, and 1 others. 2022. An empirical analysis of compute-optimal large language model training. Advances in neural information processing systems, 35:30016–30030.

Paper details

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

views · 7

downloads · 0

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

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents