arXiv:2609.01802cs.LGSep 2026

Manuscript Offprint

arXiv:2609.01802

D-FROST: Decentralized Federated pRompt-tuning via Optimal tranSporT for Non-IID and Imbalanced Data

Quan Minh Nguyen, Hoang M. Ngo, Trong Nghia Hoang, My T. Thai

Abstract

Prompt tuning provides a parameter-efficient way to adapt foundation models (FMs) by freezing the pretrained backbone and updating only a small set of learnable prompts. This property makes prompt tuning especially suitable for decentralized federated learning (DFL), where exchanging full-model updates can be prohibitively expensive. However, prompt tuning in DFL introduces new challenges. Prompt sets learned from heterogeneous local data may not be index-wise aligned, making standard decentralized averaging unsuitable. In addition, the algorithm should be theoretically guaranteed to achieve consensus and make progress toward the shared objective. In this work, we provide the first study of prompt tuning in DFL. We formulate decentralized prompt tuning as a Wasserstein-based optimization problem over prompt measures, which captures the set-valued structure of prompts. We then propose D-FROST, an optimal-transport-based (OT-based) decentralized prompt-tuning algorithm that merges neighborhood prompts into compact representative prompt sets through transportation-based matching. We further analyze D-FROST by bounding the Wasserstein consensus error across clients, and establishing convergence of the network-level prompt barycenter to a neighborhood of stationarity. Experiments under heterogeneous client data demonstrate the effectiveness of D-FROST for decentralized prompt tuning.

1 Introductions

Foundation models (FMs) have become a dominant foundation for modern AI systems, but adapting them to downstream tasks remains costly when all model parameters must be fine-tuned. Prompt tuning provides a parameter-efficient alternative by freezing the pretrained backbone and optimizing only a small set of learnable prompts (Li and Liang 2021; Lester, Al-Rfou, and Constant 2021). This makes prompt tuning particularly attractive in federated learning (FL), where data are distributed across clients and communication costs are a major bottleneck. Instead of transmitting full model updates, federated prompt tuning only exchanges lightweight prompt parameters. As state-of-the-art models now increasingly rely on on fine-tuning foundation models like LLMs and Vision Transformers, prompt tuning in FL has emerged as a promising way to fine-tune large pretrained models over

distributed data without centralizing raw information. (Zhao et al. 2023; Che et al. 2023; Weng et al. 2024).

Decentralized federated learning (DFL) is a server-free variant of FL where clients communicate only with graph neighbors. For pre-trained model adaptation in DFL, prompt tuning offers a natural way to reduce communication by exchanging only lightweight prompt parameters. However, prompt tuning in DFL introduces two challenges. First, a prompt-tuning algorithm in DFL must ensure convergence, where local prompt states reach consensus and the network-level model progresses toward the shared objective. To the best of our knowledge, no prior work studies convergence of prompt tuning in DFL. Existing convergence studies for full-model DFL are not directly applicable because they rely on coordinate-aligned parameter vectors and Euclidean averaging, while prompt-tuning DFL operates on unordered prompt sets (Yuan, Ling, and Yin 2016; Lian et al. 2017; Tang et al. 2018; Koloskova et al. 2020). Second, prompts learned from heterogeneous data may not be index-wise aligned, leading to a prompt misalignment issue where directly averaging prompts by index can merge unrelated prompt directions. In literature, PFPT (Weng et al. 2024) addresses this issue in centralized FL through probabilistic prompt aggregation. However, extending this idea to decentralized communication is nontrivial, since each client only observes local neighborhood prompts rather than a global collection.

Contributions. To the best of our knowledge, this is the first work to study prompt tuning in decentralized federated learning. The key contributions and insights of this work are summarized as follows:

(i) We formulate decentralized prompt tuning as a Wasserstein-based optimization problem over prompt measures. This formulation preserves the standard DFL goal of learning a shared model state, while replacing Euclidean parameter consensus with Wasserstein prompt-measure consensus. As a result, it naturally captures the set-valued structure of client prompts.

(ii) We propose D-FROST, an OT-based decentralized prompt-tuning algorithm. Each client first updates its local prompts and then applies an OT-based Merge function to summarize neighborhood prompts into a compact representative prompt set. This merge operator avoids direct index-wise averaging and addresses prompt misalignment by matching prompts according to their geometry in the prompt

*These authors contributed equally.

†Corresponding author.

embedding space.

(iii) We provide a convergence analysis of D-FROST. We first show that the local OT-based Merge solver becomes stable as the number of inner OT steps increases. We then establish that D-FROST controls the Wasserstein consensus error across clients and that the network-level prompt barycenter converges to a neighborhood of stationarity for the shared prompt-tuning objective.

(iv) We empirically evaluate D-FROST against various decentralized federated prompt-tuning baselines based on existing DFL techniques. Through extensive experiments across a combination of eight diverse vision datasets, our results consistently show that our method is effective in data imbalance and extremely heterogeneous scenarios in decentralized federated prompt-tuning.