Finding separatrices of dynamical flows with Deep Koopman Eigenfunctions
Kabir V. Dabholkar, Omri Barak
TL;DR
The paper tackles the problem of identifying separatrices in high-dimensional multistable dynamical systems by learning scalar Koopman eigenfunctions with positive eigenvalues, which vanish on the separatrix. The authors propose a deep-network-based KEF that satisfies the Koopman PDE \nabla \psi(\boldsymbol{x}) \cdot f(\boldsymbol{x}) = \lambda \psi(\boldsymbol{x}) with \lambda>0, trained via a PDE residual and a ratio loss that avoids trivial solutions, plus a balance regularizer to mitigate degeneracy. They demonstrate robust separatrix recovery across synthetic models, ecological networks, and large neural network dynamics, and show how the KEFs enable gradient-based, minimal-norm perturbations to cross basin boundaries, with applications to neuroscience interventions (e.g., optogenetics). The work provides a scalable, data-driven framework that complements local fixed-point analyses and offers practical tools for predicting and steering transitions in complex dynamical landscapes. The method's high-dimensional applicability, together with its ability to design targeted perturbations, has potential impact in neuroscience, ecology, and engineered systems where boundary-crossing transitions are critical.
Abstract
Many natural systems, including neural circuits involved in decision making, are modeled as high-dimensional dynamical systems with multiple stable states. While existing analytical tools primarily describe behavior near stable equilibria, characterizing separatrices--the manifolds that delineate boundaries between different basins of attraction--remains challenging, particularly in high-dimensional settings. Here, we introduce a numerical framework leveraging Koopman Theory combined with Deep Neural Networks to effectively characterize separatrices. Specifically, we approximate Koopman Eigenfunctions (KEFs) associated with real positive eigenvalues, which vanish precisely at the separatrices. Utilizing these scalar KEFs, optimization methods efficiently locate separatrices even in complex systems. We demonstrate our approach on synthetic benchmarks, ecological network models, and high-dimensional recurrent neural networks trained on either neuroscience-inspired tasks or fit to real neural data. Moreover, we illustrate the practical utility of our method by designing optimal perturbations that can shift systems across separatrices, enabling predictions relevant to optogenetic stimulation experiments in neuroscience.
