ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Sketch to Adapt: Fine-Tunable Sketches for Efficient LLM Adaptation

Tianyi Zhang, Junda Su, Aditya Desai, Oscar Wu, Zhaozhuo Xu, Anshumali Shrivastava

ELVIA analysis

Independent review pending

The published weighted-clustering objective, sketch construction, projection formula, theoretical argument, and reported evaluation protocol are examined. The sketch matrix in equation (5), used again in Algorithm 1, does not produce the weighted cluster centers that the method requires. An admissible example has an optimal clustering loss of zero but a positive loss under the printed construction. This is a Major defect in the core method specification. A separate dimensional and invertibility defect affects the projection formula in Appendix B. The released code snapshot does not establish which compression procedure generated the reported experiments. Scientific adjudication remains pending.

Problem 1. Sketch initialization is not the stated weighted centroid

Major
Evidence and reasoning

Problem statement

For a row w∈R1×c,w\in\mathbb R^{1\times c}, the paper defines S∈Rc×k,S\in\mathbb R^{c\times k}, a one-hot reconstruction matrix M∈{0,1}k×c,M\in\{0,1\}^{k\times c}, and z=wS,w^=zM.z=wS,\qquad \widehat w=zM. With a positive definite Hessian H,H, let qi=(1/(H−1)ii)s>0,q_i=(1/(H^{-1})_{ii})^s>0, where the experimental choice is s=3.s=3. Equation (4) minimizes J(z)=∑i=1cqi(RTN⁡(wi,z)−wi)2. J(z)=\sum_{i=1}^c q_i\bigl(\operatorname{RTN}(w_i,z)-w_i\bigr)^{2} . For fixed nonempty clusters Cj={i:ai=j},C_j=\{i:a_i=j\}, their weighted least-squares centers are zj∗=∑i∈Cjqiwi∑i∈Cjqi. z_j^*=\frac{\sum_{i\in C_j}q_iw_i}{\sum_{i\in C_j}q_i}. The distinction between a scalar center zjz_j and the entries of a matrix SS that subsequently multiplies ww is essential.

The gradient in equation (6) is consistent with differentiation through a fixed M.M. Likewise, the static forward/backward structure in `tailor_utils.py`, lines 1313–36,36, reconstructs a weight matrix and sums weight gradients into shared parameters. This observation does not verify the CUDA kernels, their numerical accuracy, or the provenance of the initial quantization grids.

On PDF page 4, equation (5) specifies, for ai=j,a_i=j, Sij=qiwi∑lql, S_{ij}=\frac{q_iw_i}{\sum_lq_l}, and zero otherwise. The surrounding text says that weighted kk-means produces the sketched parameters and that these parameters are obtained as wS.wS. Algorithm 1 repeats both the entry formula (line 33) and multiplication (line 1313) on page 5. The same dimensions are stated in Table 5, page 14.

As printed, the multiplication introduces a second factor of wi:w_i: (wS)j=∑i∈Cjqiwi2∑lql.(wS)_j=\frac{\sum_{i\in C_j}q_iw_i^{2}}{\sum_lq_l}. This is not equation the displayed formula. Even interpreting the unqualified denominator as cluster-restricted leaves a weighted second moment instead of a center.

c=128,c=128, k=4,k=4, GPR=1,1, block size 128,128, s=3.s=3. H=IH=I from X=I/2;X=I/\sqrt{2}; all weights qi=1.q_i=1. 3232 copies each of 1,1,2,2,3,3,4;4; four nonempty clusters.

Proof

Take c=128,c=128, k=4,k=4, one group per row, s=3,s=3, and X=I128/2.X=I_{128}/\sqrt2. Then H=2XX⊤=I128H=2XX^\top=I_{128} is positive definite and all qi=1.q_i=1. Four codebook values correspond to the paper’s permitted INT2 setting. The row length is also compatible with the stated block size B=128.B=128.

Let ww consist of 3232 copies each of 1,2,3,4,1,2,3,4, with CjC_j containing the copies of j.j. Every cluster is nonempty, the centers z∗=(1,2,3,4)z^*=(1,2,3,4) are a global minimizer of the displayed formula, and the minimum is zero because every weight equals a center.

Under the literal denominator ∑l=1128ql=128,\sum_{l=1}^{128}q_l=128, equation the displayed formula instead yields wS=(1/4,1,9/4,4).wS=(1/4,1,9/4,4). Keeping the original cluster assignments gives a squared error of 32{(1−1/4)2+(2−1)2+(3−9/4)2+(4−4)2}=68.32\{(1-1/4)^{2}+(2-1)^{2}+(3-9/4)^{2}+(4-4)^{2}\}=68. Allowing the round-to-nearest reassignment actually specified in the displayed formula does not fix the discrepancy: 11 maps to 1,1, 22 and 33 map to 9/4,9/4, and 44 maps to 4.4. Thus J(wS)=32{0+(1/4)2+(3/4)2+0}=20>0.J(wS)=32\{0+(1/4)^{2}+(3/4)^{2}+0\}=20>0. If the denominator is read charitably as ∑l∈Cjql=32,\sum_{l\in C_j}q_l=32, the resulting centers are (1,4,9,16)(1,4,9,16) and J(wS)=64>0.J(wS)=64>0. The extra factor of wiw_i therefore causes failure under either interpretation.

