Deep Nonlinear Non-Gaussian Filtering for Dynamical Systems

Arash Mehrjou, Bernhard Schölkopf

Abstract

State estimation in complex dynamical systems is a fundamental challenge in control theory, typically addressed by Gaussian Filters (GF). However, GF relies on assumptions of linearity and Gaussian noise that are frequently violated in real-world applications involving sensors with dead zones or sharp discontinuities. This paper proposes a deep learning framework that utilizes implicit generative models to learn non-linear, non-Gaussian filtering directly from data. The architecture consists of a feature extractor and a generator trained with a diversity-promoting loss function to sample from the posterior distribution. Experimental results on a synthetic system with a Heaviside step function show that the proposed method significantly outperforms traditional Gaussian and Nonlinear Gaussian Filters in capturing complex, multi-modal uncertainties.

1. Introduction

In robotics and control systems, the "true" state of a system—such as the precise orientation of a joint or the position of a vehicle—is rarely directly observable. Instead, practitioners must rely on noisy sensor readings. The process of fusing these observations with prior knowledge to estimate the true state is known as filtering.

For decades, Gaussian Filtering (GF) has been the standard approach. However, GF is built upon two restrictive assumptions: affinity (the relationship between states and observations is approximately linear) and Gaussianity (uncertainty follows a normal distribution). In practice, sensors often exhibit non-linear behaviors like saturation or sharp jumps, and noise can be skewed or multi-modal. When these assumptions fail, standard filters produce inaccurate "hallucinated" estimates, potentially leading to system failure.

2. Deep Nonlinear Non-Gaussian Filtering

To overcome the limitations of traditional filters, this work moves away from closed-form mathematical derivations of the state. Instead, it leverages implicit generative models—neural networks trained to produce samples directly from the posterior distribution $P(x|y)$.

2.1 Architecture

The proposed framework employs a two-part neural network architecture:

  1. Feature Extractor ($\phi$): A Multilayer Perceptron (MLP) that maps raw sensor data into a high-dimensional feature space.
  2. Generator ($\psi$): This component takes the features from $\phi$ and combines them with a latent noise variable $z \sim \mathcal{N}(0, I)$. It then outputs a state estimate $x = \psi(\phi(y), z)$.

By using MLPs, the filter acts as a universal approximator, capable of learning complex functional mappings that can represent sharp discontinuities. Furthermore, the model can incorporate a window of past observations ($y_{t-T_0:t}$) to account for systems with temporal dependencies.

State-observation evolution and the proposed neural network architecture for posterior sampling.

2.2 Training and Diversity

The model is trained using a loss function designed to balance accuracy and uncertainty. A key component is the "diversity coefficient," which prevents "mode collapse"—a common issue in generative models where the network outputs only a single average value. By maximizing the distance between generated samples, the model is forced to represent the full spread of the posterior distribution. The hyper-parameter $\lambda$ controls this balance, ensuring the filter remains appropriately uncertain at critical transition points.

3. Experimental Evaluation

The authors evaluated the proposed method on a synthetic "Heaviside" system, where observations $y$ are related to the state $x$ via a step function ($y = 5H(x)$). This setup introduces a sharp discontinuity at $x=0$, presenting a significant challenge for conventional filters.

3.1 Baselines and Results

The performance was compared against standard Gaussian Filters (GF) and Nonlinear Gaussian Filters (NGF) using polynomial kernels.

  • Gaussian Filter (GF): Failed to capture the non-linear step, producing a linear approximation that deviated significantly from the observations.
  • Nonlinear Gaussian Filter (NGF): While better than GF, NGF proved highly sensitive to the polynomial degree. Low-degree models were overly simplistic, while high-degree models exhibited erratic behavior and unrealistic uncertainty near the discontinuity.
  • Proposed Method: Successfully tracked the "S-curve" of the posterior. It accurately identified that uncertainty is minimal when the state is far from zero and increases sharply at the jump point, consistent with the underlying physics.
Comparison of posterior estimation $P(x|y)$ between the proposed method and standard Gaussian/Nonlinear Gaussian filters.

4. Conclusion

This paper demonstrates that deep implicit generative models can effectively solve complex state estimation problems where traditional filters fail. By learning to sample from the posterior distribution directly, the proposed method handles sharp non-linearities and non-Gaussian noise with high fidelity.

Future work includes developing unsupervised or self-supervised training regimes to eliminate the need for ground-truth state pairs, which are often unavailable in real-world settings. Additionally, optimizing the computational cost of training for specific dynamical systems remains an area for further exploration.

Summary updated

BibTeX
@inproceedings{mehrjou2018deep,
  author = {Arash Mehrjou and Bernhard Schölkopf},
  title = {{Deep Nonlinear Non-Gaussian Filtering for Dynamical Systems}},
  booktitle = {MPG.PuRe},
  year = {2018},
}
Figure