Abstract: 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.

Author: AI-assisted technical review

Title: Technical Verification of SketchTune

# Identity, version, and review scope

This report concerns Tianyi Zhang, Junda Su, Aditya Desai, Oscar Wu, Zhaozhuo Xu, and Anshumali Shrivastava, Sketch to Adapt: Fine-Tunable Sketches for Efficient LLM Adaptation, ICML 2025, PMLR 267, 76088–76110 [paper]. The assigned identifier is I25-43470 (0101). All page references below mean the 1-based PDF pages, which agree with the printed local page numbers 1–23, not the PMLR volume pagination.

The reviewed original has SHA-256 `af45d375c09415671dd3303ce020434eddf899aeab1a80bfa9fc86b8aff2720c`. The main argument and Appendices A–L were read at the level recorded in the coverage ledger. The strongest checks concern equations (3)–(6), Algorithm 1, Appendix B, and the assumptions of Appendix F. Tables and experiment descriptions were checked for interpretation and selected arithmetic, not reproduced. The acquired repository is a selective snapshot at commit `1cb21921a7b6a152b8034f1e49d1edbde7d2f03a`; its README and `tailor_utils.py` were inspected statically [code]. Author code was not executed.

The supplied manifest records that separate OpenReview material could not be determined because metadata access returned HTTP 403. The embedded appendices are present. Training data, model checkpoints, historical experiment logs, and the full compression implementation were not available for an end-to-end reproduction. No later revision or erratum was acquired and assessed; the findings attach to the specified published PDF, not automatically to every version.

# Definitions and checked dependencies

Equation reference: eq:objective, eq:centers. For a row \(w\in\mathbb R^{1\times c}\), the paper defines \(S\in\mathbb R^{c\times k}\), a one-hot reconstruction matrix \(M\in\{0,1\}^{k\times c}\), and \[z=wS,\qquad \widehat w=zM.\] With a positive definite Hessian \(H\), let \(q_i=(1/(H^{-1})_{ii})^s>0\), where the experimental choice is \(s=3\). Equation (4) minimizes \[
 J(z)=\sum_{i=1}^c q_i\bigl(\operatorname{RTN}(w_i,z)-w_i\bigr)^2 .\] For fixed nonempty clusters \(C_j=\{i:a_i=j\}\), their weighted least-squares centers are \[
 z_j^*=\frac{\sum_{i\in C_j}q_iw_i}{\sum_{i\in C_j}q_i}.\] The distinction between a scalar center \(z_j\) and the entries of a matrix \(S\) that subsequently multiplies \(w\) is essential.

The gradient in equation (6) is consistent with differentiation through a fixed \(M\). Likewise, the static forward/backward structure in `tailor_utils.py`, lines 13–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.

# Substantive findings

Problem 1 (The printed sketch matrix does not implement weighted clustering).

## Source claim and suspect step

Equation reference: eq:printed. On PDF page 4, equation (5) specifies, for \(a_i=j\), \[
 S_{ij}=\frac{q_iw_i}{\sum_lq_l},\] and zero otherwise. The surrounding text says that weighted \(k\)-means produces the sketched parameters and that these parameters are obtained as \(wS\). Algorithm 1 repeats both the entry formula (line 3) and multiplication (line 13) on page 5. The same dimensions are stated in Table 5, page 14.

