Abstract
Estimating the state of a dynamical system from a series of noise-corrupted observations is fundamental in many areas of science and engineering. The most well-known method, the Kalman smoother (and the related Kalman filter), relies on assumptions of linearity and Gaussianity that are rarely met in practice. In this paper, we introduced a new dynamical smoothing method that exploits the remarkable capabilities of convolutional neural networks to approximate complex non-linear functions. The main idea is to generate a training set composed of both latent states and observations from an ensemble of simulators and to train the deep network to recover the former from the latter. Importantly, this method only requires the availability of the simulators and can therefore be applied in situations in which either the latent dynamical model or the observation model cannot be easily expressed in closed form. In our simulation studies, we show that the resulting ConvNet smoother has almost optimal performance in the Gaussian case even when the parameters are unknown. Furthermore, the method can be successfully applied to extremely non-linear and non-Gaussian systems. Finally, we empirically validate our approach via the analysis of measured brain signals.
Introduction
In fields ranging from meteorology to neuroscience, researchers face the challenge of estimating the "true" latent state of a system from noisy, indirect measurements—a process known as dynamical smoothing. For decades, the Kalman filter and its variants have served as the standard approach. However, these methods are constrained by assumptions of linearity and Gaussian noise. While Extended (EKS) and Unscented Kalman Smoothers (UKS) attempt to address nonlinearity, they often introduce systematic biases and require complex closed-form equations.
The "ConvNet Smoother" proposes a deep learning alternative. By training a convolutional neural network (CNN) on data generated from system simulators, this approach creates a robust tool capable of handling highly nonlinear dynamics and complex, non-Gaussian noise where classical mathematical frameworks often fail.
Methodology
The core innovation treats dynamical smoothing as a supervised regression problem powered by simulation.
Simulation-Based Training
Instead of deriving complex likelihood functions, the method utilizes a simulator of the dynamical system to generate a massive synthetic dataset containing both ground truth latent states and noise-corrupted observations. Because data is simulated, the training set is effectively infinite, mitigating overfitting and allowing for deep, complex architectures.
ConvNet Architecture
The model employs a 1D CNN featuring dilated convolutions. This architecture provides a massive "receptive field," allowing the network to integrate information from long sequences of past and future data points without an unmanageable increase in parameters.
Hierarchical Sampling and Robust Loss
To ensure robustness, the simulator parameters (e.g., frequency, noise levels) are sampled for every training example. This teaches the network to adapt to varying system behaviors dynamically. Training is performed using a pseudo-Huber loss function, which provides resilience against extreme outliers compared to standard squared-error losses.
Experimental Evaluation
The ConvNet Smoother was evaluated across several scenarios, including Gaussian Processes (GP), stochastic anharmonic oscillators, and real-world brain signals.
Gaussian and Nonlinear Performance
In Gaussian scenarios, the ConvNet achieved performance near the theoretical ceiling of the "Exact GP" and significantly outperformed "Optimized GP" methods where parameters are estimated via maximum likelihood.
In tests involving a stochastic anharmonic oscillator, the ConvNet demonstrated its strength in handling nonlinearity. It "greatly outperformed" both the EKS and UKS, which struggled with the system's non-harmonic nature.
Robustness and Real-World Validation
The model successfully tracked signals corrupted by "impossible" noise, such as Cauchy-distributed jumps and Student-t noise, where traditional Kalman-based methods are inapplicable. Furthermore, validation on human Magnetoencephalography (MEG) data showed that the ConvNet could recover 10 Hz alpha oscillations with higher fidelity than standard Butterworth filters, effectively suppressing noise while preserving the signal's unique temporal structure.
Discussion and Conclusion
The ConvNet Smoother offers a "black-box" friendly approach to state estimation. By bypassing the need for closed-form equations, it can be applied to any system that can be simulated. Its ability to perform simultaneous model selection and state estimation makes it parameter-agnostic and highly versatile.
Future work may focus on moving beyond point estimates to provide full uncertainty distributions using techniques like conditional density estimation. Additionally, adapting the architecture for real-time filtering (using only past data) would expand its utility to applications like autonomous navigation.
Summary updated