Reproduce “ODE Transformer: An Ordinary Differential Equation-Inspired Model 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

Bei Li, Quan Du, Tao Zhou, Shuhan Zhou, Xin Zeng, Tong Xiao, Jingbo Zhu

The ODE Transformer, developed by researchers from Northeastern University, applies high-order numerical ODE solvers to the Transformer architecture, yielding improved performance and parameter efficiency for neural machine translation. It replaces standard residual blocks with ODE blocks, achieving higher BLEU scores with fewer parameters across multiple language pairs.

Key insights

  • Standard residual networks can be interpreted as first-order numerical discretizations (Euler method) of continuous ordinary differential equations.
  • Higher-order Runge-Kutta methods can provide more accurate approximations to continuous dynamics within each network block, potentially improving performance and reducing error accumulation.
  • Parameter sharing within ODE blocks, where the function F (e.g., self-attention, FFN) and its parameters are reused across intermediate steps, leads to greater parameter efficiency.

Summary by alphaXiv.

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