arXiv:2610.39467cs.CVOct 2026

Manuscript Offprint

arXiv:2610.39467

Calibrating Attention-Based Token Pruning for Efficient Multi-Image Synthesis in UMMs

Zimeng Wu, Qijian Tian, Penghui Du, Changqian Yu, Jiaxin Chen, Yunhong Wang

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

ABSTRACT

Unified Multimodal Models (UMMs) enable powerful multi-image synthesis but incur substantial computation from long visual contexts. While token pruning offers a direct route to accelerating inference, existing methods are primarily adapted from understanding tasks, suffering from insufficient reference image exploration, confused conditional guidance, and pooling-induced ambiguity that degrades generation quality. To address these issues, we propose CATP, the first training-free context-compression method tailored to UMM generation, which Calibrates the discrepancies of general Attention-based Token Pruning for better quality-efficiency trade-off. Concretely, building on independent layer-wise pruning during denoising, we introduce Guidance-Consistent Pruning (GCP) to synchronize pruning decisions across conditioning branches, and a Taylor-Calibrated Attention Metric (TCAM) that derives a theoretically grounded second-order correction for pooling-induced bias. In addition, a Fast Scoring Operator (FSO) fuses the calibration into tiled online Softmax to reduce pruning cost. Extensive experiments across representative UMMs and benchmarks demonstrate that CATP consistently outperforms state-of-the-art token-reduction methods, achieving up to 2.09×2.09\times attention-core speedup. Code will be released upon paper acceptance.

1 INTRODUCTION

Unified Multimodal Models (UMMs), which integrate understanding and generation within a shared backbone (Deng et al., 2025; Diao et al., 2026), have emerged as a prevalent paradigm for enhancing both capabilities (Zhao et al., 2025). Leveraging their strength in handling complex inputs, multi-image synthesis, which generates a target image from multiple references (Chen et al., 2026; Wei et al., 2026), has recently attracted growing interest in broad applications including fashion design (Choi et al., 2024), personalized content production (Wang et al., 2025), etc. However, this typically requires concatenating visual tokens from multiple high-resolution images, yielding long sequences that incur substantial attention computation during denoising (Chen et al., 2026; He et al., 2025).

In general, such long-context designs are originally intended to support diverse capabilities of foundation models (Deng et al., 2025), whereas a specific task may exploit only a subset of the available information (Zhang et al., 2025b). Therefore, reducing the effective sequence length is a direct route to improving inference efficiency (Bolya et al., 2023; Chen et al., 2024b). Among strategies, attention-based token pruning offers an effective and general baseline, leveraging native attention score to discard less informative tokens (Yao et al., 2026; Wu et al., 2026b). Nevertheless, existing schemes are primarily developed for understanding-oriented models (Chen et al., 2024b; Wu et al., 2026a), while the few direct adaptations to UMMs overlook generation-specific characteristics (Ke et al., 2026; Chen et al., 2026), potentially discarding visual regions critical to faithful synthesis.

Specifically, we identify three key limitations: 1) Static pruning across timesteps and layers. Understanding tasks usually produce short responses (Liu et al., 2024), with most information aggregated into a few tokens at early layers (Wu et al., 2026a), making one-shot pruning throughout inference feasible (Chen et al., 2024b). In contrast, visual generation attends to complementary regions across denoising timesteps and layers, as in Fig. 1(a). Especially under aggressive token budgets, a fixed pruning fails to cover the full reference content, yielding insufficient exploration of visual cues. 2) Inconsistent compression across conditioning branches. Classifier-Free Guidance (CFG) (Ho & Salimans, 2021), natively instantiated in UMMs (Deng et al., 2025), performs multiple forward passes with different input sequences, naturally producing branch-specific attention

§^{\S}Work done during internship at KlingAI Research. †^{\dagger}Project leader. †^{\dagger}Corresponding authors.

Figure

Figure 1: Empirical observations on Bagel using the general attention metric. (a) Top-10% tokens at timesteps 1/31 across layers 9/18/27, with their union in the last column. (b) Top-10% tokens from the (Left) full-condition and (Middle) image-only branches, with (Right) their symmetric difference; red boxes indicate branch-specific tokens. (c) (Left) Reference images with manually selected synthesis-critical regions highlighted in red boxes. (Middle/Right) Heatmaps of the maximum attention from generated-image locations to these regions under dense and pooled attention, respectively.

scores and motivating independent pruning. However, as shown in Fig. 1(b), this yields mismatched token selections whose symmetric difference carries useless information yet is amplified in the CFG guidance residual, perturbing guided velocity prediction and compromising generation fidelity. 3) Ambiguous token selection under pooled query representations. Adapting pruning to varying context exploration requires frequent importance estimation, while exact attention-based metric with the still-lengthy denoising queries incurs substantial overhead, undermining the goal of acceleration. Average pooling on queries is commonly adopted to reduce this cost (Zhang et al., 2025a). However, as observed in Fig. 1(c), it smooths fine-grained attention responses to critical regions, obscuring their distinction from less relevant content and thus yielding less reliable context retention.

To address these issues, we propose CATP, a novel training-free framework for efficient multi-image synthesis in UMMs. Starting from the general attention-based token pruning, CATP identifies generation-specific discrepancies and calibrates them at both conditioning-branch and importance-estimation levels, thereby improving generation fidelity. Specifically, CATP prunes reference-image tokens in the KV cache across all layers at predefined timesteps, adapting compression to varying reference explorations. Building on this, we introduce Guidance-Consistent Pruning (GCP), which formulates the cross-branch mismatch of independent compression and synchronizes pruning decisions with the full-condition branch to preserve clean guidance. A second-order Taylor expansion then characterizes the bias of attention metric with pooled-query, leading to a Taylor-Calibrated Attention Metric (TCAM) for more reliable identification of critical reference tokens. Additionally, a Fast Scoring Operator (FSO) is developed with a custom Triton kernel. It integrates the calibration into tiled online Softmax computation, substantially reducing the scoring overhead.

In summary, our main contributions are three-fold:

  1. We analyze discrepancies in general attention-based token pruning for UMM multi-image synthesis and propose a training-free acceleration framework, dubbed CATP. To the best of our knowledge, CATP makes the first investigation of token pruning specifically tailored to UMM generation.

  2. We develop Guidance-Consistent Pruning (GCP), Taylor-Calibrated Attention Metric (TCAM) and Fast Scoring Operator (FSO), which address the rigidity, inconsistency, and ambiguity of general schemes, jointly enabling a flexible, accurate and efficient online context compression.

  3. We conduct extensive experiments on representative UMMs and benchmarks, showing that CATP delivers superior generation quality, with up to 2.09×2.09\times attention-core acceleration.

References (56)