NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Homotopy-based training of NeuralODEs for accurate dynamics discovery

Joon-Hyuk Ko, Hankyul Koh, Nojun Park, Wonho Jhe · OpenReview

Abstract

Neural Ordinary Differential Equations (NeuralODEs) bridge neural networks with differential equation-based modeling, yet they often suffer from long training times and suboptimal results on long-duration data. This paper introduces a model-agnostic training method based on synchronization and homotopy optimization. By coupling model dynamics to training data, the method tames irregular loss landscapes, allowing homotopy optimization to guide the model toward true dynamics. Benchmarks show competitive training loss, significant speedups (often >50% fewer epochs), and superior extrapolation capabilities compared to existing techniques.

Introduction: The Challenge of NeuralODE Training

NeuralODEs represent a system's derivative as a neural network, $du/dt = f(u, \theta)$, offering a powerful framework for physics discovery. However, training them on long, complex time series is notoriously difficult. As the time horizon increases or system nonlinearity grows, the "loss landscape"—the mathematical terrain the optimizer navigates—becomes a jagged mess of "stiff cliffs" and local minima. Standard solutions often involve imposing architectural constraints to ensure stability, but these can limit the model's ability to discover the true underlying physics if the real system doesn't obey those specific constraints.

Proposed Method: Synchronization and Homotopy

Researchers from Seoul National University and MIT propose a training strategy that stabilizes the process without restricting the model's architecture. Their approach combines two key concepts:

  1. Synchronization: Inspired by chaotic systems coupling, the authors add a term to the ODE: $du/dt = U(t, u; \theta) - \lambda K(u - \hat{u})$, where $\hat{u}$ is the ground-truth data. This "leash" pulls the model’s prediction toward the actual data, effectively smoothing the chaotic loss landscape.
  2. Homotopy Optimization: To ensure the model learns the physics rather than just following the data, the coupling parameter $\lambda$ is gradually decayed from 1 (strong coupling) to 0 (no coupling).
Conceptual illustration of homotopy optimization smoothing the loss landscape.

Key Insights: Taming the Loss Landscape

The core innovation lies in how synchronization alters the optimization problem. The authors provide a striking visualization of the loss Hessian (the curvature of the loss function) to demonstrate this effect.

Visualization of loss surfaces and Hessian eigenvalue distributions across varying data lengths and coupling strengths.

As shown in the Hessian analysis, without synchronization, eigenvalues are scattered and large, indicating a "corrugated" and difficult landscape. With synchronization (increasing coupling strength $k$), the eigenvalues cluster near zero, transforming a jagged mountain range into a smooth, navigable valley. This allows the optimizer to find global minima that were previously unreachable.

Experimental Results

The method was benchmarked against the Lotka-Volterra model, the Lorenz attractor, and real-world experimental data from a Double Pendulum.

  • Efficiency: The homotopy method reached peak performance in 40% to 90% fewer epochs than vanilla training.
  • Extrapolation: Unlike "Multiple Shooting" methods that break data into segments, the Homotopy method maintains global trajectory integrity. In Double Pendulum tests, extrapolation error was orders of magnitude lower than competing methods.
  • Robustness: The use of cubic smoothing splines for the synchronization term provided inherent denoising, making the method resilient to noisy and sparse data.

Conclusion and Future Directions

This homotopy-based approach offers a robust, architecture-agnostic way to train NeuralODEs for complex dynamics. While it requires tuning hyperparameters like initial coupling strength, its ability to discover accurate physics from long-duration, chaotic data is a significant step forward. Future work may explore scaling this to high-dimensional systems via Latent ODEs and developing formal convergence proofs.

Summary updated

BibTeX
@inproceedings{ko2023homotopy,
  author = {Joon-Hyuk Ko and Hankyul Koh and Nojun Park and Wonho Jhe},
  title = {{Homotopy-based training of NeuralODEs for accurate dynamics discovery}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=rUFckPrzXR},
}
Figure