ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

A Stronger Mixture of Low-Rank Experts for Fine-Tuning Foundation Models

Mengyang Sun, Yihao Wang, Tao Feng, Dan Zhang, Yifan Zhu, Jie Tang

ELVIA analysis

Independent review pending

The inspected core update derivations contain two substantive problems. The proposed stop-gradient implementation does not induce the parameter-space update claimed in Appendix E: refreshing detached values at the next forward pass leaves gate weights to the power 3/2,3/2, rather than the claimed first power. Separately, replacing squared gate weights by linear weights need not move the update closer to full fine-tuning. A two-expert rank-one example establishes both points with invertible Gram matrices and exact finite-step formulas. These are Major findings about the method’s central theoretical justification. The reported benchmark improvements were not reproduced and are not refuted by these calculations.

Problem 1. Detached values are incorrectly frozen across an update

Major
Evidence and reasoning

Problem statement

For fixed positive gates gig_i summing to one, let X=W+∑igiBiAi,G=∇XL,Pi=Bi(BiTBi)−1BiT,Qi=AiT(AiAiT)−1Ai.X=W+\sum_i g_iB_iA_i,\qquad G=\nabla_X\mathcal L,\qquad P_i=B_i(B_i^TB_i)^{-1}B_i^T,\quad Q_i=A_i^T(A_iA_i^T)^{-1}A_i. Here Ai∈Rr×d,A_i\in\mathbb R^{r\times d}, Bi∈Rd×r;B_i\in\mathbb R^{d\times r}; the example below has full row/column rank, so both inverses exist. We use simultaneous preconditioned SGD, matching the derivation, and distinguish the first-order update from the O(η2)O(\eta^{2}) product term.

With the ordinary forward rule, the factor gradients are giBiTGg_iB_i^TG and giGAiT.g_iGA_i^T. Applying Equation (6) gives Xnew=X−η∑igi2(PiG+GQi)+O(η2). X_{\rm new}=X-\eta\sum_i g_i^{2}(P_iG+GQ_i)+O(\eta^{2}). This is the substantive content of Equation (10), with dimensions made explicit. Dividing both preconditioned factor gradients by gi,g_i, as in Equation (11), indeed gives, in this fixed-gate single-example setting, Xnew=X−η∑igi(PiG+GQi)+O(η2). X_{\rm new}=X-\eta\sum_i g_i(P_iG+GQ_i)+O(\eta^{2}). These valid identities provide the baseline for the two findings.

Equation13/Algorithm1 achieves Equation12; AppendixE derives next-X using frozen detached products.

Two activated experts, positive normalized gates 1/2.1/2. d2,r1; A=(1,0),B=(1,0)TA=(1,0),B=(1,0)^T for each; invertible scalar Gram matrices1. W0; loss ∥X∥F2/2;\|X\|_F^{2}/2; simultaneous preconditioned SGD. Gate logits have zero gradient for identical outputs; deterministic local theory, not dropout benchmark trajectory.

Proof

Supported impact: Major. Section 3.3, Equation (13), and Appendix E on p. 15 claim that the engineering forward rule achieves Equation (12) while preserving the normal forward value. Write sg⁡\operatorname{sg} for a stop-gradient operation. The proposed contribution of an expert is sg⁡(gi) BiAi+(gi−sg⁡(gi))sg⁡(Bi)sg⁡(Ai). \sqrt{\operatorname{sg}(g_i)}\,B_iA_i+ \bigl(g_i-\sqrt{\operatorname{sg}(g_i)}\bigr) \operatorname{sg}(B_i)\operatorname{sg}(A_i). Numerically this equals giBiAi.g_iB_iA_i. Its autodifferentiation rule with respect to Ai,Bi,A_i,B_i, however, uses gi,\sqrt{g_i}, not gi.g_i. After Equation (6), the factor increments are therefore ΔAi=gi(BiTBi)−1BiTG,ΔBi=giGAiT(AiAiT)−1.\Delta A_i=\sqrt{g_i}(B_i^TB_i)^{-1}B_i^TG,\qquad \Delta B_i=\sqrt{g_i}GA_i^T(A_iA_i^T)^{-1}.

