Manuscript Offprint

arXiv:2608.29057

Sparse Koopman Autoencoders Identify Local Dynamical Regimes in Multibasin Systems

Aidan Li, Uday Kiran Reddy Tadipatri, Mahan Fathi, Sarath Chandar, Ross Goroshin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Koopman autoencoders (KAEs) seek a higher-dimensional latent representation in which nonlinear dynamics evolve linearly. However, many interesting systems have multiple basins of attraction, and both theoretical and empirical work has shown these multibasin systems cannot generally admit a single finite-dimensional global Koopman embedding under standard assumptions. We posit that encoders with a sparsity-inducing objective encouraging few active latent coefficients will provide latent supports as an inspectable basin-modeling principle for Koopman autoencoders. We use these encoders producing sparse latents in training Sparse Koopman Autoencoders (SKAEs) without basin labels or other regime annotations, and treat the learned latent supports as model-produced regime variables after training. Across a range of procedurally generated multibasin systems and chaotic flows, we show that SKAEs have superior forecasting performance compared to dense-latent KAEs. We also perform a mechanistic study that shows latent supports produced by SKAEs are both essential for the quality of the representation and useful for identifying basins on held-out basin interior states, whereas dense-latent KAEs collapse to an uninformative single family. These results identify sparse latents and their corresponding supports as label-free, interpretable regime variables for Koopman learning in nonlinear systems with multiple local dynamical laws.

1 Introduction

Learning representations for nonlinear dynamical systems remains a central problem in machine learning, scientific computing, and control. A particularly useful goal is to embed nonlinear dynamics into coordinates in which the evolution is linear, or at least locally linear, because linear models can be combined with mature tools for prediction, estimation, and control, including model predictive control and linear quadratic regulation [28, 15, 20, 17, 27]. This goal is also well motivated theoretically. Classical dynamical-systems results provide local topological linearizations near hyperbolic fixed points [14, 16], while Koopman eigenfunction constructions can yield linearizing coordinates on basins of attraction for stable equilibria and periodic orbits [23, 22]. Thus, nonlinear systems may admit linear dynamics with a specific change of coordinates.

These results establish when useful coordinates can exist, but they do not provide a finite-data procedure for constructing such coordinates. Koopman operator theory formalizes the linearization idea by lifting nonlinear state evolution to a linear operator acting on observables [18, 19, 29, 6]. This viewpoint has inspired data-driven approximations of Koopman dynamics, such as DMD and eDMD [33, 36, 37], and more recently to Koopman autoencoders, which learn an encoder from state space to a latent representation, a linear latent transition matrix, and a decoder back to state space.

Preprint.

[35, 26, 31, 3, 34, 10]. These models provide an appealing route to practical learning: rather than hand-designing observables, they learn embeddings directly from trajectory data.

An important problem for Koopman approximations is that many practically interesting nonlinear systems typically contain multiple equilibria or basins of attraction; for example, a damped mechanical system can settle into different wells, a biological or chemical model can approach different stable equilibria, and a controlled system can move between regions with distinct local dynamics. However, theory shows that these systems cannot generally admit a single finite-dimensional global linearization with a continuous encoder-decoder pair [23, 5, 32, 25], and empirical evidence supports this in practice [10]. In such multistable systems, it is possible to linearize the dynamics within basins, but the linearizations needed in different basins of attraction are generally incompatible with each other. Therefore, for multi-attractor systems, we should not model all basins with one global linearization, and instead have distinct modeling of basins.

This paper proposes inducing sparse latent structure as a practical and interpretable method for Koopman learning of multi-attractor systems. By inducing the state to activate only a small subset of coordinates in lifted latent space, we can incentivize different regions of state to occupy different active coordinates, since nearby states should have similar latent embeddings, and thus enable learning distinct local regimes. In this sparse representation, nonzero coefficient values in a latent vector can provide continuous coordinates for prediction within a selected region, while the active indices provide a discrete support object that can be inspected across states and used to identify the appropriate local regime.

Sparse coding and LISTA-style encoders [13, 8, 1] provide the right inductive bias for this purpose. They naturally induce piecewise-linear, union-of-subspaces structure [30, 7, 9, 13], which is well-matched to this setting where different attractors or basins require different local linearizations in theory. Concurrent work on LpWorldModel (LpWM) arrives independently at a closely related view of sparse representations, finding that support can identify discrete dynamical regimes while feature magnitudes encode continuous within-regime state [21]. Whereas LpWM studies controlled, action-conditioned JEPA world models for planning, we study multibasin dynamics through the Koopman framework, using sparse supports as label-free regime variables under a learned linear latent evolution. We hypothesize that sparse-latent Koopman autoencoders will assign local dynamical regimes to distinct latent support families, yielding a learned regime variable without basin supervision. Then, periodically decoding and re-encoding the state can refresh the quality of the latent embedding over time by re-selecting the correct local dynamics when trajectories move across the state space [10].

Contributions. We introduce Sparse Koopman Autoencoders (SKAEs), showing that sparse latent supports can serve as label-free regime variables that reconcile basin-specific Koopman linearizations with the practicality of a single trained model. Across multibasin and chaotic benchmarks, SKAEs (i) improve long-horizon forecasting while (ii) producing supports that are functionally necessary for accurate rollouts and (iii) interpretable as emergent local dynamical regimes.

References (36)