Prototype-Guided and Lightweight Adapters for Inherent Interpretation and Generalisation in Federated Learning

Samuel Ofosu Mensah, Kerol Djoumessi, Philipp Berens

Introduction

Federated Learning (FL) is a transformative approach for training medical imaging models across multiple institutions without compromising patient privacy. However, its adoption is hindered by high communication costs, statistical heterogeneity (non-IID data) across sites, and the lack of model interpretability. This paper introduces a novel framework that addresses these challenges by integrating lightweight adapters and prototypical networks into the federated training loop.

Methodology

The proposed framework optimizes efficiency and interpretability through two primary architectural innovations:

  1. Lightweight Adapters: Instead of updating the entire backbone model (e.g., ResNet-50), the main weights are frozen. Small, learnable "bottleneck" layers called adapters are inserted into the network. During federated rounds, only these compact adapters are communicated between the server and clients, drastically reducing bandwidth requirements.
  2. Prototypical Networks: The standard classification layer is replaced with a prototype layer that learns representative visual features for specific disease classes. Classification is performed by comparing an image's features to these prototypes, which naturally facilitates the generation of visual explanations.
The proposed architecture featuring a frozen backbone with learnable adapter modules and a prototype layer for classification.

During the FL process, each client refines its local adapters and prototypes using a specialized loss function. This function includes a proximal penalty to ensure local updates remain aligned with the global objective while adapting to local data distributions.

Experimental Evaluation

The researchers evaluated the framework on two key datasets:

  • EyePACS: A real-world dataset of retinal fundus images from five clinical sites used to simulate a multi-institution FL environment for Diabetic Retinopathy (DR) classification.
  • APTOS: An external dataset used to validate the model's ability to generalize to unseen data distributions.

Key Results

The proposed method demonstrated significant performance gains over established FL benchmarks. It achieved an average accuracy of 86.82% across clients, substantially outperforming FedAvg (69.52%) and FedProx (73.35%).

Performance comparison of the proposed method against various Federated Learning benchmarks across multiple clients.

Beyond raw accuracy, the framework provides "built-in" interpretability. The prototype-based approach generates activation maps that highlight specific clinical markers, such as lesions or hemorrhages, justifying the model's diagnostic decisions. Furthermore, the model exhibited robust generalization on the external APTOS dataset, maintaining accuracies between 93.88% and 96.39%.

Conclusion

By combining lightweight adapters with prototypical networks, this framework offers a communication-efficient and inherently interpretable solution for federated medical imaging. While the results are promising, future work will address variance in explanations across different sites and explore support for heterogeneous client architectures.

Summary updated

BibTeX
@inproceedings{mensah2025prototype,
  author = {Samuel Ofosu Mensah and Kerol Djoumessi and Philipp Berens},
  title = {{Prototype-Guided and Lightweight Adapters for Inherent Interpretation and Generalisation in Federated Learning}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-04981-0\_44},
}
Figure