arXiv:2610.03314stat.MLOct 2026

Manuscript Offprint

arXiv:2610.03314

DAWIS: Data Assimilation with Windowed Inverse Sampling via Multitask Interpolants

Erik Wikingsson, Martin Andrae, Tomas Landelius, Fredrik Lindsten

ABSTRACT

Flow- and diffusion-based generative models have recently emerged as flexible and highly efficient forecasting models for dynamical systems. When combined with inference-time guidance, they offer a promising route to high-dimensional non-Gaussian data assimilation (DA), the problem of combining forecasts with observations to estimate latent system states. Existing filters, however, condition on a fixed history and assimilate only the most recent observation, leaving them unable to revise past states when new observations arrive. Estimates then stay tethered to a history that later observations may contradict, and errors accumulate over the assimilation run. To this end, we introduce DAWIS, a unified DA method covering filtering, fixed-lag smoothing, and block smoothing within a single framework. DAWIS replaces the single flow time of a state-level prior with a multitask stochastic interpolant over a window of consecutive states, assigning a separate flow time to each. An assimilation cycle inverts the window to a vector of per-state turning points and regenerates it under observation guidance, with the turning points controlling how strongly each state is held fixed, revised, or generated from scratch. The same construction can also absorb the forecast into the assimilation cycle, removing the need for a separate forecasting model. Experiments on challenging nonlinear systems show that DAWIS improves on both filtering and smoothing baselines under sparse, noisy, and nonlinear observations. The code for DAWIS is available at https://github.com/Erik-Wikingsson/DAWIS

1 INTRODUCTION

Many scientific and engineering problems, from weather forecasting and fluid mechanics to neuroscience and robotics, require estimating latent states from incomplete and noisy observations (Asch et al., 2016). Data assimilation (DA) combines prior knowledge of system dynamics with sparse, noisy observations y1:n:=(y1,…,yn)\mathbf{y}_{1:n} := (\mathbf{y}_1, \ldots, \mathbf{y}_n) of a latent state sequence x0:n\mathbf{x}_{0:n}, where yn\mathbf{y}_n relates to xn\mathbf{x}_n through p(yn∣xn)p(\mathbf{y}_n | \mathbf{x}_n). DA comes in two complementary forms. Filtering tracks the filtering distribution p(xn∣y1:n)p(\mathbf{x}_n | \mathbf{y}_{1:n}) online as observations arrive, whereas smoothing characterizes the smoothing distribution p(x0:N∣y1:N)p(\mathbf{x}_{0:N} | \mathbf{y}_{1:N}) or its marginals p(xn∣y1:N)p(\mathbf{x}_n | \mathbf{y}_{1:N}) over a fixed window, using future observations to refine past estimates.

Both are particularly challenging in high-dimensional systems such as the atmosphere, where states evolve chaotically and observations are sparse, noisy, and heterogeneous. Existing methods for approximating these distributions can be broadly grouped by their formulation of inference and uncertainty representation. Variational methods, such as 4DVar, estimate the most probable trajectory over an assimilation window via optimization. They scale to very high-dimensional systems but traditionally require tangent-linear and adjoint models and primarily provide point estimates. Ensemble Kalman methods, including the EnKF and ensemble Kalman smoothers, propagate an ensemble to approximate filtering or smoothing distributions through their means and covariances. They are computationally attractive but rely on Gaussian or approximately Gaussian representations and often require careful tuning of localization and inflation (Calvello et al., 2024; Bannister, 2017). Hybrid ensemble-variational methods, such as En4DVar (Bonavita et al., 2012), combine variational

∗^{*}Equal contribution

Figure

Figure 1: The DAWIS assimilation cycle, here visualized for DAWIS-Joint with a prior of w+1=3w+1 = 3 states. (i) Initialization: The samples x^n−w:n−1\hat{x}_{n-w:n-1} from the previous cycle start at flow time 1 and the new state z0∼ρ0z_0 \sim \rho_0. (ii) Inversion: the unconditional SDE moves each slot kk to its turning point τmin⁡k\tau_{\min}^k, partially noising the old states and running the new one forward from noise. (iii) Guidance: the guided SDE regenerates the window from zτmin⁡z_{\tau_{\min}}, conditioned on observations yn−w:ny_{n-w:n}.

optimization with flow-dependent ensemble covariances but retain limitations from finite ensembles and covariance-based uncertainty. Finally, particle filters and smoothers (Naesseth et al., 2019) can represent general distributions, but suffer from the curse of dimensionality (Bengtsson et al., 2008). These limitations motivate flexible, data-driven methods capable of representing complex non-Gaussian distributions while remaining computationally tractable in high-dimensional systems.

Generative models provide an alternative route to high-dimensional sampling by representing flexible, non-Gaussian distributions and enabling posterior sampling through inference-time conditioning. These ideas have been used to target filtering (Andrae et al., 2026; Chen et al., 2025) as well as smoothing (Rozet & Louppe, 2023; Jia et al., 2026). The choice of prior, however, largely dictates which of the two is available: methods that learn a stationary prior over states (Andrae et al., 2026) or short trajectories (Rozet & Louppe, 2023) and those that learn a forecast model p(xn+1∣xn)p(\boldsymbol{x}_{n+1}|\boldsymbol{x}_{n}) (Chen et al., 2025; Savary et al., 2026) each commit to one regime. We generalize this construction from individual states to a multitask trajectory prior, assigning a separate flow time to each state in a window. This brings filtering, fixed-lag smoothing, and block smoothing into a single framework and removes the need for an external forecast model.

Contributions: We present DAWIS (Data Assimilation with Windowed Inverse Sampling), a unified framework for data assimilation built on flow-based generative models:

(i) Windowed inversion. We extend the inversion-based assimilation of Andrae et al. (2026) from a single state to whole windows. Each cycle inverts the previous estimate to a vector of per-state turning points τmin⁡\tau_{\min} and regenerates it under observation guidance, so new observations can revise past states instead of conditioning on a fixed history.

(ii) A unified framework with one prior for several DA tasks. Filtering, fixed-lag smoothing and block smoothing can all be done with the same trained model by changing the choice of τmin\tau_{min}. A single sliding-window cycle gives both a filter and a lagged smoother.

(iii) Forecasting with or without an external model. DAWIS can incorporate an existing forecasting model or, with DAWIS-Joint, generate forecasts within the same generative inference process, eliminating the need for a separate model.

References (75)