Filter-Aware Model-Predictive Control

Baris Kayalibay, Atanas Mirchev, Ahmed Agha, Patrick van der Smagt, Justin Bayer

Abstract

Partially-observable problems pose a trade-off between reducing costs and gathering information. They can be solved optimally by planning in belief space, but that is often prohibitively expensive. Model-predictive control (MPC) takes the alternative approach of using a state estimator to form a belief over the state, and then plan in state space. This ignores potential future observations during planning and, as a result, cannot actively increase or preserve the certainty of its own state estimate. We find a middle-ground between planning in belief space and completely ignoring its dynamics by only reasoning about its future accuracy. Our approach, filter-aware MPC, penalises the loss of information by what we call “trackability”, the expected error of the state estimator. We show that model-based simulation allows condensing trackability into a neural network, which allows fast planning. In experiments involving visual navigation, realistic every-day environments and a two-link robot arm, we show that filter-aware MPC vastly improves regular MPC.

Introduction

In real-world robotics, agents rarely possess perfect information. They operate within Partially Observable Markov Decision Processes (POMDPs), where state estimation relies on noisy or intermittent sensor data. This necessitates a fundamental trade-off: should an agent prioritize the shortest path to a goal, or a path that ensures reliable sensing?

Standard Model-Predictive Control (MPC) typically ignores this trade-off, assuming a perfect state estimate will always be available. Consequently, vanilla MPC controllers often fail when paths lead through "blind spots"—areas with high sensor noise or occlusion. While planning in "belief space" (considering the full distribution of possible states) is the optimal solution, it is computationally infeasible for complex, real-time systems. Filter-Aware MPC offers a practical middle ground by explicitly reasoning about the future accuracy of the robot's state estimator.

Methodology: Defining and Learning Trackability

The core innovation of this work is the concept of Trackability, defined as the expected future error of the state estimator. A state is considered highly trackable if sensors are likely to provide high-quality data that maintains an accurate position estimate.

The concept of trackability demonstrated in a toy 2D particle task: (a) environment setup, (b) learned trackability map where darker regions indicate higher expected error, (c) resulting trajectories, and (d) success rate comparison across methods.

Rather than simulating complex filters (like Kalman or particle filters) during every planning step, the authors treat trackability as a value function. Using model-based simulations, they record estimation errors and employ temporal difference learning (TD(λ)) to train a Multi-Layer Perceptron (MLP) to predict future errors based on the current state.

During execution, the Filter-Aware MPC uses this trackability network to evaluate proposed paths. It incorporates a chance constraint, ensuring that the probability of losing track of the state remains below a predefined threshold. This allows the agent to proactively avoid regions of the state space where it is likely to become lost.

Experimental Evaluation

The method was evaluated across four diverse scenarios:

  1. Toy 2D Particle: Navigating around a "dark zone" with high observation noise.
  2. ViZDoom: A visual navigation task where one corridor was artificially corrupted to simulate sensor failure.
  3. AI2-THOR: A realistic indoor environment where a robot must navigate near reflective surfaces (mirrors) that confuse visual trackers.
  4. Brax (Two-Link Arm): A robotic arm reaching for targets with partial sensor occlusion.

Key Results

Filter-Aware MPC significantly outperformed vanilla MPC across all tasks. In the toy scenario, success rates jumped from 39% to 93%. In the ViZDoom environment, the agent learned to avoid the corrupted corridor, increasing success from 48% to 64%.

Visual navigation in ViZDoom: (a) vanilla MPC paths entering the corrupted zone, (b) agent's visual view, (c) filter-aware paths proactively avoiding the blind spot, and (d) success rate comparison.

Notably, the approach also outperformed Recurrent Neural Network (RNN) policies in the toy task. While RNNs can theoretically learn belief-space dynamics, they often struggle to find the optimal balance between cost and information compared to this constrained MPC approach. In AI2-THOR, the filter-aware agent demonstrated sophisticated behavior, such as looking away from mirrors to maintain its visual tracking.

Conclusion

Filter-Aware MPC provides a robust framework for robots operating under uncertainty by decoupling the planning phase from the complex dynamics of filtering. By learning a trackability value function, agents can proactively avoid sensing failures. Future work will address the current dependencies on accurate environment models for training and the manual tuning of safety thresholds, as well as scaling the approach to higher-dimensional state spaces.

Summary updated

BibTeX
@inproceedings{kayalibay2023filter,
  author = {Baris Kayalibay and Atanas Mirchev and Ahmed Agha and Patrick van der Smagt and Justin Bayer},
  title = {{Filter-Aware Model-Predictive Control}},
  booktitle = {L4DC},
  year = {2023},
  url = {https://openreview.net/forum?id=1CLIT1YepC},
}
Figure