FeTTL: Federated Template and Task Learning for Multi-Institutional Medical Imaging

Abhijeet Parida, Antonia Alomar, Zhifan Jiang, Pooneh Roshanitabrizi, Austin Tapp, Ziyue Xu, Syed Muhammad Anwar, Maria J. Ledesma-Carbayo, Holger R. Roth, Marius George LinguraruarXiv 2026

TL;DR

FeTTL (Federated Template and Task Learning) is a novel federated learning framework that addresses data heterogeneity in multi-institutional medical imaging. By jointly optimizing a shared global style template and a downstream task model in a single loop, FeTTL harmonizes diverse image distributions across sites without compromising patient privacy. It significantly outperforms state-of-the-art federated learning baselines on both segmentation and classification tasks, even exceeding centralized training performance in some scenarios.

What Problem Does This Paper Address?

Deep learning models in medical imaging often fail when deployed across multiple hospitals. This failure is primarily driven by domain shift: variations in scanner hardware, acquisition protocols, and patient demographics create highly heterogeneous, non-independent and identically distributed (non-IID) data across institutions.

While aggregating data into a central repository could solve this, strict privacy regulations like HIPAA and GDPR make data sharing impractical. Federated Learning (FL) allows collaborative training by sharing model weights instead of raw data, but standard FL algorithms (like FedAvg) degrade significantly under severe domain shifts. Existing style-harmonization techniques can align image appearances but typically require access to raw pixels or discrete site labels, making them incompatible with strict privacy-preserving federated workflows. FeTTL bridges this gap by combining privacy-preserving style harmonization with task learning.

Methods

FeTTL introduces a three-stage, single-loop optimization framework to collaboratively learn image harmonization and downstream tasks:

Fig. 1: Federated Template and Task Learning (FeTTL) framework showing the major steps of a) federated harmonization process, b) initial task learning, and c) the joint template and task learning. The arrows show the flow of information between the client and the server. Global model data is sent to each client shown in black arrows, while the colored arrows represent local data collection.
  1. Federated Harmonization Process: The framework adapts a feature-based whitening and coloring transform to the federated setting. Clients locally train a reconstruction decoder against a frozen, pre-trained VGG-19 encoder to minimize $L_1$ loss. The decoder weights are aggregated on a central server using FedAvg. This allows the network to align image styles across sites without ever exchanging raw pixels.
  2. Initial Task Learning: The task model (e.g., U-Net or ResNet) and an initial style template are trained on the largest available client site to establish a robust baseline.
  3. Joint Template and Task Learning: In the final FL phase, the global style template and the downstream task model are treated as differentiable parameters. They are jointly optimized across all clients in a single loop using gradients derived from the downstream task loss (e.g., Dice loss or cross-entropy).

Datasets

The authors evaluated FeTTL on two distinct clinical tasks using diverse multi-institutional datasets:

  • Retinal Fundus Optical Disc Segmentation: Evaluated across five geographically and clinically diverse sites spanning three public datasets: Drishti-GS1, RIGA (consisting of BinRushed, Magrabia, and Messidor subsets), and REFUGE. These datasets feature varying fields of view, illumination, and camera types.
  • Histopathological Metastases Classification: Utilized the CAMELYON16 dataset, featuring whole-slide images of lymph node sections from two distinct institutions (Site X and Site Y) using different digital slide scanners.

Key Insights and Ideas

  • The Power of Joint Optimization: A key "aha" moment was discovering that harmonization and task learning must be optimized together. Attempting to train a task model from scratch on top of a fixed federated harmonizer led to highly unstable performance (an average Dice score of just 0.851 vs. FeTTL's 0.937).
  • Global vs. Local Templates: Aggregating local style templates into a single global template creates tighter, more compact feature clusters. As visualized via t-SNE, a unified global template reduces inter-site variability more effectively than allowing each client to maintain a unique local template.
  • Initialization Matters: The choice of the starting template is critical. Initializing the global template with an encoded representation of a real image from the largest site significantly outperforms random noise initialization, providing a structured and generalizable starting point for cross-site alignment.

Key Results

FeTTL consistently outperformed standard federated learning baselines (FedAvg, FedProx, FedBN, FedDG, and FedHarmony) across both tasks:

  • Segmentation: FeTTL achieved the highest average Dice score of 0.937 across the five retinal imaging sites, significantly outperforming the top baseline, FedDG (0.901), and even surpassing privacy-insensitive centralized data pooling (0.921).
Fig. 2: Qualitative performance of FeTTL versus FedBN, FedProx, FedDG and FedHarmony for retina disc segmentation. The violin plots show the distribution of test Dice scores and the box plot on the y-axis for a test site on the x-axis. The box blot shows the median and the inter quartile range.
  • Classification: On the CAMELYON16 histopathology dataset, FeTTL achieved the highest combined Area Under the Precision-Recall Curve (AUPR) of 0.681, outperforming FedAvg (0.638) and FedDG (0.660).

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  1. Dimensionality Constraints: FeTTL currently relies on a VGG-19 backbone for feature extraction during harmonization. Expanding this framework to 3D medical imaging modalities (like 3D MRI or CT) remains a challenge due to the lack of similarly robust, standardized 3D feature extractors.
  2. Heuristic Initialization: The initial template and task model are currently derived from the largest participating site. Future work could optimize this selection using meta-learning or inter-site similarity metrics to better handle cases where the largest site isn't representative of the global data distribution.

Summary updated

BibTeX
@misc{parida2026fettl,
  author = {Abhijeet Parida and Antonia Alomar and Zhifan Jiang and Pooneh Roshanitabrizi and Austin Tapp and Ziyue Xu and Syed Muhammad Anwar and Maria J. Ledesma-Carbayo and Holger R. Roth and Marius George Linguraru},
  title = {{FeTTL: Federated Template and Task Learning for Multi-Institutional Medical Imaging}},
  year = {2026},
  eprint = {2601.16302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.16302},
}
Figure