ELVIA.Evidence Atlas
NeurIPS 2025ELVIA assessment Minor

SALS: Sparse Attention in Latent Space for KV Cache Compression

Junlin Mu, Hantao Huang, Jihang Zhang, Minghui Yu, Tao Wang, Yidong Li

ELVIA analysis

Independent review pending

The first reported finding concerns “The covariance merge underweights between-batch scatter”. The public centered-covariance merge is wrong. Using centered PCA itself is not rejected.

Problem 1. The covariance merge underweights between-batch scatter

Minor
Evidence and reasoning

Problem statement

The calibration path merges centered batch covariance before taking the leading eigenspace.

Proof

It uses the new batch mean minus the pooled mean in place of the new batch mean minus the old mean. This shrinks the between-batch term by (n/(n+m))2.(n/(n+m))^2. Two symmetric two-point batches then give diag⁡(3/4,4/3)\operatorname{diag}(3/4,4/3) rather than diag⁡(3,4/3),\operatorname{diag}(3,4/3), reversing the principal axis and changing the rank-one reconstruction error from 44 to 9.9. Equal-mean batches are unaffected.

□\square

Possible revision

Use the standard pooled-covariance identity with the two original batch means and consistent population/sample normalization.

An explicit local correction is described; author adoption and a corresponding published erratum are not established.

Problem 2. Recovery paths lose values, batch identity or view strides

Minor
Evidence and reasoning

Problem statement

The reference and fused recovery paths must combine corresponding selected and recent keys/values for every batch.

Proof

Four distinct paths violate that contract: rebinding a suffix does not copy its values; a flattened-index test yields mask (true,true,false,false)(\mathrm{true},\mathrm{true},\mathrm{false},\mathrm{false}) for B=T=2;B=T=2; a narrowed view retains strides ignored by the kernel; and a reference selector keeps only batch zero.

For the cited narrowed view, one head address should be 28,28, not 16.16. These are source/address analyses, not executed CUDA results.

□\square

Possible revision

Preserve explicit destination writes, batch-local indices and actual tensor strides, or materialize the documented contiguous layout. Reconcile each path separately rather than applying one untested blanket patch.

An explicit local correction is described; author adoption and a corresponding published erratum are not established.

Problem 3. The ring exports the wrong recent token

Minor
Evidence and reasoning

Problem statement

`gpt_fast/model.py`, `SALS_KVCache.update`, exports the slot preceding the insertion pointer before overwriting the pointer slot.

Proof

A full recent ring [10,20][10,20] with insertion pointer zero exports token 20,20, then overwrites token 1010 with 30.30. History becomes [20][20] and recent storage [30,20],[30,20], losing 1010 and duplicating 20.20.

□\square

Possible revision

Export the old value at the slot being overwritten, write the new value there, and advance the pointer. This preserves the historical prefix plus the most recent window by induction for a full ring.

An explicit local correction is described; author adoption and a corresponding published erratum are not established.

Problem 4. The reference tuple retains two full key histories

Minor
Evidence and reasoning

Problem statement

`model_impl/llama.py` retains both full unrotated and full rotated key histories in the persistent compressed-cache tuple.

Proof

Those histories alone occupy 2BHNDs2BHNDs bytes at element size s,s, equal to an ordinary full key/value pair before compressed tensors are added.

For (B,H,N,D)=(1,32,4096,128)(B,H,N,D)=(1,32,4096,128) in half precision, their payload is 6464 MiB. Disabling the overlap diagnostic does not remove the stored references.

□\square

Possible revision

Retain full histories only in an explicit diagnostic mode and update the cache tuple’s readers and writers consistently. Measure persistent state for the actual declared path.

An explicit local correction is described; author adoption and a corresponding published erratum are not established.

Problem 5. The timing helper mixes full-sample means with trimmed deviations

Minor
Evidence and reasoning

Problem statement

`benchmark.py`, `compute_mean_variance`, removes large deviations but retains the full mean and original denominator.

Proof

For samples (1,1,1,9),(1,1,1,9), mean 33 is retained, the largest deviation is excluded, and the returned standard deviation is 3.\sqrt3. Full population dispersion is 12;\sqrt{12}; a consistent trim gives mean 11 and dispersion 0.0. A separate GPT-fast helper is unaffected.

□\square

Possible revision

Declare the statistic and exclusion rule, then compute location and dispersion on the same sample set with the appropriate denominator.

An explicit local correction is described; author adoption and a corresponding published erratum are not established.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

The SALS framework is pipelined with three stages: KV cache compression to latent space, critical token selection in latent space and selective reconstruction from latent space for the later sparse attention.

NeurIPS 2025 official proceedings PDF; compared with current arXiv:2510.24273v1; PDF p. 5

Actual review scope

The recorded inspection concerns these source locations: Section 4.2, PDF p.5; utils/layerwrapper.py, WrappedGPT.add_batch, lines 44–64; compression/preprocess.py, lines 66–130; compression/model_prune.py, lines 48–68; Algorithm 1, PDF p.6; Sections 5.1/5.5 and Table 6; released reference/fused recovery paths; Section 5.1, PDF p.8; gpt_fast/model.py, SALS_KVCache.update, lines 210–228; Abstract and Section 4; model_impl/llama.py, full-key prefill/decode histories; Section 5.5 and Table 6, PDF p.10; benchmark.py, compute_mean_variance, lines 10–17.

Submit an author revisionContribute a review