Mathematical Foundations of Explainable Artificial Intelligence: From Optimisation and Statistics to Interpretable Models

Main Article Content

Joy Oluwatunmise Ogunwuyi
Michael Abimbola Oladosu
Moses Adondua Abah
Adeyinka Fatimoh Aibuki
Mubarak Alao Abdhamid
Emmanuel Kayode Ajao

Abstract

Artificial Intelligence (AI) is rapidly being adopted in high-stakes decision-making, increasing the need for mathematical methods that can explain complex predictive models. Explainable Artificial Intelligence (XAI) aims to establish interpretable links between model inputs, the computational process, and the resulting prediction. Still, much current work relies on heuristic explanations that are not sufficiently mathematically described. This review focuses on the mathematical aspects of XAI and their relevance, highlighting topics from optimisation theory, probability and statistics, linear algebra, information theory, game theory, and functional approximation. In particular, it explores mathematical descriptions of feature attribution, sensitivity analysis, surrogate modelling, counterfactual explanation, and local and global interpretability. The review also examines optimisation-based approaches to determine the minimal change needed to alter model predictions, and statistical approaches to measure uncertainty in predictions, variable dependence, model confidence, and explanation stability. We also discuss gradient-based and perturbation-based methods for nonlinear models, as well as the role of Shapley-value formulations and cooperative game theory in decomposing model predictions. The review emphasises accuracy, explainability, robustness, computational complexity, and explanation fidelity, with a mathematical focus. The paper critically examines high dimensionality, nonlinearity, model uncertainty, explanation instability, and fairness challenges. The review shows that a rigorous mathematical perspective can help develop a unified design framework for more transparent, reliable AI systems. Future research directions include optimisation-based XAI, uncertainty-based explanations, mathematically provable interpretability, and embedding explainability into new deep learning and autonomous decisionmaking systems.

Downloads

Download data is not yet available.

Article Details

Section

Articles

How to Cite

[1]
Joy Oluwatunmise Ogunwuyi, Michael Abimbola Oladosu, Moses Adondua Abah, Adeyinka Fatimoh Aibuki, Mubarak Alao Abdhamid, and Emmanuel Kayode Ajao, “Mathematical Foundations of Explainable Artificial Intelligence: From Optimisation and Statistics to Interpretable Models”, IJSCE, vol. 16, no. 5, pp. 1–10, Nov. 2026, doi: 10.35940/ijsce.E3730.16051126.

References

Barredo Arrieta A, Díaz-Rodríguez N, Del Ser J, Bennetot A, Tabik S, Barbado A, et al. Explainable artificial intelligence (XAI): concepts, taxonomies, opportunities and challenges toward responsible AI. Inf Fusion. 2020; 58:82-115. DOI: 10.1016/j.inffus.2019.12.012

Samek W, Montavon G, Lapuschkin S, Anders CJ, Müller KR. Explaining deep neural networks and beyond: a review of methods and applications. Proc IEEE. 2021;109(3):247-78.

DOI: 10.1109/JPROC.2021.3060483

Minh D, Wang HX, Li YF, Nguyen TN. Explainable artificial intelligence: a comprehensive review. Artif Intell Rev. 2022;55(5):3503-68. DOI: 10.1007/s10462-021-10088-y

Dwivedi R, Dave D, Naik H, Singhal S, Omer R, Patel P, et al. Explainable AI (XAI): core ideas, techniques, and solutions. ACM Comput Surv. 2023;55(9):194. DOI: 10.1145/3561048

Ghassemi M, Oakden-Rayner L, Beam AL. The false hope of current approaches to explainable artificial intelligence in health care. Lancet Digit Health. 2021;3(11): e745-50.

DOI: 10.1016/S2589-7500(21)00208-9

Molnar C, König G, Herbinger J, Freiesleben T, Dandl S, Scholbeck CA, et al. General pitfalls of model-agnostic interpretation methods for machine learning models. In: Holzinger A, Goebel R, Fong R, Moon T, Müller KR, Samek W, editors. xxAI – beyond explainable AI. Cham: Springer; 2022. p. 39-68. DOI: 10.1007/978-3-031-04083-2_4

Vilone G, Longo L. Notions of explainability and evaluation approaches for explainable artificial intelligence. Inf Fusion. 2021; 76:89-106.

