Manuscript Offprint

arXiv:2610.32233

TileShare: Training-Free Acceleration of Overlapping Tiled ViT Decoding

Xiangzhong Ye, Zhongshen Li, Shen You, Ziyang Meng, Liang Xu, Junkai Ji, Qiuzhen Lin, Xiangtao Li, Ka-Chun Wong

Xiangzhong Ye

Junkai Ji

Zhongshen Li

Qiuzhen Lin

Shen You

Xiangtao Li

Ziyang Meng

Ka-Chun Wong †^{\dagger}

Liang Xu

Figure

overlap

one token, one layer

same token, both tiles (×2)

shared state, once (×1)

global token, per tile

attention window (per tile)

Released tiled decoding

Figure

blend pixels

TileShare-k (ours)

Figure 1. Overlapping tiles as token × layer grids (toy: two tiles, k=3). Each cell is one token’s per-token operations in one layer (Norm, QKV, out-projection, MLP); shaded frames are the tiles’ attention windows, each with its own global token g. Left: the released decoder runs both tiles in full; overlap tokens are thus computed twice in every layer. Right: TileShare keeps the attention windows (still overlapping) but computes every other operation once per token; only the first k layers stay per tile.

Abstract

Fixed-window Vision Transformer (ViT) decoders run at deployment resolution as overlapping tiles: every token in an overlap band is processed by several full decoder instances. In the 2.4B-parameter MiniMax-H3 video decoder, about half of all per-token computation is duplicated. Removing the tiles fails because attention, global tokens and coordinates are bound to them. TileShare keeps each released tile's attention and computes every other operation once per token. The released computation changes at one kind of step only: an overlap token's per-tile results are blended into one shared state with the released weights. Interventions show that this blend costs quality where attention reads the shared states, mainly in the first few layers, which TileShare therefore keeps per tile. Without training, keeping six layers per tile decodes 1.38−1.51×1.38-1.51\times faster than batched and compiled tiling on two GPU types (up to 1.96×1.96\times with FP8) and is equivalent to the released decoder in PSNR, LPIPS and DISTS on DAVIS videos. On unseen UVG videos with the setting frozen beforehand, it matches PSNR and DISTS and improves LPIPS. TileShare carries over to two further decoders and is again confirmed on unseen data. It is equivalent in PSNR and DISTS on MAGI-1. On the ViTok-v2 image autoencoder at 2K–4K, it matches overlapping tiling in PSNR, improves LPIPS and DISTS and decodes 1.5−1.8×1.5-1.8\times faster. How many layers stay per tile is measured once per model (for decoders, without labels); we report it for 14 decoders and encoders. Optionally, two GPU-hours of self-distillation let MiniMax-H3 share every layer without a loss in PSNR, and a coordinate field trained while the network stays frozen brings fully shared CLIP-based open-vocabulary segmentation to parity with sliding windows on seven benchmarks.

1. Introduction

Latent video and image generators map latent representations back to pixels with an autoencoder decoder; pure Vision Transformer (ViT) decoders are now prevalent [1, 16, 34, 36]. They are trained on fixed windows. Therefore, at deployment resolution, they run as overlapping tiled inference: each overlapping tile is decoded on its own and the outputs are blended with linear ramps. As generators are distilled to a few denoising steps, decoding becomes a vis-

†^{\dagger}Corresponding author.

ible share of latency: 16% of a 4-step text-to-video request at 768p, and 40% when a single denoiser pass suffices.

Overlapping tiled inference is an ensemble: every token in an overlap band is processed by several independent decoder instances, whose outputs are then averaged (Fig. 1, left). In the 2.4B-parameter MiniMax-H3 decoder [36], spatial overlap processes each token 2.03 times on average at 704×1280704 \times 1280; about half of all per-token computation is thus duplicated.

The obvious ways to remove this duplication lose quality for two different reasons (Sec. 3.2). Larger tiles up to the whole frame ( −11.9-11.9 dB) break what the decoder learned on its training window: per-tile global tokens, attention normalization and tile-normalized coordinates. Narrower overlaps keep the tiles but give weight to predictions near tile borders, which are less accurate ( −0.34-0.34 dB at 16 px). Both act through attention; every other operation sees one token at a time. TileShare therefore keeps the tiles and their overlap but shares the tokens: each tile's attention sees exactly its released tokens, coordinates and global tokens; every other operation runs once per token; and an overlap token's attention outputs from its tiles are blended with the released weights.

Because the approximation enters at one kind of step, we can locate where it matters (Sec. 4). In MiniMax-H3, sharing the MLP is nearly free although it holds most of the computation. The cost arises when attention reads blended states and is concentrated in the first few layers, where a token's state still shapes its neighbours through attention. Keeping these layers per tile (TileShare-k) recovers the released decoder. The required depth is a property of each model and is measured once: 4 of 36 layers in MiniMax-H3, 3 of 24 in MAGI-1 [1] and none in ViTok-v2.

Without training, TileShare-6 is equivalent to the released MiniMax-H3 decoder in PSNR, LPIPS and DISTS on DAVIS videos and decodes 1.38−1.51×1.38-1.51\times faster than batched and compiled tiling on two GPU types without custom kernels (Sec. 5). The UVG dataset [35] was held out until both settings were frozen. On it, TileShare-4 (2–3% faster still) is equivalent in all three metrics, and TileShare-6 is equivalent in PSNR and DISTS while improving LPIPS. TileShare carries over to MAGI-1 and to the ViTok-v2 image autoencoder [16], again with confirmations on unseen data (Sec. 5.5). TileShare also composes with FP8 MLP layers (up to 1.96×1.96\times), whereas matching the speed by changing the tiling costs at least 0.3 dB. Finally, brief training can remove the remaining per-tile layers (Sec. 6): self-distillation does so on MiniMax-H3 without a loss in PSNR, and a coordinate field trained while the network stays frozen brings fully shared CLIP-based open-vocabulary segmentation [42, 51] to parity with sliding windows.

Our contributions are threefold. (1) TileShare: a training-free reformulation of overlapping tiled ViT decoding that keeps each tile's attention, computes everything else once per token without custom kernels and states precisely what is exact. (2) An interventional analysis showing that the approximation acts through attention rather than the MLP (MiniMax-H3) and mainly in the first layers (MiniMax-H3 and MAGI-1). (3) A rigorous evaluation on three decoders: equivalence on development data and in prospectively frozen confirmations on unseen data, a unified timing protocol, analyses by motion and tile zone, and an applicability audit of 14 configurations.

References (47)