Simulation-Free Training of Neural ODEs on Paired Data

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kim, Semin, Yoo, Jaehoon, Kim, Jinwoo, Cha, Yeonwoo, Kim, Saehoon, Hong, Seunghoon
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916461256114176
author Kim, Semin
Yoo, Jaehoon
Kim, Jinwoo
Cha, Yeonwoo
Kim, Saehoon
Hong, Seunghoon
author_facet Kim, Semin
Yoo, Jaehoon
Kim, Jinwoo
Cha, Yeonwoo
Kim, Saehoon
Hong, Seunghoon
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_22918
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Simulation-Free Training of Neural ODEs on Paired Data
Kim, Semin
Yoo, Jaehoon
Kim, Jinwoo
Cha, Yeonwoo
Kim, Saehoon
Hong, Seunghoon
Machine Learning
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.
title Simulation-Free Training of Neural ODEs on Paired Data
topic Machine Learning
url https://arxiv.org/abs/2410.22918