DOI: 10.1016/j.inffus.2021.05.009

Schwalbe G, Finzel B. A comprehensive taxonomy for explainable artificial intelligence: a systematic survey of surveys on methods and concepts. Data Min Knowl Discov. 2024;38(5):3043-101.

DOI: 10.1007/s10618-022-00867-8

Longo L, Brcic M, Cabitza F, Choi J, Confalonieri R, Del Ser J, et al. Explainable artificial intelligence (XAI) 2.0: a manifesto of open challenges and interdisciplinary research directions. Inf Fusion. 2024; 106:102301. DOI: 10.1016/j.inffus.2024.102301

Jiménez-Luna J, Grisoni F, Schneider G. Drug discovery with explainable artificial intelligence. Nat Mach Intell. 2020;2(10):573-84. DOI: 10.1038/s42256-020-00236-4

Bender A, Cortés-Ciriano I. Artificial intelligence in drug discovery: what is realistic, what are illusions? Part 1: ways to make an impact, and why we are not there yet. Drug Discov Today. 2021;26(2):511-24.

DOI: 10.1016/j.drudis.2020.12.009

Amann J, Blasimme A, Vayena E, Frey D, Madai VI. Explainability for artificial intelligence in healthcare: a multidisciplinary perspective. BMC Med Inform Decis Mak. 2020;20(1):310.

DOI: 10.1186/s12911-020-01332-6

Markus AF, Kors JA, Rijnbeek PR. The role of explainability in creating trustworthy artificial intelligence for health care: a comprehensive survey of the terminology, design choices, and evaluation strategies. J Biomed Inform. 2021; 113:103655. DOI: 10.1016/j.jbi.2020.103655

Linardatos P, Papastefanopoulos V, Kotsiantis S. Explainable AI: a review of machine learning interpretability methods. Entropy. 2021;23(1):18. DOI: 10.3390/e23010018

Holzinger A, Saranti A, Molnar C, Biecek P, Samek W. Explainable AI methods – a brief overview. In: Holzinger A, Goebel R, Fong R, Moon T, Müller KR, Samek W, editors. xxAI – beyond explainable AI. Cham: Springer; 2022. p. 13-38. DOI: 10.1007/978-3-031-04083-2_2

Bodria F, Giannotti F, Guidotti R, Naretto F, Pedreschi D, Rinzivillo S. Benchmarking and survey of explanation methods for black box models. Data Min Knowl Discov. 2023;37(5):1719-78. DOI: 10.1007/s10618-023-00933-9

Ali S, Abuhmed T, El-Sappagh S, Muhammad K, Alonso-Moral JM, Confalonieri R, et al. Explainable artificial intelligence (XAI): what we know and what is left to attain trustworthy artificial intelligence. Inf Fusion. 2023; 99:101805. DOI: 10.1016/j.inffus.2023.101805

Page MJ, McKenzie JE, Bossuyt PM, Boutron I, Hoffmann TC, Mulrow CD, et al. The PRISMA 2020 statement: an updated guideline for reporting systematic reviews. BMJ. 2021;372: n71. DOI: 10.1136/bmj.n71

Molnar C, Casalicchio G, Bischl B. Interpretable machine learning – a brief history, state-of-the-art and challenges. In: Koprinska I, Kamp M, Appice A, Loglisci C, Antonie L, Zimmermann A, et al., editors. ECML PKDD 2020 Workshops. Cham: Springer; 2021. p. 417-31. DOI: 10.1007/978-3-030-65965-3_28

Rudin C, Chen C, Chen Z, Huang H, Semenova L, Zhong C. Interpretable machine learning: fundamental principles and 10 grand challenges. Stat Surv. 2022; 16:1-85. DOI: 10.1214/21-SS133

Zhang Y, Tiňo P, Leonardis A, Tang K. A survey on neural network interpretability. IEEE Trans Emerg Top Comput Intell. 2021;5(5):726-42. DOI: 10.1109/TETCI.2021.3100641

Apley DW, Zhu J. Visualising the effects of predictor variables in black box supervised learning models. J R Stat Soc Series B Stat Methodol. 2020;82(4):1059-86. DOI: 10.1111/rssb.12377

Watson DS, Wright MN. Testing conditional independence in supervised learning algorithms. Mach Learn. 2021;110(8):2107-29.

