MS-DKC: A Dataset Knowledge Card Framework for Designing and Adapting Medical Image Segmentation Models

Tariq M. Khan, Syed Saud Naqvi, Thantrira Porntaveetus, Hamid Alinejad-Rokny, Shahzaib Iqbal, Imran Razzak, Mohammad Au KhanarXiv 2026

TL;DR

This paper introduces the Medical Segmentation Dataset Knowledge Card (MS-DKC), a structured framework that shifts medical image segmentation from an "architecture-first" race to a dataset-conditioned design process. By systematically mapping specific dataset traits—like target morphology and boundary ambiguity—to potential failure modes, MS-DKC guides researchers to select optimal design priors and risk-aligned evaluation metrics rather than relying on generic defaults.

What Problem Does This Paper Address?

In medical image segmentation, researchers frequently chase the latest, largest neural network architectures (such as Transformers, Mamba blocks, or massive foundation models). However, this "architecture-first" mindset often ignores a fundamental truth: different medical datasets present vastly different structural challenges.

For instance, inheriting design defaults from natural-image computer vision—like aggressive downsampling or relying solely on region-overlap metrics like the Dice score—can cause catastrophic failures in medical settings. Aggressive downsampling can completely erase thin, branching blood vessels, while a high Dice score can mask a model that completely fractures anatomical connectivity or blurs critical tumor boundaries. Currently, the field lacks a systematic, auditable framework to link a dataset's physical and clinical realities directly to modeling choices and evaluation strategies.

Methods

The authors propose MS-DKC, a structured measurement-risk-intervention workflow. Instead of treating pipeline configuration as an ad-hoc trial-and-error process, MS-DKC formalizes dataset properties into five distinct descriptor layers:

  1. Image/Acquisition: Modality, voxel spacing, intensity range, and scanner artifacts.
  2. Target Structure: Foreground occupancy, object count, boundary thinness, and topology criticality.
  3. Supervision: Class count, class imbalance, inter-rater agreement, and label noise.
  4. Context-Dependence: Long-range spatial interactions and appearance overlap.
  5. Deployment-Risk: Latency/memory constraints, out-of-distribution exposure, and the clinical severity of false positives vs. false negatives.

As illustrated in the workflow diagram below, these descriptors are mapped to anticipated risks (e.g., optimization bias, structural information loss), which then dictate a ranked set of design priors and a suite of risk-aligned evaluation metrics:

Figure 1: MS-DKC dataset-conditioned segmentation design workflow. Measured dataset structure is translated into descriptor profiles, anticipated risks, ranked design priors, and risk-aligned evaluation choices.

Datasets

The framework was evaluated across three distinct medical image segmentation regimes representing different morphological challenges:

  • DRIVE: A retinal vessel dataset characterized by sparse, thin, branching structures (only 20 training and 20 test images), making it highly sensitive to downsampling and topology breaks.
  • ISIC2018: A dermoscopic skin lesion dataset featuring compact, region-scale targets but high variability in size, color, texture, and boundary sharpness.
  • ACDC: A multi-class cardiac MRI dataset requiring the segmentation of three anatomically related structures (right ventricle, left ventricle, myocardium) under severe background dominance.

Key Insights and Ideas

  • Bigger Isn't Always Better: Blindly scaling up models or adding complex attention mechanisms often shifts precision-recall trade-offs without fixing the underlying dataset bottleneck. A compact model tailored to the data can easily outperform a generic giant.
  • The Dice Score Can Deceive: A model can achieve an excellent Dice score while failing in clinically meaningful ways, such as disconnecting a vascular tree. Evaluation must be "risk-aligned"—using topology-aware metrics (like clDice) for vessels and surface distances (like Hausdorff Distance) for cardiac walls.
  • Optimize the Operating Point First: On the ISIC skin lesion dataset, the most effective intervention wasn't adding heavy architectural modules, but rather implementing a validation-constrained score-function selection (VCSF) to optimize the model's decision threshold.

Key Results

  • DRIVE (Vessels): The framework guided the creation of an ultra-compact model, DKC-TNet-v2, which achieved a Dice of 0.8044 and IoU of 0.6730 using just 35,103 parameters—drastically cutting parameter counts compared to standard U-Net baselines. An adapted vessel backbone (SA-UNetv2-DKC-AmbRef) achieved the strongest overall balance with a Dice of 0.8141 and IoU of 0.6865.
  • ISIC2018 (Lesions): The MS-DKC-guided AttNextTopo-VCSF-NoAug configuration improved the overlap-boundary trade-off, hitting a Dice of 0.8872, IoU of 0.8214, and a Boundary F1 of 0.4878 without adding any architectural capacity.
  • ACDC (Cardiac): The framework correctly recommended a 4-class softmax approach with class-balanced supervision. The MS-DKC-UTrans-ABR variant delivered the best risk-aligned surface profile, reducing the foreground Hausdorff Distance (HD95) from 5.93 pixels to 3.68 pixels.

Limitations and Future Work

  • Empirical Mappings: Currently, mapping dataset measurements to specific model interventions still relies partly on empirical rules and expert interpretation. The authors suggest developing automated profiling pipelines to generate MS-DKC cards directly from raw data.
  • Validation Scope: The framework needs validation across a broader range of datasets (e.g., multi-organ CT, histopathology) to prove that these risk-to-intervention mappings remain stable under severe distribution shifts.
  • Metric Integration: Topology-aware evaluation remains under-standardized. Future work must investigate how to mathematically combine metrics like clDice and conventional overlap scores into a unified, structured benchmark panel.

Summary updated

BibTeX
@misc{khan2026ms,
  author = {Tariq M. Khan and Syed Saud Naqvi and Thantrira Porntaveetus and Hamid Alinejad-Rokny and Shahzaib Iqbal and Imran Razzak and Mohammad AU Khan},
  title = {{MS-DKC: A Dataset Knowledge Card Framework for Designing and Adapting Medical Image Segmentation Models}},
  year = {2026},
  eprint = {2606.06103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.06103},
}
Figure