Towards Privacy-Preserving Federated Prompt Tuning under Data Heterogeneity: A Subspace-Decomposed Expert Approach

Yuhua Wang, Xiaodong Li, Yihao Guo, Yuxiang Jia, Qinnan Zhang, Yifan Sun, Hainan Zhang, Yongxin Tong, Zhiming ZhengarXiv 2026

TL;DR

FedSEPT introduces a privacy-preserving federated prompt tuning framework designed to handle severe data heterogeneity across distributed clients using multi-expert prompts. By decomposing prompt experts into low-rank factors projected onto a fixed public basis, it bypasses the "dimensionality curse" of differential privacy noise while enabling robust, instance-aware expert fusion at the logit level. This achieves an optimal balance between local personalization and global generalization with minimal communication overhead.

What Problem Does This Paper Address?

Federated Prompt Tuning (FPT) allows multiple edge devices to collaboratively adapt large vision-language models (VLMs like CLIP) to downstream tasks without centralizing raw data. Instead of updating billions of parameters, clients only optimize lightweight context vectors (prompts).

However, real-world federated systems face two massive hurdles: data heterogeneity (clients have vastly different label distributions and visual domains) and strict privacy risks (untrusted servers can reconstruct private data from prompt updates).

Existing privacy-preserving FPT methods typically use a single shared global prompt alongside a local private prompt. Under severe data skew, a single global prompt creates an "over-smoothed consensus" that blurs distinct semantic patterns. While moving to Multi-Expert Prompts (MEPs) can capture diverse knowledge, it triggers a Privacy-Efficiency Dimensionality Curse: under Local Differential Privacy (LDP), adding more parameters drastically amplifies the injected noise needed to guarantee privacy, destroying model utility and bloating communication costs. It also introduces a Composition Barrier, making it difficult to robustly combine independently perturbed, noisy experts.

Figure 1: Motivation. (a) Privacy-Preserving FPT suffers from over-smoothed transferable knowledge under data hetero- geneity. Transitioning to MEPs raises: (b) the Dimensionality Curse, where DP noise and communication costs scale with the number of expert prompts; and (c) the Composition Bar- rier, where noisy expert prompts must be effectively com- posed for better transfer–adaptation balance.

Methods

The authors propose FedSEPT (Federated Subspace-decomposed Expert Prompt Tuning), which introduces two core innovations to make multi-expert federated learning both private and efficient:

  1. Subspace-decomposed Expert Modeling (SEM): Instead of communicating full-dimensional expert prompts, each expert is parameterized as: $$\mathbf{P}_k^m = \mathbf{A}_k^m \mathbf{B}_0 + \mathbf{R}_k$$ Where $\mathbf{B}_0$ is a fixed, data-independent public basis shared by all clients, $\mathbf{A}_k^m$ is a compact, low-rank expert factor, and $\mathbf{R}_k$ is a client-private residual that remains on-device. LDP (via DP-SGD) is applied exclusively to the low-rank factors $\mathbf{A}_k^m$. This confines noise perturbation to a compact space, preserving utility and slashing communication overhead. The fixed public basis ensures all clients' factors align within a common coordinate system for direct server aggregation.

  2. Instance-aware Expert Fusion (IEF): To combine these experts dynamically based on the input image, an on-device router uses cross-attention to compute sample-specific expert weights. To avoid the massive computational cost of passing dynamically mixed prompts through the text encoder for every single image, FedSEPT caches the text features for each expert once per update and performs fusion at the logit level (late fusion).

Overview of the FedSEPT framework architecture.

Datasets

The authors evaluate FedSEPT across 11 benchmark datasets categorized into three statistical heterogeneity settings:

  • Pathological label skew: Food101, Caltech101, Flowers102, DTD, and OxfordPets (where each client is assigned completely disjoint class sets).
  • Practical label skew: CIFAR-10 and CIFAR-100 partitioned via a symmetric Dirichlet distribution ($\beta \in \{0.1, 0.3, 0.5\}$).
  • Domain and label skews: PACS, Office31, OfficeHome, and DomainNet (hierarchical partitioning allocating distinct domains to specific clients, followed by intra-domain Dirichlet label skew).

Key Insights and Ideas

  • The Low-Rank Privacy Hack: The core "aha" moment is realizing that fixing a public basis ($\mathbf{B}_0$) solves two problems at once. It forces all clients into a shared coordinate system for aggregation (since low-rank factorizations aren't inherently unique), and it allows DP noise to be injected into a tiny subspace ($\mathbf{A}_k^m$) rather than the full prompt space, preventing utility collapse.
  • Logit-Level Late Fusion is a Lifesaver: Standard Mixture-of-Experts (MoE) approaches mix prompts early, requiring a text encoder pass for every single image-prompt combination. Moving fusion to the logit layer allows text features to be cached, making multi-expert prompt tuning computationally viable for edge devices.
  • Soft Routing Beats Hard Selection: Under DP, individual experts are noisy. Hard top-1 selection makes the model brittle by over-relying on a single noisy expert, while uniform averaging loses personalization. Soft, instance-aware routing provides the robust middle ground needed to balance cross-client transfer and local adaptation.

Key Results

  • Superior Personalization-Generalization Trade-off: FedSEPT consistently outperforms strong baselines (like PromptFL, FedPHA, and pFedMoAP) in the Harmonic Mean (HM) of In-Client (personalization) and Cross-Client (generalization) accuracy across all 11 datasets under strict privacy constraints ($\epsilon = 1.0$).
  • Communication Efficiency: It slashes bidirectional communication per round from 64 KiB (for full-prompt baselines) to just 8 KiB—an 8x reduction.
  • Inference Speedup: Thanks to logit-level fusion, it achieves an inference latency of 2.346 ms and 35.1 GFLOPs, compared to 17.340 ms for prompt-level fusion alternatives that repeatedly invoke the text encoder.
  • Privacy Robustness: Successfully defends against Membership Inference Attacks (MIA) and Gradient Inversion Attacks (GIA), reducing semantic leakage (CLIP cosine similarity) from 0.529 (without DP) to -0.013 under GIA audits.
Figure 3: Effect of the number of shots.

Limitations and Future Work

  • The Privacy-Utility Trade-off in MIAs: The authors note that FedSEPT exhibits a marginally higher MIA Area Under the Curve (AUC) than low-utility baselines under strong update-and-query attack models. This occurs because its highly accurate personalized predictions naturally provide more informative query features to an attacker. The authors emphasize that privacy leakage must be interpreted jointly with utility.
  • Future Directions: Promising future work includes exploring adaptive subspace rank selection during training or extending this subspace-decomposed expert approach to larger multimodal foundation models beyond CLIP.

Summary updated

BibTeX
@misc{wang2026towards,
  author = {Yuhua Wang and Xiaodong Li and Yihao Guo and Yuxiang Jia and Qinnan Zhang and Yifan Sun and Hainan Zhang and Yongxin Tong and Zhiming Zheng},
  title = {{Towards Privacy-Preserving Federated Prompt Tuning under Data Heterogeneity: A Subspace-Decomposed Expert Approach}},
  year = {2026},
  eprint = {2607.21417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.21417},
}
Figure