- sciml
Neural ODEs and Transformations — A Self-Built Course
A multi-month, derivation-first course on Neural ODEs, coordinate transformations and stiff chemical kinetics, with a verified animation for every session
datasheet // neural-ode-course
- images
- 98
- videos
- 54
- formats
- png, mp4
- text
- 496 words · 3 min read
- studio
- /deform?preset=2
- source
- previous site
- topics
-
- p0 maps ×8
- p1 transforms ×32
- p2 ode theory ×16
- p3 integrators ×22
- p4 p6 neural odes ×33
- p6 training and chemistry ×16
- p7 objectives and gates ×10
- p8 p9 capstones ×15
On this page0%
What this is
A personal, multi-month course I am building in the open to understand Neural ODEs properly: what a coordinate transformation does to a vector field, why stiff chemical kinetics breaks naive training, and how operator-theoretic ideas (Carleman, Koopman) and hard constraints fit on top. Every session is a full derivation (no skipped algebra), runnable Python, matplotlib figures, and a written document, and each one is organised by Bloom’s revised taxonomy from remembering up to creating.
Everything below is teaching material built on standard results. Each animation carries a numeric check that was actually run against it, listed in its caption.
Plan
Roughly 72 sessions from October 2026 to April 2027, foundations first. Fifty-two are written as of 6 October 2026; the next block is the constraint side (the stoichiometric matrix, conservation laws, hard constraints, CRNN).
| Month | Focus |
|---|---|
| Oct 2026 | ODE theory, linearization, stiffness, first integrators |
| Nov | Adaptive steps, change of variables, objective audit |
| Dec | Neural-network recap, Neural ODEs, adjoint, regularization |
| Jan 2027 | Stiff Neural ODEs, ChemNODE, objectives and power means |
| Feb | Flows, slow manifolds, H2/air capstones, hard constraints, CRNN, reaction graphs, GNN+NODE |
| Mar | Carleman, Koopman/DMD, PINNs, DeepONet, ACA, KAN, topology |
| Apr | PyTorch, ONNX, quantization, synthesis |
How the topics connect
- Spine: ODE theory → integrators → change of variables → Neural ODEs → objectives → H2/air capstones.
- Operator branch: the Jacobian from ODE theory leads to Carleman linearization, then Koopman, DMD and EDMD.
- Constraint branch: stiffness leads to hard constraints and the stoichiometric matrix, then CRNN and SPIN-ODE, and separately reaction graphs and GNN+NODE.
- Systems and operators: Neural ODEs also lead to PINNs, DeepONet, ACA, KAN and topology, and to PyTorch, ONNX and quantization.
Animations and figures
Grouped by phase: maps (P0), transformations (P1), ODE theory (P2), numerical integrators (P3), Neural-ODE core, adjoint and expressivity (P4 to P6, S028 to S037), and a last tab on regularization, stiff training, ChemNODE-style training on hydrogen/air, shooting and latent spaces, and flow maps (S038 to S042). Sessions S001 to S042. The videos loop silently; click a still figure for full size. Two further tabs cover the objective side (S043 to S046: power means, Sobolev loss, the Mahalanobis term, split estimators and leakage) and the capstones (S047 to S052: flows, slow manifolds, sparse and symbolic regression, the real hydrogen/air stiffness spectrum, state charts for a Neural ODE and a pilot check for training runs).
Method
- Derive first. Each result is built from first principles before any code runs.
- Verify every figure. Animations are produced by scripts that also write a
verification.jsonof numeric checks, such as a measured convergence order against the theoretical one, or a conservation drift at machine precision. - Test the code. The course code base has an automated test suite that has to pass before a session counts as done.
- State limits. Each session records claims written from memory that still need a source check.
Related
The experimental setting behind the course, a stiff H2/O2 autoignition Neural ODE, is described in the Neural ODE playground project.
Gallery
How to recreate this plot
Watch
Steps
- Open the controls panel
- Choose the example: a map u(x, y), v(x, y)
- Choose the shape: circle
- Raise the window half-width to 4
- Press Play
Code and PDF notes
Free of cost. I approve each request and reply by email.
To request the files, email me at krunalpanchal1995 [at] gmail [dot] com and mention the item id. project-neural-ode-course