System Safety Monitoring of Learned Components Using Temporal Metric Forecasting

Read original: arXiv:2405.13254 - Published 5/24/2024 by Sepehr Sharifi, Andrea Stocco, Lionel C. Briand
Total Score

0

🗣️

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • Importance of safety monitoring in learning-enabled autonomous systems
  • Challenges in developing practical safety monitors for real-world applications
  • Proposed approach: probabilistic time series forecasting to predict safety metric violations

Plain English Explanation

In complex autonomous systems that use machine learning, it is crucial to have a safety monitoring system that can ensure the system's outputs do not violate any safety requirements, given the real-world context in which the system operates. However, building an effective safety monitor for practical use is challenging due to limited access to the internal workings and training data of the machine learning components.

To address this challenge, the researchers propose a safety monitoring method based on probabilistic time series forecasting. They use deep learning models to predict a "safety metric" that captures whether the system is satisfying or violating its safety requirements, based on the outputs of the machine learning components and the operational context.

The key idea is to use these forecasting models to predict potential safety violations before they actually occur, allowing the system to take corrective action. The researchers evaluate several state-of-the-art deep learning models for this task, looking at factors like prediction accuracy, latency, and computational resource usage. Their results show that this approach is effective, and that the Temporal Fusion Transformer (TFT) model performed best for their autonomous aviation case study, with high accuracy in predicting imminent safety issues and acceptable latency and resource consumption.

Technical Explanation

The researchers address the challenge of developing effective safety monitors for learning-enabled autonomous systems. They propose a method based on probabilistic time series forecasting to predict violations of safety requirements, given the outputs of the learned components and the operational context.

Specifically, they investigate different deep learning-based probabilistic forecasting models to predict an "objective measure" or "safety metric" that captures whether the system is satisfying or violating its safety requirements. They evaluate four state-of-the-art models, including the Temporal Fusion Transformer (TFT), on an autonomous aviation case study, looking at factors like prediction accuracy, inference latency, and resource usage.

The results suggest that probabilistic forecasting of safety metrics is an effective approach for safety monitoring in these systems. Furthermore, the TFT model performed best in the autonomous aviation case study, accurately predicting imminent safety violations with acceptable latency and computational resource consumption.

Critical Analysis

The researchers acknowledge that their proposed safety monitoring approach has some limitations. For example, they note that their method relies on having access to the outputs of the learned components, which may not always be the case in real-world deployments. Additionally, they point out that the accuracy of the safety metric predictions may be influenced by the quality and representativeness of the training data used for the forecasting models.

While the results are promising, further research is needed to address these limitations and explore the applicability of the approach to a wider range of learning-enabled autonomous systems and safety requirements. It would also be valuable to investigate techniques for improving the interpretability and explainability of the safety monitoring system, to enhance trust and transparency for end-users.

Conclusion

This research proposes an innovative safety monitoring approach for learning-enabled autonomous systems, using probabilistic time series forecasting to predict safety metric violations before they occur. The results demonstrate the effectiveness of this method, particularly the strong performance of the Temporal Fusion Transformer model in the autonomous aviation case study.

While the proposed approach has some limitations, it represents an important step forward in ensuring the safety of complex autonomous systems that rely on machine learning components. Further development and refinement of this technology could have significant implications for the safe deployment of autonomous systems in a wide range of real-world applications, from transportation to healthcare to industrial automation.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

🗣️

Total Score

0

System Safety Monitoring of Learned Components Using Temporal Metric Forecasting

Sepehr Sharifi, Andrea Stocco, Lionel C. Briand

