ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

FedPHA: Federated Prompt Learning for Heterogeneous Client Adaptation

Chengying Fang, Wenke Huang, Guancheng Wan, Yihao Yang, Mang Ye

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 ρ=1,\rho=1, 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

Major
Evidence and reasoning

Problem statement

Eq9 and Algorithm1 construct the null-space projection driving pull loss.

Legal16x512 prompt PP=[diag⁡(16,…,1)\operatorname{diag}(16,\ldots,1)|00], 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 Pg∈RTg×dP_g\in\mathbb R^{T_g\times d} and a full SVD Pg=USV⊤P_g=USV^\top with V∈Rd×d.V\in\mathbb R^{d\times d}. It selects the last d′=⌊(1−ρ)d⌋d'=\lfloor(1-\rho)d\rfloor columns as V2.V_2. Algorithm 1 instead takes the slice V[:,d(1−ρ):d],V[:,d(1-\rho):d], retaining approximately ρd\rho d 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 min⁡(Tg,d)\min(T_g,d) singular directions, not from dd full-SVD directions.

The locally installed primary PyTorch documentation explicitly states `some=True` by default and min⁡(m,n)\min(m,n) columns in V.V. 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 Tg=16,T_g=16, d=512d=512 and P=[diag⁡(16,15,…,1)∣016×496].P=[\operatorname{diag}(16,15,\ldots,1)\mid0_{16\times496}]. This is an allowed real global prompt, with rank 1616 and nullity 496.496. Its nonzero singular values are distinct; V=I512V=I_{512} is a valid full right basis and the reduced basis is (e1,…,e16).(e_1,\ldots,e_{16}).

At the default ρ=4/5:\rho=4/5:

- Eq. (9) selects the last 102102 full-basis columns; QQ has rank 102102 and PQ=0.PQ=0.

- Algorithm 1 starts at index 102102 under floor indexing and keeps 410410 columns, also with PQ=0PQ=0 on this example. A ceiling convention changes this count to 409,409, not to 102.102.

- The release cuts the 1616 reduced directions at index 33 and keeps e4,…,e16.e_4,\ldots,e_{16}. Its rank-13 projector lies in the global row space and ∥PQrelease∥F2=12+⋯+132=819,∥PQrelease∥F≈28.618176.\|PQ_{\rm release}\|_F^{2}=1^{2}+\cdots+13^{2}=819, \quad \|PQ_{\rm release}\|_F\approx28.618176.

A local prompt row p=e16⊤p=e_{16}^{\top} is preserved by the released projector and annihilated by both full-basis alternatives. It can be repeated to any legal local prompt length.

At ρ=1,\rho=1, explicitly tested in Table 8, rounding ambiguity disappears: Qequation=0,QAlgorithm 1=I512,Qrelease=projector onto the row space of P.Q_{\rm equation}=0,\qquad Q_{\rm Algorithm\,1}=I_{512},\qquad Q_{\rm release}=\text{projector onto the row space of }P. The latter two give PQ=P≠0,PQ=P\ne0, with ∥P∥F=1496≈38.678159.\|P\|_F=\sqrt{1496}\approx38.678159. More generally, Algorithm 1 returns the identity for every nonzero PP at this setting; its range cannot lie in ker⁡P.\ker P. 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 VrV_r contain right singular vectors for nonzero singular values. Then Qnull=Id−VrVr⊤,Qnull2=Qnull=Qnull⊤,PQnull=0.Q_{\rm null}=I_d-V_rV_r^\top,\quad Q_{\rm null}^{2}=Q_{\rm null}=Q_{\rm null}^\top,\quad PQ_{\rm null}=0. 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 ρ\rho semantics. Merely requesting a full SVD is insufficient while the cutoffs disagree. No corrected FedPHA model was trained or certified.

□\square

Possible revision

Specify exact null vs spectral filter; QnullQ_{\rm null}=I-VrVrT is valid linear algebra but no trained repair certified.

Problem 2. Released heterogeneous prompts pool stale maximum-length EOS index

Minor
Evidence 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 Tmax⁡T_{\max} 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 Tmax⁡−Ti,T_{\max}-T_i, 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, Tmax⁡=32T_{\max}=32 gives fixed zero-based pooling index 35.35. A length-four context has actual EOS at index 7;7; a length-16 context at index 19.19. Both are still pooled at index 35.35. Only length 3232 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.

□\square

Possible revision

Synchronize EOS/pooling positions or define intended alternate readout.

Problem 3. Released SVD executes per forward rather than stated per round

Minor
Evidence 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 4.24.2 ms, projection 2.82.8 ms and training 4536.84536.8 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.

□\square

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.

Submit an author revisionContribute a review