Abstract
Generative models for images and videos often face a trade-off between generation speed and structural quality. While parallel multi-token prediction models offer significant speedups over sequential auto-regressive methods, they frequently introduce structural inconsistencies, such as "supernumerary" features (e.g., animals with extra limbs or mouths). BIGFix addresses this by introducing a bidirectional framework that enables "token fixing." By intentionally injecting noise during training, the model learns to identify and correct errors in its own context. BIGFix achieves a state-of-the-art FID of 2.49 on ImageNet-256 while operating nearly 3x faster than competitive auto-regressive baselines.
Introduction
In AI image generation, the primary challenge is balancing speed and quality. Standard auto-regressive models, similar to Large Language Models (LLMs), generate images one token at a time. While accurate, this process is computationally expensive for high-resolution images. Parallel models attempt to solve this by predicting multiple tokens simultaneously, but they often suffer from global incoherence because tokens are "locked in" once sampled, with no mechanism for revision.
BIGFix introduces a "self-correction" mechanism that allows generative models to fix structural errors during the creation process. This transforms the model from a simple predictor into an active editor, capable of maintaining global coherence even at high generation speeds.
Methodology
The core of BIGFix is a bidirectional framework that unlocks the ability to "fix" tokens through several key innovations:
- Random Token Injection ($\alpha$): During training, a fraction ($\alpha$) of the context tokens are replaced with random tokens from the same image. This forces the model to learn two simultaneous tasks: predicting the next part of the image and correcting erroneous parts already present in the context.
- Self-Correction Sampling: At inference, the model uses this learned ability to iteratively refine previously sampled tokens that exhibit structural inconsistencies.
- Bidirectional Halton Ordering: Instead of a standard raster scan, BIGFix uses a Halton sequence to sample points across the 2D grid. This ensures uniform coverage early in the process, allowing the model to grasp global structure much faster.
- Arccos Scheduling: A mathematical strategy manages the unmasking schedule, balancing the generation of coarse global features with fine-grained details.
Experiments and Results
The researchers evaluated BIGFix across various image and video benchmarks, including ImageNet-256, CIFAR-10, UCF-101 (human actions), and NuScenes (autonomous driving).
Quantitative Performance
On ImageNet-256, the BIGFix-XLarge model achieved a FID score of 2.49, significantly outperforming the MaskGIT baseline (3.74). In terms of efficiency, BIGFix-Large generates an image in 0.25 seconds on an NVIDIA A100, making it 2.86x faster than the LlamaGEN-XL auto-regressive baseline.
Qualitative "Visual Surgery"
The most striking result is the model's ability to perform "visual surgery." As shown in the qualitative results, BIGFix successfully prevents or repairs "supernumerary" elements—such as a shark with two mouths or an ostrich with two heads—that typically plague parallel generation models.
Key Insights
- Noise as a Feature: Intentionally corrupting training data makes the model smarter, enabling it to act as an editor rather than just a predictor.
- Bidirectional Context: Using a Transformer with bidirectional attention is more natural for 2D visual data than the 1D causal approach used in text models.
- Scalability: High-quality results can be achieved without massive parameter counts if the sampling strategy is intelligent enough to handle its own errors.
Conclusion and Future Work
BIGFix represents a significant step forward in efficient, high-quality image and video generation. While currently limited by fixed unmasking schedules and model scales under 1 billion parameters, the framework's success in self-correction suggests that scaling to larger models and higher resolutions could yield even more photorealistic results. Future work will focus on making the unmasking schedules more flexible and extending the logic to long-form video generation.
Summary updated