High-Dimensional Fault Tolerance Testing of Highly Automated Vehicles Based on Low-Rank Models

Yuewen Mei, Tong Nie, Jian Sun, Ye Tian

Abstract

Ensuring fault tolerance of Highly Automated Vehicles (HAVs) is crucial for their safety due to the presence of potentially severe faults. Hence, Fault Injection (FI) testing is conducted by practitioners to evaluate the safety level of HAVs. To fully cover test cases, various driving scenarios and fault settings should be considered. However, due to numerous combinations of test scenarios and fault settings, the testing space can be complex and high-dimensional. In addition, evaluating performance in all newly added scenarios is resource-consuming. The rarity of critical faults that can cause security problems further strengthens the challenge. To address these challenges, we propose to accelerate FI testing under the low-rank Smoothness Regularized Matrix Factorization (SRMF) framework. We first organize the sparse evaluated data into a structured matrix based on its safety values. Then the untested values are estimated by the correlation captured by the matrix structure. To address high dimensionality, a low-rank constraint is imposed on the testing space. To exploit the relationships between existing scenarios and new scenarios and capture the local regularity of critical faults, three types of smoothness regularization are further designed as a complement. We conduct experiments on car following and cut in scenarios. The results indicate that SRMF has the lowest prediction error in various scenarios and is capable of predicting rare critical faults compared to other machine learning models. In addition, SRMF can achieve 1171 acceleration rate, 99.3% precision and 91.1% F1 score in identifying critical faults. To the best of our knowledge, this is the first work to introduce low-rank models to FI testing of HAVs.

Introduction

Highly Automated Vehicles (HAVs) must be resilient to faults, whether they are caused by hardware malfunctions or malicious cyber-attacks. To ensure safety, engineers use Fault Injection (FI) testing—deliberately introducing errors to see if the car can handle them.

However, FI testing faces a "curse of dimensionality." There are near-infinite combinations of driving scenarios (e.g., weather, speed, distance) and fault parameters (e.g., when the fault happens, how severe it is). Running full-scale simulations for every combination is computationally impossible, and the most dangerous "critical faults" are often extremely rare, making them easy to miss. Existing machine learning models often struggle to generalize to entirely new scenarios or overfit the limited data available.

Methodology: Smoothness Regularized Matrix Factorization (SRMF)

The proposed SRMF framework shifts the perspective from standard regression to Low-Rank Matrix Factorization.

  1. Low-Rank Matrix Structure: Sparse test data is organized into a matrix where rows represent fault values and columns represent combinations of scenarios and injection times. Because similar scenarios often result in similar safety outcomes, the matrix has a "low-rank" structure—meaning the entire matrix can be reconstructed from just a few key patterns.
  2. Smoothness Regularization: To improve accuracy, three specific "smoothness" constraints were added:
  3. Temporal Smoothness: Captures the logic that a fault injected at 2.0 seconds is likely to have a similar effect to one injected at 2.1 seconds.
  4. Scenario Smoothness: Assumes that a car's reaction in one scenario is correlated with its reaction in a slightly different but related scenario.
  5. Auto-regression: Captures local regularities in fault values to better identify the boundaries of "critical" (dangerous) zones.
Structural representation of the SRMF framework for matrix completion.

By solving this as a matrix completion problem, the model "fills in the blanks" for thousands of untested scenarios based on a tiny fraction of actual simulations.

Experimental Setup

The model was evaluated using two common high-stakes driving scenarios:

  • Car Following: A vehicle following a lead car that experiences a fault.
  • Cut-in: A vehicle in the adjacent lane cutting in front of the HAV.

The testing space included 44,462 unique combinations of scenario parameters (like initial distance) and fault parameters (injection time and fault magnitude). The HAVs were controlled using the standard Intelligent Driver Model (IDM).

Results and Discussion

SRMF demonstrates significant advantages in both efficiency and accuracy. Unlike models like XGBoost that treat every test case as an independent sample, SRMF exploits the inherent structure of the testing space. It recognizes that safety performance follows patterns across dimensions.

Comparison of SRMF against baseline models in predicting safety indicators.

Key performance metrics include:

  • Massive Speedup: SRMF calculated results in 1.6 seconds that would have taken 1875 seconds to simulate—an acceleration rate of 1171x.
  • High Fidelity: In identifying critical faults (those leading to collisions or near-misses), SRMF achieved 99.3% precision and a 91.1% F1 score.
  • Superior Generalization: When tested on completely new scenarios, SRMF maintained a much lower error rate (MAE of 0.090) compared to popular baselines like XGBoost (0.299) and MLP (0.257).
  • Rare Fault Detection: In scenarios where critical faults occurred less than 1% of the time, SRMF still identified them with 100% precision in several test cases, whereas models like XGBoost failed entirely.

Conclusion

While highly effective, the research identifies areas for future growth. Real-world testing involves more variables (weather, sensor noise, multi-car interactions), which will require scaling the model to "Low-Rank Tensors." Additionally, combining SRMF with active learning methods could further optimize the search for rare faults. As with all simulation-based testing, the gap between virtual environments and real-world physics remains a factor requiring constant calibration.

Summary updated

BibTeX
@inproceedings{mei2024high,
  author = {Yuewen Mei and Tong Nie and Jian Sun and Ye Tian},
  title = {{High-Dimensional Fault Tolerance Testing of Highly Automated Vehicles Based on Low-Rank Models}},
  booktitle = {ITSC},
  year = {2024},
  url = {https://openreview.net/forum?id=CIn5WJGKvV},
}
Figure