arXiv:2610.18690cs.CVOct 2026

Manuscript Offprint

arXiv:2610.18690

Just Respect the Semantics: Image-Token Compression via Pre-LLM Semantic Variable-Resolution Tokenization and In-LLM Relevance Pruning

Tianhao Fu, Austin Wang, Charles Chen, Roby Aldave-Garza, Victor Xie, Xiyue Jiao, Yucheng Chen, Martin Tin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Image-token compression must reduce computation without hurting the semantics. We introduce Varest, guided by semantic fungibility: tokens within a coherent semantic region can be summarized coarsely, while object boundaries and literal text require finer distinctions. Object and text localizers guide variable-resolution merging, preserving spatial coverage and finer detail at boundaries and text. Learned [REL] registers then prune visual tokens after early decoder processing. Training across budgets enables one checkpoint per backbone. Across three backbones and 13 benchmarks, Varest outperforms 15 baselines in mean performance retention at every evaluated budget, retaining 86.10–92.33% of full-token performance with only 5.56% of the original layer-averaged image-token count.

1. Introduction

Image-token compression reduces the substantial language-model decoder compute imposed by the hundreds or thousands of image tokens in vision-language models (VLMs). An image token may describe a small part of an object, a boundary between objects, or a few characters in a sign. Compressing these tokens requires different decisions.

Prior work has explored merging and pruning using various signals, including feature geometry [1, 4, 7, 10, 20], attention scores [6, 29, 32, 34–36, 38], learned retention utility [30], and object membership [15]. These are natural ways to approach compression, yet they do not respect the semantics. Pruning poses a complementary problem: removing a token hurts semantic coverage, so selection

Figure

Figure 1. Per-benchmark performance of Varest across backbones and token budgets. General VQA benchmarks stay near or above full-token under compression, while text-dense benchmarks benefit most from larger budgets.

without sufficient reasoning ability through enough decoder processing often discards principal information. Merging across two neighbour objects creates an arbitrary token that loses the semantics of each. Effective compression thus requires deciding both where aggregation can preserve meaningful distinctions and when further access to image tokens can be reduced.

We frame this requirement through the property of a set of tokens, semantic fungibility: the set of tokens that form a person is semantically interchangeable with another person’s set from another image because we can summarize

*Project lead with correspondence at tianhao.fu@mail.utoronto.ca. Project website: https://varest.github.io. Source code, model weights, and evaluation results are available at https://github.com/Varest/varest.

Figure

Figure 2. Overview of Varest. Object boundaries and textness are passed through the Varest tokenizer with post-projector visual tokens, which are then partitioned into KmK_m semantic regions and each region is merged into one image token. At layer L/2L/2, 4 learned [REL] registers (the figure is not to scale) produce a score for each image token and keep the KpK_p image tokens that are most relevant to LLM reading. Optional adaptive halting removes all remaining image tokens once the information horizon has been detected.

them into the abstract concept of a person. We may increase the granularity, if the token budget allows, by splitting the person into head, body, arms, and legs. Each component still has high fungibility. In contrast, a set of tokens that mixes a person and a chair lacks a linked concept and therefore has low fungibility. Text has low fungibility for literal reading, since neighbour characters can contribute different meanings. In this semantic-frequency view, compatible interiors permit heavy merging, while text and semantic transitions require finer distinctions. The principle is simple: wisely partition the image such that the total fungibility of each grouped region's token set is maximized.

Varest implements this principle by combining pre-LLM semantic-preserved variable-resolution tokenization and in-LLM relevance pruning (Figure 2). Lightweight object and text localizers guide the merging and ensure full coverage through adjusting the semantic granularity. After early decoder layers process these tokens, learned [REL] registers retain a subset for subsequent visual access. End-to-end training across budgets enables one checkpoint per backbone; optional adaptive halting further reduces visual-token propagation.

Our key contributions are as follows:

• We introduce Varest, a semantics-preserving variable-resolution tokenizer guided by object boundaries and textness. It allocates finer details to low-fungibility regions while maintaining complete spatial coverage by controlling the semantic granularity according to the token budget.

• We combine this tokenizer with learned decoder-stage selection, preserving broader visual access during early processing and retaining fewer tokens in subsequent layers. Optional adaptive halting can save further compute by dropping all image tokens after the estimated information horizon.

• Across three VLM backbones (LLaVA-1.5-7B [18], LLaVA-1.5-13B [18], and LLaVA-NeXT-8B [16]) and 13 benchmarks, Varest achieves the highest mean performance retention among 15 baselines at every evaluated budget with a similar or lower computational cost.

References (36)