Reproduce “THOR-MoE: Hierarchical Task-Guided and Context-Responsive Routing for Neural Machine Translation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yunlong Liang, Fandong Meng, Jie Zhou

Researchers from WeChat AI, Tencent Inc., introduce THOR-MoE, a Mixture-of-Experts framework that employs hierarchical task-guided routing to infer task knowledge and context-responsive token routing to integrate global context for expert selection in Neural Machine Translation. The framework demonstrates improved translation quality and efficiency in multi-domain and multilingual settings, consistently outperforming baselines and other language-guided MoE models while activating fewer experts.

Key insights

  • Automated inference and mixed representation of task knowledge can effectively guide expert specialization without requiring explicit, pre-defined task labels, enhancing real-world applicability.
  • Integrating global contextual information into token-level expert routing significantly improves expert allocation accuracy by providing a holistic understanding beyond localized token features.
  • A hierarchical routing approach, combining task-level expert pre-filtering with context-aware token-level selection, leads to superior translation performance and more efficient expert utilization within MoE architectures.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.