Learnable Koopman-Enhanced Transformer-Based Time Series Forecasting with Spectral Control
Ali Forootani, Raffaele Iervolino
TL;DR
This work addresses long-horizon time-series forecasting by integrating learnable Koopman operators into Transformer-based forecasters, enabling explicit spectral control of latent dynamics. It introduces four operator families under an orthogonal–diagonal–orthogonal (ODO) factorization, combined with Lyapunov regularization, and demonstrates their integration with PatchTST, Autoformer, and Informer. The approach yields stable, interpretable, and invertible latent dynamics across diverse domains (climate, crypto, energy) with favorable bias–variance trade-offs and robust cross-configuration performance. Spectral diagnostics reveal that constrained and learnable variants maintain contractive yet expressive spectra within a mid-range band, sustaining reliable long-range forecasts. Overall, the Learnable-DeepKoopFormer offers a principled, scalable framework that unifies operator theory with modern forecasting architectures for principled, robust sequence modelling.
Abstract
This paper proposes a unified family of learnable Koopman operator parameterizations that integrate linear dynamical systems theory with modern deep learning forecasting architectures. We introduce four learnable Koopman variants-scalar-gated, per-mode gated, MLP-shaped spectral mapping, and low-rank Koopman operators which generalize and interpolate between strictly stable Koopman operators and unconstrained linear latent dynamics. Our formulation enables explicit control over the spectrum, stability, and rank of the linear transition operator while retaining compatibility with expressive nonlinear backbones such as Patchtst, Autoformer, and Informer. We evaluate the proposed operators in a large-scale benchmark that also includes LSTM, DLinear, and simple diagonal State-Space Models (SSMs), as well as lightweight transformer variants. Experiments across multiple horizons and patch lengths show that learnable Koopman models provide a favorable bias-variance trade-off, improved conditioning, and more interpretable latent dynamics. We provide a full spectral analysis, including eigenvalue trajectories, stability envelopes, and learned spectral distributions. Our results demonstrate that learnable Koopman operators are effective, stable, and theoretically principled components for deep forecasting.