The independent check in `independent_check.py` constructs this example, evaluates both interpretations, and checks the stated Hessian and cluster counts. Its actual output is preserved in `independent_check_execution.json`. These finite calculations instantiate the algebraic discrepancy; they are not model-training experiments.

This is Major under the supplied scientific contract: the failed derivation specifies the initial sketched parameters at the center of the claimed compression-and-adaptation method. The conclusion does not require a measured drop in downstream accuracy or failure of the whole research program.

□\square

Possible revision

Sij=qiS_{ij}=q_i*11[i in CjC_j]/sum_{l in CjC_j}qlq_l for nonempty fixed clusters.

Problem 2. Invalid projection formula

Major
Evidence and reasoning

Problem statement

For a row w∈R1×c,w\in\mathbb R^{1\times c}, the paper defines S∈Rc×k,S\in\mathbb R^{c\times k}, a one-hot reconstruction matrix M∈{0,1}k×c,M\in\{0,1\}^{k\times c}, and z=wS,w^=zM.z=wS,\qquad \widehat w=zM. With a positive definite Hessian H,H, let qi=(1/(H−1)ii)s>0,q_i=(1/(H^{-1})_{ii})^s>0, where the experimental choice is s=3.s=3. Equation (4) minimizes J(z)=∑i=1cqi(RTN⁡(wi,z)−wi)2. J(z)=\sum_{i=1}^c q_i\bigl(\operatorname{RTN}(w_i,z)-w_i\bigr)^{2} . For fixed nonempty clusters Cj={i:ai=j},C_j=\{i:a_i=j\}, their weighted least-squares centers are zj∗=∑i∈Cjqiwi∑i∈Cjqi. z_j^*=\frac{\sum_{i\in C_j}q_iw_i}{\sum_{i\in C_j}q_i}. The distinction between a scalar center zjz_j and the entries of a matrix SS that subsequently multiplies ww is essential.

The gradient in equation (6) is consistent with differentiation through a fixed M.M. Likewise, the static forward/backward structure in `tailor_utils.py`, lines 1313–36,36, reconstructs a weight matrix and sums weight gradients into shared parameters. This observation does not verify the CUDA kernels, their numerical accuracy, or the provenance of the initial quantization grids.

Appendix B equation (10) provides optimal update projection through MM(M⊤M)−1(M^\top M)^{-1} M⊤.M^\top.

MM is kk by cc as explicitly defined. k<c,k<c, nonempty clusters for ordinary inverse of MM⊤.MM^\top.

Proof

Appendix B, page 14, equation (10), gives the purported optimal update approximation as δ^=M(M⊤M)−1M⊤δ.\widehat\delta=M(M^\top M)^{-1}M^\top\delta . The paper declares MM to be k×ck\times c with k<c.k<c. Consequently, M⊤MM^\top M is c×cc\times c and has rank at most k<c;k<c; its ordinary inverse does not exist. The displayed left factor M(M⊤M)−1M⊤,M(M^\top M)^{-1}M^\top, even if an inverse were possible, would be k×k,k\times k, whereas an update in the original row has cc coordinates. A row-versus-column convention alone cannot remove both errors.

For the explicit nonempty assignment matrix with rows (1,1,0,0)(1,1,0,0) and (0,0,1,1),(0,0,1,1), M⊤MM^\top M has rank 22 and MM⊤=2I2.MM^\top=2I_2. A column update δ=(1,3,2,6)⊤\delta=(1,3,2,6)^\top projects onto the reconstruction subspace as (2,2,4,4)⊤,(2,2,4,4)^\top, with residual squared norm 10.10. The independent calculation records these values.

For the stated orientation, the valid column projection is δ^=M⊤(MM⊤)−1Mδ,\widehat\delta=M^\top(MM^\top)^{-1}M\delta, provided all clusters are nonempty. For a row update, it is δM⊤(MM⊤)−1M.\delta M^\top(MM^\top)^{-1}M. The inverse is replaced by the Moore–Penrose inverse if empty clusters are permitted.

□\square

Possible revision

For column updates, use δ^=M⊤(MM⊤)−1Mδ\widehat\delta=M^\top(MM^\top)^{-1}M\delta when all clusters are nonempty. For row updates, use δM⊤(MM⊤)−1M.\delta M^\top(MM^\top)^{-1}M. Replace the inverse by the Moore–Penrose inverse if empty clusters are allowed.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

For sketching, we first sketch the models using the SketchTune algorithm to derive the row-wise mapping matrix M.

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

Actual review scope

The recorded inspection concerns these source locations: PDF pp. 4-5, equations (3)-(5), Algorithm 1 lines 3 and 13; Appendix A p. 14 Claim location: True Source references: papers/0101/0101.pdf Source references: verification/0101/extracted_pages.json#/3 Source references: verification/0101/extracted_pages.json#/4 Source references: verification/0101/extracted_pages.json#/13; PDF p. 14, Appendix B, equation (10) Claim location: True Source references: papers/0101/0101.pdf Source references: verification/0101/extracted_pages.json#/0 Source references: verification/0101/extracted_pages.json#/13.

Submit an author revisionContribute a review