Abstract
The accuracy of moving horizon estimation (MHE) suffers significantly in the presence of measurement outliers. Existing methods address this issue by treating measurements leading to large MHE cost function values as outliers, which are subsequently discarded. This strategy, achieved through solving combinatorial optimization problems, is confined to linear systems to guarantee computational tractability and stability. Contrasting these heuristic solutions, our work reexamines MHE from a Bayesian perspective, unveils the fundamental issue of its lack of robustness: MHE's sensitivity to outliers results from its reliance on the Kullback-Leibler (KL) divergence, where both outliers and inliers are equally considered. To tackle this problem, we propose a robust Bayesian inference framework for MHE, integrating a robust divergence measure to reduce the impact of outliers. In particular, the proposed approach prioritizes the fitting of uncontaminated data and lowers the weight of contaminated ones, instead of directly discarding all potentially contaminated measurements, which may lead to undesirable removal of uncontaminated data. A tuning parameter is incorporated into the framework to adjust the robustness degree to outliers. Notably, the classical MHE can be interpreted as a special case of the proposed approach as the parameter converges to zero. In addition, our method involves only minor modification to the classical MHE stage cost, thus avoiding the high computational complexity associated with previous outlier-robust methods and inherently suitable for nonlinear systems. Most importantly, our method provides robustness and stability guarantees, which are often missing in other outlier-robust Bayes filters. The effectiveness of the proposed method is demonstrated on simulations subject to outliers following different distributions, as well as on physical experiment data.
Introduction
Moving Horizon Estimation (MHE) is a cornerstone of modern state estimation in robotics and control, valued for its ability to handle nonlinear dynamics and constraints by optimizing over a sliding window of past data. However, MHE has a significant vulnerability: sensitivity to outliers. A single malfunctioning sensor or an unexpected reflection can produce measurements that pull the entire estimate off track.
Existing solutions typically treat this as a binary "keep or toss" problem, using heuristic thresholds to discard outliers. These approaches often lead to NP-hard combinatorial optimization problems that are computationally prohibitive for real-time use and are generally restricted to linear systems. This research identifies the root cause of this sensitivity not as an optimization flaw, but as a fundamental property of the Bayesian foundations of MHE.
Rethinking MHE: From KL to $\beta$-Divergence
Standard MHE is implicitly based on the Kullback-Leibler (KL) divergence, which treats all data points with equal importance. In the presence of outliers, the KL divergence forces the estimated distribution to account for the "tails" of the data, leading to significant estimation bias.
As shown in the figure above, when the original distribution contains outliers (the secondary peak), the fit using KL divergence (cyan) is pulled away from the true mean to accommodate the contaminated data. In contrast, the proposed $\beta$-divergence (magenta) allows the estimator to prioritize the primary data distribution, effectively ignoring the outliers and providing a much more robust fit.
The $\beta$-MHE Framework
We propose $\beta$-MHE, a framework that integrates Robust Bayesian Inference (RBI) into MHE by replacing the KL divergence with the $\beta$-divergence.
- The $\beta$ Parameter: A tuning parameter, $\beta$, adjusts the estimator's robustness. As $\beta$ increases, the estimator becomes increasingly "skeptical" of measurements that deviate from the predicted model. When $\beta$ converges to zero, the system reverts to classical MHE.
- Soft Weighting: Instead of discarding data, $\beta$-MHE "softly" downweights contaminated measurements. This prevents the accidental loss of useful information that often occurs with hard-discarding heuristics.
- Computational Efficiency: The framework requires only a minor modification to the MHE stage cost function. This ensures that $\beta$-MHE maintains nearly the same computational speed as standard MHE, making it inherently suitable for high-speed nonlinear systems.
- Stability Guarantees: Unlike many heuristic filters, $\beta$-MHE comes with rigorous theoretical guarantees, including bounded influence functions for outliers and Robust Asymptotic Stability (RAS).
Experimental Results
The effectiveness of $\beta$-MHE was validated through simulations and physical experiments:
- Linear Tracking: In simulations with 20% outliers, $\beta$-MHE achieved significantly lower Root Mean Square Error (RMSE) than both the standard Kalman Filter and classical MHE.
- Nonlinear Reactor: In a chemical engineering benchmark, $\beta$-MHE remained stable and accurate even as outlier probability increased, while the Unscented Kalman Filter (UKF) and standard MHE performance degraded rapidly.
- Physical Robot Localization: In a warehouse vehicle experiment using Lidar, $\beta$-MHE successfully handled sensor outliers with a negligible processing overhead of only 4 microseconds per step compared to standard MHE (0.028 ms vs 0.024 ms).
Conclusion
$\beta$-MHE offers a theoretically sound and computationally efficient solution to the outlier problem in state estimation. By shifting the Bayesian foundation from KL to $\beta$-divergence, we achieve robustness without sacrificing the real-time performance necessary for modern robotics. Future work will explore automated tuning for the $\beta$ parameter and scaling the framework to high-dimensional state spaces.
Summary updated