Divide, Conquer and Unite: Hierarchical Style-Recalibrated Prototype Alignment for Federated Medical Image Segmentation

Xingyue Zhao, Wenke Huang, Xingguang Wang, Haoyu Zhao, Linghao Zhuang, Anwen Jiang, Guancheng Wan, Mang Ye

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for collaborative medical AI, allowing institutions to train models without sharing sensitive patient data. However, medical imaging is plagued by significant data heterogeneity. Variations in hardware, imaging protocols, and staining techniques across hospitals create a "style gap"—where images of the same anatomy appear visually distinct.

Current federated segmentation methods often struggle with two primary issues: layerwise style bias accumulation, where style differences compound as data traverses neural network layers, and incomplete contextual representation, where models fail to align both low-level textures and high-level structural features. To address these, the authors propose FedBCS, a framework designed to decouple style from content and align multi-level features across the network.

The FedBCS Framework

FedBCS (Hierarchical Style-Recalibrated Prototype Alignment) employs a "Divide, Conquer, and Unite" strategy to achieve robust segmentation across heterogeneous sites.

Divide: Frequency-domain Style Recalibration (FSR)

To separate style from anatomical content, FedBCS converts feature maps into the frequency domain using a Fourier Transform. In this domain, the amplitude spectrum typically represents style (contrast, brightness), while the phase spectrum captures structure (edges, shapes). FSR introduces learnable parameters to normalize the style while preserving the underlying anatomy, creating "style-invariant" prototypes that are more consistent across different hospitals.

Conquer: Context-aware Dual-level Prototype Alignment (CDPA)

Segmentation requires both local texture details and global structural context. FedBCS extracts prototypes from multiple layers of both the encoder (capturing fine details) and the decoder (capturing global shapes). This ensures that the model maintains a semantic anchor throughout the entire inference process.

Unite: Hierarchical Fusion

Finally, the framework fuses shallow and deep prototypes. This hierarchical approach ensures the global model understands both the "big picture" location of an organ and its precise boundaries.

Overview of the FedBCS architecture, highlighting the Frequency-domain Style Recalibration (FSR) and the dual-level alignment between encoder and decoder prototypes.

Experimental Results

The framework was evaluated on two challenging multi-site benchmarks: Histology Nuclei Segmentation (TCIA, CRC, KIRC, and TNBC datasets) and Prostate MRI Segmentation (six different sources).

FedBCS consistently outperformed state-of-the-art (SOTA) methods like FedAvg, FedProto, and FedPLVM. On the Histology task, it achieved an average Dice score of 74.10% (a 4.60% improvement over the baseline), and on the Prostate MRI task, it reached 82.60% (a 3.80% improvement).

Performance evaluation: (a) Convergence curves showing the stability of FedBCS compared to other methods; (b) Dice Score (DSC) comparison across four histology datasets.

Key Insights

  • Efficiency: FedBCS is highly communication-efficient. While competing methods like FedPLVM require sending over 140 prototypes on average, FedBCS achieves superior results by sending only 4 representative prototypes per client.
  • Stability: The method demonstrates much smoother convergence curves, suggesting that style recalibration makes the global aggregation process significantly more stable.
  • Fourier Advantage: Manipulating the amplitude spectrum in the frequency domain provides a computationally inexpensive yet effective alternative to complex data augmentation for handling domain skew.

Conclusion and Future Work

FedBCS effectively bridges the style gap in federated medical imaging by recalibrating features in the frequency domain and aligning them across the network hierarchy. While it handles domain skew exceptionally well, future research could explore label skew—scenarios where class distributions vary significantly between hospitals—and extending the frequency-domain recalibration to 3D medical volumes for broader clinical application.

Summary updated

Abstract

Federated learning enables multiple medical institutions to train a global model without sharing data, yet feature heterogeneity from diverse scanners or protocols remains a major challenge. Many existing works attempt to address this issue by leveraging model representations (e.g., mean feature vectors) to correct local training; however, they often face two key limitations: 1) Incomplete Contextual Representation Learning: Current approaches primarily focus on final-layer features, overlooking critical multi-level cues and thus diluting essential context for accurate segmentation. 2) Layerwise Style Bias Accumulation: Although utilizing representations can partially align global features, these methods neglect domain-specific biases within intermediate layers, allowing style discrepancies to build up and reduce model robustness. To address these challenges, we propose FedBCS to bridge feature representation gaps via domain-invariant contextual prototypes alignment. Specifically, we introduce a frequency-domain adaptive style recalibration into prototype construction that not only decouples content-style representations but also learns optimal style parameters, enabling more robust domain-invariant prototypes. Furthermore, we design a context-aware dual-level prototype alignment method that extracts domain-invariant prototypes from different layers of both encoder and decoder and fuses them with contextual information for finer-grained representation alignment. Extensive experiments on two public datasets demonstrate that our method exhibits remarkable performance.
BibTeX
@inproceedings{zhao2026divide,
  author = {Xingyue Zhao and Wenke Huang and Xingguang Wang and Haoyu Zhao and Linghao Zhuang and Anwen Jiang and Guancheng Wan and Mang Ye},
  title = {{Divide, Conquer and Unite: Hierarchical Style-Recalibrated Prototype Alignment for Federated Medical Image Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  url = {https://openreview.net/forum?id=hHoKKMoKj2},
}
Figure