arXiv(opens in a new tab)cs.CVAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.27206

PACE: A Unified Condense-and-Extract Paradigm for Fast VLM Inference

Junjie Liu, Shengyuan Ye, Xu Chen

Abstract

Vision-Language Models (VLMs) demonstrate exceptional visual reasoning capabilities, yet their inference costs escalate rapidly with the proliferation of visual tokens. Existing visual token pruning methods exhibit two fundamental limitations. First, most approaches operate exclusively post-vision encoder, leaving the substantial latency of the visual encoding phase unoptimized. Second, under strict token budgets, these methods often fail to jointly preserve holistic visual contexts and fine-grained details, leading to performance degradation. To address these bottlenecks, we propose PACE (Pixel-Adaptive Condense and Extract), a training-free inference framework that accelerates both the vision encoder and the Large Language Model (LLM) via a unified Condense-and-Extract paradigm. During the Condense stage, an Adaptive Pixel Compressor (APC) evaluates visual information density prior to encoding, adaptively downsampling redundant inputs, curtailing encoder computation while preserving global context and essential visual cues. In the Extract stage, a Dynamic Dual-Attention Extractor (DDAE) selectively retains visual tokens via a fusion of internal visual signals from the encoder and semantic signals from the LLM, safeguarding task-critical details. By integrating PACE into Qwen2.5-VL-7B, the model retains 93.8% of its original performance while utilizing only 10% of the visual tokens, yielding a 3.1×3.1\times speedup in time to first token (TTFT). Our code is available at https://github.com/jjL357/PACE.

1 Introduction

Vision-Language Models (VLMs) have established a new standard for multimodal understanding by seamlessly integrating visual perception with linguistic reasoning (Alayrac et al., 2022; Liu et al., 2023). Recent architectures have extended these

Figure

Figure 1: Accuracy–TTFT trade-off at 10% visual-token retention. PACE preserves accuracy while reducing pre-generation latency on Qwen2.5-VL-7B; standard denotes Vanilla inference of the original model.

capabilities to highly complex reasoning tasks (Dai et al., 2023; Team et al., 2023; Li et al., 2025). However, this rapid advancement demands an ever-expanding visual token budget. Processing high-resolution images (Achiam et al., 2023; Liu et al., 2024a) or extensive videos (Liu et al., 2025; Wang et al., 2025b) generates massive visual token sequences. Furthermore, modern VLMs equipped with native dynamic resolution capabilities (Bai et al., 2023; Guo et al., 2025; Abouelenin et al., 2025) partition inputs into numerous patches, frequently producing substantial visual redundancy. For instance, encoding a 4K image in Qwen2.5-VL generates over 42,000 patches for the Vision Transformer (ViT) (Dosovitskiy et al., 2020); even after spatial pooling, over 10,500 visual tokens extend the LLM context. Given the quadratic computational complexity of self-attention (Dao et al., 2022), this proliferation imposes a severe inference bottleneck, hindering real-time deployment.

Compressing the visual token sequence is therefore imperative for efficient inference. Visual token pruning naturally addresses this challenge by identifying and retaining critical visual tokens while discarding redundant ones prior to LLM decoding. Current pruning methods discard tokens based on

∗^{*} Corresponding author: chenxu35@mail.sysu.edu.cn

(a) Qwen2.5-VL-3B

(b) Qwen2.5-VL-7B

Figure

Figure 2: Latency decomposition for Qwen2.5-VL. Vision encoding and LLM prefill jointly dominate latency as input resolution increases.

attention distributions (Chen et al., 2024a; Takezoe et al., 2026), token similarity (Wen et al., 2025; Zou et al., 2026), diversity (Zhang et al., 2026; Fang et al., 2026), or maximum coverage (Dong et al., 2025; Deng et al., 2026). While these strategies effectively alleviate LLM-side computational demands, they share two fundamental limitations.

The Dual Bottleneck of High-Resolution Inference. Prevailing visual token pruning methods operate exclusively after the vision encoder. They truncate the LLM context sequence but neglect the substantial computational overhead of the vision encoder itself. Empirical profiling reveals that at high resolutions, both the ViT encoding and LLM prefill stages impose severe latency bottlenecks, as illustrated in Figure 2. Because most visual token pruning methods intervene strictly during modality alignment or within the LLM layers, the immense computational cost of encoding high-resolution pixels remains unaddressed. Consequently, truncating only the LLM-side sequence resolves merely half of the inference bottleneck.

Information and Detail Loss under Low-Budget Compression. Furthermore, under strict token budgets, existing methods struggle to retain holistic visual contexts and fine-grained details simultaneously. Aggressive pruning inherently fragments visual layouts and discards indispensable visual cues, such as text strokes and alignment anchors. This structural loss results in severe performance degradation, particularly on detail-sensitive tasks. While competitive methods, including DivPrune and VisionZip, maintain robust accuracy on general benchmarks at a 5% token budget, they experience severe performance drops on detail-sensitive tasks such as ChartQA and DocVQA (Figure 3). This vulnerability indicates that simple post-encoder token pruning fails to preserve the critical cues essential for high-density visual reasoning.

Figure

(a) DivPrune

(b) VisionZip

Figure 3: Performance of existing visual token pruning methods under varying token budgets on Qwen2.5-VL-7B. Performance on detail-sensitive benchmarks degrades sharply under aggressive token pruning.

These limitations underscore the necessity for a paradigm shift: visual token compression must transcend naive post-encoder sequence reduction by simultaneously preserving holistic layouts and salient visual details prior to intensive computation. An optimal framework must fulfill two complementary functions. First, it should condense visual information before the expensive encoding phase. Recent studies (Ye et al., 2025; Cai et al., 2025) suggest that condensed visual representations inherently carry concentrated semantic meaning. Preencoder condensation ensures the ViT operates on a compact pixel budget without sacrificing layout integrity. Second, it should extract the most informative visual tokens post-encoding, guaranteeing that critical, task-relevant details are prioritized within the LLM context.

To this end, we propose PACE, a training-free, plug-and-play inference framework organized around a unified Condense-and-Extract paradigm. In the Condense stage, the Adaptive Pixel Compressor (APC) uses a lightweight feature preview to estimate information density. It dynamically condenses the input image prior to the vision encoder, globally preserving visual cues under strict pixel budgets. In the Extract stage, the Dynamic Dual-Attention Extractor (DDAE) fuses ViT self-attention with LLM cross-modal attention. This dynamic dual-attention mechanism enables PACE to extract fine-grained details reliably, markedly outperforming single-source attention pruning. Figure 1 summarizes the resulting accuracy–TTFT trade-off.

Our contributions are summarized as follows:

• Identification of the Dual Bottleneck. We demonstrate that conventional visual token pruning overlooks the substantial vision-encoder overhead and incurs severe degrada-tion on detail-sensitive tasks due to its inability to jointly preserve holistic contexts and fine-grained details.

• Unified Condense-and-Extract Framework. We introduce PACE, seamlessly integrating pre-encoder adaptive pixel condensation (APC) with post-encoder dynamic dual-attention extraction (DDAE). APC constructs a compact visual representation, while DDAE safeguards salient visual tokens via confidence-weighted attention fusion.

• Superior Performance–Efficiency Trade-off. Extensive evaluations demonstrate that PACE consistently outperforms existing pruning baselines. When deployed on Qwen2.5-VL-7B, PACE preserves over 93% of the original performance while discarding 90% of the visual tokens, unlocking a 3.1×3.1 \times TTFT acceleration.

References (38)