Zing Forum

Reading

Explainable Quantum Machine Learning: A New Paradigm for Liver Disease Detection Integrating XAI Technologies

An open-source project combining quantum machine learning and explainable AI (XAI) that implements liver disease detection via hybrid quantum-classical neural networks, and uses feature ablation experiments to verify the scientific validity of model explanations.

量子机器学习可解释AI医疗AIPennyLaneTensorFlowSHAP肝脏疾病检测特征消融混合神经网络临床决策支持
Published 2026-05-17 21:13Recent activity 2026-05-17 21:19Estimated read 6 min
Explainable Quantum Machine Learning: A New Paradigm for Liver Disease Detection Integrating XAI Technologies
1

Section 01

Introduction: A New Paradigm for Liver Disease Detection Integrating Quantum ML and XAI

This article introduces an open-source project that implements liver disease detection using hybrid quantum-classical neural networks and integrates explainable AI (XAI) technology to address the black-box problem in medical AI. The project uses feature ablation experiments to verify the scientific validity of model explanations, providing a new paradigm for the clinical implementation of AI in healthcare.

2

Section 02

Background: The Black-Box Dilemma of AI in Healthcare and Challenges of Quantum ML

Artificial intelligence has great potential in medical diagnosis, but the black-box nature of deep learning hinders its clinical implementation. Quantum machine learning (QML) leverages quantum parallelism to process complex data, yet its own complexity exacerbates the interpretability challenge. Balancing quantum advantages with model transparency has become a core issue.

3

Section 03

Core Methods: Hybrid Architecture and Multi-Dimensional XAI Analysis

Hybrid Quantum-Classical Architecture

  • Classical Layer: TensorFlow/Keras handles data preprocessing and feature extraction
  • Quantum Layer: PennyLane implements parameterized quantum circuits to explore high-dimensional feature patterns

Multi-Dimensional XAI Technologies

  • Kernel SHAP: Calculates marginal contributions of features
  • Integrated Gradients: Quantifies the impact of features on predictions
  • Permutation Feature Importance: Verifies the actual importance of features Cross-validation ensures the reliability of explanations.
4

Section 04

Experimental Evidence: Feature Ablation Validation and Key Factor Identification

Feature Ablation Experiments

Experimental Condition Accuracy
Baseline Model ~85.62%
After Removing Key Features ~58.90%
The accuracy dropped by 27%, confirming that the model relies on real medical features.

Key Predictive Factors

Identified direct bilirubin and alkaline phosphatase as core factors, which are highly consistent with clinical medical indicators, enhancing the model's credibility.

Model Generalization

The training and validation loss curves are consistent, with low overfitting risk and good generalization ability.

5

Section 05

Technical Implementation: Stack and Project Structure

Technology Stack

Component Technology Selection Purpose
Language Python 3.10 Development Language
Classical DL TensorFlow 2.15 Model Construction
Quantum Computing PennyLane Quantum Circuit Implementation
XAI SHAP/Integrated Gradients Explanatory Analysis

Project Structure

Modular design: data/ (dataset), models/ (model definitions), xai/ (explanation modules), etc., with a clear and reproducible workflow.

6

Section 06

Limitations and Future Directions

Current Limitations

  1. Small dataset size (ILPD has about 580 entries)
  2. Based on quantum simulators, not verified on real hardware
  3. Requires more clinical validation

Future Directions

  • Expand large-scale medical datasets
  • Explore implementation on real quantum processors
  • Integrate imaging/genomic data
  • Develop interactive explanation interfaces for doctors
7

Section 07

Conclusion: Verifiable Interpretability Drives the Clinical Implementation of AI in Healthcare

This project demonstrates the potential of combining quantum ML and XAI, ensuring the scientific validity of explanations through feature ablation validation. This "verifiable interpretability" provides an important reference for the clinical implementation of AI in healthcare and is of reference value to researchers and developers.