FEDD - Fair, Efficient, and Diverse Diffusion-Based Lesion Segmentation and Malignancy Classification

Héctor Carrión, Narges Norouzi

TL;DR

FEDD (Fair, Efficient, and Diverse Diffusion) is a new framework that leverages the rich semantic embeddings of pre-trained diffusion models to segment and classify skin lesions. By using "linear probes" on top of frozen diffusion features, the model achieves state-of-the-art performance with as little as 5-10% of the labeled data typically required, while maintaining high diagnostic accuracy across a diverse range of skin tones.

What Problem Does This Paper Address?

Automated skin lesion analysis faces a "triple threat" of challenges: data scarcity, class imbalance, and racial bias.

Most high-performing AI models for dermatology are trained on massive datasets like ImageNet or Fitzpatrick17k. However, these datasets are often heavily skewed toward light skin tones and contain significant "label noise" (unconfirmed diagnoses). When these models are applied to underrepresented populations or rare malignancies, their accuracy plummets. Furthermore, fine-tuning massive architectures on small, specialized medical datasets often leads to overfitting. The authors sought a way to create a model that is "data-efficient" (works with few samples), "fair" (performs equally well across skin tones), and "diverse" (handles rare conditions).

Methods

The core innovation of FEDD is the use of Denoising Diffusion Probabilistic Models (DDPMs) as a feature extractor rather than a generative tool.

  1. The Backbone: The researchers used an unconditional DDPM pre-trained on ImageNet. Crucially, they froze the weights of this backbone, meaning they didn't change the underlying model at all.
  2. Feature Extraction: Diffusion models work by iteratively removing noise from an image. The authors found that the intermediate layers (the "embeddings") of the internal UNet architecture contain incredibly rich semantic information about the image structure.
  3. Linear Probes: Instead of a complex decoder, they attached simple Multi-Layer Perceptrons (MLPs) to specific blocks of the diffusion model.
  4. For segmentation, they concatenated embeddings from specific decoder blocks to predict five classes: lesion, skin, marker, ruler, and background.
  5. For classification, they down-sampled these embeddings using max-pooling and passed them through a 3-layer MLP to determine if a lesion is malignant or benign.

This approach allows the model to "understand" the geometry of a skin lesion using the general-purpose knowledge already baked into the diffusion model, requiring only a tiny amount of new data to map those features to medical labels.

Datasets

The study primarily utilizes the Diverse Dermatology Images (DDI) dataset. Unlike many others, DDI is biopsy-confirmed and balanced across the Fitzpatrick skin scale (Light, Medium, and Dark tones).

  • DDI Dataset: 656 images total.
  • New Contribution: The authors manually annotated 378 images from the DDI dataset with high-quality segmentation masks, providing a new benchmark for the community.
  • Training Subsets: To test efficiency, they trained on subsets representing only 5%, 10%, 15%, and 20% of the data.

Key Insights and Ideas

  • Diffusion Features are "Plug-and-Play": You don't need to retrain a massive model for medical imaging if you use the right internal representations. The embeddings learned for image synthesis are surprisingly effective for discriminative tasks like segmentation.
  • The "Block" Matters: The authors discovered a trade-off in the UNet decoder. Shallower blocks capture fine details (better for segmentation when you have more data), while deeper blocks capture coarse, generic features (more robust when data is extremely scarce).
  • Fairness through Representation: Because the diffusion model learns a broad "understanding" of visual features, and the training was conducted on a skin-tone-balanced dataset, the model avoided the common pitfall of performing better on light skin than dark skin.
  • Efficiency is the Goal: FEDD proves that "bigger isn't always better." By using linear probes on frozen features, the model avoids the overfitting that usually plagues large models trained on small medical datasets.

Key Results

  • Segmentation Superiority: FEDD outperformed standard architectures (like EfficientNet and ResNet) in Intersection over Union (IoU). At just 5% labeled data, it improved IoU by 0.18 over the next best model.
  • High-Accuracy Classification: When trained on only 10% of the DDI dataset, FEDD achieved a malignancy classification accuracy of 81%, which is 14% higher than the previous state-of-the-art (DeepDerm).
  • Outperforming Experts: In terms of ROC-AUC (a measure of diagnostic trade-off), FEDD surpassed the ensemble performance of board-certified dermatologists, even when trained on the smallest data subsets.
  • Algorithmic Fairness: The IoU scores for "Lesion Only" segmentation remained consistent across light, medium, and dark skin tones, whereas other models showed wider performance gaps.

Limitations and Future Work

While FEDD is highly efficient, the authors noted that as the amount of training data increases (beyond 20%), purpose-built classification networks might eventually close the gap or overtake the diffusion-based approach. The study was also limited to the 656 images available in the DDI dataset; testing on larger, multi-center clinical data would be a logical next step.

Future work could involve exploring different diffusion architectures (like Latent Diffusion) or investigating if the "timestep" of the diffusion process can be dynamically tuned to improve feature extraction for specific types of rare skin conditions.

Summary updated

BibTeX
@inproceedings{carrion2023fedd,
  author = {Héctor Carrión and Narges Norouzi},
  title = {{FEDD - Fair, Efficient, and Diverse Diffusion-Based Lesion Segmentation and Malignancy Classification}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  url = {https://openreview.net/forum?id=SL1XQEl6fi},
}

Loading related content...

Figure