DOI: 10.1007/s10994-021-06030-6

Hüllermeier E, Waegeman W. Aleatoric and epistemic uncertainty in machine learning: an introduction to concepts and methods. Mach Learn. 2021;110(3):457-506. DOI: 10.1007/s10994-021-05946-3

Karimi AH, Barthe G, Schölkopf B, Valera I. A survey of algorithmic recourse: contrastive explanations and consequential recommendations. ACM Comput Surv. 2022;55(5):95. DOI: 10.1145/3527848

Verma S, Boonsanong V, Hoang M, Hines K, Dickerson J, Shah C. Counterfactual explanations and algorithmic recourse for machine learning: a review. ACM Comput Surv. 2024;56(12):312.

DOI: 10.1145/3677119

Chen H, Covert IC, Lundberg SM, Lee SI. Algorithms to estimate Shapley value feature attributions. Nat Mach Intell. 2023;5(6):590-601. DOI: 10.1038/s42256-023-00657-x

Lundberg SM, Erion G, Chen H, DeGrave A, Prutkin JM, Nair B, et al. From local explanations to global understanding with explainable AI for trees. Nat Mach Intell. 2020;2(1):56-67.

DOI: 10.1038/s42256-019-0138-9

Chen Z, Bei Y, Rudin C. Concept whitening for interpretable image recognition. Nat Mach Intell. 2020;2(12):772-82.

DOI: 10.1038/s42256-020-00265-z

Dandl S, Molnar C, Binder M, Bischl B. Multi-objective counterfactual explanations. In: Bäck T, Preuss M, Deutz A, Wang H, Doerr C, Emmerich M, et al., editors. Parallel Problem Solving from Nature – PPSN XVI. Cham: Springer; 2020. p. 448-69.

DOI: 10.1007/978-3-030-58112-1_31

Guidotti R. Counterfactual explanations and how to find them: literature review and benchmarking. Data Min Knowl Discov. 2024;38(5):2770-824. DOI: 10.1007/s10618-022-00831-6

Nauta M, Trienes J, Pathak S, Nguyen E, Peters M, Schmitt Y, et al. From anecdotal evidence to quantitative evaluation methods: a systematic review on evaluating explainable AI. ACM Comput Surv. 2023;55(13s):295. DOI: 10.1145/3583558

Zhou J, Gandomi AH, Chen F, Holzinger A. Evaluating the quality of machine learning explanations: a survey on methods and metrics. Electronics. 2021;10(5):593. DOI: 10.3390/electronics10050593

Mohseni S, Zarei N, Ragan ED. A multidisciplinary survey and framework for design and evaluation of explainable AI systems. ACM Trans Interact Intell Syst. 2021;11(3-4):24. DOI: 10.1145/3387166

Salih AM, Raisi-Estabragh Z, Galazzo IB, Radeva P, Petersen SE, Lekadir K, et al. A perspective on explainable artificial intelligence methods: SHAP and LIME. Adv Intell Syst. 2025;7(1):2400304.

DOI: 10.1002/aisy.202400304

Stepin I, Alonso JM, Catala A, Pereira-Fariña M. A survey of contrastive and counterfactual explanation generation methods for explainable artificial intelligence. IEEE Access. 2021;9:11974-2001.

DOI: 10.1109/ACCESS.2021.3051315

