atlas

Research map / Time series / Causal and generative time series

Parallelizing non-linear sequential models over the sequence length

ICLR 2024 · Time series › Causal and generative time series · approach: Neural differential equations · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DEER, a Newton-style fixed-point framework that rewrites non-linear sequential models (RNNs, NeuralODEs) as parallelizable linear recurrences solved with parallel prefix scan, giving large GPU speedups over sequential evaluation.

Problem

Non-linear sequential models such as RNNs and Neural ODEs must be evaluated serially over sequence length, making training on long sequences slow.

Approach

Restate the non-linear recurrence/ODE as a fixed-point iteration equivalent to Newton's method (quadratic convergence); each iteration solves a linear recurrence in parallel with an associative prefix scan, with Jacobians giving the linear operator, and no special architecture structure is required.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace sequential GRU evaluation with DEERGRU · 1M sequence length, batch size 16, n = 1, V100 GPUspeedup: over 500Helped
Use DEER for forward and gradient calculations instead of sequential evaluationGRU · 1M sequence length, batch size 16, n = 1speedup: more than 1000 times fasterHelped
Use DEER instead of RK45 for trainingHNN NeuralODE · Two-body physical system, validation lossvalidation lossNo clear effect
Use DEER instead of RK45 for trainingHNN NeuralODE · Two-body physical system trainingtraining speed: 11 times fasterHelped
Use DEER instead of the sequential method for trainingGRU · EigenWorms validation accuracyaccuracyNo clear effect
Use DEER instead of the sequential method for trainingGRU · EigenWorms trainingtraining speed: up to 22 times fasterHelped
Use DEER instead of the sequential method for trainingMulti-head GRU · Sequential CIFAR-10 trainingtraining speed: about 3 times fasterHelped

Surprising findings

Limitations

Experimental setup

Datasets: EigenWorms (UEA) sequential CIFAR-10 two-body gravitational system (synthetic)

Benchmarks: EigenWorms sequential CIFAR-10 two-body HNN training

Metrics: speedup classification accuracy validation loss output difference

Baselines: sequential GRU evaluation RK45 ODE solver ODE-RNN NCDE NRDE UnICORNN LEM S4 LSSL Liquid-S4 LRU

Builds on: Newton's method parallel prefix scan DEQ multiple shooting method Hamiltonian Neural Networks

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy