SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.09398 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

12 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 5 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.09398.json · badge: /api/ran/2402.09398.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
hdong920/less canonical (classifier label)
classifier basis: census
12 ran · 5 no recorded run
FunctionStatusWhere it lives
mean Ran
ran, violated the contract we drafted
hdong920/less/src/lm_eval/metrics.py
pointer only (licence: NONE) · get_code("0928f497e20fb443")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

escaped_split Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/lm_eval/utils.py
pointer only (licence: NONE) · get_code("57e732507bad40db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_A_mask Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/masks.py
pointer only (licence: NONE) · get_code("dcc45d61b99a2dc4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_h2o_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hdong920/less/src/masks.py
pointer only (licence: NONE) · get_code("6abf882bc9dad32f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_target_attn Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hdong920/less/src/train_kernels.py
pointer only (licence: NONE) · get_code("6f65cb198dfad4fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_target_attn_out Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hdong920/less/src/train_kernels.py
pointer only (licence: NONE) · get_code("b0e9637d655792e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

group Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/lm_eval/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from hdong920/griffin, is pointer only (licence: NONE) · get_code("359c35fdcd7a0ee5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hash_args Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/lm_eval/base.py
pointer only (licence: NONE); the stored copy get_code serves, from opengvlab/videochat-r1, is pointer only (licence: NONE) · get_code("ea06eaae4fc1eaf0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

local_heavy_hitter_mask_nonoverlap Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hdong920/less/src/masks.py
pointer only (licence: NONE) · get_code("44957f7d4ab6aaec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pop_stddev Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/lm_eval/metrics.py
pointer only (licence: NONE); the stored copy get_code serves, from MrGGLS/BlockPruner, is pointer only (licence: NONE) · get_code("518b2201c66c2ad3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_stddev Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/lm_eval/metrics.py
pointer only (licence: NONE) · get_code("d40f0123e8a8f5c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

simple_parse_args_string Ran
ran; our contract draft was wrong, not the code
hdong920/less/src/lm_eval/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from hdong920/griffin, is pointer only (licence: NONE) · get_code("cd999ad59caf84a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_activations_layer Not yet run
unverified (harvested, no recorded run)
hdong920/less/src/train_kernels.py
pointer only (licence: NONE) · get_code("996c34a5a32eee44")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_c4 Not yet run
unverified (harvested, no recorded run)
hdong920/less/src/data_processing.py
pointer only (licence: NONE) · get_code("e17b6c1ff661e9bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_wikitext2 Not yet run
unverified (harvested, no recorded run)
hdong920/less/src/data_processing.py
pointer only (licence: NONE) · get_code("5b616f4c20a2e4bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_modules Not yet run
unverified (harvested, no recorded run)
hdong920/less/src/eval_gen.py
pointer only (licence: NONE) · get_code("b0bc7ae197230a33")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_table Not yet run
unverified (harvested, no recorded run)
hdong920/less/src/lm_eval/evaluator.py
pointer only (licence: NONE); the stored copy get_code serves, from princeton-nlp/QuRating, is pointer only (licence: NONE) · get_code("9d95c14130837ee4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdong920/less when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 7 the same month, 8 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
hash_args 44 other papers
7 dated earlier, 2 the same month, 33 later, 1 same year, order not determinable, 1 undated
2005.14165 (2020-05)
Language Models are Few-Shot Learners
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 41 more not named here
mean 12 other papers
7 dated earlier, 1 the same month, 4 later
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2212.11702 (2022-12)
Robust Meta-Representation Learning via Global Label Inference and Classification
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 9 more not named here
escaped_split 9 other papers
5 dated earlier, 4 later
2005.14165 (2020-05)
Language Models are Few-Shot Learners
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
and 6 more not named here
make_table 9 other papers
4 dated earlier, 3 the same month, 2 later
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
and 6 more not named here
pop_stddev 9 other papers
4 dated earlier, 1 the same month, 4 later
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
and 6 more not named here
sample_stddev 9 other papers
5 dated earlier, 1 the same month, 3 later
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
2306.09200 (2023-06)
ChessGPT: Bridging Policy Learning and Language Modeling
and 6 more not named here
group 8 other papers
5 dated earlier, 1 the same month, 2 later
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
2305.14493 (2023-05)
Do prompt positions really matter?
and 5 more not named here
simple_parse_args_string 5 other papers
3 dated earlier, 1 the same month, 1 later
2305.14493 (2023-05)
Do prompt positions really matter?
2307.16039 (2023-07)
Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback
2310.05620 (2023-10)
LAiW: A Chinese Legal Large Language Models Benchmark
and 2 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.09398")
get_code_for_paper("2402.09398")
have("2402.09398")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.09398.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.09398.svg)](https://syntology.ai/paper/2402.09398)

Connect an agent — have() is free.