SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.01224 · September 2026

S$^2$Prune: Spatially Structured Visual Token Pruning for Multimodal Large Language Models

Qianqian Yang, Shunpu Tang, Yuanyuan Jia

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 3 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/2609.01224.json · badge: /api/ran/2609.01224.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
yuanyuanjia71-spec/S2Prune canonical (classifier label)
classifier basis: census
10 ran · 3 no recorded run
FunctionStatusWhere it lives
build_coarse_regions Ran
ran, honoured the contract we drafted
yuanyuanjia71-spec/S2Prune/s2prune/allocation.py
pointer only (licence: NONE) · get_code("5fb966047d0f8836")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

collect_manifest Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/data.py
pointer only (licence: NONE) · get_code("4b0a04c982231302")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

collect_mmbench Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/data.py
pointer only (licence: NONE) · get_code("d65f3e1b316b2fd6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

collect_scienceqa Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/data.py
pointer only (licence: NONE) · get_code("fc0e1f79d610a751")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

default_grid_size Ran
ran, honoured the contract we drafted
yuanyuanjia71-spec/S2Prune/s2prune/allocation.py
pointer only (licence: NONE) · get_code("ba1e3ea867a3e79f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

extract_choice Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/metrics.py
pointer only (licence: NONE) · get_code("a95bf748998486ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

extract_final_answer Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/metrics.py
pointer only (licence: NONE) · get_code("bf2ece2a59a66b89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

extract_yes_no Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/metrics.py
pointer only (licence: NONE) · get_code("d83d989499ab54f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

laplacian_region_complexity Ran
ran; our contract draft was wrong, not the code
yuanyuanjia71-spec/S2Prune/s2prune/allocation.py
pointer only (licence: NONE) · get_code("8ad0256b49d0565a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

official_vqa_accuracy Ran
ran, honoured the contract we drafted
yuanyuanjia71-spec/S2Prune/s2prune/vizwiz_eval.py
pointer only (licence: NONE) · get_code("ab8cb58c7273ec71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

load_model Not yet run
unverified (harvested, no recorded run)
yuanyuanjia71-spec/S2Prune/s2prune/qwen.py
pointer only (licence: NONE) · get_code("8cbe1d5962ac9dab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

normalize_answer Not yet run
unverified (harvested, no recorded run)
yuanyuanjia71-spec/S2Prune/s2prune/vizwiz_eval.py
pointer only (licence: NONE) · get_code("3bea898e987fab1e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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.

prepare_input Not yet run
unverified (harvested, no recorded run)
yuanyuanjia71-spec/S2Prune/s2prune/qwen.py
pointer only (licence: NONE) · get_code("fc534c9e968d8820")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanyuanjia71-spec/S2Prune 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 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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.

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.

Repositories linked to this paper

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

Abstract

Visual token pruning reduces the inference overhead of multimodal large language models (MLLMs) by retaining only a subset of visual tokens. Existing methods usually select tokens based on importance or redundancy. However, we observe that these criteria produce stable spatial biases across inputs and do not always outperform simple Uniform Grid sampling, highlighting the value of broad spatial coverage. Motivated by this, we propose S$^2$Prune, a training-free pruning method that preserves spatial coverage while adapting token density to local image structure. We first divide the image into regions and assign at least one token to each region to preserve coverage. The remaining token budget is then distributed according to Laplacian variation, giving more tokens to regions with richer structure. We then use Early Representation Change (ERC), computed from the first decoder block, to select representative tokens within each region. We evaluate S$^2$Prune across diverse settings and two MLLM architectures. On Qwen2.5-VL-7B-Instruct, it achieves the highest average accuracy among the evaluated training-free pruning methods. With only 32 of the original 576 visual tokens, it still retains 79.3% of the full-model performance. Code is available at https://github.com/yuanyuanjia71-spec/S2Prune.

For agents

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

get_harvested_code_for_paper("2609.01224")
get_code_for_paper("2609.01224")
have("2609.01224")

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

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

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

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

Connect an agent — have() is free.