Appendix E’s first line substitutes updated Ai,BiA_i,B_i only into the first term of [stop] (#stop), leaving the detached product at its old value. This is a local surrogate with frozen numerical constants. It is not the output of Algorithm 1 evaluated after an optimizer step. In that algorithm, `exp_out.detach()` is recomputed from the current `exp_out` on every forward pass. Consequently the next numerical value, with gates fixed as assumed in the paper’s derivation, is W+∑igi(Bi−ηΔBi)(Ai−ηΔAi).W+\sum_i g_i(B_i-\eta\Delta B_i)(A_i-\eta\Delta A_i). Its correct first-order expansion is Xnew=X−η∑igi3/2(PiG+GQi)+O(η2), X_{\rm new}=X-\eta\sum_i g_i^{3/2}(P_iG+GQ_i)+O(\eta^{2}), not [target] (#target). The error is first order in the step size and survives the paper’s deliberate omission of second-order terms.

The released `moe_lora.py`, lines 9797–108,108, computes the same rule with cloned, detached values on each call. The alternate branch at lines 123123–133133 does likewise. The released `custom_optimizer.py`, lines 165165–208,208, supplies the simultaneous preconditioned SGD updates. Static inspection therefore corroborates the recomputation semantics, without executing either program.

Let d=2,r=1,NExpert=2,d=2,r=1,N_{\rm Expert}=2, with both experts active, A1=A2=(1,0),B1=B2=(1,0)T,g1=g2=12,W=0,L(X)=12∥X∥F2.A_1=A_2=(1,0),\quad B_1=B_2=(1,0)^T,\quad g_1=g_2=\tfrac12,\quad W=0,\quad \mathcal L(X)=\tfrac12\|X\|_F^2. Thus X=G=P=diag⁡(1,0)X=G=P=\operatorname{diag}(1,0) and all four Gram matrices are the scalar one. Gates are positive and normalized; equal softmax logits realize them. Identical expert outputs give zero gradient to those gate logits, so holding them fixed is also consistent with their actual update in this example. The example uses the deterministic algebra of Section 3 and Appendix E, not an assumption about a stochastic benchmark training trajectory.

For each factor, the engineering update multiplies its nonzero entry by 1−η/2.1-\eta/\sqrt2. Re-evaluating the ordinary numerical forward gives exactly Xengineering=(1−η2)2P=(1−2η+η22)P. X_{\rm engineering} =\left(1-\frac{\eta}{\sqrt2}\right)^2P =\left(1-\sqrt2\eta+\frac{\eta^{2}}{2}\right)P. Equation (11), by contrast, gives (1−η)2P,(1-\eta)^2P, whose first-order coefficient is 2.2. Freezing the detached old products as in Appendix E gives the different surrogate [2(1−η2)2+1−2]P=(1−2η+η22)P.\left[\sqrt2\left(1-\frac{\eta}{\sqrt2}\right)^{2}+1-\sqrt2\right]P =\left(1-2\eta+\frac{\eta^{2}}{\sqrt2}\right)P. At η=10−4,\eta=10^{-4}, the actual engineering value has coefficient 0.99985858364376260.9998585836437626 on P,P, while Equation (11)’s value is 0.9998000100000001.0.9998000100000001. Reviewer-written symbolic expansion and finite arithmetic verified these formulas and the limit of the engineering descent coefficient, 2,\sqrt2, as η→0.\eta\to0. The script and outputs are in and its JSON/stdout companions.

□\square

Possible revision

For fixed gates and simultaneous preconditioned SGD, actual first-order update is -eta sum g3/2g^{3/2}(P_i G+GG+G QiQ_i).

Problem 2. Increasing gate weights does not establish closer full fine-tuning

Major
Evidence and reasoning

Problem statement

For fixed positive gates gig_i summing to one, let X=W+∑igiBiAi,G=∇XL,Pi=Bi(BiTBi)−1BiT,Qi=AiT(AiAiT)−1Ai.X=W+\sum_i g_iB_iA_i,\qquad G=\nabla_X\mathcal L,\qquad P_i=B_i(B_i^TB_i)^{-1}B_i^T,\quad Q_i=A_i^T(A_iA_i^T)^{-1}A_i. Here Ai∈Rr×d,A_i\in\mathbb R^{r\times d}, Bi∈Rd×r;B_i\in\mathbb R^{d\times r}; the example below has full row/column rank, so both inverses exist. We use simultaneous preconditioned SGD, matching the derivation, and distinguish the first-order update from the O(η2)O(\eta^{2}) product term.

With the ordinary forward rule, the factor gradients are giBiTGg_iB_i^TG and giGAiT.g_iGA_i^T. Applying Equation (6) gives Xnew=X−η∑igi2(PiG+GQi)+O(η2). X_{\rm new}=X-\eta\sum_i g_i^{2}(P_iG+GQ_i)+O(\eta^{2}). This is the substantive content of Equation (10), with dimensions made explicit. Dividing both preconditioned factor gradients by gi,g_i, as in Equation (11), indeed gives, in this fixed-gate single-example setting, Xnew=X−η∑igi(PiG+GQi)+O(η2). X_{\rm new}=X-\eta\sum_i g_i(P_iG+GQ_i)+O(\eta^{2}). These valid identities provide the baseline for the two findings.

Section3.2 claims Eq12 further approaches full fine-tuning, motivated by normalization of squared gate weights.

Same fully admissible two-expert example as P1. Same learning rate, matrix Frobenius distance to full-gradient descent direction. No subspace-disjointness assumption in paper's argument.

Proof

Supported impact: Major for the central theoretical justification. Section 3.2, p. 5, asserts that Equation (12) further approaches global full fine-tuning. The preceding argument, p. 4, uses the sum-of-squares inequality for the gates to diagnose underestimation. That scalar inequality does not compare the matrix update with G,G, because each term is a sum of overlapping projections.

In the same admissible example, Pi=Qi=P=G.P_i=Q_i=P=G. The three first-order descent directions are Dordinary=G,DEq.(12)=2G,Dengineering=2 G.D_{\rm ordinary}=G,\qquad D_{\rm Eq.(12)}=2G,\qquad D_{\rm engineering}=\sqrt2\,G . Full fine-tuning at the same learning rate uses DFFT=G.D_{\rm FFT}=G. Since ∥G∥F=1,\|G\|_F=1, the corresponding errors are

Update | Descent coefficient on G∣∥D−G∥FG | \|D-G\|_F

Ordinary preconditioned MoE | 1∣01 | 0

Proposed ideal Equation (12) | 2∣12 | 1

Actual engineering implementation | 2∣2−1\sqrt2 | \sqrt2-1

Thus the proposed ideal rescaling moves an already exact first-order full-gradient update away from that gradient. For completeness, the ordinary finite update is (1−η/2)2P,(1-\eta/2)^2P, while full fine-tuning gives (1−η)P;(1-\eta)P; their discrepancy is O(η2).O(\eta^{2}). The proposed changes instead have nonzero first-order discrepancies.

There is no assumption in the relevant argument that the experts’ subspaces or the row/column projections are disjoint. The two projection terms count their shared component twice. Even a normalized weighted average of these sums is not thereby an orthogonal projection or an unbiased approximation to G.G. This invalidates the stated inference from gate normalization to systematically better full-gradient approximation.

The scope matters. The prose can be read as a qualitative heuristic about common training configurations rather than a quantified theorem. The example does not disprove such an empirical tendency. It does show that the mathematical reasons offered for the central closeness claim do not establish it under the stated conditions. Retuning the learning rate can match this one direction; that would change the comparison and does not verify a general claim with heterogeneous subspaces or token-dependent gates. The theory therefore needs a specified metric, conditions, and a valid argument. The Major assessment concerns this core justification, not an assertion that the method must train poorly.

□\square

Possible revision

Specify metric, conditions and valid comparative argument.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

This occurs since the low-rank matrices AA and BB together form a quotient manifold space with a certain curvature, leading to an inconsistency between the inner-manifold optimal and the full-rank optimal gradient.

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 1

Actual review scope

The recorded inspection concerns these source locations: PDF pp. 5,15; moe_lora.py97-108,123-133; custom_optimizer.py165-208; PDF pp. 4-5 Equations10-12.

Submit an author revisionContribute a review