Numerically robust Gaussian state estimation with singular observation noise

Nicholas Krämer, Filip TronarparXiv 2025 · DOI

Introduction

State-space models are fundamental tools in engineering and physics for estimating hidden variables from noisy observations. Standard tools like the Kalman Filter typically assume that every observation contains some degree of random noise. However, in many real-world applications—such as those involving physical constraints or high-precision sensors—some measurements are deterministic or "noise-free." This leads to a "singular" observation noise covariance matrix.

Standard Kalman filters often fail in these singular cases due to numerical instabilities like division-by-zero or ill-conditioned matrix inversions. While various workarounds exist, they often lack support for smoothing (estimating past states), fail to provide marginal likelihoods for model selection, or remain numerically fragile. This paper introduces a framework that treats noise-free observations not as a problem to be patched, but as an opportunity for dimensionality reduction, resulting in a method that is both faster and significantly more stable.

Methodology: Model Reduction and Robust Estimation

The proposed framework employs a two-stage approach to handle singular observation noise:

  1. Offline Model Reduction: Before processing data, the algorithm uses orthogonal basis changes (specifically QL and LQ decompositions) to identify the "constrained" subspace of the state—the part perfectly determined by observations. By substituting these known components, the original $n$-dimensional singular problem is transformed into a smaller, non-singular estimation task.
  2. Online Robust Estimation: During data processing, filtering and smoothing are performed on this reduced state. To maintain numerical stability, the algorithm avoids direct "covariance-arithmetic" and instead utilizes QR-style updates, which are less prone to rounding errors.

The following table compares the capabilities of this proposed method against existing state estimation algorithms, highlighting its comprehensive feature set.

Table I: Comparison of the proposed method against existing state estimation algorithms.

Experimental Evaluation

The algorithm was evaluated using synthetic benchmarks designed to test both computational efficiency and numerical limits:

  • Randomly Populated State-Space Models: These were used to measure speedups across varying state dimensions ($n=10$ to $n=1000$).
  • Hilbert Matrix Model: This serves as a "torture test" for numerical robustness. The Hilbert matrix is notoriously ill-conditioned, causing standard matrix inversion techniques to fail rapidly as system size increases.

Key Results

The results demonstrate that the proposed method offers substantial improvements in both reliability and performance.

Numerical Robustness

In the Hilbert matrix experiment, conventional smoothers using LU or Cholesky decompositions failed or produced massive errors once the state dimension reached $n=7$. In contrast, the proposed algorithm maintained high precision (indicated by low negative log-MAE) even as the system size increased, demonstrating its superior numerical stability.

Table IV: Numerical stability results on the Hilbert matrix model. The proposed method maintains low error while conventional methods fail (NaN).

Computational Efficiency

By moving the complexity of basis changes to an offline phase, the online filtering process becomes significantly leaner. For systems where half the state is constrained, the new filter requires significantly fewer floating-point operations compared to standard robust filters operating on the full system. This efficiency gain scales with the state dimension, making it ideal for real-time applications.

Conclusion

This work demonstrates that singular observation noise can be leveraged to simplify Gaussian state estimation. By combining offline model reduction with stable QR-style online updates, the authors provide a framework that is both computationally efficient and robust against ill-conditioning. While currently focused on linear Gaussian systems with known noise ranks, future extensions could adapt these techniques for non-linear models or time-varying noise characteristics.

Summary updated

BibTeX
@misc{kramer2025numerically,
  author = {Nicholas Krämer and Filip Tronarp},
  title = {{Numerically robust Gaussian state estimation with singular observation noise}},
  year = {2025},
  eprint = {2503.10279},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10279},
}
Figure