Papers › SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Coding

SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Coding

8 Aug 2026arXiv:2608.07915added by Syntology

Jiamu Zhang, Liang Wu, Kelly Wan, Hanjie Chen, Liangjie Hong

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models (LLMs) increasingly read long inputs in the agentic era, from whole documents and codebases to conversations across many turns. Their inference memory is then dominated by the key-value (KV) cache, the stored attention keys and values of every token the model has read and generated. Because the cache grows with context length and is re-read in full at every generated token, a longer context means more GPU memory. To reduce this cost, most existing methods compress the KV cache by lowering every stored value to the same low precision, a technique known as quantization. They can push this to nearly two bits per value, but rarely further, because quality drops sharply at this 2-bit cliff: four levels are too few for the cache's outlier-heavy values, where a few large entries consume the levels and collapse the rest into noise. A natural remedy is to spend more bits on the channels (feature dimensions) that matter and fewer on the rest, but the raw cache offers no handle: its channels are strongly correlated, so none stands out as more important. Our analysis shows that this handle appears once the cache is rotated into a coordinate system computed from its own statistics, removing these correlations. There, a small fraction of channels carries almost all the information, and spending the budget on those few is far more accurate than spreading it evenly. Guided by this analysis, we develop SPECTRA, a training-free, drop-in codec that re-encodes the cache into this coordinate system and concentrates the bit budget on the channels that carry the signal. On Llama-3.1-8B and Qwen2.5-7B over long-context benchmarks, SPECTRA is near-lossless at 4x compression, competitive at 8x where uniform quantization has collapsed, and reaches up to 12x, pushing usable compression past the 2-bit cliff so the same GPU holds longer contexts and larger batches.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2608.07915")

Code

Syntology Ran 18 of 23 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 4 ran · honoured contract; 1 ran · violated contract; 6 ran · our draft was wrong; 5 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: found in paper text by Syntology: 23 samples from 1 repository, 18 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nokia-applied-research/SPECTRA found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 18 ran; 4 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · honoured contract
1ran · violated contract
6ran · our draft was wrong
5ran · fixture could not drive it
2ran
5unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from nokia-applied-research/SPECTRA. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LatentProjV2 nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · f10fa575457d680b · report
LatentProjWF nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · f08dd31fac115205 · report
_accumulate_streaming_stats nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · d68fb5093bc607d9 · report
_get_full_rowconv_live nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · honoured contract MIT (permissive) · 87a7396f36c65f6c · report
_lowrank_gweighted nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 5ba4187b2f9e57f5 · report
_oproj_module nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 561284acc1c655c8 · report
_robust_eigh nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 74476612a931c326 · report
_robust_svd nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 34a1eb25b50e1e67 · report
_rrr_precompute nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 47950f3a69647425 · report
_sym_sqrt_inv_sqrt nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · 4f2112fc12f264a7 · report
_wf_cache_frac nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · violated contract fingerprinted MIT (permissive) · e2b6d05badc72fa2 · report
build_factor nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 16262174c3fa3081 · report
cache_frac nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · honoured contract MIT (permissive) · 0f816d0515686080 · report
fake_quant nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 511a5b715ab593ed · report
group_water_filling_quant nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 11f5e4a0c78b5ef8 · report
lowrank_gweighted_factors nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 32ff5b0f547f6d62 · report
rand_orthogonal nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · honoured contract MIT (permissive) · 815461032a283673 · report
water_filling_bits nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · b443bae5237fbb8a · report
_rrr_apply nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology unverified MIT (permissive) · ef1dcb3d8ce25357 · report
_set_full_rowconv_live nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology unverified MIT (permissive) · 5c50ff9642f653a0 · report
build_spectra nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology unverified MIT (permissive) · 1953af0f0ceb8ba3 · report
build_spectra_wf nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology unverified MIT (permissive) · 5297489e66eb5f90 · report
fit_apply_mla_split nokia-applied-research/SPECTRA/spectra/method.py found in paper text by Syntology unverified MIT (permissive) · d881927b513c4aba · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2608.07915, was issued in August 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections