Abstract
Visual Autoregressive (AR) models have emerged as a powerful alternative to diffusion models for image generation. However, they often struggle with structural coherence and fine-grained detail, especially in unconditional settings. While Classifier-Free Guidance (CFG) is the standard for prompt alignment, it requires specific training and does not naturally extend to unconditional generation. This paper introduces Spectrum Weakening Guidance (SWG), a training-free framework that improves image quality and alignment by selectively filtering internal representations in the spectral domain. By creating a "weak" model branch on the fly, SWG provides a robust guidance signal that enhances both conditional and unconditional generation across various AR architectures.
Introduction
In the current landscape of generative AI, Autoregressive (AR) models like GPT have successfully transitioned from text to vision, generating images token-by-token. Despite their success, these models face challenges in maintaining high-frequency details and global structure. The prevailing method for improving output quality, Classifier-Free Guidance (CFG), is limited by its dependency on "null-prompt" training and its inability to assist in unconditional generation tasks.
To address these limitations, we propose Spectrum Weakening Guidance (SWG). Unlike previous "weak model" approaches that rely on spatial perturbations—which often disrupt the KV-Cache essential for AR efficiency—SWG operates in the spectral domain. By weakening the model's internal representations through frequency filtering, we can derive a guidance signal that steers the generation process toward sharper, more coherent results without any additional training.
Methodology: Spectrum Weakening Guidance
The core mechanism of SWG involves creating a contrast between a "strong" (original) and a "weak" (filtered) version of the model's internal state.
The Spectral Pipeline
During the forward pass of the AR model, internal feature tensors undergo a four-step transformation:
- Fourier Transform: Feature tensors are mapped into the spectral domain using a Discrete Fourier Transform (DFT) along the channel dimension.
- Spectrum Selection: A binary mask is applied to the spectral coefficients. Typically, a low-pass filter is used to retain only coarse structural information, effectively "weakening" the model's ability to process fine details.
- Renormalization: Filtering frequencies alters the signal's energy. To prevent error accumulation—a critical issue in sequential AR generation—we employ Spectral and Spatial Renormalization to maintain numerical stability.
- Guidance Calculation: The final output token $z_{final}$ is computed by shifting the prediction away from the weak branch: $z_{final} = z_{strong} + \omega_s(z_{strong} - z_{weak})$ where $\omega_s$ represents the guidance scale.
Theoretical Foundation
Using information theory, we demonstrate that selecting a subset of the spectrum strictly reduces the mutual information between the representation and the target output. This confirms that the spectral-filtered branch serves as a mathematically sound "weaker" reference. Furthermore, by operating on the channel dimension rather than the spatial dimension, SWG remains fully compatible with the KV-Cache mechanisms of modern AR transformers.
Experimental Results
We evaluated SWG across multiple architectures, including Lumina-mGPT (7B parameters), NOVA (0.3B parameters), and RandAR, using benchmarks such as COCO and ImageNet.
Performance on Large-Scale Models
For the 7B parameter Lumina-mGPT, SWG significantly boosted aesthetic quality and structural detail. Quantitative metrics showed an improvement in FID from 90.85 to 82.19, alongside a marked increase in Aesthetic Scores.
Impact on Unconditional and Conditional Generation
The most dramatic improvements were observed in the NOVA model. In unconditional generation, where CFG is inapplicable, SWG reduced the FID from 85.34 to 50.37. In conditional settings, the FID dropped from 46.86 to 15.80, while the Aesthetic Score improved from 4.21 to 5.78.
Synergy with CFG
Experiments indicate that SWG is complementary to CFG. While CFG focuses on prompt alignment, SWG excels at enhancing textures and aesthetic details. When used together, they provide a superior balance of accuracy and visual appeal.
Conclusion and Future Work
Spectrum Weakening Guidance provides a versatile, training-free solution for enhancing visual AR models. By leveraging spectral domain filtering and robust renormalization, SWG overcomes the limitations of traditional guidance methods. While the approach doubles inference computation per step, the gains in image quality and the lack of training overhead make it a compelling tool for the next generation of AR-based visual synthesis. Future research will explore more complex spectral masks and the application of SWG to video generation.
Summary updated