In learning-enabled autonomous systems, safety monitoring of learned components is crucial to ensure their outputs do not lead to system safety violations, given the operational context of the system. However, developing a safety monitor for practical deployment in real-world applications is challenging. This is due to limited access to internal workings and training data of the learned component. Furthermore, safety monitors should predict safety violations with low latency, while consuming a reasonable amount of computation. To address the challenges, we propose a safety monitoring method based on probabilistic time series forecasting. Given the learned component outputs and an operational context, we empirically investigate different Deep Learning (DL)-based probabilistic forecasting to predict the objective measure capturing the satisfaction or violation of a safety requirement (safety metric). We empirically evaluate safety metric and violation prediction accuracy, and inference latency and resource usage of four state-of-the-art models, with varying horizons, using an autonomous aviation case study. Our results suggest that probabilistic forecasting of safety metrics, given learned component outputs and scenarios, is effective for safety monitoring. Furthermore, for the autonomous aviation case study, Temporal Fusion Transformer (TFT) was the most accurate model for predicting imminent safety violations, with acceptable latency and resource consumption.

Read more

5/24/2024

Learning Run-time Safety Monitors for Machine Learning Components
Total Score

0

Learning Run-time Safety Monitors for Machine Learning Components

Ozan Vardal, Richard Hawkins, Colin Paterson, Chiara Picardi, Daniel Omeiza, Lars Kunze, Ibrahim Habli

For machine learning components used as part of autonomous systems (AS) in carrying out critical tasks it is crucial that assurance of the models can be maintained in the face of post-deployment changes (such as changes in the operating environment of the system). A critical part of this is to be able to monitor when the performance of the model at runtime (as a result of changes) poses a safety risk to the system. This is a particularly difficult challenge when ground truth is unavailable at runtime. In this paper we introduce a process for creating safety monitors for ML components through the use of degraded datasets and machine learning. The safety monitor that is created is deployed to the AS in parallel to the ML component to provide a prediction of the safety risk associated with the model output. We demonstrate the viability of our approach through some initial experiments using publicly available speed sign datasets.

Read more

6/26/2024

🔮

Total Score

0

How Safe Am I Given What I See? Calibrated Prediction of Safety Chances for Image-Controlled Autonomy

Zhenjiang Mao, Carson Sobolewski, Ivan Ruchkin

End-to-end learning has emerged as a major paradigm for developing autonomous systems. Unfortunately, with its performance and convenience comes an even greater challenge of safety assurance. A key factor of this challenge is the absence of the notion of a low-dimensional and interpretable dynamical state, around which traditional assurance methods revolve. Focusing on the online safety prediction problem, this paper proposes a configurable family of learning pipelines based on generative world models, which do not require low-dimensional states. To implement these pipelines, we overcome the challenges of learning safety-informed latent representations and missing safety labels under prediction-induced distribution shift. These pipelines come with statistical calibration guarantees on their safety chance predictions based on conformal prediction. We perform an extensive evaluation of the proposed learning pipelines on two case studies of image-controlled systems: a racing car and a cartpole.

Read more

6/21/2024

🔗

Total Score

0

Myopically Verifiable Probabilistic Certificates for Safe Control and Learning

Zhuoyuan Wang, Haoming Jing, Christian Kurniawan, Albert Chern, Yorie Nakahira

This paper addresses the design of safety certificates for stochastic systems, with a focus on ensuring long-term safety through fast real-time control. In stochastic environments, set invariance-based methods that restrict the probability of risk events in infinitesimal time intervals may exhibit significant long-term risks due to cumulative uncertainties/risks. On the other hand, reachability-based approaches that account for the long-term future may require prohibitive computation in real-time decision making. To overcome this challenge involving stringent long-term safety vs. computation tradeoffs, we first introduce a novel technique termed `probabilistic invariance'. This technique characterizes the invariance conditions of the probability of interest. When the target probability is defined using long-term trajectories, this technique can be used to design myopic conditions/controllers with assured long-term safe probability. Then, we integrate this technique into safe control and learning. The proposed control methods efficiently assure long-term safety using neural networks or model predictive controllers with short outlook horizons. The proposed learning methods can be used to guarantee long-term safety during and after training. Finally, we demonstrate the performance of the proposed techniques in numerical simulations.

Read more

4/29/2024