Papers › Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient...

Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inference

14 Feb 2024arXiv:2402.09398archive 2025-07-28

Harry Dong, Xinyu Yang, Zhenyu Zhang, Zhangyang Wang, Yuejie Chi, Beidi Chen

Many computational factors limit broader deployment of large language models. In this paper, we focus on a memory bottleneck imposed by the key-value (KV) cache, a computational shortcut that requires storing previous KV pairs during decoding. While existing KV cache methods approach this problem by pruning or evicting large swaths of relatively less important KV pairs to dramatically reduce the memory footprint of the cache, they can have limited success in tasks that require recollecting a majority of previous tokens. To alleviate this issue, we propose LESS, a simple integration of a (nearly free) constant sized cache with eviction-based cache methods, such that all tokens can be queried at later decoding steps. Its ability to retain information throughout time shows merit on a variety of tasks where we demonstrate LESS can help reduce the performance gap from caching everything, sometimes even matching it, all while being efficient. Relevant code can be found at https://github.com/hdong920/LESS.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

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="2402.09398")

Code

Syntology Ran 12 of 17 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 9 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hdong920/less officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

17 samples harvested; 12 ran; 0 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.

1ran · violated contract
2ran · our draft was wrong
9ran
5unverified

Licence: 17 of the 17 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 hdong920/less. “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.

mean hdong920/less/src/lm_eval/metrics.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 0928f497e20fb443 · report
escaped_split hdong920/less/src/lm_eval/utils.py official repository ran no licence file found · pointer only · 57e732507bad40db · report
get_A_mask hdong920/less/src/masks.py official repository ran no licence file found · pointer only · dcc45d61b99a2dc4 · report
get_h2o_mask hdong920/less/src/masks.py official repository ran no licence file found · pointer only · 6abf882bc9dad32f · report
get_target_attn hdong920/less/src/train_kernels.py official repository ran no licence file found · pointer only · 6f65cb198dfad4fa · report
get_target_attn_out hdong920/less/src/train_kernels.py official repository ran no licence file found · pointer only · b0e9637d655792e9 · report
group hdong920/less/src/lm_eval/utils.py official repository ran no licence file found · pointer only · 359c35fdcd7a0ee5 · report
hash_args hdong920/less/src/lm_eval/base.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · ea06eaae4fc1eaf0 · report
local_heavy_hitter_mask_nonoverlap hdong920/less/src/masks.py official repository ran no licence file found · pointer only · 44957f7d4ab6aaec · report
pop_stddev hdong920/less/src/lm_eval/metrics.py official repository ran fingerprinted no licence file found · pointer only · 518b2201c66c2ad3 · report
sample_stddev hdong920/less/src/lm_eval/metrics.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · d40f0123e8a8f5c0 · report
simple_parse_args_string hdong920/less/src/lm_eval/utils.py official repository ran fingerprinted no licence file found · pointer only · cd999ad59caf84a7 · report
get_activations_layer hdong920/less/src/train_kernels.py official repository unverified no licence file found · pointer only · 996c34a5a32eee44 · report
get_c4 hdong920/less/src/data_processing.py official repository unverified no licence file found · pointer only · e17b6c1ff661e9bd · report
get_wikitext2 hdong920/less/src/data_processing.py official repository unverified no licence file found · pointer only · 5b616f4c20a2e4bb · report
load_modules hdong920/less/src/eval_gen.py official repository unverified no licence file found · pointer only · b0bc7ae197230a33 · report
make_table hdong920/less/src/lm_eval/evaluator.py official repository unverified no licence file found · pointer only · 9d95c14130837ee4 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

FocusPruning

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