SALS: Sparse Attention in Latent Space for KV Cache Compression
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
MinorEvidence 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 Two symmetric two-point batches then give rather than reversing the principal axis and changing the rank-one reconstruction error from to Equal-mean batches are unaffected.
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
MinorEvidence 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 for 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 not These are source/address analyses, not executed CUDA results.
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
MinorEvidence 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 with insertion pointer zero exports token then overwrites token with History becomes and recent storage losing and duplicating
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
MinorEvidence 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 bytes at element size equal to an ordinary full key/value pair before compressed tensors are added.
For in half precision, their payload is MiB. Disabling the overlap diagnostic does not remove the stored references.
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
MinorEvidence and reasoning
Problem statement
`benchmark.py`, `compute_mean_variance`, removes large deviations but retains the full mean and original denominator.
Proof
For samples mean is retained, the largest deviation is excluded, and the returned standard deviation is Full population dispersion is a consistent trim gives mean and dispersion A separate GPT-fast helper is unaffected.
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.