Yongming Rao, Benlin Liu, Jiwen Lu, Zuyan Liu, Guangyi Chen, Ranjay Krishna, Yuhao Dong, Jiahui Wang
5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 failures of our instrument; 0 no recorded run), 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/2407.18121.json · badge: /api/ran/2407.18121.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.
| Repository | Role | Ran |
|---|---|---|
| liuzuyan/elasticcache | canonical (classifier label) classifier basis: census |
4 ran · 0 no recorded run |
| liuzuyan/ElasticCache | community Papers with Code archive |
1 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| ElasticCache | Ran ran on a synthesized input · constructed an object; no result was computed |
liuzuyan/ElasticCache/kv_cache.py code served (permissive licence) · get_code("5cf50677fba77b26") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ElasticCache: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| load_image | Ran ran, honoured the contract we drafted |
liuzuyan/elasticcache/convert_rouge_llava.py code served (permissive licence) · get_code("bb945d226af806a7") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Image. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| slice1d | Ran ran; our contract draft was wrong, not the code |
liuzuyan/elasticcache/kv_cache.py code served (permissive licence) · get_code("2564045c0e65006b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 2, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| slice2d | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
liuzuyan/elasticcache/kv_cache.py code served (permissive licence) · get_code("19c86edfcb34276c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 4, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| slice3d | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
liuzuyan/elasticcache/kv_cache.py code served (permissive licence) · get_code("8884022644d5af82") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 5, dtype family float, shape (2, 4, 3, 3, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 4 later) and 1 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| load_image | 10 other papers 6 dated earlier, 3 later, 1 same year, order not determinable |
2311.06783 (2023-11) Q-Instruct: Improving Low-level Visual Abilities for Multi-modality Foundation Models |
2024.findings-acl.573 (2024 (year only)) Visual Hallucinations of Multi-modal Large Language Models 2402.06659 (2024-02) Shadowcast: Stealthy Data Poisoning Attacks against Vision-Language Models and 7 more not named here |
| slice1d brick of this paper's assembly: helper |
4 other papers 2 dated earlier, 2 later · 1 only as an assembly brick |
2309.14717 (2023-09) QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Models |
2309.17453 (2023-09) Efficient Streaming Language Models with Attention Sinks 2412.03409 (2024-12) PrefixKV: Adaptive Prefix KV Cache is What Vision Instruction-Following Models Need for Efficient Generation and 1 more not named here |
| slice2d brick of this paper's assembly: helper |
4 other papers 2 dated earlier, 2 later · 1 only as an assembly brick |
2309.14717 (2023-09) QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Models |
2309.17453 (2023-09) Efficient Streaming Language Models with Attention Sinks 2412.03409 (2024-12) PrefixKV: Adaptive Prefix KV Cache is What Vision Instruction-Following Models Need for Efficient Generation and 1 more not named here |
| slice3d brick of this paper's assembly: helper |
4 other papers 2 dated earlier, 2 later · 1 only as an assembly brick |
2309.14717 (2023-09) QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Models |
2309.17453 (2023-09) Efficient Streaming Language Models with Attention Sinks 2412.03409 (2024-12) PrefixKV: Adaptive Prefix KV Cache is What Vision Instruction-Following Models Need for Efficient Generation and 1 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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In the field of instruction-following large vision-language models (LVLMs), the efficient deployment of these models faces challenges, notably due to the high memory demands of their key-value (KV) caches. Conventional cache management strategies for LLMs focus on cache eviction, which often fails to address the specific needs of multimodal instruction-following models. Recognizing this gap, in this paper, we introduce Elastic Cache, a novel approach that benefits from applying distinct acceleration methods for instruction encoding and output generation stages. We investigate the metrics of importance in different stages and propose an 'importance-driven cache merging' strategy to prune redundancy caches. Instead of discarding less important caches, our strategy identifies important key/value vectors as anchor points. Surrounding less important caches are then merged with these anchors, enhancing the preservation of contextual information in the KV caches while yielding an arbitrary acceleration ratio. For instruction encoding, we utilize the frequency to evaluate the importance of caches. Regarding output generation, we prioritize tokens based on their 'distance' with an offset, by which both the initial and most recent tokens are retained. Results on a range of LVLMs demonstrate that Elastic Cache not only boosts efficiency but also notably outperforms existing pruning methods in language generation across various tasks. Code is available at https://github.com/liuzuyan/ElasticCache
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2407.18121")
get_code_for_paper("2407.18121")
have("2407.18121")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2407.18121.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2407.18121)
Connect an agent — have() is free.