FedPHA: Federated Prompt Learning for Heterogeneous Client Adaptation
ELVIA analysis
Independent review pending
The central projection has incompatible definitions in the paper’s equation, published pseudocode and pinned release. At the explicitly tested ratio the equation selects a zero-dimensional subspace while Algorithm 1 returns the identity, which cannot project a nonzero global prompt onto its null space. The release instead retains reduced-SVD row directions. This demonstrated core construction error is Major; empirical accuracy failure is not established. Two further release-scoped discrepancies concern shifted EOS pooling and decomposition frequency. The reviewed aggregation and selected arithmetic checks found no issue within their stated scope.
Problem 1. Core null-space projection has incompatible dimensions and operators
MajorEvidence and reasoning
Problem statement
Eq9 and Algorithm1 construct the null-space projection driving pull loss.
Legal16x512 prompt =[|], defaultrho.8 and testedrho1; full vs default reducedSVD.
Proof
Rating: Major. Locations: Figure 2, p. 4; Section 3.3, p. 5, Eqs. (8)–(10); Algorithm 1, p. 6; Table 8, p. 16; `trainers/GL_SVDMSE.py:129–165` and `trainers/GL_SVDMSE_HE.py:131–169`.
The paper specifies a global prompt and a full SVD with It selects the last columns as Algorithm 1 instead takes the slice retaining approximately columns. The release calls `torch.svd(global_ctx)` with its default reduced SVD, then uses `cutoff=int(S.shape[0]*(1-ratio))` and `V[:,cutoff:]`. Thus it counts from singular directions, not from full-SVD directions.
The locally installed primary PyTorch documentation explicitly states `some=True` by default and columns in A small installed-library shape diagnostic used PyTorch 2.9.0+cu128, with no author import. This checks available-library behavior; it is not asserted to identify the historical training environment.
Use standard dimensions and This is an allowed real global prompt, with rank and nullity Its nonzero singular values are distinct; is a valid full right basis and the reduced basis is
At the default
- Eq. (9) selects the last full-basis columns; has rank and
- Algorithm 1 starts at index under floor indexing and keeps columns, also with on this example. A ceiling convention changes this count to not to
- The release cuts the reduced directions at index and keeps Its rank-13 projector lies in the global row space and
A local prompt row is preserved by the released projector and annihilated by both full-basis alternatives. It can be repeated to any legal local prompt length.
At explicitly tested in Table 8, rounding ambiguity disappears: The latter two give with More generally, Algorithm 1 returns the identity for every nonzero at this setting; its range cannot lie in The equation and pseudocode thus prescribe opposite operations at a legal evaluated parameter.
These identities were checked analytically and with independent reviewer calculations. The independent check recomputed all ranks, squared norms and boundary cases; no learned-prompt distribution or benchmark execution is needed to refute the general construction claim.
If an exact null-space projector is intended, let contain right singular vectors for nonzero singular values. Then This fixes the linear-algebra property. It does not preserve an arbitrary selected null-subspace dimension or settle differentiation/rank-tolerance choices and empirical behavior. If an approximate row-space filter is intended, it should instead be named and specified consistently with its semantics. Merely requesting a full SVD is insufficient while the cutoffs disagree. No corrected FedPHA model was trained or certified.
Possible revision
Specify exact null vs spectral filter; =I-VrVrT is valid linear algebra but no trained repair certified.
Problem 2. Released heterogeneous prompts pool stale maximum-length EOS index
MinorEvidence and reasoning
Problem statement
Prompted CLIP sequence/readout construction.
Shorter local context, fixed maximum-length IDs, shared suffix, end padding.
Proof
Rating: Minor, pinned-release scope. Locations: `GL_SVDMSE_HE.py:47--56,103--127,178--205,259--270,284--302`; heterogeneous sequence construction, p. 5, Eq. (7).
Token IDs are created using the maximum prompt length and retained. The text encoder pools at `tokenized_prompts.argmax`, the EOS position in that maximum-length tokenization. The embedded sequence, however, concatenates the common prefix, a shorter learned context, and the shared suffix. EOS moves earlier by and zero-padding is appended only at the end. The pooling IDs are not adjusted.
For a class name with one token and a punctuation token, gives fixed zero-based pooling index A length-four context has actual EOS at index a length-16 context at index Both are still pooled at index Only length has matching EOS and pooling positions. Other class-token lengths change the absolute indices but not the displacement.
This is a deterministic sequence-bookkeeping discrepancy, independently reconstructed without executing CLIP. A later padding-position hidden state may still attend to preceding content, so it is not evidence of an empty representation or a measured accuracy loss. A deliberate shared readout position is another possible design, but it would need a consistent description rather than mismatched token and embedding sequences. Historical experimental impact remains Needs Evidence. Updating each pooling index consistently is a local implementation correction, not a validated method repair.
Possible revision
Synchronize EOS/pooling positions or define intended alternate readout.
Problem 3. Released SVD executes per forward rather than stated per round
MinorEvidence and reasoning
Problem statement
SVD/projection performed only once percommunication round.
Inspected uncached call path and per-batch training caller.
Proof
Rating: Minor, source/documentation discrepancy. Locations: p. 8, Table 3 and cost paragraph; both released trainers’ prompt-learner and model-forward paths.
The paper reports decomposition ms, projection ms and training ms per round, and explicitly says decomposition/projection happen once per round rather than per batch. The released `CustomCLIP.forward` invokes the prompt learner, whose forward unconditionally computes the SVD and projection. Its training path calls the model on each batch; there is no cached-round guard in these methods. The computation also precedes the training-mode branch.
This is a static call-path conflict, not a measurement of total overhead. The release might differ from the timed historical implementation, and no synchronized GPU timing or batch count was obtained. Multiplying the quoted milliseconds by an assumed number of batches would be unjustified. The remedy is to identify the timed implementation and counting unit, or measure the actual per-forward release. The historical Table 3 values remain Needs Evidence rather than established false measurements.
Possible revision
Bind timed implementation and counting units or measure current implementation.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
In this paper, we propose Federated Prompt Learning for Heterogeneous Client Adaptation (FedPHA), a novel framework that combines a fixed-length global prompt for efficient aggregation with local prompts of varying lengths to capture client-specific data characteristics.
Published ICML 2025 proceedings PDF (PMLR 267); Abstract, PDF p. 1
Actual review scope
The recorded inspection concerns these source locations: PDF5 Eq8-10 PDF6 Algorithm 1 PDF16 Table 8 trainers/GL_SVDMSE_HE.py131-169; GL_SVDMSE_HE.py47-56,103-127,178-205,259-302 PDF5 Eq7; PDF8 costparagraph/Table3 Both trainers promptlearner/model forward paths.