StepVAR: Structure-Texture Guided Pruning for Visual Autoregressive Models

Keli Liu, Zhendong Wang, Wengang Zhou, Houqiang Li

TL;DR

StepVAR is a training-free token pruning framework that accelerates Visual Autoregressive (VAR) models by up to 2x during inference. By evaluating both structural importance (via fast PCA approximation) and textural details (via high-pass filtering), it slashes the quadratic computational overhead of high-resolution generation scales without sacrificing image or video quality.

What Problem Does This Paper Address?

Visual Autoregressive (VAR) models have emerged as a powerful alternative to diffusion models, generating images hierarchically from coarse to fine resolutions using a "next-scale prediction" strategy. However, because VAR models are built on Transformer architectures, their self-attention mechanism scales quadratically ($O(N^2)$) with the number of tokens.

As the spatial resolution expands in the later stages of generation, the token count explodes. Consequently, the final high-resolution scales account for over 75% of the total inference latency, creating a massive computational bottleneck.

Prior attempts to accelerate inference via token pruning focused almost exclusively on high-frequency texture detection, assuming flat regions are redundant. However, the authors observe that discarding visually smooth tokens destroys global structural coherence, leading to semantic drift and noticeable artifacts in the final output.

Fig. 1: Inference Characteristics of Visual Autoregressive Models. (a) The computational bottleneck is heavily skewed towards the final resolution scales, which account for the majority of latency. (b) Sensitivity analysis reveals that early scales are highly sensitive to structural perturbations, whereas later scales exhibit high robustness and error tolerance. (c) Visualizing the residual difference between stages demonstrates that the final scales primarily serve to refine high-frequency textural details.

Methods

StepVAR introduces a training-free, dual-criteria token pruning mechanism combined with an adaptive feature propagation strategy:

  1. Dual-Criteria Token Pruning: To decide which tokens to keep, StepVAR computes a joint importance score:
  2. Structural Integrity Score ($S_{str}$): Instead of costly Singular Value Decomposition (SVD), the method uses the Power Iteration method (converging in just 3–5 iterations) to efficiently approximate the first principal component of the feature map. This protects smooth but statistically vital background tokens that anchor global attention routing.
  3. Textural Refinement Score ($S_{txt}$): A lightweight spatial high-pass filter (calculated by subtracting a $3\times3$ average-pooled feature map from the original) identifies fine-grained edges and intricate patterns.
  4. Joint Selection: Tokens are ranked by a weighted combination of both scores, and only the top-$k$ tokens are passed to the subsequent transformer layers.
  5. Nearest Neighbor Feature Propagation: Because the next-scale prediction requires a full, dense feature map, the sparse tokens must be reconstructed. StepVAR maps the coordinates of the kept tokens and uses an adaptive nearest-neighbor interpolation to fill the pruned gaps. This ensures that every token in the reconstructed map originates from the current processing stage, avoiding the semantic gaps caused by simply caching old features.

Datasets

The authors evaluated StepVAR across several state-of-the-art text-to-image (T2I) and text-to-video (T2V) models:

  • Models Evaluated: Infinity, HART, and InfinityStar.
  • Benchmarks:
  • GenEval and DPG to evaluate high-level semantic consistency and detail preservation for complex prompts.
  • MJHQ-30K to compute standard Fréchet Inception Distance (FID) and CLIP Scores for perceptual fidelity and text-image alignment.
  • VBench to comprehensively measure video quality, temporal consistency, and motion dynamics.

Key Insights and Ideas

  • Asymmetric Sensitivity: Early coarse scales dictate global layout and are highly intolerant to errors, whereas later fine scales are highly robust and primarily serve to refine local textures. Target-pruning only the later scales yields massive speedups with minimal quality degradation.
  • The Blind Spot of Frequency Pruning: Visually smooth background tokens might seem redundant to a high-pass filter, but they act as critical structural anchors for Transformer attention. Neglecting them breaks global context.
  • Pruning as a Saliency Detector: Visualizing the pruning masks reveals that StepVAR naturally acts as a saliency detector—automatically retaining tokens corresponding to the main subject while aggressively discarding flat background elements.

Key Results

  • Text-to-Image Acceleration: On the HART model, StepVAR achieved a 1.4x speedup while matching the original model's semantic metrics and actually improving the overall FID score (10.28 vs. 11.00), likely by filtering out redundant noisy tokens. On the Infinity model, it delivered a 2.0x speedup, outperforming existing baselines like FastVAR and SparseVAR in image quality.
  • Text-to-Video Generalizability: When applied to the video generation model InfinityStar, StepVAR achieved a 1.4x speedup with a negligible impact on video quality, scoring 83.35 on VBench compared to the baseline's 83.88.

Limitations and Future Work

  • Extreme Pruning Degradation: While StepVAR is highly robust at moderate pruning ratios (up to 0.7), generation quality begins to degrade significantly at extreme ratios (e.g., 0.9).
  • Hyperparameter Tuning: The framework introduces a weighting hyperparameter ($w_{str}$) to balance structural and textural scores, which may require manual adjustment depending on the specific model architecture or generation task.
  • Note: Specific future work directions were not explicitly detailed by the authors in the provided text.

Summary updated

BibTeX
@inproceedings{liu2026stepvar,
  author = {Keli Liu and Zhendong Wang and Wengang Zhou and Houqiang Li},
  title = {{StepVAR: Structure-Texture Guided Pruning for Visual Autoregressive Models}},
  booktitle = {ICMR},
  year = {2026},
  doi = {10.1145/3805622.3810814},
}
Figure