Beta Residuals: Improving Fault-Tolerant Control for Sensory Faults via Bayesian Inference and Precision Learning

Mohamed Baioumy, William Hartemink, Riccardo M. G. Ferrari, Nick Hawes · OpenReview

TL;DR

This paper proposes a unified Bayesian framework for Fault-Tolerant Control (FTC) that eliminates the need for separate detection and accommodation steps. By treating sensor "precision" (inverse covariance) as a learnable parameter, the controller naturally ignores faulty data; the authors further introduce a novel "beta residual" to provide human operators with an interpretable signal for explicit fault detection.

What Problem Does This Paper Address?

In autonomous robotics, Fault-Tolerant Control (FTC) is critical for safety. Traditionally, this is a two-step process: first, you detect and isolate the fault (FDI), and then you change the control strategy to accommodate it. However, designing these separate modules often requires extensive system knowledge and manual tuning of thresholds.

Recent "precision learning" approaches have shown that you can fold these steps into a single Bayesian inference problem. If a sensor starts providing garbage data, the system simply learns that the sensor is no longer precise and gives its measurements less weight. The catch? While the robot keeps working (implicit recovery), it doesn't actually tell the operator that a sensor has failed. This paper bridges that gap by providing a way to extract an interpretable fault signal—the beta residual—from the underlying Bayesian math.

Methods

The authors build upon two Bayesian control architectures: the unbiased Active Inference Controller (u-AIC) and a general Bayesian Controller (BC).

The core innovation lies in how they handle sensor noise. Instead of assuming a fixed noise level, they model the precision (the inverse of the variance) of each sensor as a random variable following a Gamma distribution.

  • Precision Learning: As the system operates, it updates its belief about each sensor's precision. If a sensor's readings deviate wildly from the predicted state, the learned precision drops.
  • The Beta Residual: A Gamma distribution is defined by two parameters: $\alpha$ and $\beta$. The authors identify that the $\beta$ parameter is inversely proportional to the expected precision. They propose using $\beta$ as a "residual" signal.
  • Fault Classification: To make this signal useful for humans, they use a simple logistic regression model to map the $\beta$ value to a probability (0 to 1) that a fault has occurred.

Datasets

The researchers evaluated their approach using two simulated environments:

  1. 2-DOF Robotic Manipulator: A simulation of a robot arm with three sensors (position encoder, velocity encoder, and a camera). This was used to test "hard" faults, such as a frozen joint encoder.
  2. Vehicle Cruise Control: A cruise control simulation (parameters detailed in Figure 3) used to test three types of faults: freezing, sensor drift, and "sensory injection" (adding a specific error signal).
System parameters for the cruise control simulation

Key Insights and Ideas

  • Implicit vs. Explicit: Precision learning provides "implicit" fault tolerance—the controller adapts automatically without needing a "Fault Detected!" flag to switch modes.
  • The "Trust" Parameter: The $\beta$ parameter in the Gamma distribution acts as a mathematical proxy for "trust." When $\beta$ increases, the controller's trust in that sensor decreases.
  • Unified Inference: By treating control, state estimation, and fault detection as a single inference problem, the system becomes more robust and easier to implement on embedded hardware compared to complex, multi-stage DBNs (Dynamic Bayesian Networks).

Key Results

The authors compared their Precision Learning (PL) approach against standard benchmarks like EF-FDI (Easy and Fast FDI) and SER FT (State Estimation Residual FT).

  • Tracking Accuracy: In the cruise control scenario with a sinusoidal reference and sensor injection, the PL approach maintained significantly lower tracking errors than competing methods.
Mean absolute error in state during a sensor injection fault (red highlighted period). The PL approach (green) shows superior stability.
  • Detection Performance: The novel beta residual outperformed the standard state estimation residual (RMSE) in detecting faults. As shown in the ROC curve (Figure 2), the beta residual achieved an Area Under the Curve (AUC) of 0.907, compared to 0.873 for the standard method.
ROC curve showing that the beta residual (Precision Learning) is a more effective classifier for faults than the standard SER FT residual.
  • Total Merit: Across 900 simulations covering various fault types and trajectories, the PL method achieved a "Total Merit" score of 21, vastly outperforming the next best method, SER FT, which scored 11 (see Figure 5).

Limitations and Future Work

While the beta residual provides a powerful detection signal, the current implementation relies on a supervised learning step (logistic regression) to map that signal to a fault probability. This requires labeled data of "faulty" vs "healthy" states for training.

The authors suggest that future work will focus on investigating the theoretical "detectability" properties of the beta residual—essentially figuring out exactly how small of a fault the system can reliably catch before it impacts performance.

Summary updated

BibTeX
@misc{baioumy2022beta,
  author = {Mohamed Baioumy and William Hartemink and Riccardo M. G. Ferrari and Nick Hawes},
  title = {{Beta Residuals: Improving Fault-Tolerant Control for Sensory Faults via Bayesian Inference and Precision Learning}},
  year = {2022},
  eprint = {2204.08035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.08035},
}
Figure