NeRD: Neuro-Symbolic Rule Distillation for Efficient Ontology-Grounded Chain-of-Thought in Medical Image Diagnosis

Hongxi Yang, Yiwen Jiang, Siyuan Yan, Jamie Chow, Eunis Li, Charlotte Poon, Stephanie Fong, Xiangyu Zhao, Deval Mehta, Yasmeen George, Zongyuan GearXiv 2026

TL;DR

The paper introduces Neuro-Symbolic Rule Distillation (NeRD), a framework that generates compact, clinically grounded reasoning chains for medical image diagnosis. By combining data-driven logical rule induction with Multimodal Large Language Models (MLLMs), NeRD delivers high diagnostic accuracy while drastically reducing the cognitive burden on clinicians during human-in-the-loop interventions.

What Problem Does This Paper Address?

Trustworthy AI in medicine requires interpretability. Currently, two main paradigms attempt to provide this:

  1. Concept Bottleneck Models (CBMs): These models predict clinical concepts (e.g., "irregular dots") before making a final diagnosis. However, they require scoring every predefined concept at inference time, creating high computational overhead and an exhausting manual review process for doctors.
  2. Multimodal Chain-of-Thought (MCoT) Models: These generative models produce step-by-step text rationales. Unfortunately, they often select concepts based purely on statistical discriminability (finding shortcuts in data) rather than actual medical guidelines, leading to clinically irrelevant reasoning.

The authors address this gap by proposing a method that automatically extracts sufficient yet non-redundant reasoning chains that strictly align with established medical ontologies, without requiring humans to manually write diagnostic rules.

Methods

NeRD operates in three main steps to bridge symbolic logic and generative AI:

  1. Diagnostic Rule Set Construction: The framework uses an underlying model (LogicCBM) to learn differentiable logical gates ($\wedge, \vee, \neg$) over clinical concepts. This automatically builds a global set of rules mapping concept combinations to specific diagnoses.
  2. Neuro-Symbolic Rule Distillation (NeRD): For a given image, NeRD filters out inactive rules. It then combines the active rules and converts them into Conjunctive Normal Form (CNF), applying De Morgan's laws to simplify the logic and eliminate duplicates. Finally, it applies structural priors—leveraging the fact that some medical concepts are mutually exclusive (e.g., if a pigment network is "typical," it cannot be "atypical")—to prune redundant negative assertions.
  3. MCoT Construction: The simplified, grounded concepts are split into supportive (positive) and refutational (negative) groups, sorted by clinical prevalence, and fed into a fixed template to fine-tune an MLLM (Qwen3-VL-8B-Instruct).

Datasets

The framework was evaluated on two publicly available skin disease datasets:

  • Derm7pt: Features 7 categorical clinical concept groups expanded into a 28-dimensional one-hot vector, used for melanoma vs. non-melanoma classification.
  • Fitzpatrick17k (F17k): Includes 32 independently annotated binary concepts, used here for benign vs. malignant classification.

Key Insights and Ideas

  • Logic as a Filter for MLLMs: Instead of letting an MLLM freely generate rationales (which risks hallucination or shortcut learning), NeRD uses symbolic logic as a strict boundary, forcing the language model to remain ontology-grounded.
  • Less is More in Clinical AI: CBMs evaluate all 28 or 32 concepts per case. NeRD distills this down to an average of just 6 concepts per reasoning chain. This compression maintains accuracy while preventing "information overload" for clinicians.
  • Exploiting Mutual Exclusivity: By encoding medical domain knowledge directly into the logic simplification step (e.g., knowing that one positive state implicitly negates all other states in a mutually exclusive group), the model naturally cleans up its own explanation chains.

Key Results

  • Top-Tier Accuracy: On Derm7pt, NeRD achieved 80.76% accuracy, outperforming all other interpretable baselines. On F17k, it achieved 88.66% accuracy, even beating the black-box InceptionV3 baseline.
  • High Concept Fidelity: NeRD significantly improved concept prediction accuracy along its reasoning chain compared to the state-of-the-art generative baseline, WISE (76.76% vs 57.06% on Derm7pt).
  • Clinical Plausibility: In a blinded study, dermatology-trained experts evaluated text-only rationales without seeing the images. Experts consistently reached the correct diagnosis more accurately using NeRD's rationales than those from competing methods.
  • Efficient Intervention: In human-in-the-loop tests where simulated clinicians corrected mistaken concept predictions, NeRD required only 2.26 corrections per sample to achieve a +5.06% accuracy boost, compared to a Sequential CBM which required 6.56 corrections for a smaller accuracy gain (+4.05%).

Limitations and Future Work

While NeRD shows strong performance, its initial rule-induction phase relies heavily on the availability of high-quality, dense concept annotations during training (such as those found in Derm7pt and F17k). Generating these annotations is expensive.

Additionally, the framework was only validated on dermatological datasets. Future work is needed to test how well this neuro-symbolic distillation scales to other complex medical modalities, such as radiology or pathology, where ontologies are more intricate.

Summary updated

BibTeX
@misc{yang2026nerd,
  author = {Hongxi Yang and Yiwen Jiang and Siyuan Yan and Jamie Chow and Eunis Li and Charlotte Poon and Stephanie Fong and Xiangyu Zhao and Deval Mehta and Yasmeen George and Zongyuan Ge},
  title = {{NeRD: Neuro-Symbolic Rule Distillation for Efficient Ontology-Grounded Chain-of-Thought in Medical Image Diagnosis}},
  year = {2026},
  eprint = {2606.15617},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.15617},
}

Loading related content...

Figure