As printed, the multiplication introduces a second factor of \(w_i\): \[(wS)_j=\frac{\sum_{i\in C_j}q_iw_i^2}{\sum_lq_l}.\] This is not equation [eq:centers] (#eq:centers). Even interpreting the unqualified denominator as cluster-restricted leaves a weighted second moment instead of a center.

## An admissible, complete check

Take \(c=128\), \(k=4\), one group per row, \(s=3\), and \(X=I_{128}/\sqrt2\). Then \(H=2XX^\top=I_{128}\) is positive definite and all \(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\).

Let \(w\) consist of 32 copies each of \(1,2,3,4\), with \(C_j\) containing the copies of \(j\). Every cluster is nonempty, the centers \(z^*=(1,2,3,4)\) are a global minimizer of [eq:objective] (#eq:objective), and the minimum is zero because every weight equals a center.

Under the literal denominator \(\sum_{l=1}^{128}q_l=128\), equation [eq:printed] (#eq:printed) instead yields \[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.\] Allowing the round-to-nearest reassignment actually specified in [eq:objective] (#eq:objective) does not fix the discrepancy: \(1\) maps to \(1\), \(2\) and \(3\) map to \(9/4\), and \(4\) maps to \(4\). Thus \[J(wS)=32\{0+(1/4)^2+(3/4)^2+0\}=20>0.\] If the denominator is read charitably as \(\sum_{l\in C_j}q_l=32\), the resulting centers are \((1,4,9,16)\) and \(J(wS)=64>0\). The extra factor of \(w_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.

## Alternative interpretations and counterevidence

The formula was checked in a rendering of the original PDF page 4, so the extra factor is not an extraction artifact. Treating \(S_{ij}\) as a precomputed contribution to a center, followed by summation of its column, could explain the numerator. It contradicts the explicit definition \(z=wS\) and Algorithm 1 line 13. Simply deleting \(w_i\) is insufficient if the denominator still includes all clusters.

The inspected repository loads precomputed quantization grids and codes and provides fine-tuning/inference operations. It does not demonstrate that the erroneous formula was used to generate those grids. Correct empirical results and an unreported correct preprocessing implementation can therefore coexist with this incorrect published algorithm.

## Impact and supported correction

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.

Equation reference: eq:fixedS. For nonempty fixed clusters, the supported correction is \[
 S_{ij}=\frac{q_i}{\sum_{l\in C_j}q_l}\,\mathbf1_{\{i\in C_j\}}.\] Then direct multiplication gives [eq:centers] (#eq:centers). Differentiating \(\sum_{i\in C_j}q_i(z_j-w_i)^2\) gives \(2\sum_{i\in C_j}q_i(z_j-w_i)\); its zero is [eq:centers] (#eq:centers), and its second derivative is positive. This proves the fixed-assignment weighted least-squares statement. It does not certify global optimality of an arbitrary \(k\)-means run or the complete sequential Hessian-compensation algorithm. The correction passes the stated example; author adoption and historical implementation correspondence remain unknown.

Problem 2 (The update-projection formula has incompatible dimensions and a singular inverse).

## Source claim and complete analysis

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

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

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

## Counterevidence and impact

The familiar formula in the paper would be valid if its \(M\) meant the transposed design matrix, rather than the explicitly defined reconstruction matrix. That is a plausible notation error, but it must be made explicit. Figure 1 is said to use this projection, yet no acquired computation trace establishes that the plotted values used the literal invalid expression.

This finding is Major: the undefined projection is the stated calculation behind Figure 1’s comparison of sketching with low-rank update approximation, which directly motivates the core adaptation method. The rank and dimension failure invalidates that supporting computation under its printed definitions. The transpose correction restores a valid projection identity, but no acquired trace binds it to the plotted curves. The figure’s numerical provenance therefore remains Needs Evidence; no changed benchmark or curve value is inferred.

# Other checked claims and interpretation boundaries

Appendix F introduces both balanced hashing and random sign factors \(g(i)\) in equation (17). Under independent mean-zero signs, the cross terms in the squared error vanish and the factor \((\alpha-1)/\alpha\) follows. That calculation is coherent for the signed random sketch. The algorithmic matrix in Section 2 is unsigned and learned; replacing it by the signed random model is an additional modeling assumption, not a verified property of the learned mapping. This review treats the result as a stylized comparison and does not claim to have falsified the power-law theorem with an example that violates its signed-hash assumptions.

The low-rank comparison must use rank \(n/(2\alpha)\) under a budget of \(n^2/\alpha\) factor entries, as equation (29) does. The appearances of \(n/(2k)\) elsewhere need a consistent notation convention. The present report does not infer an incorrect empirical conclusion solely from those index inconsistencies.

Appendix C’s example count is \(87{,}031{,}808\) trainable sketch parameters, which agrees with its stated arithmetic. Table 4’s 2-bit Llama-2-13B GSM8K difference is \(39.88-25.40=14.48\) percentage points. These arithmetic checks do not reproduce model accuracy. The aggregate counts in Appendix K give 60 ties out of 300 comparisons, hence a tie fraction of \(0.20\); the printed \(0.39/0.61\) values correspond approximately to decisive-outcome shares. The win advantage survives this labeling inconsistency, which is not used to increase the supported severity.

The selection protocol for hyperparameters, historical checkpoint identities behind Figure 1, the exact judge configuration, and GPU performance measurements were not independently reconstructed. Appendix L itself documents sensitivity to answer extraction, which is relevant counterevidence against interpreting all score differences as changes in reasoning ability.

# Overall impact and recorded state

The core compression specification requires correction before it is independently implementable as the stated weighted-clustering method. The separate projection expression also requires an orientation/inverse correction. Neither result demonstrates that the reported trained models or hardware results are invalid.

Assessment | Repair verification | Author adoption | Remaining work

Major for Problems 1 and 2 | Fixed-cluster centroid and projection identities only | Not established; no contact requested | Compression implementation/history; Figure 1 provenance; experimental reruns if needed

Scientific adjudication: Pending

9 T. Zhang et al., Sketch to Adapt: Fine-Tunable Sketches for Efficient LLM Adaptation, PMLR 267 (2025), 76088–76110. Published 23-page PDF. https://proceedings.mlr.press/v267/zhang25bs.html. LeanModels, SketchTune, selective source snapshot, commit `1cb21921a7b6a152b8034f1e49d1edbde7d2f03a`. Consulted README and `tailor_utils.py`. https://github.com/LeanModels/SketchTune.

# Supporting checks

The original-page rendering is `render/page-04.png`. It uses only NumPy and standard-library arithmetic; it does not import the author’s package.

The coverage ledger distinguishes full text reading from analytic checking, selected arithmetic, static code inspection, and work not performed. No human review is represented, and the human-review list remains empty. The original full-paper review is preserved; these focused post-batch corrections leave scientific adjudication pending.
