TL;DR
The Frequency Autoregressive (FAR) paradigm reimagines image generation by predicting across frequency spectrums—from coarse low-frequency structures to fine high-frequency details—rather than traditional 1D pixel sequences. By pairing this natural "spectral dependency" with a continuous tokenizer and diffusion loss, FAR generates high-quality, structurally consistent images in just 10 inference steps.
What Problem Does This Paper Address?
Autoregressive (AR) models like GPT have dominated language processing, but translating their success to computer vision introduces a massive modality gap. Text is inherently discrete, 1D, and causal. Images, however, are continuous, 2D, and non-causal.
Standard image AR models typically force images into a 1D sequence using a raster-scan order (left-to-right, top-to-bottom) and discretize them using vector quantization (like VQ-VAE). This design suffers from two major flaws:
- Information Loss: Discrete codebooks discard significant visual detail.
- Broken Causality & Locality: A pixel at the start of a new row is causally dependent on the pixel directly above it, not the pixel at the end of the previous row. Raster scanning destroys this 2D spatial locality.
While recent multi-scale approaches like Visual Autoregressive (VAR) modeling help preserve spatial layout, they are highly sensitive to error accumulation and incompatible with continuous tokenizers.
Methods
The authors introduce FAR (Frequency Progressive Autoregressive) generation, which replaces next-token or next-scale prediction with next-frequency prediction.
- Spectral Decomposition: Using the Fourier transform, an image is decomposed into $F$ frequency levels. The model learns to progressively predict higher-frequency components based on lower-frequency foundations—mimicking how a human artist sketches a rough outline before adding intricate details.
- Continuous Tokenizer with Diffusion Loss: To avoid the information loss of discrete codebooks, FAR uses a continuous tokenizer (like a standard VAE framework). It models the continuous probability distribution of the tokens using a small, efficient diffusion MLP as a loss function.
- Optimization Techniques:
- Distribution Modeling Simplification (DMS): Instead of trying to model the complex step-by-step transition $p(x_{i+1} | x_i)$, the model directly predicts the final target image $p(x | x_i)$ and applies a spectral filter to extract the next frequency level.
- Frequency-aware Training Loss (FTL): Higher frequencies are easier for the network to predict, which can cause the training to be dominated by harder low-frequency structures. FTL applies a sine-curve weighting strategy to give higher priority to high-frequency details.
- Mask Mechanism: To save compute, the model randomly masks out redundant tokens during the early, information-sparse low-frequency generation stages.
Datasets
The model was trained and evaluated on several standard benchmarks:
- ImageNet (256×256): Used for class-conditional image generation.
- JourneyDB: A large-scale dataset containing ~4.19M image-text pairs, supplemented by ~3.57M internal image-text pairs for text-to-image training.
- MS-COCO & GenEval: Used to evaluate text-to-image generation quality and prompt alignment.
Key Insights and Ideas
- Spectral Dependency as Natural Causality: The paper's core "aha moment" is that frequency progression inherently satisfies the causality requirement of autoregressive models without destroying 2D spatial relationships. Within each frequency level, the model uses bidirectional attention to predict all tokens simultaneously, preserving spatial locality.
- Linear Complexity: By generating entire frequency planes at once rather than token-by-token, the inference complexity drops from quadratic $O(n^2)$ relative to token length down to linear complexity $O(n)$, where $n$ is the number of frequency levels.
- Continuous Tokenizer Compatibility: Unlike VAR, which fails when paired with continuous tokens due to severe error accumulation across scales, FAR's simplified distribution modeling (DMS) makes it highly compatible with continuous tokenizers.
Key Results
FAR achieves state-of-the-art generation efficiency, matching or exceeding the visual quality of traditional AR and diffusion models while requiring significantly fewer steps.
- Ultra-Fast Generation: FAR generates high-quality images in only 10 inference steps, compared to the 256 steps typically required by continuous AR models like MAR.
- ImageNet Performance: The largest model variant (FAR-H, 812M parameters) achieved an Inception Score (IS) of 300.6 and a Fréchet Inception Distance (FID) of 3.21 in just 10 steps. This significantly outperforms MAR when restricted to the same 10-step budget (which yields a poor FID of 9.32).
- Text-to-Image Efficiency: When extended to text-to-image generation, FAR delivers strong prompt alignment and visual quality despite using a fraction of the data, compute, and model parameters of commercial heavyweights like DALL-E 2 or Stable Diffusion 3.
Limitations and Future Work
The authors note that FAR exhibits slightly lower sample diversity compared to models that utilize hundreds of inference steps (such as MAR at 256 steps), which slightly penalizes its FID score. Although their masking mechanism partially mitigates this by introducing randomness, closing the diversity gap without sacrificing the 10-step efficiency remains an open area for future research.
Summary updated