An Introduction to Neural Ordinary Differential Equations [pdf]
1–10 of 11 posts
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#2Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#3looks like a nice overview. i’ve implemented neural ODEs in Jax for low dimensional problems and it works well, but I keep looking for a good, fast, CPU-first implementation that is good for models that fit in cache and don’t require a GPU or big Torch/TF machinery.
JAX Talk: Diffrax https://www.youtube.com/watch?v=Jy5Jw8hNiAQ
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#4looks like a nice overview. i’ve implemented neural ODEs in Jax for low dimensional problems and it works well, but I keep looking for a good, fast, CPU-first implementation that is good for models that fit in cache and don’t require a GPU or big Torch/TF machinery.
Did you use https://github.com/patrick-kidger/diffrax ? JAX Talk: Diffrax https://www.youtube.com/watch?v=Jy5Jw8hNiAQ
jax is fun but as effective as i’d like for CPU
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#5looks like a nice overview. i’ve implemented neural ODEs in Jax for low dimensional problems and it works well, but I keep looking for a good, fast, CPU-first implementation that is good for models that fit in cache and don’t require a GPU or big Torch/TF machinery.
Did you use https://github.com/patrick-kidger/diffrax ? JAX Talk: Diffrax https://www.youtube.com/watch?v=Jy5Jw8hNiAQ
`vmap`-able differential equation solving is really cool.
[1]: https://dynamicfieldtheory.org/ [2]: https://github.com/patrick-kidger/equinox
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#6Earlier quoted context omitted.
Did you use https://github.com/patrick-kidger/diffrax ? JAX Talk: Diffrax https://www.youtube.com/watch?v=Jy5Jw8hNiAQ
no, wrote it by hand for use with my own Heun implementation, since it’s for use within stochastic delayed systems. jax is fun but as effective as i’d like for CPU
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#7Earlier quoted context omitted.
Did you use https://github.com/patrick-kidger/diffrax ? JAX Talk: Diffrax https://www.youtube.com/watch?v=Jy5Jw8hNiAQ
Anecdotally, I used diffrax (and equinox) throughout last year after jumping between a few differential equation solvers in Python, for a project based on Dynamic Field Theory [1]. I only scratched the surface, but so far, it's been a pleasure to use, and it's quite fast. It also introduced me to equinox [2], by the same author, which I'm using to get the JAX-friendly equivalent of dataclasses. `vmap`-able differenti…
Kidger's thesis is wonderful https://arxiv.org/abs/2202.02435
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#8Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#9looks like a nice overview. i’ve implemented neural ODEs in Jax for low dimensional problems and it works well, but I keep looking for a good, fast, CPU-first implementation that is good for models that fit in cache and don’t require a GPU or big Torch/TF machinery.
Re: An Introduction to Neural Ordinary Differential Equations [pdf]
#10looks like a nice overview. i’ve implemented neural ODEs in Jax for low dimensional problems and it works well, but I keep looking for a good, fast, CPU-first implementation that is good for models that fit in cache and don’t require a GPU or big Torch/TF machinery.
How would you describe what a neural ODE is in the simplest possible terms? Let's say I know what an NN and a DE are :).
Neural ODE reframes this: instead of focusing on the weights, focus on how they change. It sees training as finding a path from untrained to trained state. At each step, it uses ODE solvers to compute the next state, continuing for N steps till it reaches values matching training data. This gives you the solution for the trained network.