Xiaoyu Shen, Junzhe Yang
5 of 7 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, 0 violated it and 2 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2605.23200.json · badge: /api/ran/2605.23200.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 |
|---|---|---|
| EIT-NLP/AdaptiveMassSegment | community Papers with Code archive |
5 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| ScorerPress | Ran ran on a synthesized input |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("47497fe6d3135214") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned list. 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.
|
| SnapKVPress | Ran ran on a synthesized input |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("7743f93621eb7a4a") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple, ndim 5, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| dequantize_layer | Ran ran; our contract draft was wrong, not the code |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("9d90fef264047280") 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 tuple. 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.
|
| extract_keys_and_values | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("cf7068666062b2b6") 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 tuple, ndim 5, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| get_prerope_query_states | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("ebf221129de571e8") 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, 2, 3, 8) 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.
|
| AdaptiveMassSegmentWrapperHeadPress | Not yet run unverified (harvested, no recorded run) |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("d32b135a5c0ea95c") How it ranno invocation recorded. |
| BasePress | Not yet run unverified (harvested, no recorded run) |
EIT-NLP/AdaptiveMassSegment/kvpress/presses/adaptive_segment_head_press.py code served (permissive licence) · get_code("b38326bf91935776") How it ranno invocation recorded. |
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 4 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 |
|---|---|---|---|
| dequantize_layer brick of this paper's assembly: helper |
3 other papers 2 dated earlier, 1 later · 3 only as an assembly brick |
2407.11550 (2024-07) Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference |
2502.03805 (2025-02) CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective 2608.19920 (2026-08) Learning how to Forget: Fine-tuning for Long-Context Sparse Attention |
| extract_keys_and_values brick of this paper's assembly: helper |
3 other papers 2 dated earlier, 1 later · 2 only as an assembly brick |
2407.11550 (2024-07) Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference |
2502.03805 (2025-02) CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective 2608.19920 (2026-08) Learning how to Forget: Fine-tuning for Long-Context Sparse Attention |
| get_prerope_query_states brick of this paper's assembly: helper |
2 other papers 2 dated earlier · 2 only as an assembly brick |
2502.03805 (2025-02) CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective |
2510.07651 (2025-10) OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inference |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
The linear growth of the Key-Value (KV) cache is a critical bottleneck in longform LLM inference. Existing KV compression methods mitigate this by evicting tokens based on importance scores. However, we show that their reliance on global Top-k selection triggers Region Wipe-out: the severe eviction of contiguous reasoning blocks that derails logical coherence. To address this, we propose Adaptive Mass-Segmented (AMS) KV Compression, a framework that shifts the paradigm from token-level competition to region-aware quota allocation. AMS adaptively partitions the KV cache based on the spatial distribution of attention mass, ensuring structurally vital reasoning segments receive guaranteed memory quotas. To ensure stability during iterative decoding, an EMA-based smoothing mechanism is incorporated to prevent jitter in segment boundaries. Crucially, AMS is a universal plug-and-play layer that is orthogonal to existing scorers. It can be seamlessly integrated into representative methods such as TOVA, Expected Attention, KeyDiff, R-KV and TriAttention. AMS is also system-compatible with modern paged-KV serving frameworks such as vLLM, supporting efficient gather-and-compact KV execution without introducing additional steady-state attention overhead. Extensive experiments across a diverse suite of tasks, including mathematical reasoning (MATH500, AIME, GSM8K), code completion, opendomain QA, and sparse retrieval, demonstrate that AMS consistently mitigates structural fragmentation and boosts model performance. Code is available at: https://github.com/EIT-NLP/AdaptiveMassSegment
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2605.23200")
get_code_for_paper("2605.23200")
have("2605.23200")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2605.23200.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2605.23200)
Connect an agent — have() is free.