Papers › Federated Learning from Vision-Language Foundation Models: Theoretical Analysis and Method

Federated Learning from Vision-Language Foundation Models: Theoretical Analysis and Method

29 Sep 2024arXiv:2409.19610archive 2025-07-28

Bikang Pan, Wei Huang, Ye Shi

Integrating pretrained vision-language foundation models like CLIP into federated learning has attracted significant attention for enhancing generalization across diverse tasks. Typically, federated learning of vision-language models employs prompt learning to reduce communication and computational costs, i.e., prompt-based federated learning. However, there is limited theoretical analysis to understand the performance of prompt-based federated learning. In this work, we construct a theoretical analysis framework for prompt-based federated learning via feature learning theory. Specifically, we monitor the evolution of signal learning and noise memorization in prompt-based federated learning, demonstrating that performance can be assessed by the ratio of task-relevant to task-irrelevant coefficients. Furthermore, we draw an analogy between income and risk in portfolio optimization and the task-relevant and task-irrelevant terms in feature learning. Leveraging inspiration from portfolio optimization that combining two independent assets will maintain the income while reducing the risk, we introduce two prompts: global prompt and local prompt to construct a prompt portfolio to balance the generalization and personalization. Consequently, we showed the performance advantage of the prompt portfolio and derived the optimal mixing coefficient. These theoretical claims have been further supported by empirical experiments.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.19610")

Code

Syntology Ran 4 of 10 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

PanBikang/PromptFolio officialmentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 4 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran
6unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from PanBikang/PromptFolio. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

average_weights PanBikang/PromptFolio/utils.py official repository ran no licence file found · pointer only · ab2485d028020739 · report
basic_clean PanBikang/PromptFolio/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 98f385d847636a3e · report
get_pairs PanBikang/PromptFolio/clip/simple_tokenizer.py official repository ran · our draft was wrong no licence file found · pointer only · d919ae32e5e4e616 · report
whitespace_clean PanBikang/PromptFolio/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 9542161e9640b858 · report
average_weights PanBikang/PromptFolio/fed_utils.py official repository unverified no licence file found · pointer only · 697e29e1bbc08d3d · report
build_model PanBikang/PromptFolio/clip/model.py official repository unverified no licence file found · pointer only · e2f5c1cc82e9df78 · report
cluster_weights PanBikang/PromptFolio/fed_utils.py official repository unverified no licence file found · pointer only · a064a0985b120c40 · report
load PanBikang/PromptFolio/clip/clip.py official repository unverified no licence file found · pointer only · fbf8c0143d9c48e3 · report
record_net_data_stats PanBikang/PromptFolio/datasplit.py official repository unverified no licence file found · pointer only · 49d5e536fa27cddc · report
renormalize PanBikang/PromptFolio/datasplit.py official repository unverified no licence file found · pointer only · 03564ffca35b29ce · report

Tasks

Federated LearningLearning TheoryMemorizationPortfolio OptimizationPrompt Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionCLIPSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections