N-ODE Transformer: A Depth-Adaptive Variant of the Transformer Using Neural Ordinary Differential Equations
Not on the map. Why?
Abstract (arXiv)
We use neural ordinary differential equations to formulate a variant of the Transformer that is depth-adaptive in the sense that an input-dependent number of time steps is taken by the ordinary differential equation solver. Our goal in proposing the N-ODE Transformer is to investigate whether its depth-adaptivity may aid in overcoming some specific known theoretical limitations of the Transformer in handling nonlocal effects. Specifically, we consider the simple problem of determining the parity of a binary sequence, for which the standard Transformer has known limitations that can only be overcome by using a sufficiently large number of layers or attention heads. We find, however, that the depth-adaptivity of the N-ODE Transformer does not provide a remedy for the inherently nonlocal nature of the parity problem, and provide explanations for why this is so. Next, we pursue regularization of the N-ODE Transformer by penalizing the arclength of the ODE trajectories, but find that this fails to improve the accuracy or efficiency of the N-ODE Transformer on the challenging parity problem. We suggest future avenues of research for modifications and extensions of the N-ODE Transformer that may lead to improved accuracy and efficiency for sequence modelling tasks such as neural machine translation.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 22 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 1; 2025: 5; 2026: 1.
9 papers.
- 2022Confident Adaptive Language Modelingcited by 310
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
- 2022ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generationcited by 27
- 2026Deep Delta Learningcited by 9
- 2025Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiencycited by 8
- 2025OT-Transformer: A Continuous-time Transformer Architecture with Optimal Transport Regularizationcited by 7
- 2025Language Models Are Implicitly Continuouscited by 4
- 2025IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Methodcited by 3
- 2025A multilevel approach to accelerate the training of Transformerscited by 0
- 2026Deep Delta Learning1 Jan 2026
- 2025Optimal Control for Transformer Architectures: Enhancing Generalization, Robustness and Efficiency16 May 2025
- 2025IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Method11 May 2025
- 2025A multilevel approach to accelerate the training of Transformers24 Apr 2025
- 2025Language Models Are Implicitly Continuous4 Apr 2025
- 2025OT-Transformer: A Continuous-time Transformer Architecture with Optimal Transport Regularization30 Jan 2025
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2022Confident Adaptive Language Modeling14 Jul 2022
- 2022ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation17 Mar 2022