DermKG: A Concept-Centric Knowledge Graph for Interpretable Skin Disease Diagnosis from Dermatological Morphology

Cheng Huang, Yanmei Li, Mao LinarXiv 2026

Imagine you’re a dermatologist. You don’t just look at a skin lesion and wait for a "gut feeling." You scan for specific features: Is it a papule (a small bump)? Is there scaling? What’s the color? You translate visual textures into a standardized vocabulary—a morphological lexicon—and then map those words to a diagnosis.

Most AI models skip this "vocabulary" step entirely, jumping straight from pixels to predictions. While effective, these "black boxes" are hard to trust and often fail on rare diseases or diverse skin tones. This paper introduces DermKG, a system that gives AI a "medical brain" by structuring dermatological knowledge into a formal graph.

TL;DR

DermKG is a concept-centric knowledge graph that maps 48 clinical descriptors to 113 skin diseases using expert rules and data-driven relationships. By forcing an AI to "think" through this graph, the researchers doubled the accuracy for rare skin conditions and provided clear, rule-based explanations for every diagnosis.

What Problem Does This Paper Address?

We are currently in an era where deep learning can match dermatologists in specific tasks, but these models are notoriously opaque. If a model misdiagnoses a rare tumor as a common rash, we often don't know why.

To fix this, researchers have turned to "Concept Bottleneck Models," which first predict clinical concepts (like "crust" or "ulcer") and then use those concepts to diagnose. However, two big questions remained:

  1. The Information Ceiling: How much information do these words actually carry? If two different diseases are described with the exact same words, no concept-based model can ever tell them apart.
  2. The Relational Gap: How do we teach a model the relationships between these words? For example, knowing that "telangiectasia" (spider veins) is a classic sign of basal cell carcinoma is a piece of relational knowledge that a standard neural network might miss.

Methods

The authors built DermKG, a Knowledge Graph (KG) that acts as a structured map of dermatology.

Fig. 1. DermKG schema: 8 node types (node counts) and 11 relation types (edge counts). Solid gray: structural relations read from annotations. Dashed blue: knowledge and inference relations derived from training statistics and clinical rules.

1. Building the Graph

DermKG isn't just a list; it’s a web of 3,452 nodes and nearly 20,000 edges. It includes:

  • Disease Profiles: Statistical links showing which concepts are most common for which disease.
  • Clinical Rules: 20 "if-then" rules straight from medical textbooks (e.g., if "burrow" is present, it indicates "scabies").
  • Hierarchy: A three-level tree grouping 113 diseases into 9 categories and 3 super-categories (Benign, Malignant, Non-neoplastic).

2. DermKG-Net

The researchers then built a Graph Neural Network (GNN) called DermKG-Net. Instead of treating concepts as a flat list of numbers, the model "walks" the graph. It represents a skin lesion by looking at its concepts in the context of the whole graph, scoring them against "disease prototypes" to find the best match.

Datasets

The study utilized the SkinCon dataset, a subset of the famous Fitzpatrick17k collection. It consists of:

  • 3,230 images meticulously annotated by dermatologists.
  • 48 concepts (the vocabulary).
  • 113 disease labels.

The dataset is "long-tailed," meaning a few common conditions (like inflammatory rashes) make up the bulk of the data, while malignant tumors are rare—a classic challenge for AI.

Key Insights and Ideas

  • The "Vocabulary Ceiling": The authors discovered that the 3,230 lesions in their dataset collapsed into only 813 unique "concept vectors." In other words, many different diseases look identical when described only by these 48 words. This sets a hard "information ceiling": using only these concepts, the maximum possible accuracy for specific diseases is just 38.9%.
  • Structure is a Superpower for the Rare: While standard models are great at spotting common rashes, they are terrible at rare diseases. By using the Knowledge Graph, DermKG-Net was able to "borrow" logic from the graph to identify minority-category diseases that other models completely ignored.
  • Interpretability by Design: Because the model uses a graph, it can output a "reasoning chain." It doesn't just say "Malignant"; it says "Malignant, because Rule R13 was activated by the presence of 'friable' and 'erythema'."
An example of a concept-level explanation, showing how specific features like 'friable' and 'erythema' contribute to a diagnosis of pyogenic granuloma.

Key Results

  • Balanced Accuracy Boost: On the main 9-category diagnosis task, DermKG-Net raised balanced accuracy from 0.257 (the best baseline) to 0.411.
  • Rare Disease Recall: The model more than doubled the recall for minority categories. For example, it went from 0% to 40% recall on malignant dermal tumors.
  • Efficiency: Most of this gain came from the hierarchical prototype objective—teaching the model that diseases belong to families, rather than treating every diagnosis as an isolated island.

Limitations and Future Work

The biggest limitation is the "Information Ceiling" itself. If the clinical vocabulary isn't descriptive enough, the model hits a wall. The authors note that 70.8% of the model's errors happened because two different lesions shared the exact same concept description.

Future work will likely involve expanding this lexicon or finding ways to combine these structured concepts with raw pixel data to "break through" the ceiling while maintaining the transparency that a Knowledge Graph provides. For now, DermKG stands as a powerful reminder that in medicine, how you arrive at an answer is often just as important as the answer itself.

Summary updated

Abstract

Dermatologists describe lesions with a standardized morphological lexicon, which makes concept-based models attractive for interpretable skin disease diagnosis. How much diagnostic information these concepts actually carry, however, is rarely quantified. We present DermKG, a concept-centric knowledge graph built on the expert-annotated SkinCon subset of Fitzpatrick17k (3,230 images, 48 concepts, 113 diseases). DermKG has 3,452 nodes of 8 types and 19,365 edges of 11 relation types, and encodes disease concept profiles, concept co-occurrence, a three-level diagnostic hierarchy, and 20 clinical morphology rules, all of which are supported by the training data (15 strong, 5 moderate). An information-ceiling analysis shows that the 3,230 lesions collapse onto only 813 distinct concept vectors, bounding concept-only top-1 accuracy at 38.9\% for diseases and 77.6\% for the nine categories. Within this bound, DermKG-Net, a graph neural network that scores lesions against disease prototypes and aggregates them along the hierarchy, raises category-level balanced accuracy from 0.257 to 0.411 over the strongest of 11 baselines (paired bootstrap difference $+0.150$, 95\% CI $[0.073, 0.231]$) and more than doubles minority-category recall. Ablations show that most of this gain comes from the hierarchical prototype objective, with a smaller contribution from graph structure. DermKG further yields rule-based reasoning chains and concept-level explanations for individual predictions.
BibTeX
@misc{huang2026dermkg,
  author = {Cheng Huang and Yanmei Li and Mao Lin},
  title = {{DermKG: A Concept-Centric Knowledge Graph for Interpretable Skin Disease Diagnosis from Dermatological Morphology}},
  year = {2026},
  eprint = {2611.27283},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27283},
}
Figure