Explainability of genotype embedding models through observed cohort paths
Organizations: College of Computing and Data Science, Nanyang Technological University, Singapore
Abstract
Deep learning models that combine genotypes with neuroimaging predict neurological diseases more accurately than either modality alone. Their clinical use, however, requires identifying which genetic variants a prediction is based on. Path-based attribution methods like Integrated Gradients address this by integrating the model's gradient from a baseline to the input. These methods assume the model accepts any point along that path as a valid input. Genotype models violate this assumption. They map the three discrete allele dosages {0,1,2} to vectors through a learned embedding defined only at those values, so a straight line passes through fractional genotypes at which no embedding, and therefore no gradient, exists. Attribution must therefore proceed in embedding space where the choice of path can affect the resulting attribution. We show that the commonly used per-variant estimator does not generally satisfy completeness. Additive separability guarantees completeness for this estimator, but interactions between variants generally break that property. Instead, we integrate along piecewise-linear embedding-space paths connecting genotype waypoints observed in the training cohort. Each path satisfies completeness in the continuum although the interiors of its segments are not necessarily observed. Our method improves faithfulness over Integrated Gradients and discretized Integrated Gradients under both perturbation protocols, achieves the strongest results for Parkinson's disease classification under support-preserving perturbations, and is competitive with a support-background Shapley baseline under per-variant perturbations. It also shows higher seed stability and better recovery of planted non-additive effects in a synthetic benchmark.
Figures & tables
| Property | Value |
| Subjects and scans | |
| Unique subjects | 217 |
| Parkinson’s disease | 157 |
| Healthy control | 60 |
| Total samples (longitudinal) | 403 |
| Train / val / test (subject-level) | 70 / 20 / 10 % |
| Model | Modality | Acc. (%) | F1 | AUC |
| Majority class | – | 72.4 | 0.840 | 0.500 |
| Majhi et al. (2024) [ 17 ] | sMRI | 71.68 | 0.829 | 0.583 |
| Camacho et al. (2023) [ 18 ] | sMRI | 72.83 | 0.829 | 0.631 |
| 3D ResNet-34 [ 24 ] | sMRI | 68.21 | 0.801 | 0.552 |
| 3D DenseNet-121 [ 25 ] | sMRI | 77.12 | 0.856 | 0.664 |
| SE-Net [ 26 ] | SNP | 66.67 | 0.779 | 0.601 |
| Genotype branch | AUC (95% CI) | F1 | AUC vs. full |
| None (sMRI only) | 0.664 (0.61–0.72) | 0.856 | 0.068 |
| Additive (linear in dosage) | 0.681 (0.63–0.73) | 0.863 | 0.051 |
| Non-additive (SE-Net, full) | 0.732 (0.68–0.78) | 0.889 | – |
| Full vs. additive: AUC , | |||
| Estimator | Gap ( ) | Gap ( ) |
| Per-variant embedding segments | 0.39 | 0.38 |
| ISM / finite difference [ 28 ] | 0.29 (no ) | |
| IG (single path, embedding) [ 3 ] | 0.052 | 0.011 |
| CPA (ours) (single path) | 0.041 | 0.008 |
| (a) Per-variant | (b) Support-preserving | ||||
| Method | Family | AUDC | AUIC | AUDC | AUIC |
| Random ranking | control | 0.71 | 0.31 | 0.70 | 0.32 |
| GWAS -value rank | non-model | 0.66 | 0.37 | 0.63 | 0.38 |
| Saliency [ 20 ] | gradient | 0.60 | 0.41 | 0.58 | 0.42 |
| Gradient Input [ 21 ] | gradient | 0.57 | 0.44 | 0.55 | 0.45 |
| DeepLIFT (Rescale) [ 30 ] | reference | 0.51 | 0.49 | 0.49 | 0.50 |
| Quantity | Straight-line | CPA | Ratio |
| Link 1 — off-support mass | |||
| Integrated NLL, | 41.7 | 12.3 | 3.4 |
| Mean dist. to nearest observed | 287 | 0 (by constr.) | |
| Link 2 — gradient stability | |||
| Mean | 2.81 | 1.12 | 2.5 |
| Step-to-step variance | 0.87 | 0.09 | 9.7 |
| Method | Rank variance | Seed stability |
| Integrated Gradients [ 3 ] | 68,400 | 0.52 0.09 |
| Guided IG [ 9 ] | 41,200 | 0.61 0.08 |
| Expected Gradients [ 4 ] | 21,300 | 0.68 0.06 |
| Discretized IG [ 6 ] | 34,900 | 0.71 0.05 |
| GS-IG [ 7 ] | 27,600 | 0.69 0.07 |
| ISM / finite difference [ 28 ] | 29,700 | 0.79 0.04 |
| Non-additive effect (strict / LD-aware) | Additive effect (control) | ||||
| Method | |||||
| Random | 0.02 / 0.03 | 0.02 / 0.03 | 0.02 / 0.03 | 0.02 | 0.02 |
| Integrated Gradients [ 3 ] | 0.11 / 0.19 | 0.21 / 0.34 | 0.31 / 0.49 | 0.44 | 0.61 |
| Discretized IG [ 6 ] | 0.13 / 0.22 | 0.29 / 0.41 | 0.44 / 0.58 | 0.44 | 0.61 |
| GS-IG [ 7 ] | 0.14 / 0.24 | 0.30 / 0.43 | 0.46 / 0.60 | 0.43 | 0.60 |
| ISM / finite difference [ 28 ] | 0.15 / 0.26 | 0.31 / 0.45 | 0.48 / 0.62 | 0.45 | 0.62 |
| Variant | AUDC | AUIC | Off-supp. mass |
| CPA (full) | 0.35 | 0.65 | 12.3 |
| support constraint | 0.42 | 0.57 | 38.9 |
| re-anchoring at waypoints | 0.40 | 0.59 | 24.1 |
| path averaging ( ) | 0.37 | 0.63 | 12.3 |
| neighbours (vs. ) | 0.38 | 0.62 | 13.8 |
| Method | Hits in top-100 | Expected (null) | Perm. |
| Random | 2 | 1.7 | 0.51 |
| Integrated Gradients [ 3 ] | 3 | 1.7 | 0.21 |
| Discretized IG [ 6 ] | 4 | 1.7 | 0.11 |
| ISM / finite difference [ 28 ] | 5 | 1.7 | 0.04 |
| KernelSHAP (support bg) [ 5 ] | 5 | 1.7 | 0.04 |
| CPA (ours) | 6 | 1.7 | 0.012 |
| Amashi Niwarthana Amashi Niwarthana is a Ph.D. student at the College of Computing and Data Science, Nanyang Technological University (NTU), Singapore. Her research interests include multimodal learning, explainable artificial intelligence, and computational approaches to neurodegeneration, with a focus on integrating transcriptomics, proteomics, and neuroimaging data. Her prior work spans attention-based image reconstruction, graph neural networks, and machine learning for biomedical and sensing applications. |
| Aloysius Tan Aloysius Tan received the B.Sc. degree in computer science from Nanyang Technological University (NTU), Singapore, and is currently pursuing the M.Sc. degree at the College of Computing and Data Science, NTU. He is a Data Engineer at HoYoverse, where he builds and optimizes scalable data pipelines for high-volume event and user data, with experience in data modelling, distributed processing, and production-grade analytics. His research interests lie at the intersection of data engineering, machine learning, and agentic AI, including multimodal models and explainable AI. |
| Jagath C. Rajapakse Jagath C. Rajapakse is a Professor of Data Science at the College of Computing and Data Science, Nanyang Technological University (NTU), Singapore. He received the B.Sc. degree in electronics and telecommunication engineering from the University of Moratuwa, Sri Lanka, and M.S. and Ph.D. degrees in electrical and computer engineering from the University of Buffalo, USA. He has published over 300 peer-reviewed research articles in premier journals and conferences. His current research interests are in explainable AI, generative AI, brain imaging, and drug discovery. He has served as an Associate Editor for several IEEE Transactions including the IEEE Transactions on Computational Biology and Bioinformatics, the IEEE Transactions on Neural Networks and Learning Systems, and the IEEE Transactions on Medical Imaging. He is a Fellow of the IEEE. |
Gradient-Based Attribution
Gradient-Based Attribution uses model derivatives to estimate which inputs, features, parameters, or training examples influence predictions and behaviors.
See all 123 papers