REM: An Integrative Rule Extraction Methodology for Explainable Data Analysis in Healthcare

Zohreh Shams, Botty Dimanov, Sumaiyah Kola, Nikola Simidjievski, Helena Andrés-Terré, Paul Scherer, Urška Matjašec, Jean Abraham, Mateja Jamnik, Píetro LióbioRxiv 2021

Abstract

Deep learning models are receiving increasing attention in clinical decision-making, however the lack of explainability impedes their deployment in day-to-day clinical practice. We propose REM, an explainable methodology for extracting rules from deep neural networks and combining them with rules from non-deep learning models. This allows integrating machine learning and reasoning for investigating basic and applied biological research questions. We evaluate the utility of REM in two case studies for the predictive tasks of classifying histological and immunohistochemical breast cancer subtypes from genotype and phenotype data. We demonstrate that REM efficiently extracts accurate, comprehensible rulesets from deep neural networks that can be readily integrated with rulesets obtained from tree-based approaches. REM provides explanation facilities for predictions and enables the clinicians to validate and calibrate the extracted rulesets with their domain knowledge. With these functionalities, REM caters for a novel and direct human-in-the-loop approach in clinical decision-making.

Introduction

Deep Learning (DL) has demonstrated significant potential in healthcare, particularly in oncology, due to its capacity to process vast, heterogeneous datasets. However, the "black-box" nature of these models remains a major barrier to clinical adoption. Clinicians require transparency to understand the logic behind a model's classification. While post-hoc explanation methods like feature importance maps exist, they are often fragile and fail to provide a global understanding of the model's reasoning. There is a critical need for tools that offer global interpretability, allowing medical experts to validate and calibrate AI models using established domain knowledge.

Methodology: The REM Framework

The proposed Rule Extraction Methodology (REM) bridges the gap between high-performance machine learning and human-readable reasoning. It consists of two main components designed to handle different model architectures:

  1. REM-D (Decompositional): This component addresses deep neural networks (DNNs). Instead of treating the network as an opaque block, REM-D decomposes it into adjacent layers. It employs the C5.0 algorithm to extract rules between these layers and merges them backward from output to input. This process maps final predictions back to original input features through logical "if-then" statements.
  2. REM-T (Tree-based): This component extracts rules from non-deep models, such as Random Forests or Decision Trees.

A key strength of REM is its ability to integrate rules from both REM-D and REM-T into a unified ruleset. This enables multi-modality reasoning, such as combining genomic data (mRNA expression) with clinical variables (e.g., age, tumor size). Furthermore, a personalized ranking algorithm allows clinicians to weight specific features based on domain expertise, facilitating a "human-in-the-loop" approach.

Overview of the REM methodology from benchside data processing to bedside clinical reasoning.

Experimental Evaluation

The methodology was evaluated using the METABRIC dataset, comprising 1,980 breast cancer patients, across two case studies:

  • Case Study I: Classification of histological subtypes (Invasive Ductal Carcinoma vs. Invasive Lobular Carcinoma) using mRNA expression profiles of 1,004 genes.
  • Case Study II: Prediction of Immunohistochemical (IHC) subtypes (ER+ vs. ER-) using 1,000 mRNA expressions combined with 13 clinical variables.

Results

The experimental results demonstrate that REM extracts rulesets with high fidelity to the original DNNs while maintaining competitive accuracy.

Performance metrics for REM-D across two case studies, showing accuracy, fidelity, and computational efficiency.

Key findings include:

  • High Fidelity and Accuracy: In Case Study I, the ruleset achieved 88.6% accuracy, slightly exceeding the DNN's 88.2%. In Case Study II, the ruleset maintained 92.1% accuracy compared to the DNN's 95.7%.
  • Comprehensibility: The extracted rules were concise, with average lengths between 4.3 and 5.1 conditions, making them easily auditable by humans.
  • Biological Relevance: Extracted rules aligned with known biological markers. For instance, rules for Invasive Lobular Carcinoma frequently featured the CDH1 gene, a recognized marker for this subtype.
  • Efficiency: Rules were extracted in under three minutes on standard hardware, proving the method's practical feasibility.

Discussion and Conclusion

REM provides a robust framework for transforming opaque deep learning models into transparent, actionable clinical tools. By leveraging the hierarchical representations learned by DNNs while providing the interpretability of rule-based systems, REM allows for rigorous validation by medical experts.

While the current approach is effective for the tested architectures, future work will explore scaling REM to even deeper models where rule counts might become intractable. Extensions to Convolutional Neural Networks (CNNs) for image data and Recurrent Neural Networks (RNNs) for temporal clinical data are also planned. Ultimately, REM represents a significant step toward trustworthy AI in healthcare, enabling clinicians to move from passive observers to active collaborators with machine learning systems.

Summary updated

BibTeX
@misc{shams2021rem,
  author = {Zohreh Shams and Botty Dimanov and Sumaiyah Kola and Nikola Simidjievski and Helena Andrés-Terré and Paul Scherer and Urška Matjašec and Jean Abraham and Mateja Jamnik and Píetro Lió},
  title = {{REM: An Integrative Rule Extraction Methodology for Explainable Data Analysis in Healthcare}},
  year = {2021},
  doi = {10.1101/2021.01.22.427799},
  howpublished = {bioRxiv},
}
Figure