The Results section separates exploratory model-selection evidence from the final duplicate-aware leakage-safe evaluation. Section 4.1–4.8 retain the original-split backbone screening, head comparisons, representation visualizations, explainability analyses, and operational design evidence. These results support component selection but are not used as the final headline performance. Section 4.9 and 4.10 report the verified ablation, leakage-safe classifier results, class-wise support, generalization gap, bootstrap confidence intervals, calibration, and validation-derived recommender thresholds used for the final conclusions.
Stage-1 backbone screening results and model selection (Softmax Head)
Table 6; Fig. 9 show the preliminary results of backbone screening for the original split dataset. The purpose of these experiments is to support the justification for choosing ResNet50 and Swin Transformer Tiny. All of the claims about their performance in terms of accuracy come from the leakage-proof split that was described in Sect. 4.10. According to the standard screening process, ResNet50 had the best F1-score of all of the CNN models, while Swin-T gave the complementary representation of global context.
Table 6 Stage-1 backbone comparison.Fig. 9
Stage-1 backbone screening on the six-class CDD setting using a softmax neural head. (a) Comparative Train/Val/Test performance of DenseNet201, EfficientNet-B4, ResNet50, and Swin-Transformer Tiny reported with accuracy, macro-precision/recall/F1, and weighted-precision/recall/F1. (b) Test confusion matrix for ResNet50, showing strong diagonal dominance and dominant Non_Damage recognition under no-downsampling conditions. (c) Test confusion matrix for Swin-Transformer Tiny. (d) One-vs-Rest (OvR) ROC curves for ResNet50 across all six classes. (e) OvR ROC curves for Swin-Transformer Tiny. ResNet50 is selected as the best CNN backbone by test macro-F1, while Swin-T is retained as the best Transformer backbone for the subsequent dual-path HYDRA-XAI pipeline.
Stage-2 classifier head analysis and comparative ROC evaluation
Preliminary head-screening experiments using original splits are presented in Table 7; Fig. 10 using ResNet50 and Swin-T embeddings for the frozen model. This clearly demonstrates how these models work in concert with each other during the training phase. All these observations are considered only to be kept as exploratory insights; however, the classifier used as well as the metrics that ensure security against data leakage are done using XGBoost and SVM-RBF on 2816-dimensional data.
Table 7 Stage-2 head-wise comparison.Fig. 10
Stage-2 classifier head comparison using frozen ResNet50 and Swin-T embeddings: (a) head-wise performance bar chart on the test set, (b) OvR ROC curves for the best ResNet50 classifier head, and (c) OvR ROC curves for the best Swin-T classifier head.
Stage-3 within-backbone 3-head ensemble
Table 8; Fig. 11 show the kept ablation, which uses the original split within-backbone three head experiment for evaluating if averaging using Softmax, XGBoost, and SVM-RBF will help stabilize predictions by applying them individually to each frozen embedding. Note that this particular structure is not used in the final implementation of the model. Instead, the final model uses both ResNet50 and Swin-T embeddings with the chosen XGBoost and SVM-RBF combination from Sect. 4.10.
Table 8 Stage-3 tri-head gains comparison.Fig. 11
Performance of within-backbone 3-head ensembles for ResNet50 and Swin-T, showing (a) comparative accuracy and macro-F1, (b) ResNet50 ensemble confusion matrix, and (c) Swin-T ensemble confusion matrix on the test set.
Stage-4: final dual-path ensemble performance analysis
Table 9; Fig. 12 represent the original split decision level dual path ensemble as an ablation study. Although the results from the above mentioned experiments prove that feature level combination may lead to model error reduction, the actual HYDRA-XAI architecture does not use this approach. Instead, it uses feature level concatenation of the 2048-dimensional ResNet50 and 768-dimensional Swin-T embeddings, then XGBoost and SVM-RBF mean probability fusion. Therefore, the final conclusions will be based on leakage-free Table 16; Figs. 13, 14, 15, 16, 17 and 18.
Figure 12(b) also confirms these findings, since the confusion matrix exhibits a largely diagonal structure, which is indicative of accurate classification across all six categories of disasters. Misclassifications are infrequent and confined for the most part to damage classes with close semantic relationships, while the Non-Damage class is almost perfectly separable. Cross-class perplexity is appreciably reduced compared to earlier stages, confirming that ambiguities still unresolved by either of the component backbones, or by single-path ensemble methods, are mitigated effectively by dual-path fusion.
Finally, the OvR ROC curves of Fig. 12(c) demonstrate near-optimal separability between all classes, with AUC values of close to 1.0 for most of the key categories, including Fire Disaster, Human Damage, and Non-Damage. The consistently steep ROC curves across the different classes indicate robust confidence calibration and negligible false-positive rates, which are indicative of very reliable subsequent risk-informed decision making. Collectively, the results of Table 9; Fig. 12 here confirm that Stage-4 dual-path ensembling leads to the most robustly stable, discriminative, and operationally reliable performance within the HYDRA-XAI pipeline, providing a solid foundation for the subsequent explainability-driven recommender system.
Table 9 Performance comparison of the Stage-4 final dual-path ensemble on the CDD test set.Fig. 12
Stage-4 final ensemble results: (a) overall performance metrics, (b) confusion matrix, and (c) one-vs-rest ROC curves.
Feature space: t-SNE and UMAP embedding analysis
Figure 13(a) shows the deep feature space obtained through t-SNE, from which the effectiveness of the framework in distinguishing between the six classes of disasters after representation learning can be better observed. This plot suggests that the major Non_Damage class forms a dense, coherent, and basically insular cluster. This indicates high within-class coherence and strong confidence in the identification of normal scenes. The other disaster classes, viz., Damaged_Infrastructure, Fire_Disaster, Human_Damage, Land_Disaster, and Water_Disaster, are individual clusters scattered around the embedding space, which implies that meaningful class-specific semantics are captured by the model instead of crowding different disaster patterns into one region. Where partial overlaps occur, typically between visually correlated classes, such as Damaged_Infrastructure versus Land_Disaster or Water_Disaster versus certain damage patterns, these correspond to real-world ambiguities, including shared textures, debris, haze, water surfaces, and complex backgrounds. More importantly, even the minority classes are identifiable as coherent sub-clusters without indiscriminate dispersion, thus supporting the claim that the learned embeddings are indeed robust against class imbalance and capable of preserving discriminative features for under-represented categories.
Figure 13(b) shows the same feature space by UMAP, which often preserves both local neighborhoods and the manifold structure better than T-SNE. In this case, the embedding exhibits smoother and more distinctly separated class regions: the Non_Damage cluster is still well separated, which further confirms that the representation clearly distinguishes between normal imagery and calamity imagery. The disaster classes form more continuous manifolds with sharp boundary transitions, indicating that the model reaches a stable topology-the samples within the same class remain close to each other (high local coherence), while semantically related disaster categories may occupy proximate regions without collapsing into each other (regularized proximity between classes). The latter pattern is of particular importance for operational reliability: proximity reflects that the model accurately reflects true semantic similarity (e.g., shared scene context), whereas maintained separation implies that the classifier remains capable of establishing robust decision boundaries.
Jointly, Figs. 13(a) and 13(b) show that HYDRA-XAI provides an embedding space that is discriminative and structurally meaningful-it allows for good classification, minimizes confusion of proximal categories, and enables explanation modules to attribute predictions to meaningful feature groupings instead of noisy, unstable representations.
Fig. 13
Low-dimensional visualization of learned feature embeddings for disaster scene classification using the HYDRA-XAI framework: (a) t-SNE projection illustrating class-wise cluster separation and overlap patterns in the test set, and (b) UMAP projection highlighting the global manifold structure and neighborhood preservation across disaster and non-damage categories.
Explainable AI – GradCAM + + and attention maps
The class-discriminative visual explanations generated by Grad-CAM + + for ResNet50 and self-attention maps derived from the Swin Transformer are shown in Fig. 14(a)–(b), respectively. On the one hand, Grad-CAM + + in Fig. 14(a) points to small regions with high intensities corresponding to semantically significant disaster indicators (e.g., collapsed structures, active flames, flooded areas, and injured individuals) to show that the CNN is powerfully sensitive to texture, edges, and spatial saliency. Note that these activations are compact and object-focused, supporting the fact that ResNet50 supports its predictions using distinctive local features. In contrast, the attention maps of the Swin Transformer in Fig. 14(b) distribute the attention over large contextual regions that capture long-range dependencies, such as nearby infrastructure, the spatial arrangement of inundated regions, and general damage patterns within the scene. This complementary behavior suggests that the Transformer indeed captures global context and structural relationships beyond local textures. Figures 14(c)–(d) present the fusion-based explainability achieved by ensembling ResNet50 and Swin-T.
It simply brings out the synergistic effect achieved by fusing CNN saliency with Transformer attention. Figure 14(c) shows that the fused explanations retain the precise localized highlights of Grad-CAM++, while capturing the rich contextual understanding of Swin-T to obtain coherent and semantically consistent heatmaps. We can further amplify this fusion in the heatmaps shown in Fig. 14(d), where regions consistently showing high activation over both models provide the primary evidence for the classification. The consolidated explanation reduces false activations, diminishes background noise, and strengthens confidence in the final prediction. All in all, Fig. 14 and Table presents that the HYDRA-XAI ensemble improves not just quantitative performance but also yields robust interpretable and operationally dependable visual explanations-essential for disaster response and decision-support systems.
The Explainability layer is evaluated in terms of visual inspection and metrics measuring faithfulness and stability. Deletion-AUC is calculated in order to determine if deleting highly attributed pixels lowers the predicted class probability; low values indicate high causality. On the other hand, insertion-AUC is used to measure if inserting highly attributed pixels to a blurred baseline can restore the predicted class probability; high values indicate high sufficiency. Grad-CAM++/LIME IoU is calculated using the intersection over union technique between the decision-support areas from two explainers of different methodology. SSIM stability measures if the explanation maps maintain structural consistency even after undergoing slight perturbations. In HYDRA-XAI, the average values for the faithfulness indicators are Deletion-AUC = 0.2146, Insertion-AUC = 0.7813, Grad-CAM++/LIME IoU = 0.4389, and SSIM stability = 0.8627. From this analysis, we conclude that the explanation maps have evidence signals which can be used for gating confidence-based recommender systems. The explanation values have been tabulated in Table 10 for further reference.
Table 10 Key insights from grad-CAM++ (ResNet50), Swin-T attention, and fusion explainability (Fig. 14).Fig. 14
Visual explainability analysis of the HYDRA-XAI framework showing (a) Grad-CAM + + activation maps from ResNet50 highlighting localized damage-specific regions, (b) attention maps from the Swin Transformer capturing global contextual and spatial dependencies, (c) fused explainability maps combining CNN-based localization with transformer-level contextual reasoning after ensemble decision fusion, and (d) overlap/consensus heatmaps illustrating regions of agreement across models that serve as reliability cues for the final explainability-aware operational recommender.
The results regarding the analysis of the explainability in HYDRA-XAI framework are depicted in Table 10. Specifically, Grad-CAM + + is used for the local evidence extraction through CNN, while Swin-T attention roll-out highlights the more general contextual relationships, and LIME Top-K superpixels find the local regions which lead to the final ensemble prediction. In particular, the following quantification should be noted: a lower Deletion-AUC value means that deleting regions marked in Grad-CAM + + leads to class evidence deletion; a higher Insertion-AUC value means that inserting regions highlighted by LIME positive predictions leads to confidence gain; the attention maps provide the stability of the SSIM metric, while Grad-CAM++/LIME IoU measures the consistency between methods. Finally, the gated recommender model contributes to better precision rate of escalation thanks to explanation coverage improvement from 0.9935 to 0.9972.
LIME-based local interpretability across backbones and final ensemble
Figures 15(a)–(c) and Table 11 make a structured comparison of LIME Top-K superpixel explanations generated on representative test samples using ResNet50, Swin Transformer, and the final fused ensemble (ResNet50 + Swin-T + classical heads), respectively. Each sub-figure maintains a uniform layout consisting of the original image, the LIME boundary overlay, and the corresponding positive superpixel mask that enhances the predicted class. The ResNet50–based explanations in Fig. 15(a) show that the CNN focuses most on localized, high-contrast areas: margins of damaged buildings, concentrations of detritus, fire centers, and water borders. The highlighted superpixels are relatively cohesive and texture-oriented, which indicates that ResNet50 focuses mostly on low- to mid-level visual information such as contours, gradients, and local textures. This section applies this method to a real-world sentiment analysis task: training a four-class sentiment classifier on the IMDB Large Movie Review Dataset.
Figure 15(b) illustrates the explanations of Swin Transformer, whose activated superpixels are spatially more extensive and more semantically aligned with scene-level structures. Swin-T always highlights extended regions such as devastated zones, flooded open terrains, fire-spread areas, and human gathering points. It is due to the nature of its hierarchical window-based self-attention mechanism. Compared to ResNet50, explanations generated by Swin-T have better contextual coherence but may occasionally incorporate background areas when global context outweighs the local saliency. Figure 15(c) visualizes the explanations of the final ensemble, which combines CNN features, transformer embeddings, and traditional decision heads. These superpixels generated by LIME are more cohesive than those from Swin‑T alone, yet more semantically comprehensive than those from ResNet50, thus reflecting a good balance between local detail and global context. The spatial consistency of the ensemble explanations across disaster categories is much higher, along with reduced noise and better alignment with human-interpretable indicators of damage. This affirms that decision-level fusion indeed improves explanation stability by suppressing model-specific biases and focusing on the consensus regions that consistently provide much value across diverse architectures.
Table 11 Insights from LIME-based explainability analysis.Fig. 15
LIME Top-K Superpixel Explainability for (a) ResNet50, (b) Swin-T, and the (c) Final Fused Ensemble (ResNet50 + Swin-T + Classical Heads) on the CDD Test Set (N = 2041): coverage, consistency, and evidence-quality trends across disaster classes.
Figure 15(a)(b)(c) and Table 11 illustrate that according to the LIME analysis, explainability quality increases step by step from individual backbone models to the final ensemble: ResNet50 provides accurate but highly localized explanations, Swin-T offers broader contextual understanding, and the fused ensemble reaches the best trade-off among accuracy, coverage, and stability. This supports the HYDRA-XAI design choice of integrating heterogeneous learners; the ensemble not only improves predictive performance but also results in more trustworthy human-aligned explanations, which are important for disaster response and operational decisions.
Formally, the integrated explainability results, obtained from Grad-CAM++, Swin-T attention maps, and LIME Top-K superpixels provide consistent and complementary evidence with regard to the features utilized by HYDRA-XAI during decision-making and shed light on the reasons behind the increased reliability of the final ensemble. Grad-CAM + + focuses mainly on localized, highly salient regions (e.g., debris boundaries, fire core, and flood perimeter), which provides evidence that the CNN pathway relies mostly on discriminative textures and object-level cues. By contrast, Transformer attention spreads the focus to wider scene context, e.g., on the extent of flooding and the structural setup of damaged infrastructure, in support of a global reasoning approach. In turn, LIME integrates these views by identifying the minimal set of superpixel regions that substantively support the predicted class. This allows for instance-level validation of evidence, with coverage and coherence highlighted along with cases where predictions are driven by relevant damage indicators rather than background artifacts. As summarized in Table 12, generally, the final fusion model ensures the most reliable explanation quality, where CNN localization and transformer context are complemented by the local surrogate evidence provided by LIME. This yields explanations which are simultaneously accurate, i.e., localized, coherent, i.e., context-aware, and stable, i.e., less noisy-all of which are operational in risk assessment and recommendation.
Table 12 Unified explainability insights: grad-CAM++, Swin-T Attention, and LIME Top-K Superpixels (Figs. 14 and 15).Explainability-driven operational recommender analysis
Figure 16; Table 13 summarizes the final explainability-aware recommender layer that converts the model’s probabilistic outputs to actionable decisions by co-assessing: (i) Predictive confidence, p and (ii) evidence sufficiency and consistency, as quantified by LIME positive coverage, cov. This is visually supported by the “LIME boundary” and “positive mask” panels. The core principle is that a prediction should be escalated only when the classifier is not only confident but also grounded in spatially coherent, class-relevant regions-so as to prevent high-confidence/low-evidence errors commonly encountered in disaster imagery due to background clutter from smoke, rubble textures, sky gradients, and water reflections. By contrast, samples that the proposed solution categorizes as low-for example, p ≈ 0.28–0.36 with cov ≈ 0.05–0.08-usually reveal fragmented, sparse positive masks and superpixels that latch onto incidental edges or background patterns rather than onto critical disaster-related structures; this points to weak justification for the underlying decision, therefore representing lower operational priority.
By contrast, the moderate recommendations—e.g., p ≈ 0.41–0.54 with cov ≈ 0.10–0.14—are underpinned by more coherent evidence masks concentrated on plausible semantic cues, such as damaged building areas, flood-affected regions, flame or smoke boundaries, or affected terrain, which suggests the decision is more stable but may remain ambiguous due to partial occlusion, mixed-scene composition, or visually similar classes. In this way, this recommender acts as a form of trust-gating; it builds on the above summarized explainability consistency (Table 12) as a basis for reliability, and, at inference time, places a differential emphasis on decisions where the “where” of the evidence (LIME) aligns with the “what” of the predicted hazard class. This has the effect of producing outputs more directly aligned to actual response workflows—in other words, screen → verify → escalate—rather than assuming raw classification performance as sufficient.
The recommender thresholds are trained for each individual class rather than being handpicked beforehand. For each class, the sensitivity-specificity tradeoff tau_p is chosen from validation predictions, while the maximal precision threshold for the recall operating point tau_cov is picked to ensure maximal precision at the same time. The thresholds that are learned show a lot of variation across all classes, suggesting that there is no point of choosing a common threshold since it would not be appropriate for disaster scene detection. For example, the Fire_Disaster model has a very low threshold of 0.0179 for tau_p but shows worse results when it comes to precision because of the difficulty of distinguishing smoke, haze, flames, and warm color backgrounds. Conversely, the Land_Disaster model has a much higher threshold of 0.5181 and has one of the lowest rates of missed events. Sensitivity analysis suggests that the recommender is robust to decreases in threshold values and is sensitive to its increasing values, especially when it comes to the 20% increase in which case missed event rate rises dramatically.
Table 13 Explainability-driven recommender insights (confidence–evidence gating).Fig. 16
Explainability-driven recommender results.
Extended component-wise ablation study
In order to prove that the choice of architecture, classifier ensemble, and recommender system configuration was based on empirical findings rather than designer intuition, an extensive ablation study was performed using the leakage-safe dataset. The study involves evaluating three layers within the HYDRA-XAI framework. The first layer includes assessment of predictive abilities of XGBoost, SVM-RBF, Softmax, and combinations thereof on the common 2,816-dimensional representation of data. The second layer includes evaluation of operational capabilities of the confidence-only and XAI-guided recommenders along with sensitivity to parameter tuning analysis. The third layer includes testing of model reliability and generalization by means of macro-F1 score on training/validation/test partitions, generalization gaps, bootstrapped confidence intervals, and model calibration.
In the case of predictive ablation analysis, frozen ResNet50 and Swin Transformer Tiny features were concatenated into a 2816-dimensional fused vector. Thus, the XGBoost model represents a non-linear tree partitioning approach, SVM-RBF represents a non-linear margin maximization approach, and softmax represents a linear affine transformation. All models, including ensembles thereof, were tested on the same leakage-safe test set containing 3,561 images. In turn, in the course of recommender ablation analysis, classifier performance remained constant while only decision routing logic was modified. Thus, rows A6-A11 show operational precision and missed event rates rather than changes in accuracy scores.
Table 14 Extended ablation study of HYDRA-XAI on the leakage-safe dataset.
Explanation for A1-A5
Contribution from predictive head A1-A5 rows highlight the effects of classifier head selection while keeping the fused feature representation unchanged. XGBoost obtains the highest individual head macro-F1 score of 0.9922, followed by Softmax and SVM-RBF scores of about 0.9920. Using a combination of tree-based classification through XGBoost and margin separation through SVM-RBF results in an improvement in the macro-F1 score to 0.9929, implying complementary decision behaviours between them. Incorporation of Softmax brings the highest macro-F1 of 0.9935; however, the improvement over the dual-head ensemble is marginal at 0.0006. Therefore, classifier head A4 was selected because of its near-equivalent predictive performance with A5 but less computational cost.
Explanation for A6-A12
Contribution from recommender and threshold settings A6 and A7 rows aim to study the separation between prediction and decision-routeing performance, and they use exactly the same classifier; hence, they have the same accuracy and macro-F1 at 0.9935 and 0.9929, respectively. The key difference between the two rows is the choice of a recommender mechanism. Using only confidence leads to an escalation precision of 0.9935, while incorporating explainability via XAI coverage increases precision to 0.9972. The relative increase of 0.0037 confirms that explanatory information carries useful information beyond confidence. The last four rows, i.e., A8-A12, test the sensitivity of the recommender to the setting of the two thresholds, i.e., confidence and XAI coverage levels. The joint perturbation of two thresholds from − 20% to + 20% results in escalation precision within a small range of 0.9963–0.9985. Such a result implies that our classifier is insensitive around the validation-operating point and hence robust. Missed event rate changes with the level of permissibility or strictness, as expected, without affecting the stability of the classifier.
Explanation for A13-A16
Generalisation and Statistical Robustness Finally, A13-A16 rows evaluate the effect of overfitting through the comparison between training and testing macro-F1 scores and corresponding bootstrap confidence intervals. The three classifiers individually have gaps between the two ranges of 0.0076 and 0.0078, respectively. However, the deployed ensemble classifier, i.e., HYDRA-XAI, has a lower gap of 0.0069 and a bootstrap interval of 0.9898–0.9957.
Fig. 17
Extended component-wise ablation of the leakage-safe HYDRA-XAI framework. (a) Predictive-head ablation comparing XGBoost, SVM-RBF, Softmax, the deployed XGBoost–SVM-RBF ensemble, and the complete three-head ensemble on the common 2816-dimensional fusion representation. (b) Operational recommender ablation comparing confidence-only and confidence-plus-XAI gating, together with sensitivity under ± 10% and ± 20% threshold perturbations. (c) Generalisation analysis reporting training, validation, and test macro-F1 with bootstrap 95% confidence intervals.
Together Table 14; Fig. 17 demonstrate how the selection of HYDRA-XAI design was based on systematic analysis of components. The improvement in the prediction stems mainly from the complementary performance of XGBoost and SVM-RBF relative to the combined CNN–Transformer features. The Softmax head brings about an improvement which can be considered marginal, hence the preference for two-head ensemble as the recommended deployment design. Functionally, XAI coverage provides better escalation accuracy without compromising the classification accuracy of the classifiers, and the threshold perturbation analysis also confirms the robustness of the recommendation at the operating point.
Leakage-safe re-evaluation, generalisation, and recommender robustnessDuplicate-aware dataset reconstruction and leakage-safe splitting
A re-audit was conducted on the final dataset in Table 15 to avoid any risk of data leaks through the duplication of images in the train, validation, and test splits. The result of the re-audit showed that there were 25 groups of duplicates involving 51 samples associated with duplicates, 13 of which involved multiple original data splits. In order to resolve the problem, all images within each duplicate group were made to share a single ID number and were placed in one split by means of stratification based on group ID. The augmentation process was done solely on the training set after stratified partitioning. The train set contains 30,213 images, the validation set 1,774 images and the test set 3,561 images, which correspond to 30,191, 1,773 and 3,558 unique groups, respectively.
Table 15 Duplicate-aware dataset audit and leakage-safe group-stratified split.
It should be noted that the use of group-aware reconstruction greatly increases the validity of the analysis. For example, the improved test set consists of 545 instances of Non_Damage, 528 instances of Damaged_Infrastructure, 508 instances of Water_Disaster, 522 instances of Fire_Disaster, 926 instances of Land_Disaster, and 532 instances of Human_Damage. The problem with the previous test set’s lack of validity related to minority classes was thus solved.
Leakage-safe classification performance
In the fixed-up experimental setting, the validated HYDRA-XAI framework is used with the ResNet50 that produces the CNN embedding of 2048 dimensions and the Swin Transformer Tiny that produces the Transformer embedding of 768 dimensions. Both embeddings are concatenated to form the fusion vector with 2816 dimensions and classified by the use of XGBoost and SVM-RBF models. Probability vectors from the XGBoost and SVM-RBF models are combined using mean averaging. The proposed XGBoost-SVM-RBF model, whose results are provided in Table 16 below, has achieved the following metrics: an accuracy of 0.9935, macro precision of 0.9929, macro recall of 0.9928, macro F1 score of 0.9929, weighted F1 score of 0.9935, and macro one-vs-rest ROC-AUC of 0.9999. In contrast, the full XGBoost-SVM-RBF-Softmax pipeline reaches only a slightly better value of macro-F1 of 0.9935. However, the relative increase over the utilized two-head setup amounts to around 0.0.
Table 16 Leakage-safe overall and class-wise performance of HYDRA-XAI on the CDD test set.
The leakage-safe comparison of overall classifiers and class-wise performances of the deployed XGBoost-SVM-RBF ensemble are shown in Table 16. XGBoost alone achieves the highest individual-head macro-F1 value of 0.9922, whereas SVM-RBF and Softmax both have around 0.9920 macro-F1 scores. With the XGBoost–SVM-RBF ensemble, the macro-F1 score reaches 0.9929 and the accuracy becomes 0.9935, which proves that it is better to use a combination of nonlinear tree partitioning and kernel-margin separation techniques. Although the three-head ensemble has the highest macro-F1 score of 0.9935, the absolute improvement over the deployed ensemble is very small at 0.0006, and the two-head model is more economical and efficient. In terms of class performances, F1-scores are 0.9843 from Non_Damage to 0.9995 for Land_Disaster. Human_Damage receives an F1-score of 0.9925 for its 532 testing images. It shows excellent performances across all six classes, with higher statistical significance in minority-class tests. Figure 18 illustrates leakage-safe accuracies, macro-F1, and weighted-F1 comparisons among the five models. The graph confirms that our deployed two-head ensemble reaches almost the same scores as the three-head upper bound while being consistently superior to the individual-head models.
Fig. 18
Leakage-safe classifier performance following duplicate-aware group-stratified splitting. Accuracy, macro-F1, and weighted-F1 are compared for XGBoost, SVM-RBF, Softmax, the deployed XGBoost–SVM-RBF ensemble, and the complete three-head configuration.
Generalisation gap, statistical reliability, and calibration
To determine the likelihood of overfitting, the macro-F1 scores for training, validation, and test datasets were compared against each other in all chosen configurations. HYDRA-XAI’s implementation has resulted in macro-F1 scores for training, validation, and test datasets as 0.9998, 0.9945, and 0.9929, respectively, giving an indication of the train-test generalisation gap at 0.0069. The latter appears to be less in comparison with that obtained using XGBoost, SVM-RBF, and Softmax on their own. Bootstrapping the leakage-safe test dataset provides a mean macro-F1 value of 0.9929 along with its 95% confidence interval at 0.9898–0.9957. The small range of the confidence interval implies high reproducibility of the results gained. In the course of calibration using class-wise Brier scores, low probabilistic error was found for all six classes. The lowest error is observed in Land_Disaster (0.0002), followed by Non_Damage (0.0035) and Fire_Disaster (0.00).
Table 17 Generalisation-gap, bootstrap uncertainty, and class-wise calibration analysis of leakage-safe HYDRA-XAI.
Table 17 presents the aggregate outcomes of the leakage-safe experiment taking into account the generalisation gap, the bootstrap uncertainty and the class-wise calibration metrics. Of all the individual classifiers used, the train-test macro-F1 gaps vary within the limits of 0.0076–0.0078. In terms of the train-test gap, the HYDRA-XAI ensemble of XGBoost and SVM-RBF, when applied, demonstrates the lowest gap of 0.0069, with the corresponding values for training, validation, and testing equal to 0.9998, 0.9945, and 0.9929 macro-F1. Furthermore, the bootstrap mean test macro-F1 equals 0.9929 with the relatively small confidence interval of 0.9898–0.9957. Finally, the class-wise Brier scores demonstrate low values varying from 0.0002 for Land_Disaster to 0.0035 for Non_Damage classes. It should be mentioned that for some classes (Non_Damage and Fire_Disaster), the Brier scores are relatively high. This finding suggests that we need to make additional efforts to ensure accurate confidence monitoring for such classes. Figure 19 visually confirms these results with regard to training/validation macro-F1 as well as bootstrap test macro-F1 with the 95% confidence intervals. The high consistency between validation and test performance, along with the small confidence intervals and the minimal train-test gap for the HYDRA-XAI final ensemble, implies that the outcomes of the leakage-safe experiment are indeed reliable.
Fig. 19
Generalisation analysis of the leakage-safe classifier configurations. Training and validation macro-F1 values are shown together with bootstrap mean test macro-F1 and 95% confidence intervals.
Verification of class-specific recommender thresholds
The operational recommender was evaluated using class-specific confidence and class-specific LIME coverage thresholds trained on the validation set. After selecting these thresholds, all of them are fixed before running evaluations on the test set. The threshold learning technique was chosen in this manner to prevent biasing of the test set during the threshold learning process. Additionally, using the same thresholds for all disaster categories could lead to poor performance because each disaster type is different in terms of confidence distribution, visual ambiguity, separability, and LIME coverage. Thus, each class should have an individual operating point tailored based on the mentioned factors.
The learned confidence and coverage thresholds show considerable variation among all six disaster categories. Water_Disaster requires the highest confidence threshold of 0.9767, which means that an automated decision should be made if there is a high level of confidence in the classifier. Human_Damage also needs a relatively high confidence threshold of 0.7464 since the category is a life-critical disaster category with considerable operational consequences. Meanwhile, Damaged_Infrastructure has a lower threshold of 0.1101, while Land_Disaster is associated with a 0.1589 confidence threshold and a low LIME coverage threshold of 0.0319. It becomes obvious that a common threshold cannot be applied here. On the leakage-safe test set, the class-specific recommender achieves the escalation precision from 0.9902 to 1.0000. The Disaster_Non class, Damaged_Infrastructure, and Water_Disaster reach a perfect precision of 1.0000. Land_Disaster reaches 0.9989, and Human_Damage is 0.9943, while the Fire_Disaster precision is 0.9902. Visual ambiguity, such as fire smoke, hazes, flame borders, and bright-colored backgrounds, causes the relatively low precision of Fire_Disaster. Land_Disaster shows 0.0000 missed event rates, whereas the highest missed event rate of 0.1321 belongs to the Disaster_Non category, which demonstrates a relatively conservative policy.
It is crucial to examine the contribution of explanation evidence in the recommender’s operation by evaluating the difference between confidence-only and confidence-plus-XAI gating. In confidence-only routing, the mean escalation precision equals 0.9935. In confidence-plus-XAI covering gating, where an extra condition of XAI coverage is added to confidence, the mean precision reaches 0.9972, which corresponds to the gain of 0.0037. The bootstrap estimation results show that the mean precision is 0.9973, while the 95% confidence interval ranges from 0.9952 to 0.9989.
Table 18 Consolidated verification of class-specific recommender thresholds and threshold sensitivity.
As can be seen from Table 18, the recommender consistently shows very high levels of escalation precision both when class-level thresholds are used and in all cases when threshold perturbation is applied. The class-level performance proves that the validation-derived operating points can effectively account for variations in prediction confidence and explanation coverage across different types of disasters.The analysis of sensitivity to the choice of the operating point shows whether or not the recommender relies heavily on the choice of this point. To make the thresholds stricter, multiply by 0.8 and 0.9; to make them less strict, multiply by 1.1 and 1.2. In all cases, escalation precision was between 0.9963 and 0.9985. These small variations show that the recommender is quite resilient to threshold variation. The missed event rate, however, is more volatile, which means that changing thresholds affects the numbers of predictions routed to automatic escalation, analyst review, or low-priority monitoring differently.
Fig. 20
Sensitivity of the operational recommender to class-specific confidence and LIME coverage thresholds. Mean escalation precision and mean missed-event rate are reported for threshold settings corresponding to 80%, 90%, 100%, 110%, and 120% of the validation-learned values.
Figure 20 illustrates the corresponding trends for escalation precision and missed-event rates for all considered combinations of thresholds. Escalation precision shows minimal sensitivity to threshold change. However, the missed-event rate exhibits significant volatility, demonstrating the inherent trade-off between conservative and permissive routing policies. Reducing thresholds makes the recommender permissive and increases the missed event rate, while increasing thresholds leads to a more restrictive policy. Both approaches are legitimate but represent alternative operational strategies and do not indicate instability of the recommender itself.Even though the most liberal 120% combination of thresholds leads to the highest precision value (0.9985), it should not be considered the best possible option since this combination was derived only from test data. Validation-derived thresholds should always serve as the basis of recommendation operation and remain its default configuration since they are independent of test set data and represent proper trade-offs in relation to explanation support and escalation precision. These thresholds should be adjusted only in case of significant changes in the prevalence of certain disasters, the region where the recommender is deployed, the image sensor used, lighting conditions, or costs of missed events and false positive predictions.
Scope of generalisation evidence
While the leak-proof reconstruction, minority class test enlargement, train-test gap reduction, confidence interval estimation using bootstrap, class-wise calibration, and recommender sensitivity analysis contribute to more reliable conclusions based on the CDD dataset, this set of evidence is restricted to internal validation of a single principal data collection. Therefore, claims about the generality of findings to other sensors, geographic locations, disaster types, lighting conditions, and data acquisition environments must necessarily be treated as hypotheses pending confirmation in other studies and with independent datasets. While the two-backbone model provides greater representational diversity by leveraging evidence from both CNN and Transformer architectures for local and global contexts, its generalisability to external domains still needs to be evaluated in other datasets, e.g., xBD, FloodNet, and AIDER. Going forward, this line of research would focus on external validation using multiple datasets alongside domain adaptation methods that draw on semantic alignment, teacher-student networks, contrastive training, and few-shot learning across different domains.
Fig. 21
Scope of generalisation evidence and future external-validation pathway for HYDRA-XAI.
Such leakage-safe reconstruction, larger minority-class testing support, close train and test results, bootstrap confidence intervals, calibration evaluation and threshold sensitivity analysis together guarantee high internal validity for HYDRA-XAI on the CDD dataset. In Fig. 21 below, it is shown that while the current findings confirm the reliability, calibration and stability of the model within the adjusted within-dataset evaluation setting, robustness to out-of-distribution sensors, novel geographic locations, separate disaster instances and varying acquisition conditions remains to be demonstrated. Class stratified and leakage-safe evaluations must consequently be regarded as internal validation, not external validation. Figure 21 below also highlights the subsequent steps of research to be taken to evaluate representation diversity across domains through benchmarks like xBD, FloodNet, and AIDER, followed by domain adaptation techniques including semantic matching, teacher-student matching, contrastive learning, and cross-domain few-shot learning. This will ultimately reveal whether representation diversity is preserved across novel domains by the proposed ResNet50-Swin Transformer-based architecture.