Guiding Visual Autoregressive Models through Spectrum Weakening

Chaoyang Wang, Tianmeng Yang, Yunhai Tong

TL;DR

Visual autoregressive (AR) models generate images piece-by-piece, much like how large language models write text—but they rely heavily on Classifier-Free Guidance (CFG), which completely fails when there's no text prompt to guide them. This paper introduces Spectrum Weakening Guidance (SWG), a clever, training-free trick that uses the Fourier transform to filter out internal feature information on the fly, creating a "weaker" version of the model to push against. The result is sharper, remarkably coherent images across any visual AR architecture, whether you give the model a specific prompt or let its imagination run wild unconditionally.

What Problem Does This Paper Address?

If you've ever generated an image with AI, you owe a lot to Classifier-Free Guidance (CFG). CFG works by comparing what a model predicts with your text prompt against what it predicts without it, then steering the generation further away from the generic, unprompted baseline. However, CFG has two major blind spots: the model must be explicitly trained to handle blank prompts, and CFG becomes completely useless for unconditional generation (creating images from scratch without any prompt at all).

Recently, researchers working on diffusion models found a neat workaround called "weak model guidance." Instead of steering away from an unprompted model, you steer away from a deliberately degraded, "clumsy" version of the model itself—created by blurring spatial attention maps, shuffling image patches, or messing with diffusion timesteps.

Here is the catch: visual autoregressive (AR) models don't work like diffusion models. Instead of refining a whole noisy canvas at once, AR models build images token by token, relying on a memory bank (KV-cache) where only one new token is processed at a time. They don't have diffusion timesteps, and they don't have a complete global spatial layout until the very last token is placed. Because of this, spatial perturbations like patch-shuffling break down completely. Visual AR needed its own native, training-free way to build a "weak model."

Methods

To weaken a visual AR model without breaking its token-by-token flow or altering its architecture, the authors shift away from spatial layout and look inward—at the channel dimension of a token's internal feature representation.

Their method, Spectrum Weakening Guidance (SWG), creates a weak branch during inference in three steps:

  1. Channel-wise Fourier Transform: For a selected subset of intermediate transformer layers, SWG takes the 1D feature vector of the current token and applies a Discrete Fourier Transform (DFT) along its channel dimension, converting the features into the frequency (spectral) domain.
  2. Selective Spectrum Preservation: It applies a fixed binary mask to zero out most of the spectral components (retaining just 25% by default) and converts the signal back via an Inverse DFT. Because of the data processing inequality, throwing away spectral coefficients strictly reduces the information passed to subsequent layers, reliably making the model less certain without changing tensor shapes or token positions.
  3. Spectrum Renormalization: Zeroing out 75% of a signal's frequencies drastically shrinks its magnitude. In sequential AR generation, mismatched feature scales compound step-by-step until the image collapses into repetitive visual static. To prevent this, SWG rescales the filtered representation (either in the spectral or spatial domain) so its Euclidean norm matches the original unperturbed vector.

Finally, just like standard guidance, SWG linearly extrapolates the output logits away from this newly minted weak branch—and can even be stacked right on top of standard CFG when prompts are available.

Datasets

Because SWG is entirely training-free, no training datasets are required. For evaluation, no new benchmarks are introduced; the authors follow standard practice using two established datasets:

  • COCO: Used to evaluate text-to-image generation in both conditional (prompted) and unconditional (null-prompt) settings.
  • ImageNet: Used to evaluate class-conditional image generation (at $256 \times 256$ resolution).

Key Insights and Ideas

  • Bandwidth matters much more than frequency location: In image space, low frequencies mean blurry shapes and high frequencies mean sharp textures. Along the channel dimension, things behave very differently. When sweeping across different frequency bands, the authors found that which frequencies you keep barely changes the model's prediction uncertainty (entropy). What matters is bandwidth—how much total information you throw away. Narrower bands create higher uncertainty in the weak model, yielding clearer guided images (though pushing it too far makes scenes overly neat and stripped of fine clutter).
  • Error accumulation makes renormalization non-negotiable: Unlike diffusion models that can self-correct across denoising steps, raster-scan AR models lock in their mistakes. Without rescaling the weakened features back to their original norm, scale drift snowballs into severe artifacts and repetitive lines as the image nears completion.
  • Plug-and-play universality: Because SWG operates purely along channels, it works seamlessly across every flavor of visual AR—raster-scan (left-to-right, top-to-bottom), random-order, and scale-wise—as well as both discrete and continuous tokenizers, and across Query, Key, or Value projections.

Key Results

SWG delivers consistent visual and numerical improvements across four distinct AR baselines: RandAR (class-to-image), Lumina-mGPT (raster-scan), NOVA (continuous random-order), and Infinity (scale-wise).

  • Quantitative: On COCO, the continuous AR model NOVA sees massive gains: SWG slashes Fréchet Inception Distance (FID, where lower is better) by 34.97 points (from 85.34 to 50.37) in unconditional generation and by 31.06 points (46.86 to 15.80) in conditional generation. Discrete models see steady, reliable boosts too—Lumina-mGPT drops conditional FID from 37.33 to 29.91 while boosting its CLIP text-alignment score by 1.21 points. On ImageNet, RandAR hits a sweet spot at guidance scale $\omega_s = 3.0$ with an FID of 6.55, while its Inception Score climbs from 166.56 to 255.27 as guidance scales up.
  • Qualitative: Unconditional generations go from muddy, distorted fever dreams to crisp, well-lit compositions (such as cozy autumn still-lifes). In conditional tasks, SWG fixes severe prompt misunderstandings:
Baseline Lumina-mGPT misinterpreting "heron" as a woman
Lumina-mGPT + SWG accurately generating a heron by the water's edge

As shown above, when prompted with "A heron stands by the water's edge," baseline Lumina-mGPT hallucinates a woman standing in a forest, whereas adding SWG produces a sharp, accurate painting of a heron reflected in calm water.

Limitations and Future Work

While the authors do not include a dedicated limitations section, their ablation studies highlight a few practical trade-offs and sensitivities:

  • Fidelity vs. Diversity & Detail: Cranking up the SWG scale or overly restricting the spectral bandwidth improves image clarity and precision, but steadily reduces sample diversity (recall drops from 0.68 to 0.59 on ImageNet) and strips away background details.
  • Layer Sensitivity: SWG requires careful layer selection. Applying it to very late layers weakens the guidance effect until outputs turn blurry again, whereas applying it at the very earliest layers causes excessive divergence between the base and weak branches, washing out fine details.
  • Compute Overhead: Running an extra perturbed forward pass through a subset of layers during sampling inherently adds inference compute alongside the base (and optional CFG) passes.

Future directions are not explicitly discussed in the paper.

Summary updated

BibTeX
@inproceedings{wang2026guiding,
  author = {Chaoyang Wang and Tianmeng Yang and Yunhai Tong},
  title = {{Guiding Visual Autoregressive Models through Spectrum Weakening}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=PoNh97Mzdl},
}
Figure