journal article·2025-06-24Open access

Enhancing Neural Network Interpretability Through Deep Prior-Guided Expected Gradients

Su-Ying Guo, Xiu-Jun Gong

Applied Sciences· Volume 15· Issue 13

Abstract

The increasing adoption of DNNs in critical domains such as healthcare, finance, and autonomous systems underscores the growing importance of explainable artificial intelligence (XAI). In these high-stakes applications, understanding the decision-making processes of models is essential for ensuring trust and safety. However, traditional DNNs often function as “black boxes,” delivering accurate predictions without providing insight into the factors driving their outputs. Expected gradients (EG) is a prominent method for making such explanations by calculating the contribution of each input feature to the final decision. Despite its effectiveness, conventional baselines used in state-of-the-art implementations of EG often lack a clear definition of what constitutes “missing” information. This study proposes DeepPrior-EG, a deep prior-guided EG framework for leveraging prior knowledge to more accurately align with the concept of missingness and enhance interpretive fidelity. It resolves the baseline misalignment by initiating gradient path integration from learned prior baselines, which are derived from the deep features of CNN layers. This approach not only mitigates feature absence artifacts but also amplifies critical feature contributions through adaptive gradient aggregation. This study further introduces two probabilistic prior modeling strategies: a multivariate Gaussian model (MGM) to capture high-dimensional feature interdependencies and a Bayesian nonparametric Gaussian mixture model (BGMM) that autonomously infers mixture complexity for heterogeneous feature distributions. An explanation-driven model retraining paradigm is also implemented to validate the robustness of the proposed framework. Comprehensive evaluations across various qualitative and quantitative metrics demonstrate its superior interpretability. The BGMM variant achieves competitive performance in attribution quality and faithfulness against existing methods. DeepPrior-EG advances the interpretability of complex models within the XAI landscape and unlocks their potential in safety-critical applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Explainable Artificial Intelligence (XAI) · Adversarial Robustness in Machine Learning · Domain Adaptation and Few-Shot Learning

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Intelligence and Computing, Tianjin University, No. 135 Yaguan Road, Haihe Education Park, Tianjin 300354, China

Funding

Special Project of Scientific and Technological Basic Resources Survey of the Ministry of Science and Technology of China · Special Project of Natural Science Foundation of China

References (39)

