TL;DR
VA-π is a lightweight post-training framework that bridges the gap between token likelihood and pixel-space quality in autoregressive (AR) image generators. By framing alignment as a variational optimization problem and using reinforcement learning with an intrinsic reconstruction reward, it dramatically improves image fidelity and text-alignment in under 30 minutes of training without needing external reward models.
What Problem Does This Paper Address?
Autoregressive models for image generation treat visual data as sequences of discrete tokens, similar to how Large Language Models handle text. However, this pipeline suffers from a fundamental disconnect:
- The Tokenizer is trained to convert pixels to discrete tokens and decode them back into clean images.
- The AR Generator is trained purely to maximize the likelihood of the next token, completely blind to the final pixel space.
Because the generator never sees the actual pixels during training, it frequently produces "off-manifold" token sequences. These sequences look highly probable to the language model but decode into low-quality images filled with blurriness and structural artifacts. Prior solutions tried adding noise during training or modifying the tokenizer, but they failed to directly align the generator with pixel-space distributions.
Methods
The authors introduce VA-π (Variational Policy Alignment), a framework that derives a tractable Evidence Lower Bound (ELBO) to unify token modeling and pixel reconstruction.
To optimize over a non-differentiable discrete token space, VA-π reformulates the task as a reinforcement learning problem using Group Relative Policy Optimization (GRPO):
- Teacher-Forced Intrinsic Reward: Instead of relying on expensive free-running image generation or external reward models (like human preference predictors), VA-π uses the frozen tokenizer's own teacher-forcing reconstruction loss (MSE + LPIPS) as an intrinsic reward.
- Prior Regularization: To prevent the model from drifting too far from its original token distribution, the variational prior is enforced using a next-token cross-entropy loss augmented with contextual noise. This design naturally mitigates exposure bias without adding extra memory overhead.
Datasets
The framework was evaluated across multiple tasks and architectures using the following datasets:
- ImageNet-1K: Used for class-conditional image generation (C2I) tuning and evaluation.
- LAION-COCO: Used for text-to-image (T2I) fine-tuning of the LlamaGen model.
- Flux-Reason: Used to fine-tune the unified multimodal model, Janus-Pro 1B.
- GenEval & DrawBench: Benchmarks used to evaluate compositional text-to-image alignment (e.g., object relations, counting, and color binding).
Key Insights and Ideas
- The Power of Teacher Forcing in RL: Performing RL rollouts under teacher forcing provides a stable, low-variance reward signal. It gives the model direct pixel-level guidance while bypassing the error accumulation and heavy compute costs of free-running sampling.
- Cross-Entropy over KL Divergence: For discrete token spaces, regularizing with a next-token cross-entropy loss (with contextual noise) maintains distribution stability and visual diversity significantly better than standard Kullback–Leibler (KL) divergence penalties.
- Self-Contained Feedback: Pixel-level feedback can be entirely self-contained by leveraging the frozen tokenizer's decoder as the evaluator, eliminating the need for separate reward models.
Key Results
- Massive Efficiency Gains: On LlamaGen-XXL (1.4B parameters), using just 1% of the ImageNet-1K pre-training data and 25 minutes of tuning on 8×A100 GPUs, VA-π slashed the Frechet Inception Distance (FID) from 14.36 to 7.65 and boosted the Inception Score (IS) from 86.55 to 116.70.
- Speedup over Baselines: VA-π achieved superior image quality compared to standard Straight-Through Estimator (STE) approaches while training 15× faster.
- Multimodal Generalization: When applied to the unified multimodal model Janus-Pro 1B on the GenEval benchmark, VA-π improved the overall score from 0.725 to 0.744, showing notable gains in complex attributes like object counting and attribute binding.
Limitations and Future Work
The authors note that during alignment, the tokenizer's parameters are kept frozen to maintain training stability. As a result, the final generation quality is ultimately upper-bounded by the base tokenizer's inherent reconstruction capability.
Promising directions for future work include scaling this variational policy alignment to even larger unified multimodal architectures and exploring dynamic noise schedules for the prior regularization term.
Summary updated