FedMP: Tackling Medical Feature Heterogeneity in Federated Learning from a Manifold Perspective

Zhekai Zhou, Shudong Liu, Zhaokun Zhou, Yang Liu, Qiang Yang, Yuesheng Zhu, Guibo LuoarXiv 2025

TL;DR

FedMP addresses the critical challenge of feature distribution skew in federated learning—a common issue in medical imaging where different hospitals use different scanners and protocols. By viewing the problem through a manifold learning lens, FedMP shares and aligns low-dimensional feature embeddings across clients to reconstruct a complete, unified feature space. This approach achieves state-of-the-art accuracy on multi-center medical datasets without the massive computational overhead or instability of generative data augmentation.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple institutions (like hospitals) to collaboratively train a machine learning model without sharing their private raw data. However, real-world FL frequently suffers from data heterogeneity (non-IID data). While a lot of research focuses on label distribution skew, this paper tackles a much tougher hurdle: feature distribution skew.

In medical imaging, hospitals in different regions collect data for the same diseases, but they use different equipment, imaging protocols, and hardware settings. This introduces variations in image intensity, contrast, and style. From a mathematical perspective, high-dimensional data of the same category naturally lies on a shared low-dimensional manifold. Feature skew fragments this global manifold, forcing local client models to overfit their own incomplete "fragments" of data. When the server averages these drifted local models, the resulting global model performs poorly.

Adverse impact of feature skew on global model aggregation.

Existing solutions either fail to reconcile these feature space discrepancies or rely on heavy generative models (like GANs or Diffusion Models) to synthesize missing data. Generative models are notoriously difficult to train on scarce medical data, demand massive client-side compute, and risk generating low-quality artifacts.

Methods

The authors propose FedMP (Federated Manifold Perspective), a framework that splits the client model into a feature extractor and an MLP classifier. Instead of generating raw images, FedMP shares and optimizes intermediate feature embeddings via two synergistic modules:

  1. Stochastic Feature Manifold Completion (SFMC): To fix the problem of fragmented local data, clients upload intermediate feature embeddings to a global feature bank on the server. The server randomly samples from these multi-client embeddings and sends them back. Clients stochastically mix these external embeddings with their local ones, allowing the local classifier to train on a "completed" and diverse manifold structure.
  2. Class-Prototype Guided Manifold Alignment (cPGMA): To prevent local feature extractors from drifting apart, the server computes global class prototypes (the geometric centers of each class) using an Exponential Moving Average (EMA). These prototypes act as shared anchors. Clients use a prototype alignment loss to pull their local sub-manifolds toward these globally consistent centers.
The framework of our proposed method FedMP.

To address network bottlenecks, the authors also introduce Few-Shot FedMP, a communication-efficient variant where feature exchange and prototype alignment happen only a few times after local features have stabilized.

Datasets

The authors evaluated FedMP across five medical imaging datasets and one natural image dataset:

  • NeoJaundice: Neonatal skin photos for jaundice diagnosis.
  • COVID-QU-Ex: Chest X-rays categorized into COVID-19, non-COVID infections, and normal.
  • Breast: Breast ultrasound images (normal, benign, malignant).
  • DR (Diabetic Retinopathy): A real-world multi-center dataset combining fundus images from three independent institutions (APTOS 2019, Retino, and IDRID).
  • TB (Tuberculosis): A real-world multi-center chest X-ray dataset from three distinct geographical sources (India, Shenzhen, and Montgomery).
  • Office-Caltech10: A multi-domain natural image dataset (Amazon, Caltech, DSLR, Webcam) used to validate domain-shift generalization.

Key Insights and Ideas

  • Manifold Completion > Image Generation: Sharing low-dimensional latent features is vastly more efficient and stable than trying to generate high-fidelity medical images. It provides the benefits of data augmentation without the computational nightmare of fine-tuning generative models on the client side.
  • Geometric Alignment Preserves Discriminative Power: Naively forcing different feature distributions to match often destroys a network's ability to classify accurately. FedMP solves this by aligning sub-manifolds around class prototypes, ensuring that class boundaries remain distinct while domain variances are minimized.
  • The Privacy-Utility Trade-off of Layer Selection: Where you extract features matters. The authors found that extracting features from deeper layers (e.g., Stage 3 or 4 of a ResNet-50) acts as a natural privacy shield. Deeper features are highly abstract, causing image reconstruction attacks to fail, yet they still retain enough geometric structure for successful manifold alignment.

Key Results

FedMP consistently outperformed standard FL algorithms (FedAvg, FedProx) and state-of-the-art feature optimization methods (FedBN, MOON, FRAug, FedMR) across all benchmarks.

  • Real-World Superiority: On the multi-center datasets, FedMP achieved a 3.6% accuracy boost on TB and a 5.4% boost on DR compared to standard FedAvg, outperforming the best baseline methods by over 1%.
  • Massive Communication Savings: The Few-Shot FedMP variant achieved highly competitive accuracy (85.49% on TB) using only 3 communication rounds, reducing data transfer from 34.38 GB down to just 1.71 GB.
  • Visual Proof: t-SNE visualizations clearly demonstrate that FedMP successfully pulls scattered, client-specific feature clusters into a well-aligned, globally coherent configuration.
T-SNE visualization (DR) for FedAvg (left) and FedMP (right).

Limitations and Future Work

While FedMP represents a major step forward, the authors note a clear trade-off regarding manifold dimensionality. Utilizing shallower network layers for manifold completion yields higher final accuracy because the features retain more detail, but it increases early-stage training instability and significantly raises communication and memory overhead.

Additionally, while deeper-layer features successfully defend against standard image reconstruction attacks, sharing intermediate representations inherently carries more privacy risk than sharing model weights alone. Integrating formal privacy guarantees, such as Differential Privacy, remains an open direction for future work.

Summary updated

BibTeX
@misc{zhou2025fedmp,
  author = {Zhekai Zhou and Shudong Liu and Zhaokun Zhou and Yang Liu and Qiang Yang and Yuesheng Zhu and Guibo Luo},
  title = {{FedMP: Tackling Medical Feature Heterogeneity in Federated Learning from a Manifold Perspective}},
  year = {2025},
  eprint = {2508.09174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.09174},
}
Figure