Evidential Federated Learning for Skin Lesion Image Classification

Rutger Hendrix, Federica Proietto Salanitri, Concetto Spampinato, Simone Palazzo, Ulas Bagci

Abstract

Federated Learning (FL) offers a path to train robust medical AI models without compromising patient privacy. However, challenges such as data heterogeneity (non-IID), potential privacy leaks from weight sharing, and model overconfidence persist. This paper introduces FedEvPrompt, a novel framework that combines evidential deep learning with dual-level prompt tuning. By distilling knowledge through uncertainty-aware attention maps rather than sharing model parameters, FedEvPrompt enhances privacy and effectively manages heterogeneous clinical data. Experimental results on the ISIC2019 dataset demonstrate that FedEvPrompt achieves state-of-the-art performance with superior stability across diverse clinical nodes.

The Challenge of Distributed Medical AI

Deep learning models for medical diagnostics, particularly skin cancer detection, require massive and diverse datasets. However, medical data is often siloed across institutions due to strict privacy regulations. While Federated Learning (FL) allows models to be trained locally, it faces three significant hurdles:

  1. Data Heterogeneity: Variations in imaging equipment and patient populations across clinics lead to "non-IID" data, which can degrade global model performance.
  2. Privacy Risks: Sharing model weights, a standard FL practice, can inadvertently allow for the reconstruction of sensitive training images.
  3. Overconfidence: Standard models often produce high-confidence predictions even when encountering unfamiliar data, a critical flaw in clinical settings.

The FedEvPrompt Framework

FedEvPrompt addresses these issues by building upon a frozen, pre-trained Vision Transformer (ViT) and introducing three core innovations:

Dual-Level Prompt Tuning

Instead of computationally expensive full-model fine-tuning, FedEvPrompt utilizes learnable "prompts." These are divided into b-prompts for basic visual features in early layers and t-prompts for task-specific features in deeper layers. This hierarchical approach allows for efficient adaptation to local data distributions.

Evidential Deep Learning (EDL)

To combat overconfidence, the framework employs EDL. Rather than outputting simple class probabilities, the model predicts parameters for a Dirichlet distribution. This enables the quantification of "vacuity" (uncertainty due to lack of evidence), allowing the model to signal when it is unsure.

Uncertainty-Aware Attention Distillation

This mechanism serves as the primary privacy-preserving feature. Instead of sharing model weights, clients identify their most "certain" images based on EDL scores and share their attention rollout maps to a global buffer. These heatmaps indicate which regions the model prioritized without revealing raw pixel data. Other clients then use Knowledge Distillation (KD) to align their local attention with these high-quality global examples.

The FedEvPrompt architecture featuring dual-level prompt tuning and uncertainty-aware attention distillation.

Experimental Evaluation

The framework was evaluated using the ISIC2019 dataset, comprising 23,247 dermoscopic images. To simulate a realistic clinical environment, the data was partitioned into six nodes based on original image sources, creating a naturally heterogeneous setting.

Comparative Performance

FedEvPrompt was benchmarked against several established FL methods, including FedAvg, FedProx, and FedDistill. As shown in the results table, FedEvPrompt consistently outperformed these baselines, achieving a balanced accuracy of 77.26%.

Comparative performance of FedEvPrompt against standard federated learning baselines.

Key Findings and Discussion

  • Privacy through Attention: Attention maps effectively act as a privacy proxy, transferring structural knowledge (e.g., lesion borders) without exposing identifiable patient data.
  • Robustness to Skewed Data: By incorporating a "skewed prior" based on class frequency into the EDL approach, the model maintains performance even in the presence of significant class imbalances across clients.
  • Uncertainty-Driven Selection: Ablation studies confirmed that selecting shared attention maps based on evidential uncertainty is significantly more effective than random selection, ensuring that only high-quality knowledge is propagated through the network.

Conclusion

FedEvPrompt represents a significant advancement in privacy-preserving medical AI. By combining prompt tuning with evidential learning and attention-based distillation, it provides a robust solution for skin cancer detection in decentralized clinical environments. Future work will explore more complex uncertainty metrics, such as "dissonance," and extend the framework to full multi-class diagnostic tasks to further enhance its clinical utility.

Summary updated

BibTeX
@inproceedings{hendrix2024evidential,
  author = {Rutger Hendrix and Federica Proietto Salanitri and Concetto Spampinato and Simone Palazzo and Ulas Bagci},
  title = {{Evidential Federated Learning for Skin Lesion Image Classification}},
  booktitle = {ICPR},
  year = {2024},
  url = {https://openreview.net/forum?id=JDy161EtMe},
}

Loading related content...

Figure