A method for explaining individual predictions in neural networks.

PeerJ Comput Sci

Department of Software Science, Dankook University, Youngin, Gyeonggi-do, Republic of Korea.

Published: April 2025


Category Ranking

98%

Total Visits

921

Avg Visit Duration

2 minutes

Citations

20

Article Abstract

Background: Recently, the explainability of the prediction results of machine learning models has attracted attention. Most high-performance prediction models are black boxes that cannot be explained. Artificial neural networks are also considered black box models. Although they can explain image classification results to some extent, they still struggle to explain the classification and regression results for tabular data. In this study, we explain the individual prediction results derived from a neural network-based prediction model.

Methods: The output of a neural network is fundamentally determined by multiplying the input values by the network weights. In other words, the output is a weighted sum of the input values. The weights control how much each input value contributes to the output. The degree of influence of an input value on the output can be evaluated as ( · weight value )/weighted sum. From this insight, we can calculate the contribution of each input value to the output as it flows through the neural network.

Results: With the proposed method, the neural network is no longer a black box. The proposed method effectively explains the predictions made by the neural network and is independent of the depth of the hidden layers and the number of nodes in each hidden layer. This provides a clear rationale for this interpretation. It can be applied to both regression and classification models. The proposed method is implemented as a Python library, making it easy to use.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC12190433PMC
http://dx.doi.org/10.7717/peerj-cs.2802DOI Listing

Publication Analysis

Top Keywords

neural network
12
proposed method
12
predictions neural
8
neural networks
8
black box
8
input values
8
input output
8
neural
7
output
5
input
5

Similar Publications

Insect pupae change morphologically (e.g., pigmentation of eyes, wings, setae and legs) during the intrapuparial period.

View Article and Find Full Text PDF

Motivation: Graph Neural Network (GNN) models have emerged in many fields and notably for biological networks constituted by genes or proteins and their interactions. The majority of enrichment study methods apply over-representation analysis and gene/protein set scores according to the existing overlap between pathways. Such methods neglect knowledges coming from the interactions between the gene/protein sets.

View Article and Find Full Text PDF

Vagus nerve stimulation (VNS) is a promising therapy for neurological and inflammatory disorders across multiple organ systems. However, conventional rigid interfaces fail to accommodate dynamic mechanical environments, leading to mechanical mismatches, tissue irritation, and unstable long-term interfaces. Although soft neural interfaces address these limitations, maintaining mechanical durability and stable electrical performance remains challenging.

View Article and Find Full Text PDF

To develop a DeepSurv model for predicting survival in pancreatic adenocarcinoma patients, evaluating the benefit of surgical versus non-surgical treatment across different stages, including stage IV subcategories. Clinical data were extracted from the SEER database (2000-2020). Patients were randomly divided into a model-building group and an experimental group.

View Article and Find Full Text PDF

Unlabelled: Automated analysis of optical coherence tomography (OCT) biomarkers improves the prediction of results of loading anti-VEGF therapy of vascular pigment epithelial detachment (PED) associated with neovascular age-related macular degeneration (nAMD).

Objective: This study evaluated the effectiveness of OCT biomarker analysis algorithm in predicting the anatomical outcomes of loading anti-VEGF therapy for vascular PED in nAMD.

Material And Methods: OCT scans performed prior to loading anti-VEGF therapy were analyzed using the algorithm in 69 treatment-naïve nAMD patients (70 eyes) with vascular PED exceeding 200 µm in height.

View Article and Find Full Text PDF