ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation

N/ACitations
Citations of this article
63Readers
Mendeley users who have this article in their library.

Abstract

Residual networks are an Euler discretization of solutions to Ordinary Differential Equations (ODE). This paper explores a deeper relationship between Transformer and numerical ODE methods. We first show that a residual block of layers in Transformer can be described as a higher-order solution to ODE. Inspired by this, we design a new architecture, ODE Transformer, which is analogous to the Runge-Kutta method that is well motivated in ODE. As a natural extension to Transformer, ODE Transformer is easy to implement and efficient to use. Experimental results on the large-scale machine translation, abstractive summarization, and grammar error correction tasks demonstrate the high genericity of ODE Transformer. It can gain large improvements in model performance over strong baselines (e.g., 30.77 and 44.11 BLEU scores on the WMT'14 English-German and English-French benchmarks) at a slight cost in inference efficiency.

Cite

CITATION STYLE

APA

Li, B., Du, Q., Zhou, T., Jing, Y., Zhou, S., Zeng, X., … Zhang, M. (2022). ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (Vol. 1, pp. 8335–8351). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2022.acl-long.571

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free