Mothilal RK, Sharma A, Tan C. Explaining machine learning classifiers through diverse counterfactual explanations. In: Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency (FAT* '20). New York: ACM; 2020. p. 607-17. DOI: 10.1145/3351095.3372850

Poyiadzi R, Sokol K, Santos-Rodriguez R, De Bie T, Flach P. FACE: feasible and actionable counterfactual explanations. In: Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society (AIES '20). New York: ACM; 2020. p. 344-50. DOI: 10.1145/3375627.3375850

Chou YL, Moreira C, Bruza P, Ouyang C, Jorge J. Counterfactuals and causability in explainable artificial intelligence: theory, algorithms, and applications. Inf Fusion. 2022; 81:59-83.

DOI: 10.1016/j.inffus.2021.11.003

Wellawatte GP, Seshadri A, White AD. Model-agnostic generation of counterfactual explanations for molecules. Chem Sci. 2022;13(13):3697-705. DOI: 10.1039/D1SC05259D

Ras G, Xie N, van Gerven M, Doran D. Explainable deep learning: a field guide for the uninitiated. J Artif Intell Res. 2022; 73:329-96.

DOI: 10.1613/jair.1.13200

Aas K, Jullum M, Løland A. Explaining individual predictions when features are dependent: more accurate approximations to Shapley values. Artif Intell. 2021; 298:103502. DOI: 10.1016/j.artint.2021.103502

Slack D, Hilgard S, Jia E, Singh S, Lakkaraju H. Fooling LIME and SHAP: adversarial attacks on post hoc explanation methods. In: Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society (AIES '20). New York: ACM; 2020. p. 180-6. DOI: 10.1145/3375627.3375830

Rawal A, McCoy J, Rawat DB, Sadler BM, Amant RS. Recent advances in trustworthy explainable artificial intelligence: status, challenges, and perspectives. IEEE Trans Artif Intell. 2022;3(6):852-66.

DOI: 10.1109/TAI.2021.3133846

Ponce-Bobadilla AV, Schmitt V, Maier CS, Mensing S, Stodtmann S. Practical guide to SHAP analysis: explaining supervised machine learning model predictions in drug development. Clin Transl Sci. 2024;17(11):e70056. DOI: 10.1111/cts.70056

Abdar M, Pourpanah F, Hussain S, Rezazadegan D, Liu L, Ghavamzadeh M, et al. A review of uncertainty quantification in deep learning: techniques, applications and challenges. Inf Fusion. 2021; 76:243-97. DOI: 10.1016/j.inffus.2021.05.008

Gawlikowski J, Tassi CRN, Ali M, Lee J, Humt M, Feng J, et al. A survey of uncertainty in deep neural networks. Artif Intell Rev. 2023;56(Suppl 1):1513-89. DOI: 10.1007/s10462-023-10562-9

Angelopoulos AN, Bates S. Conformal prediction: a gentle introduction. Found Trends Mach Learn. 2023;16(4):494-591.

DOI: 10.1561/2200000101

Bhatt U, Weller A, Moura JMF. Evaluating and aggregating feature-based model explanations. In: Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI-20). 2020. p. 3016-22. DOI: 10.24963/ijcai.2020/417

Burkart N, Huber MF. A survey on the explainability of supervised machine learning. J Artif Intell Res. 2021; 70:245-317.

DOI: 10.1613/jair.1.12228

Mehrabi N, Morstatter F, Saxena N, Lerman K, Galstyan A. A survey on bias and fairness in machine learning. ACM Comput Surv. 2021;54(6):115. DOI: 10.1145/3457607

Pessach D, Shmueli E. A review on fairness in machine learning. ACM Comput Surv. 2022;55(3):51. DOI: 10.1145/3494672

Jiménez-Luna J, Skalic M, Weskamp N, Schneider G. Colouring molecules with explainable artificial intelligence for preclinical relevance assessment. J Chem Inf Model. 2021;61(3):1083-94.

DOI: 10.1021/acs.jcim.0c01344

Rodríguez-Pérez R, Bajorath J. Interpretation of machine learning models using Shapley values: application to compound potency and multi-target activity predictions. J Comput Aided Mol Des. 2020;34(10):1013-26. DOI: 10.1007/s10822-020-00314-0

Rodríguez-Pérez R, Bajorath J. Explainable machine learning for property predictions in compound optimisation. J Med Chem. 2021;64(24):17744-52. DOI: 10.1021/acs.jmedchem.1c01789

Tjoa E, Guan C. A survey on explainable artificial intelligence (XAI): toward medical XAI. IEEE Trans Neural Netw Learn Syst. 2021;32(11):4793-813. DOI: 10.1109/TNNLS.2020.3027314

Salahuddin Z, Woodruff HC, Chatterjee A, Lambin P. Transparency of deep neural networks for medical image analysis: a review of interpretability methods. Comput Biol Med. 2022; 140:105111.

DOI: 10.1016/j.compbiomed.2021.105111

van der Velden BHM, Kuijf HJ, Gilhuijs KGA, Viergever MA. Explainable artificial intelligence (XAI) in deep learning-based medical image analysis. Med Image Anal. 2022; 79:102470.

DOI: 10.1016/j.media.2022.102470