TL;DR
Mix-MoE is a novel two-stage Mixture-of-Experts (MoE) framework that adapts Large Language Models (LLMs) for multilingual machine translation without sacrificing their core language capabilities. By separating model parameters into specialized Language Model and Machine Translation expert groups and guiding them with a Fourier Transform-enhanced router, it effectively eliminates parameter interference and achieves state-of-the-art translation performance.
What Problem Does This Paper Address?
When researchers fine-tune LLMs on parallel text to teach them machine translation (MT), they run into a major roadblock: parameter interference (also known as catastrophic forgetting). As the model updates its weights to optimize for the new translation task, the gradients overwrite and degrade its original, hard-won monolingual language understanding and generation capabilities.
While generic Mixture-of-Experts (MoE) architectures can help isolate parameters, they typically treat all experts equally and route tokens based purely on semantic content. This ignores the inherent task differences between language modeling and translation, and overlooks underlying structural or rhythmic patterns in text that could help the model choose the right expert for the job.
Methods
To solve these issues, the authors introduce Mix-MoE, which transforms a dense LLM into a sparse MoE model by replacing every $n$-th Feed-Forward Network (FFN) layer with a specialized MoE layer.
The framework introduces two key innovations:
- Specialized Expert Groups & Two-Stage Training: The MoE layers are split into Language Model (LM) Experts and Machine Translation (MT) Experts. Training happens in two distinct phases:
- Stage 1 (LM Expert Training): The model is trained on monolingual corpora. Only the LM Experts and their routers are updated to capture general language structures.
- Stage 2 (MT Expert Training): The LM Experts and their routers are completely frozen to preserve monolingual knowledge. The MT Experts are activated and trained on parallel bilingual corpora to acquire translation-specific knowledge.
- FFT-Enhanced Routing: To improve how tokens are assigned to experts, the router uses a Fast Fourier Transform (FFT). It extracts frequency-domain features from the input hidden states and concatenates them with the original semantic features. This allows the routing network to evaluate structural textures, sentence rhythms, and linguistic complexity rather than relying solely on word meanings.
Datasets
The model was trained and evaluated using a diverse set of standard benchmarks:
- Monolingual Data (Stage 1): WMT Monolingual News Crawl datasets (WMT17–WMT19) for target languages including Czech (CS), German (DE), Russian (RU), Turkish (TR), Chinese (ZH), Finnish (FI), and Estonian (ET).
- Bilingual Parallel Data (Stage 2): Datasets from WMT17, WMT18, and WMT19 covering 14 distinct translation directions (e.g., Finnish-to-English, Chinese-to-English, and their reverses), totaling 4.2 million sentence pairs.
- Evaluation: Performance was measured on WMT test sets and the FLORES-200 benchmark to evaluate how well the model generalizes to out-of-domain text.
Key Insights and Ideas
- Explicit Freezing is Mandatory: The authors' ablation studies proved that simply training a generic MoE model in two stages isn't enough. Explicitly separating and freezing the LM experts during translation training is what successfully halts parameter interference.
- Text Has "Texture": Incorporating frequency-domain (FFT) features significantly outperformed standard semantic routing and random projections. This indicates that frequency distributions in embedding spaces capture crucial typological and syntactic cues unique to different languages.
- Uniform MoE Distribution Wins: Spreading the MoE layers uniformly throughout the LLM yielded better translation quality than clustering them exclusively at the bottom or top layers, showing that expert specialization benefits the model at multiple levels of abstraction.
Key Results
Mix-MoE consistently outperformed strong baselines—including Full Fine-Tuning, LoRA, LLaMA-Pro, and generic MoEs—across all 14 language directions in BLEU, METEOR, and COMET scores.
- Massive Translation Gains: On the German-to-English (DE-EN) task, Mix-MoE achieved a BLEU score of 31.8, vastly outperforming the Two-Stage Full Fine-Tuning baseline, which only managed 20.8.
- Robust Scaling: The framework proved highly scalable. When tested on larger base models like Llama3.1-8B and Qwen2.5-14B, Mix-MoE consistently delivered substantial performance boosts over standard full fine-tuning.
Limitations and Future Work
While highly effective, the authors note that increasing the number of experts per group (e.g., from 4 to 8) increases the complexity of the routing mechanism and adds computational overhead during training. To keep the computational footprint manageable, this study restricted itself to a top-1 routing strategy (activating only the single best expert per token). Future work will likely explore more sophisticated routing strategies and larger expert pools to further push the boundaries of LLM-based translation.
Summary updated