Pith. sign in

"Hey, that's not an ODE": Faster ODE Adjoints via Seminorms

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

Neural differential equations may be trained by backpropagating gradients via the adjoint method, which is another differential equation typically solved using an adaptive-step-size numerical differential equation solver. A proposed step is accepted if its error, \emph{relative to some norm}, is sufficiently small; else it is rejected, the step is shrunk, and the process is repeated. Here, we demonstrate that the particular structure of the adjoint equations makes the usual choices of norm (such as $L^2$) unnecessarily stringent. By replacing it with a more appropriate (semi)norm, fewer steps are unnecessarily rejected and the backpropagation is made faster. This requires only minor code modifications. Experiments on a wide range of tasks -- including time series, generative modeling, and physical control -- demonstrate a median improvement of 40% fewer function evaluations. On some problems we see as much as 62% fewer function evaluations, so that the overall training time is roughly halved.

fields

cs.LG 1

years

2024 1

verdicts

CONDITIONAL 1

representative citing papers

citing papers explorer

Showing 1 of 1 citing paper.

  • Discover physical concepts and equations with machine learning cs.LG · 2024-12-11 · conditional · none · ref 52 · internal anchor

    A VAE+Neural ODE model recovers linear combinations of physical concepts and governing equations for heliocentrism, gravity, Schrödinger mechanics, and a Pauli spin case from simulated data.