Learning Concept-Driven Logical Rules for Interpretable and Generalizable Medical Image Classification

Yibo Gao, Hangqi Zhou, Zheyao Gao, Bomin Wang, Shangqi Gao, Sihan Wang, Xiahai Zhuang · DOI

Introduction

Deep learning models have demonstrated remarkable performance in medical imaging, yet their adoption in clinical settings is often hindered by their "black-box" nature. While clinicians rely on structured, evidence-based guidelines, standard neural networks typically provide predictions without human-understandable justifications. This paper introduces the Concept Rule Learner (CRL), a neuro-symbolic framework designed to bridge this gap. By extracting human-readable Boolean logical rules from medical images, CRL provides a transparent decision-making process that aligns with clinical reasoning.

The Challenge of Interpretability and Generalization

Existing approaches to interpretability, such as Concept Bottleneck Models (CBMs), attempt to solve this by predicting intermediate human-understandable concepts (e.g., "presence of an ulcer"). However, CBMs face two significant hurdles:

  1. Concept Leakage: Models often "cheat" by encoding non-concept information—such as background textures or imaging artifacts—within the soft probability scores of the concepts. This leads to poor performance when the model encounters out-of-distribution (OOD) data from different hospitals or devices.
  2. Lack of Global Logic: Most interpretable models offer "local" explanations for individual images but fail to provide a "global" logic that describes the model's behavior across the entire dataset.

The Concept Rule Learner (CRL) Framework

The CRL framework addresses these issues through a four-stage pipeline that transforms raw pixels into symbolic logic:

  1. Concept Predictor ($g$): A backbone network (ResNet-34) predicts the probabilities of various visual concepts.
  2. Binarizer ($q$): This stage converts continuous probabilities into hard binary values (0 or 1). This "hard" bottleneck is essential for eliminating concept leakage, as it prevents the model from hiding auxiliary information in decimal values.
  3. Logical Layers ($r$): The core of the architecture consists of Conjunction (AND) and Disjunction (OR) layers. These layers learn to combine binary concepts into complex logical rules.
  4. Linear Layer ($f$): Finally, a linear layer assigns weights to the triggered rules to produce the ultimate classification.

To ensure the system remains end-to-end trainable despite the non-differentiable binarization and discrete logic, the authors employ continuous relaxations during training and a Straight-Through Estimator (STE). Additionally, $L_2$ regularization is applied to the logical weights to favor simpler, more interpretable rules.

Experimental Evaluation

The authors evaluated CRL on two distinct medical tasks:

  • Dermatology: Training on the Fitzpatrick17k (F17k) dataset and testing for OOD generalization on the Diverse Dermatology Images (DDI) dataset. Concept annotations were sourced from SkinCon.
  • Hematology: White blood cell classification using the PBC dataset and WBCAtt for morphological attribute annotations.

Key Findings

Robustness through Binarization

A primary insight of the study is that forcing concepts to be binary acts as a powerful regularizer. While "soft" concepts may yield higher accuracy on training data, they often fail on new datasets because they rely on leaked artifacts. CRL's hard bottleneck ensures that the model relies solely on the identified concepts, leading to superior generalization.

Superior OOD Performance

On the unseen DDI dataset, CRL achieved a diagnostic accuracy of 73.46%, outperforming the leading interpretable methods by over 9%. Notably, CRL exhibited the smallest performance drop when transitioning from source to target data, highlighting its reliability in real-world, multi-site clinical environments.

Clinical Alignment and Global Logic

CRL provides a "Decision Interpretation" for every prediction. For instance, in skin disease diagnosis, the model might trigger a rule such as: Telangiectasia ∧ Plaque ∧ Erythema → Malignant

Such rules are not only interpretable but also align with established dermatological literature. Beyond individual cases, CRL allows researchers to extract the most influential rules across the entire population, effectively discovering and validating clinical knowledge.

Conclusion and Future Work

The Concept Rule Learner represents a significant step toward trustworthy medical AI. By combining the perceptual strength of deep learning with the rigorous logic of symbolic reasoning, CRL offers a model that is both high-performing and clinically transparent. While the framework currently depends on high-quality concept annotations, future research may explore semi-supervised approaches or multi-modal integration to further enhance its utility in complex clinical workflows.

Summary updated

BibTeX
@inproceedings{gao2025learning,
  author = {Yibo Gao and Hangqi Zhou and Zheyao Gao and Bomin Wang and Shangqi Gao and Sihan Wang and Xiahai Zhuang},
  title = {{Learning Concept-Driven Logical Rules for Interpretable and Generalizable Medical Image Classification}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-04927-8\_28},
}
Figure