Resilience Analysis Through Automated Stage Identification and Quantitative Assessment
Authors: Anna Strzoda, Krzysztof Grochla, Rafael Munoz-Carpena
Organizations: Institute of Theoretical and Applied Informatics, Polish Academy of Sciences, Bałtycka 5, 44-100 Gliwice, Poland · Department of Agricultural and Biological Engineering, University of Florida, 1741 Museum Road, Gainesville, FL 32611-0570, USA
This paper introduced an ML-based approach, designed to be domain- and threat-agnostic, for automated recognition of PARA (Plan/Prepare, Absorb, Recover, Adapt) resilience stages in system-performance time series, enabling subsequent quantitative resilience analysis across different systems. We investigate four ML models for resilience stage recognition: Random Forest (RF), Support Vector Machine (SVM), Light Gradient Boosting Machine (LightGBM), and Extreme Gradient Boosting (XGBoost). We then use the ML models' predictions to quantify system resilience by computing corresponding resilience metrics from system-performance data observed before, during, and after disruptive events. We evaluate the proposed approach using datasets from two distinct operational domain network systems and an airport transportation system, demonstrating its domain-agnostic applicability to resilience assessment. The results demonstrate the effectiveness of resilience stage classification, with the best F1-scores ranging from 74.3% to 99.4% across all resilience stages. The overall resilience metrics R_t and RL are estimated, with the best models' MAPE ranging from 0.35-0.82% on IEEE 802.11 and LTE to 1.65-9.56% for the airport. These results provide a basis for threat-agnostic resilience analysis of complex engineering systems, enabling further assessment of how effectively a system withstands, absorbs, and recovers from disruptive events and stress conditions.
Figures & tables
Fig. 1: Graphical illustration of the resilience curve archetype and the corresponding resilience stages.
Fig. 2: Workflow of ML-based resilience stage recognition for resilience quantification.
Fig. 3: System performance ( ρ ) trajectories from the Airport simulation dataset used for external validation, generated under different parameter configurations ( tf∈{50,60,70} , δ∈{70,80,90} ). Each subplot presents the mean trajectory, with the shaded area indicating the range of 30 trajectories generated using different random seeds for each parameter configuration.
Symbol
Description
Δ
Duration of a single simulation run
tf
Disruption onset time
tg
Recovery onset time
δ
Shock duration, δ=tg−tf
th
Time of Recovery completion
RL
Resilience loss area
TABLE I: Symbols and notation used in this study
Fig. 4: Schematic overview of the ML-based resilience stage recognition development. The pipeline includes data preprocessing, training of ML models (SVM, LightGBM, XGBoost, and RF), inference, and post-processing.
Symbol
Description
Measuring Unit
Mathematical Expression
RL [ 5 , 6 ]
Resilience Loss area (see Fig. 1 )
Performance × Time
Eq. ( 14 )
Rt [ 18 , 13 ]
Overall system resilience - ratio of actual to expected area under the resilience curve
Dimensionless (0–1)
Eq. ( 13 )
ϵ [ 12 , 6 ]
Duration of the degraded state
Time (or steps)
Eq. ( 12 )
Λ [ 12 , 6 ]
Resilience degradation
Dependent on system performance units
Eq. ( 16 )
TABLE II: Resilience metrics considered in this study
Fig. 5: System-performance time series from the dataset described in Section III , illustrating representative curves from IEEE 802.11, LTE, and Airport systems, together with the corresponding resilience-stage classifications obtained using the LightGBM-based approach vs. ground truth (GT).
Fig. 6: Confusion matrices for the RF, SVM, XGBoost and LightGBM models for IEEE 802.11 & LTE datasets.
Fig. 7: Confusion matrices for the RF, SVM, XGBoost and LightGBM models for the Airport dataset.
Model
Stage
IEEE 802.11 & LTE (test set)
Airport (external validation set)
Precision (%)
Recall (%)
F1-Score (%)
Precision (%)
Recall (%)
F1-Score (%)
RF
Plan
99.55
96.81
98.16
82.52
98.46
89.79
Absorb
97.00
99.24
98.11
96.89
76.12
85.26
Recover
52.88
66.30
58.83
90.21
85.63
87.86
SVM
Plan
99.63
97.26
98.43
86.61
99.94
92.80
Absorb
97.11
98.76
97.93
98.51
84.79
91.14
TABLE III: Performance of the ML models on the IEEE 802.11 & LTE test set and on the Airport external validation dataset.
Model
Stage
Precision (%)
Recall (%)
F1-Score (%)
RF
Plan
99.54 ± 0.22
97.09 ± 0.31
98.30 ± 0.16
Absorb
96.78 ± 0.21
99.38 ± 0.40
98.06 ± 0.16
Recover
59.37 ± 4.62
67.91 ± 2.67
63.32 ± 3.62
SVM
Plan
99.54 ± 0.25
97.04 ± 0.37
98.27 ± 0.12
Absorb
97.10 ± 0.26
98.56 ± 0.83
97.82 ± 0.39
Recover
57.61 ± 3.96
73.43 ± 1.80
64.52 ± 3.01
TABLE IV: Mean and standard deviation of performance metrics (in %) from 5-fold cross-validation on the IEEE 802.11 & LTE dataset.
Resilience Metric
Model
IEEE 802.11 & LTE (test set)
Airport (external validation set)
MAE
RMSE
MAPE (%)
MAE
RMSE
MAPE (%)
Rt [ 18 , 13 ]
RF
0.011
0.015
1.54
0.07
0.08
15.00
SVM
0.010
0.015
1.51
0.07
0.07
13.38
XGBoost
0.005
0.013
0.82
0.05
0.05
10.07
LightGBM
0.005
0.013
0.87
0.05
0.05
9.56
RL [ 5 , 6 ]
RF
0.05
0.11
0.55
2.94
3.36
5.55
TABLE V: Comparison of MAE, RMSE, and MAPE metrics between the IEEE 802.11 & LTE dataset test set and Airport external validation set.
Fig. 8: Empirical Cumulative Distribution Functions (ECDFs) of the Absolute Percentage Error (APE) for the resilience metrics Rt , RL, ϵ , and Λ , comparing LightGBM model-based results on the IEEE 802.11 & LTE test set and Airport external validation set.
Resilience Metric
Dataset
<3%
<5%
<10%
<15%
<20%
<25%
Rt [ 18 , 13 ]
IEEE 802.11 & LTE
95.7
97.8
98.9
98.9
98.9
100
Airport
0.37
8.5
64.8
88.5
98.2
100
RL [ 5 , 6 ]
IEEE 802.11 & LTE
100
100
100
100
100
100
Airport
87.0
96.3
99.6
100
100
100
ϵ [ 12 , 6 ]
IEEE 802.11 & LTE
69.6
81.5
97.8
100
100
100
Airport
13.3
32.2
72.6
89.3
96.3
99.3
TABLE VI: Empirical cumulative distribution function (ECDF) of APE (%) for resilience metrics under the best-performing ML model (LightGBM).
Fig. 9: Scatter plots of model-based vs ground truth for all metrics Rt , RL, ϵ , Λ for IEEE 802.11 & LTE dataset.
Fig. 10: Scatter plots of model-based vs. ground truth for all metrics Rt , RL, ϵ , Λ for the Airport dataset.
The growing complexity of software calls for innovative solutions that support the deployment of reliable and secure software. Machine Learning (ML) has shown its applicability to various complex problems and is frequently used in the dependability domain, both for supporting systems design and verification activities. However, using ML is complex and highly dependent on the problem in hand, increasing the probability of mistakes that compromise the results. In this paper, we introduce Propheticus, a ML framework that can be used to create predictive models for reliable and secure software systems. Propheticus attempts to abstract the complexity of ML whilst being easy to use and accommodating the needs of the users. To demonstrate its use, we present two case studies (vulnerability prediction and online failure prediction) that show how it can considerably ease and expedite a thorough ML workflow.
In embodied cyber-physical systems, active cyberattacks pose an immediate threat not just to data, but to physical integrity and human safety. While existing security approaches excel at detection, they lack the runtime mechanisms to determine whether a disruption is tolerable or if performance degradation remains within safe operational bounds. This gap leaves autonomous systems vulnerable to graceful failure paralysis, where they cannot distinguish between a safe, degraded state and a catastrophic hazard during an ongoing attack. This paper presents RobResilience, an implementation of a formal resilience framework for embodied cyber-physical systems in a Webots simulation environment, using a PR2 robot and ROS2. The framework evaluates three predicates at runtime: tolerable disruption (δ), tolerable degradation (γ), and mitigation feasibility (μ), over a compromised device set derived from IDS confidence scores. When resilience is lost, the framework triggers available mitigation strategies. We evaluate our implementation through eight attack scenarios that systematically cover all possible combinations of the predicate state space, varying attack targets, degradation rates, and mitigation availability. Results confirm that the runtime behaviour of the implementation is consistent with the theoretical definitions.
Aggregate performance metrics do not identify local modelling inaccuracies in machine learning (ML) surrogates used for thermal-system optimisation. This study assesses local modelling strength through validation-based reliability screening and post-optimisation residual assessment. A two-stage residual learning (TSRL) framework, built on artificial neural networks (ANNs), is developed for modelling-strength-informed and domain-constrained optimisation of thermal systems. Within the TSRL framework, a base ANN predicts the process output, and a residual ANN learns the signed residuals left by the base ANN. The TSRL framework is implemented on two case studies of thermal systems, including 817 simulation observations of a crude distillation unit and operating records from a 395 MW industrial gas turbine. The TSRL framework reduces the test root mean square error (RMSE) from 10.3 g/s to 4.7 g/s for Fuel Oil in the refinery dataset and from 151 kJ/kWh to 105 kJ/kWh for turbine heat rate (THR). The base ANNs trained within TSRL are embedded in domain-constrained optimisation problems, and the modelling strength at each computed solution is assessed using the locked residual-score threshold. Each computed solution receives a good modelled region (GMR) or weak modelled region (WMR) label to inform ML model-based decision-making for safety-critical operation of thermal systems.
Talha Ansar, Waqar Muhammad Ashraf, Abdulelah S. Alshehri +1
Department of Mechanical Engineering, University of Engineering and Technology Lahore, Kala Shah Kaku, Pakistan · The Sargent Centre for Process Systems Engineering, Department of Chemical Engineering, University College London, London, UK · Department of Chemical Engineering, College of Engineering, King Saud University, Riyadh, Saudi Arabia +3