ELVIA analysis of: SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity — Problem 2: All-category MT-Bench caption is inconsistent with displayed scores
Original paper: Samir Khaki; Xiuyu Li; Junxian Guo; Ligeng Zhu; Konstantinos N (Kostas) Plataniotis; Amir Yazdanbakhsh; Kurt Keutzer; Song Han; Zhijian Liu. SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/khaki25a.html
Source version: Published ICML 2025 proceedings (PMLR 267)
Source location: Retained report, Problem 2: Problem 2 (The MT-Bench all-category caption exceeds the displayed evidence).
Question: What does the recorded analysis establish about “All-category MT-Bench caption is inconsistent with displayed scores”?
Bounded finding:
Three negative category changes contradict literal caption. Replace with comparable aggregate performance and mixed category changes.
Recorded check:
Assessment: Minor. Table 4, p. 8, claims matching or exceeding LoRA across all categories. Its own entries instead decrease from \(5.50\) to \(5.45\) for Extraction, from \(2.25\) to \(2.20\) for Math, and from \(7.78\) to \(7.70\) for STEM.
The decisive check is subtraction of the reported entries, yielding \(-0.05,-0.05,-0.08\). The averages are consistent: the eight-category means are \(6.035\) for LoRA and \(6.0625\) for SparseLoRA. Thus the caption should say comparable aggregate performance, with mixed category changes. The decreases are small and no paired uncertainty information establishes statistical deterioration. This is a bounded reporting correction, not evidence against the core acceleration result.
Case-wide limitations:
- Limitations: No author code executed; no PyTorch runtime test (not installed in active Python).
- Limitations: Historical correspondence and actual repaired performance unknown.
- Limitations: Raw timing and run-level uncertainty unverified.
- Limitations: Table3 average appears to omit WNLI; convention unclear.
- Limitations: No comprehensive errata/novelty search.
- P1 — Selected base projections lose their backward Jacobian — Counterevidence: Dense LoRA, dense tokens and residual paths still learn.
- P1 — Selected base projections lose their backward Jacobian — Counterevidence: No historical commit/run log links these exact lines to printed results.
- P1 — Selected base projections lose their backward Jacobian — Counterevidence: Deliberate stop-gradient would be a distinct approximation needing disclosure.
- P2 — All-category MT-Bench caption is inconsistent with displayed scores — Counterevidence: Aggregate score slightly improves; small differences may be noise.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p2
Source report index: 2
Original source excerpts (verbatim):
SparseLoRA shows for the first time that it can also play a role in LLM fine-tuning, where (1) only a sparse subset of weights is required for loss and gradient computation, and (2) this sparse subset needs to be determined based on the input sequence or tokens.
Source: Published ICML 2025 proceedings (PMLR 267)
Locator: PDF p. 1
Source PDF SHA-256: 252c06e2c789f3a4b8ee04edc7ba740e9366ab9822385e62f379808ce73e5cd5
Review status: Independent review pending
Case: icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity.html#problem-2
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity/records/icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity.r1.json
Canonical record SHA-256: b775a13e085939bb07ae77a0d71f79cb7f9b03b5e9eb172aade51923b7848fdb
The page follows the latest revision; the versioned record identifies this snapshot.
Analysis citation:
Minhao Liu. ELVIA analysis of: SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity — Problem 2: All-category MT-Bench caption is inconsistent with displayed scores. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity.html#problem-2
Case icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity/records/icml2025-0124-sparselora-accelerating-llm-fine-tuning-with-contextual-sparsity.r1.json
Claim in the source (paraphrase):
Location: Table4 caption p.8.
Paraphrase: Matches or exceeds LoRA in all categories.
Compare displayed point estimates without assuming statistical significance.
Full finding analysis:
Assessment: Minor. Table 4, p. 8, claims matching or exceeding LoRA across all categories. Its own entries instead decrease from \(5.50\) to \(5.45\) for Extraction, from \(2.25\) to \(2.20\) for Math, and from \(7.78\) to \(7.70\) for STEM.
The decisive check is subtraction of the reported entries, yielding \(-0.05,-0.05,-0.08\). The averages are consistent: the eight-category means are \(6.035\) for LoRA and \(6.0625\) for SparseLoRA. Thus the caption should say comparable aggregate performance, with mixed category changes. The decreases are small and no paired uncertainty information establishes statistical deterioration. This is a bounded reporting correction, not evidence against the core acceleration result.
Finding and scope:
Three negative category changes contradict literal caption. Replace with comparable aggregate performance and mixed category changes.
Recorded correction and verification scope:
Correct caption; no score change needed.
Displayed problem statement:
Location: Table4 caption p.8.
Paraphrase: Matches or exceeds LoRA in all categories.
Compare displayed point estimates without assuming statistical significance.
Complete retained report:
Abstract: The supplied paper gives substantial accuracy and efficiency comparisons and explicitly describes token, layer, and step sensitivity controls. The pinned implementation contains a core gradient-path defect: selected base-projection activations are gathered or scattered under `no_grad`, eliminating their backward contribution to upstream trainable adapters. The defect is demonstrated for the release, while its presence in the historical experiments remains unverified. A separate Minor issue concerns a table caption contradicted by its own category scores. Arithmetic checks support the headline ratios. Scientific adjudication is pending.
Author: AI-assisted technical review
Title: Initial Scientific Review of
SparseLoRA: Accelerating LLM Fine-Tuning
with Contextual Sparsity
# Identity and scope
Paper 0124, I25-43493, is by Samir Khaki, Xiuyu Li, Junxian Guo, Ligeng Zhu, Konstantinos N. Plataniotis, Amir Yazdanbakhsh, Kurt Keutzer, Song Han, and Zhijian Liu. The reviewed original is the supplied 16-page ICML 2025 PDF. Page numbers are one-based PDF pages, matching printed numbers. The pinned release is `z-lab/sparselora`, commit `a2fd69de93b1168080346ec113c99501f0bb58b1`. Original and inspected-source hashes were verified against their supplied records. No author code, training, or benchmark was run.
The main method and experiments on pp. 1–9 and Appendix A on pp. 14–16 were read. Source inspection covered the sparse linear layer, adapters, registry, token handling, predictor definitions, callback, and training configuration. External evidence was limited to primary PyTorch documentation for the semantics of `no_grad`. No comprehensive novelty, later-version, or errata search was performed.
# Method and supported checks
The proposed computation preserves dense low-rank adapters while selecting channels in the frozen base projections, using low-rank SVD predictors and layer-specific sparsity. It keeps output tokens dense, delays sparsification by an initial dense interval, and applies dense inference after fine-tuning. These are empirical approximation choices; the paper does not prove that SVD selection exactly reproduces dense outputs or globally optimizes attention error.
The source registry explicitly returns `None` for LoRA adapter sparsity modes, consistent with the dense-adapter design. It assigns `out_scatter` to PEFT base layers for query, key, value, gate, and up projections, and `in_gather` to output and down projections. The Math10K script sets the initial dense fraction to \(0.05\), consistent with the relevant appendix configuration.
Independent arithmetic gives \[\frac{623+679}{384+436}=1.5878,\qquad \frac1{0.46}=2.1739.\] These agree, after rounding, with Figure 1’s approximately \(1.6\times\) combined forward/backward ratio and the approximately \(2.2\times\) FLOP reduction associated with Table 2. These calculations do not establish an independently measured wall-clock speedup.
# Problems
Problem 1 (Selected base-projection gradients are detached in the pinned implementation). Assessment: Major for the core released implementation; historical experimental attribution Needs Evidence. Section 3 and Figure 3, p. 3, motivate sparse loss and gradient computation through selected base-model weights while retaining dense LoRA branches. The pinned `sparselora/modules/linear.py`, lines 19–22 and 30–40, instead performs activation gather and output scatter inside `torch.no_grad()` blocks. This removes the selected base path from reverse-mode differentiation.
## Exact paths and assumptions
The source path is not an unreachable utility. In `registry.py`, lines 33–47, a PEFT base projection is assigned `out_scatter` or `in_gather`. The API replaces eligible linear modules at `api.py`, lines 101–123. The attention module passes selected indices to those projections at `llama.py`, lines 71–88 and 104–108. In `linear.py`, lines 51–71, the patched adapter forward adds the base result to the dense LoRA result.
The finding assumes an enabled sparse layer with a nonempty proper subset of channels, a frozen base weight, and an input that depends on an upstream trainable adapter. These are ordinary fine-tuning circumstances. The selected index set can be held fixed locally; no derivative of a top-\(k\) decision is required.
For `out_scatter`, the selected matrix multiplication is initially differentiable with respect to its input. The subsequent `scatter_add` is evaluated under `no_grad`, so the assembled output loses that graph. For `in_gather`, the input gather itself is detached. Multiplication by a frozen base weight cannot restore the missing dependency. PyTorch’s primary documentation confirms that computations inside this context are excluded from the reverse-mode graph even when inputs require gradients. Neither gather nor scatter-add is a factory-function exception.
## Decisive derivative
Let an upstream scalar adapter parameter produce \(x(\theta)=(\theta,0)^\top\). Take frozen \(W=\operatorname{diag}(2,3)\) and retain channel 0. The intended selected base computation produces \(y=(2\theta,0)^\top\), with \[L(\theta)=\tfrac12\|y\|^2=2\theta^2,\qquad
\left.\frac{dL}{d\theta}\right|_{\theta=1}=4.\] A fixed-index scatter or gather must preserve this derivative. Treating the selected result as detached gives contribution zero instead. An independent rational-arithmetic central difference at \(\theta=1\), with step \(10^{-6}\), is exactly \(4\). No author function was imported or executed, and this is not represented as a PyTorch runtime test.
The same reasoning applies if residual or LoRA branches are present: those branches can still carry gradients, but the selected frozen-base contribution is missing. Freezing a weight eliminates its own parameter update; it does not eliminate the Jacobian needed to train parameters preceding that weight.
## Counterevidence and impact limits
Keeping LoRA dense does permit learning, and dense tokens and other paths remain active. Thus this finding does not show that training completely stops, that all gradients vanish, or that any printed benchmark number is false. Deliberately using a stop-gradient approximation is another possible algorithm, but it is not the selected-weight backpropagation described in the paper and requires explicit characterization.
The acquired release is pinned, but no historical training commit or raw run log ties these exact lines to the reported experiments. That part of the conclusion is Needs Evidence. The release-level defect is nevertheless material: it changes the optimization mechanism and may reduce backward work beyond channel sparsification. It therefore affects both algorithmic fidelity and the interpretation of a speed measurement made with this implementation. Major is supported for the core implementation without requiring an observed accuracy loss.
The scoped correction is to leave mask prediction or index selection outside autograd if desired while retaining differentiable activation gather/scatter operations. This restores the selected base Jacobian. No source was modified, no repaired training run was performed, and neither corrected accuracy nor corrected speed is claimed.
Problem 2 (The MT-Bench all-category caption exceeds the displayed evidence). Assessment: Minor. Table 4, p. 8, claims matching or exceeding LoRA across all categories. Its own entries instead decrease from \(5.50\) to \(5.45\) for Extraction, from \(2.25\) to \(2.20\) for Math, and from \(7.78\) to \(7.70\) for STEM.
The decisive check is subtraction of the reported entries, yielding \(-0.05,-0.05,-0.08\). The averages are consistent: the eight-category means are \(6.035\) for LoRA and \(6.0625\) for SparseLoRA. Thus the caption should say comparable aggregate performance, with mixed category changes. The decreases are small and no paired uncertainty information establishes statistical deterioration. This is a bounded reporting correction, not evidence against the core acceleration result.
# Additional evidence boundaries
## Aggregate definition
Table 3 lists nine GLUE tasks but its average is not the mean of all nine displayed columns: those means are \(82.7\) and \(84.2\). Excluding WNLI gives \(87.35\) and \(87.7375\), which approximately explain the printed \(87.3\) and \(87.7\); rounding of underlying scores may explain the first final digit. An eight-task aggregate is a plausible intended convention, but the exclusion should be specified. The relative direction of the reported comparison is preserved under either aggregation. This ambiguity is recorded separately from a proved core failure.
## Lossless performance and measurement scope
The paper reports five runs with highest and lowest discarded for the principal reasoning experiments (p. 6). Without raw runs, covariance, and a stated equivalence margin, small differences do not establish statistical equivalence. Conversely, small negative point estimates alone do not establish material harm.
The SVD factors are explicitly prepared offline (p. 5), while Table 8 measures online estimator overhead. The main timing evidence would be stronger with raw synchronized measurements and a clear inclusion list for warmup, data handling, offline setup, and dense initial steps. For example, if a sparse-step speedup is \(s\), an initial dense fraction \(f\) and one-time setup time \(T_0\) give total relative cost \[f+(1-f)/s+T_0/T_{\rm dense}.\] This identity is a scope check, not proof that the authors omitted any term. Precomputed factors can legitimately be amortized across runs. No timing falsification is inferred from absent logs.
# Overall assessment
The review supports a Major issue in the current source’s gradient path, with historical experiment attribution unresolved, and one Minor literal reporting issue. The headline ratios pass arithmetic checks. SVD approximation quality, task performance, and runtime remain empirical claims not independently reproduced here. The gradient correction must be tested before attributing the original performance–speed tradeoff to a repaired implementation.
Item | State
Scientific assessment | Major; human adjudication pending
Original and inspected source | Hash checked
Independent arithmetic/derivative | Completed; exit code 0
Historical run attribution | Needs Evidence
Author-code execution | None
Repair verification | Gradient repair not executed
Author adoption | Not sought; unknown
Remaining work | Resolve the stated scientific evidence gaps
Focused acceptance | Recorded separately in provenance; adjudication pending
9 S. Khaki et al., SparseLoRA: Accelerating LLM Fine-Tuning with Contextual Sparsity, ICML 2025, supplied proceedings PDF, pp. 1–9, 14–16. `z-lab/sparselora`, commit `a2fd69de93b1168080346ec113c99501f0bb58b1`, especially `modules/linear.py`, `modules/registry.py`, `modules/llama.py`, and `api.py`. PyTorch documentation, no_grad, consulted 24 October 2026, https://docs.pytorch.org/docs/stable/generated/torch.no_grad.html. Stable proceedings record: https://proceedings.mlr.press/v267/khaki25a.html.
# Supporting checks
Human reviews are empty and scientific decisions pending. Originals and manifests are unchanged.
Scientific adjudication remains pending and human reviews remain empty.
Source PDF SHA-256: 252c06e2c789f3a4b8ee04edc7ba740e9366ab9822385e62f379808ce73e5cd5
Repair verification: pending
Author adoption: not_requested