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

KODA: A Data-Driven Recursive Model for Time Series Forecasting and Data Assimilation using Koopman Operators

Ashutosh Singh, Ashish Singh, Tales Imbiriba, Deniz Erdogmus, Ricardo Augusto BorsoiarXiv 2024 · DOI

Introduction

Predicting the evolution of Nonlinear Dynamical Systems (NLDS)—such as weather patterns, power grid fluctuations, or neural activity—remains a fundamental challenge in time series analysis. While deep learning models have significantly advanced the field, they often struggle with two critical issues: non-stationarity and the inability to perform real-time data assimilation. Most existing models are "closed-loop" during inference; they generate a forecast based on historical data but cannot systematically incorporate new, noisy measurements that arrive as the forecast unfolds. This leads to "drift," where prediction errors accumulate over long horizons.

To address these limitations, the authors propose KODA (Koopman Operator with Data Assimilation). KODA bridges the gap between data-driven deep learning and classical control theory by combining Koopman operator theory with a recursive correction mechanism inspired by Kalman filtering.

Methodology

KODA’s architecture is designed to disentangle stable physical dynamics from unpredictable residual noise, allowing for more robust long-term forecasting and real-time course correction.

State Disentanglement via Fourier Filtering

The framework begins by splitting the input data into two distinct streams using a Fourier domain filter. This process separates the Physical Component, which captures the dominant, stable signals representing the underlying system laws, from the Residual Component, which captures local, high-frequency variations and noise.

Branched Prediction Model

As shown in the architecture diagram below, KODA processes these components through two specialized branches:

  • Global Branch (Koopman Operator): This branch maps the nonlinear physical dynamics into a latent space where the evolution is linear. By applying a Koopman Operator ($K$), the model can perform stable, long-term forecasting of the underlying physical state.
  • Residual Branch (GRU): A Gated Recurrent Unit (GRU) is employed to model the "messy," time-varying local behaviors that the linear Koopman operator might overlook.
KODA Architecture: The model disentangles physical and residual components, processing them through a Koopman-based global branch and a GRU-based residual branch, followed by a correction mechanism.

Correction Model (Data Assimilation)

The core innovation of KODA is its online correction mechanism. Inspired by the Extended Kalman Filter (EKF), KODA calculates a "Kalman Gain" when new measurements become available during the forecasting period. This allows the model to update its internal state on the fly, performing "course corrections" that significantly mitigate drift.

Experimental Results

KODA was evaluated against a comprehensive suite of benchmarks, including real-world multivariate datasets (ETT, Electricity, Traffic, Weather) and classic chaotic systems (Lorenz 63, Duffing Oscillator).

State-of-the-Art Performance

KODA consistently outperformed top-tier models such as PatchTST, SegRNN, and TiDE across nearly all multivariate benchmarks. As detailed in the results table, KODA achieved the lowest Mean Squared Error (MSE) and Mean Absolute Error (MAE) in the majority of test cases, particularly on the ETT datasets.

Comparison of KODA against state-of-the-art forecasting models across multiple real-world datasets. KODA (ours) consistently achieves the lowest error rates.

Key Findings

  • Superiority over Koopman Baselines: KODA significantly outperformed existing Koopman-based forecasters like KOOPA and KNF, validating the importance of the data assimilation and residual modeling components.
  • Effectiveness of Data Assimilation: In experiments where only 10% to 30% of future data was available for assimilation, KODA’s error rates dropped significantly, proving its ability to learn from sparse, real-time updates.
  • Handling Chaotic Systems: On the chaotic Lorenz 63 system, KODA achieved an MSE of 32.288, while traditional Koopman Autoencoders (KAE) often failed to converge or produced much higher errors.

Discussion and Conclusion

KODA introduces several key innovations to the field of time series forecasting. By enforcing local linearity within segmented windows rather than global linearity, the model avoids the brittleness typical of previous Koopman approaches. Furthermore, the explicit disentanglement of "physics" from "noise" allows the Koopman operator to focus on stable underlying laws.

While KODA requires a two-stage training process and careful tuning of hyperparameters like the Fourier filter threshold, its ability to ingest irregular measurements during the forecast horizon makes it uniquely suited for real-world applications where sensors provide inconsistent updates. Future work will explore more sophisticated residual models and the application of this framework to high-dimensional systems governed by Partial Differential Equations (PDEs).

Summary updated

BibTeX
@misc{singh2024koda,
  author = {Ashutosh Singh and Ashish Singh and Tales Imbiriba and Deniz Erdogmus and Ricardo Augusto Borsoi},
  title = {{KODA: A Data-Driven Recursive Model for Time Series Forecasting and Data Assimilation using Koopman Operators}},
  year = {2024},
  eprint = {2409.19518},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.19518},
}
Figure