Show source-provided references
1. Scientific discovery in the age of artificial intelligence10.1038/s41586-023-06221-2 ↗
2. Alowais, S.A., Alghamdi, S.S., Alsuhebany, N., Alqahtani, T., Alshaya, A.I., Almohareb, S.N., Aldairem, A., Alrashed, M., Bin Saleh, K., and Badreldin, H.A. (2023). Revolutionizing healthcare: The role of artificial intelligence in clinical practice. BMC Med. Educ., 2.10.1186/s12909-023-04698-z ↗
3. Artificial Intelligence in Engineering
4. Nazir, S., Dickson, D.M., and Akram, M.U. (2023). Survey of explainable artificial intelligence techniques for biomedical imaging with deep neural networks. Comput. Biol. Med., 2.10.1016/j.compbiomed.2023.106668 ↗
5. Security issues in implantable medical devices: Fact or fiction?10.1016/j.scs.2020.102552 ↗
6. Are deep neural networks adequate behavioral models of human visual perception?10.1146/annurev-vision-120522-031739 ↗
7. Interpreting black-box models: A review on explainable artificial intelligence10.1007/s12559-023-10179-8 ↗
8. Reliable post hoc explanations: Modeling uncertainty in explainability
9. Ai, Q., and Narayanan, R.L. (2021, January 1–5). Model-agnostic vs. model-intrinsic interpretability for explainable product search. Proceedings of the 30th ACM International Conference on Information & Knowledge Management, Queensland, Australia.10.1145/3459637.3482276 ↗
10. Decision tree methods: Applications for classification and prediction
11. Linear regression10.1002/wics.1198 ↗
13. Vesic, A., Marjanovic, M., Petrovic, A., Strumberger, I., Tuba, E., and Bezdan, T. (2022, January 25–26). Optimizing extreme learning machine by animal migration optimization. Proceedings of the 2022 IEEE Zooming Innovation in Consumer Technologies Conference (ZINC), Novi Sad, Serbia.10.1109/ZINC55034.2022.9840711 ↗
14. Golubovic, S., Petrovic, A., Bozovic, A., Antonijevic, M., Zivkovic, M., and Bacanin, N. (2023, January 27–28). Gold price forecast using variational mode decomposition-aided long short-term model tuned by modified whale optimization algorithm. Proceedings of the International Conference on Data Intelligence and Cognitive Informatics, Tirunelveli, India.10.1007/978-981-99-7962-2_6 ↗
16. Kontschieder, P., Fiterau, M., Criminisi, A., and Bulo, S.R. (2015, January 7–13). Deep neural decision forests. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.172 ↗
17. Chen, T., and Guestrin, C. (2016, January 13–17). Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
18. Deep learning for medical anomaly detection—A survey
19. Sundararajan, M., Taly, A., and Yan, Q. (2016). Gradients of counterfactuals. arXiv.
20. Shrikumar, A., Greenside, P., and Kundaje, A. (2017, January 6–11). Learning important features through propagating activation differences. Proceedings of the International Conference on Machine Learning, Sydney, Australia.
21. Bach, S., Binder, A., Montavon, G., Klauschen, F., Müller, K.R., and Samek, W. (2015). On pixel-wise explanations for non-linear classifier decisions by layer-wise relevance propagation. PLoS ONE, 2.10.1371/journal.pone.0130140 ↗
22. Improving performance of deep learning models with axiomatic attribution priors and expected gradients10.1038/s42256-021-00343-w ↗
23. Watershed segmentation using prior shape and appearance knowledge10.1016/j.imavis.2006.10.009 ↗
24. Ulyanov, D., Vedaldi, A., and Lempitsky, V. (2018, January 18–22). Deep image prior. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.
25. The Multivariate Gaussian Distribution
26. Nosrati, M.S., and Hamarneh, G. (2016). Incorporating prior knowledge in medical image segmentation: A survey. arXiv.
27. Zhao, X., Huang, W., Huang, X., Robu, V., and Flynn, D. (2021, January 27–30). Baylime: Bayesian local interpretable model-agnostic explanations. Proceedings of the Uncertainty in Artificial Intelligence, Online.
28. Buono, V., Mashhadi, P.S., Rahat, M., Tiwari, P., and Byttner, S. (2024). Expected Grad-CAM: Towards gradient faithfulness. arXiv.
29. Kim, B., Wattenberg, M., Gilmer, J., Cai, C., Wexler, J., and Viegas, F. (2018, January 10–15). Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (tcav). Proceedings of the International Conference on Machine Learning, Stockholm, Sweden.
30. Smilkov, D., Thorat, N., Kim, B., Viégas, F., and Wattenberg, M. (2017). Smoothgrad: Removing noise by adding noise. arXiv.
31. Ross, A.S., Hughes, M.C., and Doshi-Velez, F. (2017). Right for the right reasons: Training differentiable models by constraining their explanations. arXiv.10.24963/ijcai.2017/371 ↗
32. How to explain individual classification decisions
33. Enguehard, J. (2023). Sequential Integrated Gradients: A simple but effective method for explaining language models. arXiv.10.18653/v1/2023.findings-acl.477 ↗
34. Using a deep learning algorithm and integrated gradients explanation to assist grading for diabetic retinopathy10.1016/j.ophtha.2018.11.016 ↗
35. Lu, J. (2021). A survey on Bayesian inference for Gaussian mixture model. arXiv.
36. Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., and Fei-Fei, L. (2009, January 20–25). Imagenet: A large-scale hierarchical image database. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA.10.1109/CVPR.2009.5206848 ↗
37. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
38. From local explanations to global understanding with explainable AI for trees10.1038/s42256-019-0138-9 ↗
39. Petsiuk, V. (2018). Rise: Randomized Input Sampling for Explanation of black-box models. arXiv.