6 of 6 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 0 have no contract verdict; 6 failures of our instrument; 0 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-23; 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/2503.10501.json · badge: /api/ran/2503.10501.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 |
|---|---|---|
| shawntan86/tokencarve | canonical (classifier label) classifier basis not recorded on the link |
6 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| repeat_kv | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
shawntan86/tokencarve/TokenCarve/modeling_llama.py code served (permissive licence) · get_code("30d7eec482ebf6b1") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 6, 5, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:09:20Z). 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.
|
| apply_rotary_pos_emb | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
shawntan86/tokencarve/TokenCarve/modeling_llama.py code served (permissive licence) · get_code("d61c483a3c2b3156") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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.
|
| collate_fn | Ran ran; our contract draft was wrong, not the code |
shawntan86/tokencarve/TokenCarve/TokenCarve_model_vqa_loader.py code served (permissive licence) · get_code("4aa3263a9ac1bd63") 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.
|
| get_chunk | Ran ran; our contract draft was wrong, not the code |
shawntan86/tokencarve/TokenCarve/TokenCarve_model_vqa_loader.py code served (permissive licence) · get_code("42a46570620cd9fa") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family int; 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.
|
| rotate_half | Ran ran; our contract draft was wrong, not the code |
shawntan86/tokencarve/TokenCarve/modeling_llama.py code served (permissive licence) · get_code("b99eea6376d1e212") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) 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.
|
| split_list | Ran ran; our contract draft was wrong, not the code |
shawntan86/tokencarve/TokenCarve/TokenCarve_model_vqa_loader.py code served (permissive licence) · get_code("076c252c52cbb161") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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.
|
Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 6 the same month, 6 later) and 0 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 |
|---|---|---|---|
| rotate_half | 360 other papers 250 dated earlier, 14 the same month, 88 later, 5 same year, order not determinable, 3 undated · 30 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers 2302.13971 (2023-02) LLaMA: Open and Efficient Foundation Language Models and 357 more not named here |
| repeat_kv | 243 other papers 167 dated earlier, 10 the same month, 60 later, 4 same year, order not determinable, 2 undated · 22 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers 2305.17888 (2023-05) LLM-QAT: Data-Free Quantization Aware Training for Large Language Models and 240 more not named here |
| split_list | 197 other papers 159 dated earlier, 3 the same month, 27 later, 7 same year, order not determinable, 1 undated |
2112.05682 (2021-12) Self-attention Does Not Need $O(n^2)$ Memory |
2306.17107 (2023-06) LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding 2307.10490 (2023-07) Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs and 194 more not named here |
| get_chunk | 189 other papers 153 dated earlier, 3 the same month, 26 later, 7 same year, order not determinable |
2112.05682 (2021-12) Self-attention Does Not Need $O(n^2)$ Memory |
2306.17107 (2023-06) LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding 2307.10490 (2023-07) Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs and 186 more not named here |
| apply_rotary_pos_emb | 75 other papers 58 dated earlier, 2 the same month, 14 later, 1 same year, order not determinable · 2 only as an assembly brick |
2309.11499 (2023-09) DreamLLM: Synergistic Multimodal Comprehension and Creation |
2312.02051 (2023-12) TimeChat: A Time-sensitive Multimodal Large Language Model for Long Video Understanding 2312.03414 (2023-12) Compressed Context Memory For Online Language Model Interaction and 72 more not named here |
| collate_fn | 54 other papers 40 dated earlier, 2 the same month, 8 later, 4 same year, order not determinable |
2308.13566 (2023-08) MLLM-DataEngine: An Iterative Refinement Approach for MLLM |
2310.08588 (2023-10) Octopus: Embodied Vision-Language Programmer from Environmental Feedback 2311.07362 (2023-11) Volcano: Mitigating Multimodal Hallucination through Self-Feedback Guided Revision and 51 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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Multimodal Large Language Models (MLLMs) are becoming increasingly popular, while the high computational cost associated with multimodal data input, particularly from visual tokens, poses a significant challenge. Existing training-based token compression methods improve inference efficiency but require costly retraining, while training-free methods struggle to maintain performance when aggressively reducing token counts. In this study, we reveal that the performance degradation of MLLM closely correlates with the accelerated loss of information in the attention output matrix. This insight introduces a novel information-preserving perspective, making it possible to maintain performance even under extreme token compression. Based on this finding, we propose TokenCarve, a training-free, plug-and-play, two-stage token compression framework. The first stage employs an Information-Preservation-Guided Selection (IPGS) strategy to prune low-information tokens, while the second stage further leverages IPGS to guide token merging, minimizing information loss. Extensive experiments on 11 datasets and 2 model variants demonstrate the effectiveness of TokenCarve. It can even reduce the number of visual tokens to 22.2% of the original count, achieving a 1.23x speedup in inference, a 64% reduction in KV cache storage, and only a 1.54% drop in accuracy. Our code is available at https://github.com/ShawnTan86/TokenCarve.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2503.10501")
get_code_for_paper("2503.10501")
have("2503.10501")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2503.10501.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2503.10501)
Connect an agent — have() is free.