HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

How to train your neural ODE: the world of Jacobian and kinetic regularization

Chris Finlay Jörn-Henrik Jacobsen Levon Nurbekyan Adam M Oberman

How to train your neural ODE: the world of Jacobian and kinetic regularization

Abstract

Training neural ODEs on large datasets has not been tractable due to the necessity of allowing the adaptive numerical ODE solver to refine its step size to very small values. In practice this leads to dynamics equivalent to many hundreds or even thousands of layers. In this paper, we overcome this apparent difficulty by introducing a theoretically-grounded combination of both optimal transport and stability regularizations which encourage neural ODEs to prefer simpler dynamics out of all the dynamics that solve a problem well. Simpler dynamics lead to faster convergence and to fewer discretizations of the solver, considerably decreasing wall-clock time without loss in performance. Our approach allows us to train neural ODE-based generative models to the same performance as the unregularized dynamics, with significant reductions in training time. This brings neural ODEs closer to practical relevance in large-scale applications.

Code Repositories

cfinlay/ffjord-rnode
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
density-estimation-on-celeba-hq-256x256RNODE
Log-likelihood: 1.04
density-estimation-on-cifar-10RNODE
NLL (bits/dim): 3.38
density-estimation-on-imagenet-64x64RNODE
Log-likelihood: 3.83
density-estimation-on-mnistRNODE
NLL (bits/dim): 0.97
image-generation-on-celeba-hq-256x256RNODE
bits/dimension: 1.04
image-generation-on-mnistRNODE
bits/dimension: 0.97

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp