Mixed-Granularity Patching for Native-Resolution Vision-Language Models

Vision-language models, which answer questions about images by feeding visual "tokens" into a language model, cut every image into square patches of one fixed size before encoding. That single size is wrong almost everywhere. On a receipt or a crowded 4K painting it is too coarse over the text and the crowd, and too fine over blank paper and sky. The first wastes detail and the second wastes tokens. We propose to let patch size vary within one image: large patches where the content is smooth, small patches where it is dense, and a stopping rule that refines a region only while finer patches still change what the encoder sees. The result is a quadtree-shaped token layout, meaning a square is split into four smaller squares only where needed, under a fixed total token budget. It is built on an existing training-free trick for resizing a pretrained encoder's patch-embedding weights.

This matters because the two literatures behind it describe the same failure from opposite ends. Work on the resolution bottleneck shows that downsampling erases small text and crowded objects. Work on spatial granularity shows that partitioning finer than the content supports produces fragments that are sparse and semantically ambiguous. Current models resolve the tension once per image, or not at all. We ask whether resolving it per region, with a local test for when refinement stops helping, beats both global patch-size selection and active cropping when the token budget is held fixed. Dense multi-target scenes are where the difference should be largest.

Core Claim

A native-resolution encoder that assigns patch sizes of 28, 14, or 7 pixels per region should match or beat image-level adaptive patching and single-crop zooming at equal vision-token budgets. The largest gains should come on dense scenes (counting and OCR on VisualOverload) and on small-target search (V*). A region should be split into finer patches only if its fine-patch embeddings, pooled back to the coarse cell, differ measurably from its coarse-patch embedding. The claim includes a falsifiable prediction about granularity: forcing refinement past this stopping point should hurt accuracy, reproducing locally the tipping point that others have seen globally.

Where this sits

The closest work is One Patch Doesn't Fit All (AdaPatch). AdaPatch estimates one information-density score per image. It maps that score and the image resolution to a single patch size through a fitted power law. It then applies PI-Resize, a pseudo-inverse rescaling of the pretrained patch-embedding weights, so that a 14-pixel encoder can run at 7 or 28 pixels without training. This raised Qwen2.5-VL-3B on OCRBench from 821 to 845. We reuse PI-Resize as our method-supplying ingredient. We drop the one-size-per-image assumption and replace the fitted power law with a per-region, feature-based stopping test, which needs no dataset-specific calibration.

Three other lines of work motivate the proposal.

Tiling models slice the image into uniform crops. Monkey encodes six 448-pixel crops, and UReader uses an aspect-ratio-matched grid, which raised DocVQA from 22.0 to 65.4. Both spend the same budget on margins as on text. HiRes-LLaVA shows that objects cut by slice seams lose up to 13% accuracy on its EntityGrid-QA benchmark, and it repairs the damage after encoding. Our design encodes the whole image in one pass with attention across all patches, so there are no independently encoded slices to stitch. EntityGrid-QA tests whether that argument holds.

Active-perception models learn where to crop. ERGO uses one reinforcement-learned crop. ACTIVE-o3 uses at most three. Visual CoT predicts one box before answering, and its gap between ground-truth and predicted boxes (0.752 vs. 0.550) shows how costly a wrong crop is. These methods put detail in a few rectangles. Ours spreads it over as many regions as the content demands. VisualOverload, where the best counting accuracy across 37 models is 41.7% and o3 reaches 19.6% on the hardest split, is the regime where a handful of crops cannot cover the scene.

Several papers constrain the design. Visual Jigsaw found that 4×4 tiles became too ambiguous to train on, while 3×3 tiles helped. ReasonBreak found that attacks peaked at 64 blocks and weakened beyond it, as landmarks dissolved into texture. Intrinsic spatial pyramid matching reports that over-partitioned bins lose statistical discriminability. Together these say that finer is not monotonically better, which is why we need a stopping rule rather than "refine all dense regions." CANNet shows that content-adaptive partitions (K-Means into 256 clusters) beat rigid grids for pansharpening. We keep axis-aligned cells so that the patch-embedding and position machinery still apply, and we leave non-rectangular partitions for later.

Research Program

We start from Qwen2.5-VL at 3B and 7B, the backbone used by both AdaPatch and ERGO. Tokenization proceeds in four steps.

  1. The image is first covered with 28-pixel cells, using PI-Resize weights.
  2. For each cell we compute two embeddings. The first is $e_c$, the cell's coarse patch embedding. The second is $\bar e_f$, the mean of its four 14-pixel patch embeddings. Both are taken from an early encoder layer, where embeddings are cheap to compute.
  3. We score each cell by $$s = 1 - \cos(e_c, \bar e_f),$$ which is near zero when the finer view adds nothing the coarse view already had.

  4. Cells are split greedily in order of decreasing $s$, applying the same test recursively down to 7 pixels. Splitting stops when the token budget $B$ is exhausted or when $s$ falls below a threshold $\tau$.

We set $\tau$ once on a held-out split and never retune it per benchmark.

The main engineering risk is position encoding. We place each patch at its center in 7-pixel grid coordinates, allowing fractional rotary positions for coarse patches. We first test this training-free. If it degrades general benchmarks, we run a short fine-tune in the spirit of AdaPatch's multi-scale patch embedding, using identical data and steps for every compared variant.

