TL;DR
Generative Refinement Networks (GRN) introduce a next-generation visual synthesis paradigm that solves the two major flaws of autoregressive models: lossy discrete tokenization and error accumulation. By combining a near-lossless Hierarchical Binary Quantization (HBQ) scheme with a human-like "global refinement" painting mechanism, GRN achieves state-of-the-art image reconstruction and generation on ImageNet while scaling efficiently to text-to-image and text-to-video tasks.
What Problem Does This Paper Address?
While diffusion models currently dominate visual generation, they suffer from a major computational inefficiency: they apply a uniform amount of computational effort (a fixed number of denoising steps) to every sample, regardless of whether it is a simple blank background or a highly complex scene.
Autoregressive (AR) models offer a promising alternative because they are inherently complexity-aware. However, traditional AR visual generation is bottlenecked by two critical flaws:
- Lossy Discrete Tokenization: Compressing continuous images into discrete tokens typically degrades reconstruction quality compared to continuous representations.
- Error Accumulation: Because standard AR models generate tokens sequentially in a strict causal order (e.g., raster scan or scale-by-scale), a single mistake early in the process propagates and ruins the final output. Once a token is generated, it is immutable and cannot be corrected.
Methods
To overcome these limitations, the authors introduce two core innovations:
1. Hierarchical Binary Quantization (HBQ)
Instead of using a massive, flat codebook, HBQ frames feature quantization as a signal transformation problem. It passes continuous VAE features through a tanh activation function and subjects them to multiple rounds of binary quantization based on a binary tree of buckets.
Because the quantization error decays exponentially with each round, HBQ achieves near-lossless reconstruction from coarse to fine frequencies without needing to expand the latent channel dimensions.
2. Generative Refinement Network (GRN)
Instead of generating tokens one by one in a fixed order, GRN starts with a completely random token map and iteratively refines the entire map simultaneously. Mimicking a human artist, the model uses a random selection map at each step to perform three unified operations:
- Filling: Adding new details into blank/random areas.
- Refining: Improving the quality of previously predicted tokens.
- Erasing: Retroactively wiping away obvious errors and replacing them with random tokens to try again.
3. Entropy-Guided Sampling
To achieve true adaptive-step generation, GRN calculates the average entropy (uncertainty) of its predictions during inference. If the entropy is low (high confidence), the model accelerates generation with a steeper step schedule. If the entropy is high (high complexity), it allocates more refinement steps to preserve visual quality.
Datasets
The models were trained and evaluated using several prominent benchmarks:
- ImageNet (256×256): Used for class-conditional image generation and tokenizer evaluation.
- OpenImages: Used to train the image-only visual tokenizer.
- GenEval: Used to evaluate text-to-image (T2I) alignment and compositionality.
- VBench: Used to evaluate text-to-video (T2V) quality, semantics, and temporal consistency.
- Proprietary Data: A curated dataset of 40 million video clips was used for scaling up the text-to-video models.
Key Insights and Ideas
- Bridging the Discrete-Continuous Gap: HBQ proves that discrete tokenizers can match the fidelity of continuous VAEs at higher compression rates, challenging the long-held assumption that discrete tokenization must inherently be lossy.
- Breaking Causal Tyranny: By allowing the model to erase and rewrite tokens globally, GRN completely eliminates the strict causal ordering constraint of traditional AR models, effectively mitigating error propagation.
- Built-in Complexity Meter: Because AR models output explicit token-level probabilities, entropy serves as a natural, zero-overhead guide for adaptive computation—something diffusion models cannot do natively without auxiliary networks.
Key Results
Image Reconstruction & Generation
On the ImageNet 256×256 benchmark, GRN set new records for both reconstruction and generation:
- Reconstruction: Achieved a remarkable 0.56 rFID, significantly outperforming continuous baselines like SD-VAE (0.87) and discrete alternatives like VAR (0.85).
- Generation: The largest variant, GRN-G (2B parameters), achieved a state-of-the-art 1.81 gFID, outperforming foundational diffusion models like DiT and SiT, as well as top AR models like LlamaGen and VAR.
Scaling to T2I and T2V
When scaled to a 2B parameter model for text-to-video generation, GRN outperformed larger diffusion and flow-based models (such as CogVideoX-5B) on VBench, demonstrating exceptional parameter efficiency.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Scale Constraints: Due to computational resource limits, the model has not yet been scaled to the massive sizes of industry-leading models (e.g., 10B+ parameters).
- Domain Bias: The text-to-video model performs exceptionally well in human-related scenarios but can occasionally lack rich visual details or exhibit distortions in highly complex, non-human scenes.
- Future Directions: The authors plan to explore refinement-step distillation to compress the number of sampling steps even further, making inference even faster.
Summary updated