LGOct 30, 2024

Simulation-Free Training of Neural ODEs on Paired Data

arXiv:2410.22918v17 citationsh-index: 8Has CodeNIPS
Originality Incremental advance
AI Analysis

This work provides a more efficient training method for Neural ODEs in supervised tasks, which is incremental as it builds on flow matching but adapts it to avoid ill-defined flows in paired data settings.

The paper tackles the problem of training Neural ODEs efficiently for supervised learning by addressing issues like high computational cost and numerical instability, proposing a simulation-free method that outperforms existing approaches with fewer function evaluations.

In this work, we investigate a method for simulation-free training of Neural Ordinary Differential Equations (NODEs) for learning deterministic mappings between paired data. Despite the analogy of NODEs as continuous-depth residual networks, their application in typical supervised learning tasks has not been popular, mainly due to the large number of function evaluations required by ODE solvers and numerical instability in gradient estimation. To alleviate this problem, we employ the flow matching framework for simulation-free training of NODEs, which directly regresses the parameterized dynamics function to a predefined target velocity field. Contrary to generative tasks, however, we show that applying flow matching directly between paired data can often lead to an ill-defined flow that breaks the coupling of the data pairs (e.g., due to crossing trajectories). We propose a simple extension that applies flow matching in the embedding space of data pairs, where the embeddings are learned jointly with the dynamic function to ensure the validity of the flow which is also easier to learn. We demonstrate the effectiveness of our method on both regression and classification tasks, where our method outperforms existing NODEs with a significantly lower number of function evaluations. The code is available at https://github.com/seminkim/simulation-free-node.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes