Interpretable Functional Koopman Learning with Non-Markovian Closure for Spatiotemporal Systems

Wanfeng Lu, He Ma, Wei Lin, Qunxi ZhuICML 2026

TL;DR

MERLIN is a new framework for predicting complex spatiotemporal dynamics (like fluid flow or weather) that combines functional Koopman theory with Mori-Zwanzig memory correction. By lifting dynamics into a low-dimensional latent space and adding a "memory" term to account for unresolved details, it achieves stable, long-horizon predictions and handles sparse, irregular data far better than traditional neural operators.

What Problem Does This Paper Address?

Predicting how systems evolve over space and time—governed by Partial Differential Equations (PDEs)—is a cornerstone of science, from climate modeling to aerodynamics. However, traditional numerical solvers are computationally expensive. While "data-driven" machine learning models (like Fourier Neural Operators) are faster, they often struggle with three major issues:

  1. Irregular Data: Most models assume data is on a perfect, regular grid, but real-world sensors are often scattered and sparse.
  2. The "Closure" Problem: Koopman theory suggests we can represent nonlinear systems as linear ones if we "lift" them into a higher-dimensional space. However, for infinite-dimensional PDEs, finding a finite set of variables that perfectly captures the dynamics is nearly impossible. This leads to "unresolved" dynamics that cause prediction errors to snowball over time.
  3. Interpretability: Many deep learning models are "black boxes," making it hard for scientists to extract physical meaning from their predictions.

Methods

The authors introduce MERLIN (Memory-augmented Koopman Evolution with a Resolution-free autoencoder for random partial observations in PDE LearnINg). Its architecture consists of three main parts:

  • Discretization-Invariant Encoder: Uses a Galerkin Transformer to map any set of spatial observations (no matter how irregular) into a fixed-dimensional latent space.
  • Latent Dynamics with Memory: This is the core innovation. The dynamics are modeled as a Linear Koopman Backbone plus a Non-Markovian Memory Correction. Based on the Mori-Zwanzig formalism, the memory term (implemented via a "Leaky Memory" or an LSTM) acts as a mathematical "patch" that accounts for the information lost during dimensionality reduction.
  • Resolution-Free Decoder: Uses a FourierNet (an implicit neural representation) to reconstruct the full field at any coordinate, allowing for super-resolution and data completion.

The team uses a two-phase training strategy: first, they optimize the model to be as linear as possible; then, they freeze the linear part and train the memory module to handle the residuals. This prevents the memory term from "taking over" and preserves the interpretability of the linear backbone.

Datasets

The model was evaluated on a diverse mix of synthetic and real-world datasets:

  • Synthetic PDEs: 2D Wave equation and 2D incompressible Navier-Stokes (fluid dynamics).
  • Chaotic Systems: The Kuramoto-Sivashinsky equation, a classic benchmark for chaotic behavior.
  • Real-World Geophysical Data: Sea-surface temperature (SST) from satellite products and global atmospheric temperature from the ERA5 reanalysis dataset.

Key Insights and Ideas

  • Memory is the Key to Closure: Instead of trying to find a "perfect" high-dimensional space where everything is linear (which might require thousands of variables), MERLIN uses a tiny latent space (as few as 8 variables) and uses memory to account for the missing pieces.
  • Linearity + Memory = Stability: Purely linear models eventually drift, and purely recurrent models (like LSTMs) can explode. Combining a stable linear backbone with a constrained memory correction leads to much more stable long-term "rollouts."
  • Interpretable Reduced-Order Modeling (ROM): Because the backbone is linear, researchers can perform spectral analysis on the learned matrix to identify the "principal modes" of the system, similar to traditional physics techniques like Dynamic Mode Decomposition (DMD).
  • Two-Phase Training is Essential: The authors found that training everything at once leads to the memory term "cheating"—it absorbs the easy linear dynamics, making the model less interpretable and less robust.

Key Results

  • Long-Horizon Accuracy: On the Navier-Stokes benchmark, MERLIN’s error accumulation was 14.2x lower than the popular Fourier Neural Operator (FNO) when predicting far beyond the training window.
  • Robustness to Sparsity: MERLIN maintained high accuracy even when 95% of the spatial data was missing or masked, outperforming models specifically designed for irregular grids like DINo.
  • Inference Speed: Because the "time-marching" happens in a tiny latent space rather than on a high-resolution grid, MERLIN is roughly 2.6x faster at inference than FNO and significantly faster than U-Net-based models.
  • Real-World Scaling: On the ERA5 weather dataset, MERLIN significantly outperformed FNO in both short-term accuracy and long-term stability.

Limitations and Future Work

  • The Fluctuation Term: The full Mori-Zwanzig equation includes a "fluctuation" (noise) term. MERLIN currently ignores this, assuming the unresolved dynamics are mostly dissipative (dying out over time). Future work could incorporate stochastic terms to model turbulence or high-frequency "noise" better.
  • Spectral Bias: While MERLIN is more flexible than FNO, FNO still performs slightly better on perfectly regular, periodic grids because it has a built-in "Fourier bias." The authors suggest "injecting" some of this bias into MERLIN's encoder for specific applications.
  • Complex Geometries: While the model handles irregular points, testing it on complex 3D boundaries (like airflow over a specific car wing) remains a future step.

Paper Citation: Wanfeng Lu, He Ma, Wei Lin, Qunxi Zhu. "Interpretable Functional Koopman Learning with Non-Markovian Closure for Spatiotemporal Systems." Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026.

Summary updated

BibTeX
@inproceedings{lu2026interpretable,
  author = {Wanfeng Lu and He Ma and Wei Lin and Qunxi Zhu},
  title = {{Interpretable Functional Koopman Learning with Non-Markovian Closure for Spatiotemporal Systems}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=lquDiBCgNJ},
}
Figure