Parameter-varying neural ordinary differential equations with partition-of-unity networks

Kookjin Lee, Nathaniel Trask · DOI

Introduction

Neural Ordinary Differential Equations (NODEs) have emerged as a powerful tool for modeling continuous-time dynamical systems. However, standard NODEs typically assume a static velocity function, which limits their applicability to non-autonomous or hybrid systems where governing rules change over time or space. This paper introduces POUNODEs (Partition-of-Unity Neural Ordinary Differential Equations), a framework that enables model parameters to evolve dynamically. By leveraging a "mixture of experts" approach via Partition-of-Unity Networks, POUNODEs bridge the gap between rigid global models and flexible piecewise ones.

The Challenge of Non-Autonomous Systems

Standard NODEs struggle with systems where parameters shift due to external forcing or spatial transitions. Existing solutions often fall into two categories:

  1. Stacked NODEs: These use piecewise constant parameters but often fail to accurately identify the exact moments of regime shifts.
  2. Galerkin NODEs: These employ global spectral bases (e.g., polynomials) to model parameter changes. While smooth, they can suffer from the Gibbs effect—oscillatory behavior near sharp transitions or discontinuities.
Comparison of parameter evolution modeling in Stacked NODE (a), Galerkin NODE (b), and POUNODE (c).

POUNODEs aim to provide a representation that is smooth where necessary but capable of capturing sharp transitions without numerical artifacts.

Methodology: Partition-of-Unity Networks

The core innovation lies in representing the ODE parameters $\Theta(s)$ as a Partition-of-Unity Network (POUNet). This approach decomposes the domain into overlapping regions using learned weight functions $\phi_i(s)$ that sum to unity.

  1. Partition of Unity: A neural network learns the weight functions $\phi_i(s)$, effectively discovering the system's regimes.
  2. Local Experts: Within each partition, parameters are modeled by local polynomials $p_i(s)$.
  3. Synthesis: The final parameter set is synthesized as a weighted sum: $\Theta(s) = \sum \phi_i(s) p_i(s)$.
Visualization of learned partitions (a) and basis functions (b) within the POUNet framework.

This structure mirrors hp-finite-element methods, where "h" denotes mesh size (partitions) and "p" denotes polynomial order. This combination allows POUNODEs to capture both smooth variations and sudden jumps efficiently.

Experimental Evaluation

The authors tested POUNODEs across three benchmarks:

  • Hybrid Lotka-Volterra System: A predator-prey model with interaction parameters that jump at non-uniform intervals.
  • Switching Linear Dynamical System (SLDS): A synthetic "race track" where movement rules change based on spatial coordinates.
  • 1D Inviscid Burgers’ Equation: A fluid dynamics problem with a time-varying forcing term creating shocks.

Key Insights

  • Meshfree Regime Discovery: POUNODEs perform automatic "change-point detection" during training, eliminating the need for pre-defined meshes.
  • Handling Discontinuities: The model avoids the oscillations seen in global spectral methods by allowing partitions to become narrow and disjoint.
  • Sparsity and Interpretability: Using an $L_1$ penalty (LASSO) prunes unnecessary partitions and dictionary terms, leading to interpretable governing equations.
  • Efficiency: POUNODEs achieved higher accuracy with up to 50x fewer parameters than Galerkin NODEs in complex scenarios.

Results and Performance

  • Hybrid Systems: POUNODEs accurately identified hidden change points and recovered coefficients in the Lotka-Volterra test, where standard NODEs failed.
  • Fluid Dynamics: In the Burgers' equation task, POUNODEs achieved a relative error of 0.073, significantly outperforming GalNODEs (0.478) and Stacked NODEs (0.365).
  • Spatial Switching: The model successfully recovered linear ODEs for three distinct spatial regions in the SLDS task with high precision.

Limitations and Future Directions

While effective, POUNODEs face challenges in minibatching for trajectories with varying change points. Future work may explore "data-controlled" NODEs to address this. Additionally, while excellent at identifying existing regimes, predicting future temporal drift remains a hurdle. The authors also suggest that specialized optimizers alternating between partition updates and polynomial solving could further enhance training speed.

Summary updated

BibTeX
@misc{lee2022parameter,
  author = {Kookjin Lee and Nathaniel Trask},
  title = {{Parameter-varying neural ordinary differential equations with partition-of-unity networks}},
  year = {2022},
  eprint = {2210.00368},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.00368},
}
Figure