Beyond building the tokenizer, we analyze it. We measure where refinement budget lands relative to Visual CoT's annotated evidence boxes, which serves as an oracle-overlap score. We also check whether a per-region version of the Jigsaw and ReasonBreak tipping point appears: accuracy as a function of how far past $\tau$ we force refinement.

Baselines

The naive reference is Qwen2.5-VL at its default fixed 14-pixel patches and native resolution. It is also run with the image downsampled so that its token count matches our budget $B$. ERGO reports 77.0 on V* for full-resolution Qwen2.5-VL-7B at 4,471 vision tokens, which anchors the unconstrained end.

The closest method is AdaPatch with its image-level power law and PI-Resize, run on the same backbone. At each image we give it the token budget our method uses, and we also report it at its own native choice. Its reported OCRBench score of 845 on Qwen2.5-VL-3B, up from 821, is the number to beat on OCR. Beating it means a higher OCRBench score at equal or fewer tokens, and a clear margin on VisualOverload counting and OCR, where within-image density varies most.

The strongest active method is ERGO. It reports 81.7 on V with 1,025 vision tokens against 77.0 for full-resolution Qwen2.5-VL-7B. We evaluate the released ERGO model and set our budget $B$ to about 1,025 tokens. Our method is training-free, or at most lightly fine-tuned, so matching 81.7 on V would already be a meaningful result. Clearly exceeding ERGO on VisualOverload's multi-target categories is the claim we actually care about. ACTIVE-o3 is evaluated in the same way, with its three crops. We found no reported result on Lacuna for any Qwen2.5-VL variant, ERGO, ACTIVE-o3, or AdaPatch on VisualOverload, so every number there will be produced by us under one evaluation script.

Two ablations isolate the key ingredient, the feature-based stopping test. The first replaces the score $s$ with a pixel-level quadtree criterion, splitting by local gradient energy. The second keeps our budget but refines random cells. A third, the "no stopping" variant, spends leftover budget on refinement even below $\tau$ and directly tests the tipping-point prediction.

Why not just…?

Why not just run AdaPatch and pick the finest patch size the budget allows? On images that are dense throughout, such as a full-page document, this may be nearly as good, and we expect a small gap there. The argument for our method rests on images with mixed density. There a single size must either spend fine tokens on backgrounds or blur the dense parts. We report results binned by within-image density variance, measured as the spread of $s$ across cells. If AdaPatch matches us even in the high-variance bins, the per-region idea is not worth its complexity, and we will say so.

Why not just encode everything at fine patches and prune or merge redundant tokens afterward? This is the most serious threat on accuracy, because pruning sees the full fine-grained features before deciding what to drop. It does not save encoder compute, though, and at 7-pixel patches on 4K inputs the encoder cost is what VisualOverload identifies as impractical. We will compare against a similarity-based post-encoding merge at matched language-model tokens and report encoder FLOPs separately. If merging wins at matched tokens and the FLOP savings are modest, our contribution shrinks to an efficiency result, and we will present it that way.

Why not just use a cheap pixel-based quadtree, splitting where there are edges? This alternative could plausibly work as well. That is why it is a first-class ablation rather than a strawman, and if it matches the feature-based test we will adopt it as the method. Our reason to expect a gap is that edges fire on texture that stays uninformative at any scale, such as brushwork, foliage, or JPEG noise. That is exactly the fragment-without-meaning failure reported by Visual Jigsaw and ReasonBreak, whereas the feature test asks whether the encoder's representation actually changes. The oracle-overlap analysis against Visual CoT boxes will show which criterion puts budget on the evidence.

Why not just use an active-cropping model like ERGO? On single small-target queries ERGO is strong, and we may not beat it on V*. But one crop, or ACTIVE-o3's three, cannot cover dozens of counted figures. The breakdown by VisualOverload category (counting, OCR, activity) tests whether distributed refinement matters where the evidence is spread across the scene.

Proposed Experiments

The central experiment plots accuracy against vision-token budget, at budgets of roughly 512, 1,025, 2,048, and 4,471 tokens. It covers V*, the six VisualOverload categories plus its hardest split, OCRBench, DocVQA, and EntityGrid-QA. Every baseline above runs on the same backbone, the same prompts, and the same budgets, with encoder FLOPs reported alongside tokens. A general benchmark such as MMStar checks that mixed patch sizes do not damage ordinary perception.

Four checks are decisive.

  1. At matched budget, our method beats AdaPatch on VisualOverload counting and OCR by more than run-to-run variance, concentrated in the high-density-variance bins.
  2. It matches ERGO's 81.7 on V* within a point or two at about 1,025 tokens.
  3. Accuracy on EntityGrid-QA seam objects does not drop relative to centered objects. This would confirm that single-pass encoding avoids the 13% fragmentation penalty that HiRes-LLaVA measured for sliced models.
  4. Forcing refinement below $\tau$ lowers accuracy rather than leaving it flat.

The feature test must also beat the pixel quadtree on oracle overlap. If check 1 fails, per-region granularity offers nothing over image-level selection. If checks 1 and 3 pass but check 4 fails, the stopping rule is doing budget accounting, not detecting a granularity limit, and we would reframe the contribution accordingly.