arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.22918cs.LG
收藏

基于配对数据的神经ODE免仿真训练

Simulation-Free Training of Neural ODEs on Paired Data

KAIST(韩国科学技术院);Kakao Brain

Semin Kim, Jaehoon Yoo, Jinwoo Kim, Yeonwoo Cha, Saehoon Kim, Seunghoon Hong

AI总结:

针对神经常微分方程(NODEs)在监督学习中函数求值多、梯度不稳定的问题,提出在配对数据嵌入空间联合学习嵌入与动力学的流匹配免仿真训练方法,以更少求值次数实现更优性能。

摘要:

在本研究中,我们探讨了一种用于学习配对数据间确定性映射的神经常微分方程(Neural Ordinary Differential Equations, NODEs)免仿真训练方法。尽管NODEs可类比为连续深度残差网络,但它在典型监督学习任务中的应用并不广泛,主要原因在于ODE求解器需要大量函数求值,且梯度估计存在数值不稳定性问题。为缓解这一问题,我们采用流匹配(flow matching)框架实现NODEs的免仿真训练,该框架直接将参数化动力学函数回归到预定义的目标速度场。但与生成任务不同的是,我们发现直接在配对数据间应用流匹配通常会导致流定义不明确,破坏数据对的耦合关系(例如由轨迹交叉导致)。我们提出了一种简单的扩展方案:在配对数据的嵌入空间中应用流匹配,其中嵌入表示与动力学函数联合学习,以确保流的有效性,同时也更易于学习。我们在回归和分类任务上验证了方法的有效性,该方法以显著更少的函数求值次数优于现有NODEs方法。代码可在https://github.com/seminkim/simulation-free-node 获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