Paper deep dive
A Formal Methodological Framework for Auditing Robustness and Fidelity in Explainable AI: From Application to Trust Certification
Rosa Elysabeth Ralinirina, Jean Christian Ralaivao, Niaiko Michaël Ralaivao, Alain Josué Ratovondrahona, Thomas Mahatody
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 92%
Last extracted: 8/26/2026, 4:40:15 AM
Summary
This paper presents a formal methodological framework for auditing Explainable AI (XAI) by measuring the robustness and fidelity of post-hoc explainers (SHAP, LIME) and combining them into a Trust Score. The framework is validated on a food security dataset from Madagascar, revealing that high predictive accuracy (AUC > 0.99) does not guarantee trustworthy explanations, as overfitted models can produce degenerate or uninformative attributions. Regularization is shown to improve the discriminative power of fidelity scores.
Entities (10)
Relation Signals (7)
Fidelity â componentof â Trust Score
confidence 95% · These two quantities [robustness and fidelity] are combined into a single Trust Score.
Robustness â componentof â Trust Score
confidence 95% · These two quantities [robustness and fidelity] are combined into a single Trust Score.
Regularization â improves â Fidelity
confidence 90% · Regularization improves the Trust Score across all six modelâexplainer pairs... Regularization relaxes this behavior somewhat... The metric regains full discriminative power only when the model is less confident
XGBoost â produces â uninformative_explanations
confidence 90% · models with AUC above 0.99 can produce numerically degenerate or flatly uninformative explanations... XGBoostâs near-perfect predictions made TreeSHAP produce zero-valued importance vectors
SHAP â usedwith â Random Forest
confidence 90% · Explanations were generated with SHAP (TreeSHAP for tree-based models...)
LIME â usedwith â Neural Network
confidence 90% · Explanations were generated with ... LIME (default parameters).
SHAP â outperforms â LIME
confidence 85% · SHAP is more robust than LIME on tree-based models
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:SHAP and LIME are now standard tools for interpreting black-box predictions, yet their outputs can vary substantially when the input is perturbed by small amounts of noise--a problem we observed firsthand in our previous work on food security in Madagascar (Ralinirina et al., 2025). This variability raises the question of whether such explanations can be trusted at all. We address it by constructing an auditing protocol that measures two properties of any post-hoc explainer: robustness (how stable the explanation is under input perturbation) and fidelity (whether the features deemed important actually drive the model's prediction). These two quantities are combined into a single Trust Score. We run the protocol on a multi-sectoral dataset from Madagascar (83 features, 253 records, 4 malnutrition classes) using three classifiers and two explainers, plus their regularized counterparts. The results are sobering: models with AUC above 0.99 can produce numerically degenerate or flatly uninformative explanations, and fidelity scores lose discriminative power when the model is overfitted. These findings suggest that auditing XAI outputs is not optional but necessary, particularly when they inform decisions in sensitive domains.
Tags
Links
- Source: https://arxiv.org/abs/2608.23817v1
- Canonical: https://arxiv.org/abs/2608.23817v1
Trouble viewing inline? Open PDF directly â
Full Text
28,012 characters extracted from source content.
Expand or collapse full text
A Formal Methodological Framework for Auditing Robustness and Fidelity in Explainable AI: From Application to Trust Certification Rosa Elysabeth Ralinirina Affiliation: Doctoral School ModelingâComputer Science, University of Fianarantsoa, Madagascar Email: ralinirinarosa7@gmail.com Jean Christian Ralaivao Affiliation: Doctoral School ModelingâComputer Science, University of Fianarantsoa, Madagascar Niaiko MichaĂ«l Ralaivao Affiliation: Doctoral School ModelingâComputer Science, University of Fianarantsoa, Madagascar Alain JosuĂ© Ratovondrahona Affiliation: Doctoral School ModelingâComputer Science, University of Fianarantsoa, Madagascar Thomas Mahatody Affiliation: Doctoral School ModelingâComputer Science, University of Fianarantsoa, Madagascar Abstract SHAP and LIME are now standard tools for interpreting black-box predictions, yet their outputs can vary substantially when the input is perturbed by small amounts of noiseâa problem we observed firsthand in our previous work on food security in Madagascar (Ralinirina et al., 2025). This variability raises the question of whether such explanations can be trusted at all. We address it by constructing an auditing protocol that measures two properties of any post-hoc explainer: robustness (how stable the explanation is under input perturbation) and fidelity (whether the features deemed important actually drive the modelâs prediction). These two quantities are combined into a single Trust Score. We run the protocol on a multi-sectoral dataset from Madagascar (83 features, 253 records, 4 malnutrition classes) using three classifiers and two explainers, plus their regularized counterparts. The results are sobering: models with AUC above 0.99 can produce numerically degenerate or flatly uninformative explanations, and fidelity scores lose discriminative power when the model is overfitted. These findings suggest that auditing XAI outputs is not optional but necessary, particularly when they inform decisions in sensitive domains. Keywords: Explainable AI (XAI), Robustness, Fidelity, Methodological Framework, Trustworthy AI, Food Security. 11footnotetext: This manuscript was peer-reviewed, accepted for publication in the proceedings, and presented at the International Conference on Applied Informatics (ICAI 2026, https://icai.uni-eszterhazy.hu/2026/). This is the revised version. The organizers did not send the revision notification to the authors in time, and as a result the paper was not included in the proceedings. 1 Introduction When an AI model predicts a food crisis in a region of Madagascar, the prediction itself is only half the story. The other halfâhow the model arrived at itâis what policymakers, nutrition officers, and field workers need in order to trust and act on the output. Post-hoc explainers such as SHAP (Lundberg and Lee, 2017) and LIME (Ribeiro et al., 2016) fill this role by attributing importance scores to input features. The trouble is that these attributions are not always reliable. Small perturbations to the input can change them, sometimes dramatically, and there is no built-in mechanism to tell whether the features an explainer highlights are genuinely used by the model. We encountered this problem directly in (Ralinirina et al., 2025), where we applied SHAP and LIME to food security indicators across Madagascarâs 23 regions. Explanations for nearly identical inputs often differed, and the ranking of important features shifted depending on which explainer was used. This is not an isolated finding. Slack et al. (Slack and others, 2020) showed that LIME and SHAP can be deliberately fooled; Alvarez-Melis and Jaakkola (Alvarez-Melis and Jaakkola, 2018) proved that local explanations are generally unstable. Surveys by Adadi and Berrada (Adadi and Berrada, 2018) and Guidotti et al. (Guidotti and others, 2018) have warned that post-hoc methods create an âillusion of transparency,â and domain-specific studies in healthcare (Stiglic and others, 2020) and NLP (Danilevsky et al., 2020) confirm that visual inspection of saliency maps is insufficient. Our research group has also explored AI-driven automation for complex tasks (Ratovondrahona et al., 2023), a line of work that parallels the present goal of building a systematic, verifiable XAI auditing methodology. The question, then, is not whether explanations should be auditedâthey must beâbut how. We propose a protocol that measures two things: robustness (stability under noise) and fidelity (faithfulness to the model). Each is quantified by a single metric, and the two are combined into a Trust Score. We validate the protocol on the same Malagasy food security dataset, using three classifiers (Random Forest, XGBoost, Neural Network) and two explainers (SHAP, LIME), plus their regularized variants. The results confirm that near-perfect AUC does not shield explanations from instability or vacuity, and the Trust Score captures these defects in a single number. Section 2 surveys related work. Section 3 describes the framework. Section 4 presents the case study and results. Section 5 discusses what the results meanâincluding the overfitting and numerical issues they reveal. Section 6 concludes. 2 Related Work Post-hoc interpretability took off after DARPAâs XAI program (Gunning and Aha, 2019), and surveys by Adadi and Berrada (Adadi and Berrada, 2018) and Guidotti et al. (Guidotti and others, 2018) now catalog dozens of methods. Most are model-agnostic: they treat the predictor as a black box and probe it with perturbed inputs. LIME (Ribeiro et al., 2016) fits a local linear model; SHAP (Lundberg and Lee, 2017) computes Shapley values. Both are popular, but both are fragile. Slack et al. (Slack and others, 2020) demonstrated adversarial attacks that fool LIME and SHAP into producing arbitrary explanations. Alvarez-Melis and Jaakkola (Alvarez-Melis and Jaakkola, 2018) showed that local explanations are sensitive to the choice of neighborhood. Evaluating explanations is a separate and less studied problem. Samek et al. (Samek et al., 2017) made the case for quantitative evaluation rather than visual inspection. Holzinger et al. (Holzinger et al., 2019) proposed âcausabilityâ as a quality criterion. Domain-specific studies existâIslam et al. (Islam and others, 2024) for healthcare, Linheiro et al. (Linheiro and others, 2023) for agricultureâbut they evaluate explainers in isolation, without a unified protocol that can compare them on equal footing. Our framework differs in that it pairs robustness and fidelity in a single pipeline and produces a single Trust Score. The advantage is not novelty of the individual metricsâJensen-Shannon divergence for robustness and feature ablation for fidelity are both well-knownâbut the fact that they are computed side by side, on the same data, with the same model, yielding a directly comparable score across explainerâmodel pairs. 3 Methodological Framework Architecture Figure 1 shows the pipeline. Given a trained model f and an explainer E, the auditor computes a robustness score RâĄ(x)R(x) and a fidelity score FâĄ(x)F(x) for each test instance x, then combines them into a Trust Score TâĄ(x)=αâRâ(x)+ÎČâFâ(x)T(x)=α R(x)+ÎČ F(x) with α+ÎČ=1α+ÎČ=1. Figure 1: The auditing pipeline. Robustness and fidelity are measured independently and then combined. 3.1 Robustness and Local Stability Robustness quantifies how much an explanation changes when the input is slightly perturbed. We draw ÎŽâŒâĄ(0,Ï2âI)ÎŽ (0,Ï^2I), compute EâĄ(x)E(x) and EâĄ(x+ÎŽ)E(x+ÎŽ), normalize both importance vectors to sum to 1 (denoted E~ E), and measure their divergence: R(x)=1â1Nâi=1NDJâS(E~(x)â„E~(x+ÎŽi))R(x)=1- 1N _i=1^ND_JS\! ( E(x)\,\|\, E(x+ _i) ) where N is the number of perturbation trials. A practical difficulty arises when the explainer outputs zero importance for all featuresâthis happens with TreeSHAP on certain overfitted models, making the JSD undefined. We resolve it by adding Ï”=10â10Δ=10^-10 to each component of E~ E before normalization. This has a negligible effect on the numerical value but prevents division by zero. A robustness score near 1 means the explanation barely changes under perturbation; a score near 0 means it changes a lot. 3.2 Fidelity through Feature Ablation Fidelity checks whether the features the explainer calls important actually matter to the model. For an input x with explanation EâĄ(x)E(x), let FkF_k be the set of top-k features. We mask them (replace with feature means) to obtain xâFkx_ F_k and compute: Fkâ(x)=1â|fâĄ(x)âfâĄ(xâFk)||fâĄ(x)|+Ï”F_k(x)=1- |f(x)-f(x_ F_k)||f(x)|+Δ The overall fidelity is the mean over a set of ablation levels K: FâĄ(x)=1KââkâFkâ(x)F(x)= 1K _k F_k(x) A fidelity near 1 means ablating the top features noticeably shifts the prediction; a fidelity near 0 means the explainer highlights features the model does not actually rely on. One subtlety: when the model is extremely confident (predicting near 0 or near 1 for all inputs), ablating even important features barely changes the output, pushing all FkF_k close to 1. Fidelity then becomes uninformativeâa point we return to in Section 4.3.5. This risk of uninformative or misleading feature-importance measures aligns with (Hooker et al., 2021), who showed that permutation-based importance can force extrapolation into regions where the model was never trained. 3.3 Trust Score We combine the two metrics into TâĄ(x)=αâ RâĄ(x)+ÎČâ FâĄ(x),α+ÎČ=1T(x)=α· R(x)+ÎČ· F(x), α+ÎČ=1 and aggregate over a dataset: TâĄ()=1||ââxâTâĄ(x)T(D)= 1|D| _x T(x) We set α=ÎČ=0.5α=ÎČ=0.5 by default, giving equal weight to stability and faithfulness. The weights can be adjusted: in a context where explanation stability is critical (e.g., communicating with non-technical stakeholders), one might set α>0.5α>0.5. 4 Case Study: Food Security in Madagascar 4.1 Data Description The dataset aggregates official reports from Madagascarâs Ministry of Agriculture, Ministry of Public Health, and the National Development Plan. It covers 23 regions over 13 years (2010â2023) and includes: âą Climate: rainfall, cyclonic events, temperature anomalies. âą Agriculture: rice production, soil quality, pest incidence. âą Socio-economics: market prices, household income, transport quality. âą Nutrition: IPC malnutrition phases, child stunting rates, vaccination coverage. âą Demographics: population, literacy rates, school enrollment. After preprocessing (removing identifiers and date columns, encoding categorical variables), we obtained 83 features and 253 instances. The target variable Situation-MC (chronic malnutrition) has 4 ordinal classes treated as multi-class: Acceptable (3 instances), Precarious (85), Alarming (114), Critical (51). The severe class imbalanceâonly 3 instances in the Acceptable classâlimits the reliability of per-class AUC estimates and prevents stratified cross-validation folds from containing all four classes, a point we return to below. 4.2 Experimental Setup Three classifiers were trained on a stratified 82/18 train/test split (208 training, 45 test instances): âą Random Forest: 100 trees, max depth 10. âą XGBoost: 200 estimators, learning rate 0.1, max depth 6. âą Neural Network: 3 hidden layers (64 units each), ReLU, Adam optimizer. Because the Acceptable class contains only 3 instances, standard stratified 5-fold cross-validation produces only 3 valid folds (the remaining 2 folds lack at least one class). On those 3 folds, macro-average AUC reaches 0.998±0.0020.998± 0.002 (RF), 0.999±0.0020.999± 0.002 (XGB), and 0.994±0.0010.994± 0.001 (N). These high values suggest genuine class separability, though the extreme imbalance makes per-class estimates unreliable. To assess the impact of regularization on explanation quality, we also trained three regularized variants: âą RFreg_reg: max depth 6, min samples per leaf 5, 500 trees. âą XGBreg_reg: max depth 3, learning rate 0.01, λ=2λ=2. âą NNreg_reg: dropout 0.3, weight decay 10â410^-4, early stopping (patience 10). Explanations were generated with SHAP (TreeSHAP for tree-based models, KernelSHAP for the N) and LIME (default parameters). The audit was run on 30 randomly sampled test instances with Ï=0.1Ï=0.1 and N=10N=10 perturbations. Ablation levels were =3,5,10,41,82K=\3,5,10,41,82\, corresponding to removing 3, 5, 10, roughly half, and nearly all of the 83 features. Implementation used Python 3.9 with scikit-learn, XGBoost, SHAP, and LIME. 4.3 Results 4.3.1 Predictive Performance Table 1 reports test-set macro-average AUC for all six models. The original models all reach AUC above 0.99; the regularized Neural Network drops to 0.888, showing that aggressive regularization degrades performance when training data are scarce. Table 1: Test-set macro-average AUC for each model. Model Test AUC CV AUC (3/5 folds) Random Forest 0.999 0.998±0.0020.998± 0.002 XGBoost 0.992 0.999±0.0020.999± 0.002 Neural Network 0.999 0.994±0.0010.994± 0.001 RFreg_reg 0.994 0.997±0.0020.997± 0.002 XGBreg_reg 0.997 0.998±0.0030.998± 0.003 NNreg_reg 0.888 0.946±0.0320.946± 0.032 4.3.2 Robustness Figure 2 shows robustness scores. SHAP is more robust than LIME on tree-based models (RF: 0.902 vs. 0.700; XGB: 0.978 vs. 0.658). The XGBoost+SHAP robustness of 0.978 required ϔΔ-smoothing: without it, TreeSHAP returned zero-valued importance vectors for some instances where the model predicted with near certainty, making the JSD undefined. On the Neural Network, SHAP and LIME are closer (0.694 vs. 0.738), likely because KernelSHAP introduces its own sampling noise. Figure 2: Robustness scores for all six modelâexplainer pairs. XGBoost+SHAP uses ϔΔ-smoothed computation. Regularization improves SHAP robustness on RF (0.923 vs. 0.902) and barely affects XGBoost (0.958 vs. 0.978), while the regularized N shows slightly higher SHAP robustness (0.748 vs. 0.694). LIME robustness remains in the 0.66â0.76 range across all models. 4.3.3 Fidelity Table 2 reports fidelity at each ablation level. The most striking pattern is XGBoostâs flat fidelity: both SHAP and LIME yield â0.620â 0.620 at every ablation level, from F3F_3 to F82F_82. Whether you remove the 3 features the explainer calls most important or 82 of them, the prediction shifts by nearly the same amount. This is not because fidelity is uniformly highâit is notâbut because the modelâs predictions change by a consistent, moderate amount regardless of how many top features are removed. Table 2: Fidelity at each ablation level (test-set mean). Model Explainer F3F_3 F5F_5 F10F_10 F41F_41 F82F_82 RF SHAP 0.858 0.820 0.792 0.762 0.757 RF LIME 0.875 0.848 0.811 0.775 0.757 XGB SHAP 0.620 0.620 0.620 0.620 0.620 XGB LIME 0.622 0.622 0.621 0.621 0.620 N SHAP 0.839 0.807 0.734 0.703 0.735 N LIME 0.984 0.976 0.957 0.773 0.734 RFreg_reg SHAP 0.874 0.847 0.823 0.780 0.776 RFreg_reg LIME 0.883 0.862 0.836 0.792 0.776 XGBreg_reg SHAP 0.715 0.713 0.713 0.712 0.712 XGBreg_reg LIME 0.721 0.720 0.719 0.714 0.712 NNreg_reg SHAP 0.947 0.918 0.856 0.806 0.803 NNreg_reg LIME 0.977 0.964 0.942 0.852 0.802 For the other models, fidelity declines as more features are ablatedâas one would expect if the explainer correctly ranks features by importance. The N+LIME combination shows the steepest drop: F3=0.984F_3=0.984 down to F82=0.734F_82=0.734, meaning the top 3 features identified by LIME are genuinely important to the networkâs predictions, while the less important ones matter less. The regularized Neural Network amplifies this pattern even further (F3=0.977F_3=0.977, F82=0.802F_82=0.802 for LIME). 4.3.4 Trust Scores Table 3 gives aggregate Trust Scores (α=ÎČ=0.5α=ÎČ=0.5). The highest score belongs to RFreg_reg+SHAP at 0.871; the lowest to XGBoost+LIME at 0.640. Regularization improves the Trust Score across all six modelâexplainer pairs. The gain is largest for XGBoost (SHAP: 0.799 â 0.836; LIME: 0.640 â 0.687), where the original modelâs overconfidence depressed fidelity. For RF and N, the improvements are more modest but consistent. Table 3: Trust Scores (α=ÎČ=0.5α=ÎČ=0.5). 95% CI from 10 bootstrap iterations in parentheses. Model SHAP LIME Random Forest 0.850 (0.845â0.851) 0.756 (0.752â0.761) XGBoost 0.799â (0.798â0.800) 0.640 (0.637â0.646) Neural Network 0.729 (0.722â0.734) 0.812 (0.805â0.816) RFreg_reg 0.871 (0.866â0.872) 0.771 (0.766â0.775) XGBreg_reg 0.836 (0.834â0.836) 0.687 (0.685â0.693) NNreg_reg 0.807 (0.800â0.811) 0.835 (0.829â0.840) âComputed with ϔΔ-smoothing. Figure 3 shows the fidelity decay curves for all modelâexplainer pairs. The XGBoost lines are conspicuously flat, while N and RF lines slope downwardâthe expected pattern when the explainerâs feature ranking has real meaning. Figure 3: Fidelity as a function of the number of ablated features. XGBoost lines are nearly flat, indicating loss of discriminative power. 4.3.5 Overfitting and Generalization Three of the original models have AUC above 0.99. The question is whether this reflects genuine separability or memorization of a small dataset. Cross-validation on 3 valid folds (the other 2 lack at least one class) confirms high AUC across all folds, and the class distributions do suggest that the four malnutrition categories occupy distinct regions of the feature spaceâparticularly along rice production and rainfall dimensions. Still, overconfidence is a real concern. Table 4 compares original and regularized models. The regularized RF and XGB lose virtually no AUC (0.994 and 0.997 vs. 0.999 and 0.992), while the regularized N drops sharply to 0.888âthe penalty for adding dropout and weight decay to a network trained on 208 examples. Yet the NNreg_reg produces the most discriminative fidelity curves: LIME fidelity drops from 0.977 at F3F_3 to 0.802 at F82F_82, a 17.5-point spread that is far more informative than the flat 0.620 of XGBoost+SHAP. Table 4: Original vs. regularized models. Trust scores reported as SHAP ; LIME. Model AUC (orig. / reg.) Trust (orig.) Trust (reg.) RF 0.999 / 0.994 0.850 ; 0.756 0.871 ; 0.771 XGB 0.992 / 0.997 0.799â ; 0.640 0.836 ; 0.687 N 0.999 / 0.888 0.729 ; 0.812 0.807 ; 0.835 âWith ϔΔ-smoothing. The flat fidelity of XGBoost (all values â0.620â 0.620) is a symptom of overconfidence. When fâĄ(x)f(x) is always close to 0 or 1, removing features shifts the prediction by a roughly constant fraction regardless of which features are removed, so Fkâ0.620F_kâ 0.620 for every k. Regularization relaxes this behavior somewhat (F3=0.715F_3=0.715, F82=0.712F_82=0.712 for XGBreg_reg+SHAP), but the curve remains nearly flat because XGBoostâs regularized confidence is still high. The metric regains full discriminative power only when the model is less confident, as with the NNreg_reg. 4.3.6 Feature Importance Across models and explainers, rice production, rainfall anomalies, and market prices consistently rank among the top 3 features. Some institutional indicators show high SHAP values but low robustness, suggesting they may be artifacts of the model rather than genuine predictors. 5 Discussion The main takeaway is simple: AUC above 0.99 does not guarantee trustworthy explanations. XGBoostâs near-perfect predictions made TreeSHAP produce zero-valued importance vectors for some instances, crashing the JSD calculation. The ϔΔ-smoothing fix resolves the numerical issue, but it does not change the underlying behaviorâthe explainer is essentially saying ânothing matters, because the model already knows the answer.â This is a genuine finding, not a bug: the framework detects when explanations become uninformative. The flat fidelity scores for XGBoost reinforce the point. Because the model is so confident, removing features shifts its output by a roughly constant amount, and fidelity compresses to â0.620â 0.620 for every ablation level and both explainers. The metric can no longer tell a good explanation from a bad one. After regularization, fidelity varies slightly more (F3=0.715F_3=0.715 vs. F82=0.712F_82=0.712 for XGBreg_reg+SHAP), but the gain is modest because XGBoostâs regularized confidence is still high. The pattern becomes pronounced only with the regularized Neural Network, where LIME fidelity drops from 0.977 at F3F_3 to 0.802 at F82F_82. These observations have a practical implication: before auditing explanations, check whether the model is severely overfitted. If it is, fidelity andâto a lesser extentârobustness lose discriminative power, and the Trust Score should be interpreted with caution. On robustness, SHAP consistently outperforms LIME on tree-based models (RF: 0.902 vs. 0.700; XGB: 0.978 vs. 0.658), likely because TreeSHAP follows an exact computation path that avoids the sampling variability inherent in LIME. On the Neural Network, the two explainers are closer (0.694 vs. 0.738), presumably because KernelSHAP introduces its own sampling noise. The Trust Score condenses two dimensions into one number, which is convenient for comparison but inevitably loses nuance. The choice of α and ÎČ matters. In a field setting where explanations are presented to non-technical staff, stability (α>0.5α>0.5) may matter more than faithfulness; in a regulatory context where the explainer must accurately reflect the model, fidelity (ÎČ>0.5ÎČ>0.5) takes priority. The score makes this trade-off explicit rather than hiding it. 5.1 Limitations Several caveats apply. First, the dataset has only 253 instances, and the Acceptable class contains just 3 examples. This limits the reliability of per-class metrics and prevents standard 5-fold cross-validation from using all folds. Second, the ablation protocol scales as OâĄ(dâ n)O(d· n), which limits its use with very large feature sets or deep models. Third, Gaussian perturbations may not reflect domain-relevant variations (a drought scenario is not a random perturbation of rainfall). Fourth, the weights α and ÎČ require domain judgment; there is no universally correct setting. Fifth, the framework currently addresses feature attribution only; counterfactuals and rule-based explanations would need adaptation. Sixth, when the model is overfitted, fidelity loses discriminative powerâregularization or calibration should be applied first. Seventh, the Malagasy dataset has high class separability, so the numerical findings may not transfer directly to other domains. 6 Conclusion We have presented an auditing framework that measures robustness and fidelity of post-hoc explanations and combines them into a Trust Score. Applied to a food security dataset from Madagascar (253 instances, 83 features, 4 classes), it reveals two things worth noting: near-perfect AUC can coexist with numerically degenerate explanations (XGBoost+SHAP yielding zero-valued importance vectors), and fidelity becomes flat when the model is overfitted (XGBoost fidelity â0.620â 0.620 at all ablation levels). After regularization, fidelity recovers discriminative power, particularly for the Neural Network, confirming that the framework is informative when applied to well-calibrated models. Further work should address temporal and spatial data structures, develop domain-specific perturbation strategies, and test the framework in real-time decision support settings. Acknowledgments We thank the Malagasy Ministry of Agriculture and Livestock, the National Office for Nutrition, and the FAO Madagascar office for providing data and domain expertise. References Adadi and Berrada (2018) A. Adadi and M. Berrada Peeking inside the black-box: a survey on explainable artificial intelligence (xai). IEEE Access 6, p. 52138â52160. External Links: Document Cited by: §1, §2. Alvarez-Melis and Jaakkola (2018) D. Alvarez-Melis and T. S. Jaakkola On the robustness of interpretability methods. In Advances in Neural Information Processing Systems (NeurIPS), External Links: Document Cited by: §1, §2. Danilevsky et al. (2020) M. Danilevsky, K. Qian, R. Aharonov, Y. Katsis, B. Kawas, and P. Sen A survey of the state of explainable ai for natural language processing. In Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing, p. 447â459. External Links: Document Cited by: §1. Guidotti et al. (2018) R. Guidotti et al. A survey of methods for explaining black box models. ACM Computing Surveys 51 (5), p. 1â42. External Links: Document Cited by: §1, §2. Gunning and Aha (2019) D. Gunning and D. W. Aha DARPAâs explainable artificial intelligence (xai) program. AI Magazine 40 (2), p. 44â58. External Links: Document Cited by: §2. Holzinger et al. (2019) A. Holzinger, G. Langs, H. Denk, K. Zatloukal, and H. MĂŒller Causability and explainability of artificial intelligence in medicine. WIREs Data Mining and Knowledge Discovery 9 (4), p. e1312. Cited by: §2. Hooker et al. (2021) G. Hooker, L. Mentch, and S. Zhou Unrestricted permutation forces extrapolation: variable importance requires at least one more model, or there is no free variable importance. Statistics and Computing 31 (6), p. 82. Cited by: §3.2. Islam et al. (2024) T. Islam et al. Explainable ai for predictive modeling in healthcare. Smart Health 32, p. 100465. External Links: Document Cited by: §2. Linheiro et al. (2023) E. S. M. Linheiro et al. Explainable ai (xai) for agriculture. In Industry 4.0 Convergence with AI, IoT, Big Data and Cloud Computing, p. 161â176. External Links: Document Cited by: §2. Lundberg and Lee (2017) S. M. Lundberg and S. Lee A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems 30, p. 4765â4774. Cited by: §1, §2. Ralinirina et al. (2025) R. E. Ralinirina, J. C. Ralaivao, N. M. Ralaivao, A. J. Ratovondrahona, and T. Mahatody Unveiling the potential of explainable artificial intelligence in predictive modeling, exploring food security and nutrition in madagascar. In Advances in ICT Research in the Balkans (BCI 2024), Communications in Computer and Information Science, Vol. 2391. External Links: Document Cited by: §1, Abstract. Ratovondrahona et al. (2023) A. J. Ratovondrahona, H. Rakotozanany, T. Mahatody, and V. Manantsoa Human like programming using SPADE BDI agents and the GPT-3-based transformer. In Human Interaction and Emerging Technologies (IHIET-AI 2023): Artificial Intelligence and Future Applications, AHFE Open Access, Vol. 70. External Links: Document Cited by: §1. Ribeiro et al. (2016) M. T. Ribeiro, S. Singh, and C. Guestrin âWhy should i trust you?â: explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, p. 1135â1144. Cited by: §1, §2. Samek et al. (2017) W. Samek, A. Binder, G. Montavon, S. Bach, and K. MĂŒller Evaluating the visualization of what a deep neural network has learned. IEEE Transactions on Neural Networks and Learning Systems 28 (11), p. 2660â2673. External Links: Document Cited by: §2. Slack et al. (2020) D. Slack et al. Fooling lime and shap: adversarial attacks on post hoc explanation methods. In Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, p. 180â186. External Links: Document Cited by: §1, §2. Stiglic et al. (2020) G. Stiglic et al. Interpretability of machine learning-based prediction models in healthcare. WIREs Data Mining and Knowledge Discovery 10 (5), p. e1379. External Links: Document Cited by: §1.