Manuscript Offprint

arXiv:2610.32926

ZENO: Nonlinear filtering with Zakai Equation Neural Operators

Aaditya Prasad, Steven W. Flavell, Brian DePasquale

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

Aaditya Prasad

Picower Institute for Learning & Memory

Department of Brain & Cognitive Sciences

Massachusetts Institute of Technology

Cambridge, MA 02139, USA

aaprasad@mit.edu

Steven W. Flavell

Howard Hughes Medical Institute

Picower Institute for Learning & Memory

Department of Brain & Cognitive Sciences

Massachusetts Institute of Technology

Cambridge, MA 02139, USA

flavell@mit.edu

Brian DePasquale

Department of Biomedical Engineering

Boston University

Boston, MA 02215, USA

bddepasq@bu.edu

Abstract

State inference and parameter learning for nonlinear filters is a core computation for scientific machine learning with varied applications in engineering and neuroscience. The unnormalized filtering distribution is governed by the Zakai equation, a stochastic partial differential equation (SPDE) that combines the forward Kolmogorov operator (known as the Fokker-Planck equation) with observed likelihood updates. Although solving these high-dimensional SPDEs is often impossible analytically and intractable numerically, advances in operator learning and physics-informed machine learning have made it feasible. Harnessing these advances, we introduce the Zakai Equation Neural Operator (ZENO), a model that optimizes a neural operator against a Zakai Equation based physics-informed loss to approximate the exact unnormalized filtering distribution for latent stochastic dynamical systems. We use this ZENO-inferred posterior distribution in an expectation-maximization (EM) framework to perform parameter learning and state inference. We demonstrate ZENO's ability to accurately infer the posterior distribution and learn its corresponding SDE parameters in three simulated stochastic dynamical systems (Double-Well bistable system, Van Der Pol (VDP) oscillator, and Lorenz system) and compare its performance against established methods for latent SDE inference and learning. We show that ZENO recovers previously observed limit cycles representing forward and backward locomotion from a whole-brain imaging dataset of immobilized C. elegans nematodes. ZENO is a novel approach to the problem of nonlinear filtering and dynamical inference through the lens of partial differential equations and operator theory.

1 Introduction

Estimating a latent dynamical process from a set of noisy observations is a fundamental problem in machine learning for science [Durstewitz et al., 2023]. For example, in neuroscience, it is thought that neural computations are implemented by a latent dynamical system that is expressed by a neural population [Saxena and Cunningham, 2019]. This problem has been well studied in signal-processing as filtering (in the online setting) or smoothing (in the offline setting) a noisy non-linear dynamical

Preprint.

system [Yau et al., 2024]. The essence of filtering as Bayesian inference is to estimate the filtering distribution p(zt∣X[0:t])p(\mathbf{z}_t | X_{[0:t]}) where zt∈Rn\mathbf{z}_t \in \mathbb{R}^n is an unobserved latent variable and xt∈Rm\mathbf{x}_t \in \mathbb{R}^m ( m≥nm \geq n) are observations at each point t∈[0,T]t \in [0, T], while for smoothing the goal is to estimate the posterior distribution p(zt∣X[0:T])p(\mathbf{z}_t | X_{[0:T]}) [Sarkka, 2013]. These distributions are referred to as the filtering and smoothing distributions respectively.

For continuous time systems, the dynamics of the filtering distribution has been well studied as the Kushner-Stratonovich (KS) equation [Stratonovich, 1960, Kushner, 1964], a stochastic partial differential equation (SPDE). A more tractable analog of the KS equation is the Zakai equation [Zakai, 1969], a linear SPDE governing the unnormalized posterior density. While solving the KS or Zakai equation provides the exact posterior distribution (post-normalization for the Zakai equation), solving these equations is often impossible analytically and intractable numerically for high-dimensional systems [Sabbar and Nisar, 2025]. Alternative methods such as state-space models [Bishop, 2006], (switching) linear dynamical systems [Linderman et al., 2017], and deep learning-based latent stochastic differential equations (SDE) [Li et al., 2020] offer a more tractable approach to inference and parameter learning by making assumptions or approximations about the posterior distribution. For example, the Kalman-Bucy filter [Kalman and Bucy, 1961] provides the exact solution to the KS equation under the assumption that dynamics are linear and observation noise is Gaussian. Thus, the need remains for powerful methods that can approximate the filtering posterior without restrictive assumptions while remaining computationally tractable.

Two recent approaches for solving PDEs with neural networks offer a route around these barriers. Physics-informed neural networks (PINNs) supervise the fit with the governing equation rather than labeled solutions, constraining the network's autodifferentiated derivatives to satisfy the equation at a set of collocation points [Raissi et al., 2019, Karniadakis et al., 2021]. PINNS are applicable when the solution is never observed, as in filtering, and because no parametric form is imposed, they can represent non-Gaussian posteriors governing nonlinear dynamics.

However, PINNs are fit to a single instance of a PDE and must be retrained for each new one, whereas in filtering every observation path X[0,t]X_{[0,t]} drives a distinct instance of the Zakai equation. Neural operators learn the solution operator itself, mapping a PDE's defining data to its solution and generalizing across instances without retraining [Lu et al., 2021, Azizzadenesheli et al., 2024], but are trained on labeled solutions which filtering never provides. Physics-informed neural operators (PINOs) resolve both obstacles, using the equation's residual when observations are unavailable to supervise operator learning across a distribution of instances [Wang et al., 2021b, Li et al., 2024].

This is the paradigm we build on to solve the Zakai equation for nonlinear filtering. We present the Zakai Equation Neural Operator (ZENO): A physics-informed neural operator for nonlinear filtering that learns the solution to the Zakai equation. ZENO represents the unnormalized filtering distribution by optimizing a physics informed loss which minimizes the residual between the PINO's posterior derivatives and the Fokker Planck operator while incorporating likelihood updates at observation times. Unlike current approaches, which use numerical solvers [Leng et al., 2026] for forecasting or a deep-splitting approach [Beck et al., 2021, Bågmark et al., 2023b,a, Beck et al., 2026], we leverage neural operators to learn a global solution over the entire observation history. Furthermore, we make no assumptions about the form of the dynamics model and instead estimate the dynamical parameters and observation model in an expectation-maximization [Dempster et al., 1977] like setup.

We show that ZENO is able to achieve similar latent inference accuracy to optimal nonlinear filters in simulated dynamical systems. We then show that ZENO performs dynamical parameter estimation at the same level as other state-of-the-art (SOTA) baselines. Finally, we evaluate our model on a real world neuroscience dataset and find that ZENO is able to recapitulate previously observed latent dynamical structure.

References (79)