TL;DR
When you fine-tune an autoregressive text-to-image model using reinforcement learning, it gets much better at following prompts—right as its images start looking weirdly artifacted and degraded. This happens because the token-generating policy learns to speak a new dialect of discrete visual tokens that its frozen image decoder was never trained to translate. RankE fixes this by waking up the decoder and co-evolving both modules together in an alternating dance, improving prompt alignment and visual crispness at the same time.
What Problem Does This Paper Address?
Discrete autoregressive (AR) text-to-image models generate pictures much like LLMs write text. Instead of words, an AR policy predicts sequences of discrete codebook numbers, which a separate Vector-Quantized (VQ) decoder then translates into pixels.
During post-training (alignment via Reinforcement Learning), standard practice updates the AR policy to maximize human-preference or text-matching rewards while keeping the VQ decoder strictly frozen. Why? Because discrete token sampling severs the gradient path—you can’t backpropagate pixel-space rewards smoothly back to the policy as you can in continuous diffusion models.
The authors diagnose a hidden trap in this frozen-decoder setup: Latent Covariate Shift. The decoder was originally trained only on clean, deterministic codes extracted from real images. As RL pushes the policy to chase higher rewards, the distribution of tokens it samples drifts away from that familiar territory. The decoder is forced to render out-of-distribution token combinations, resulting in a frustrating trade-off: better prompt alignment, worse image quality.
Methods
Rather than forcing biased gradient approximations through the discrete sampling bottleneck, RankE (Ranking-based End-to-end alignment) steps around it using alternating block-coordinate optimization:
- Stage 1: Policy Alignment (Standard RL). With the decoder frozen, the AR generator is updated using Group Relative Policy Optimization (GRPO)—sampling groups of token sequences, scoring their decoded images, and nudging the policy toward higher-ranked tokens while tethering it to an Exponential Moving Average (EMA) reference via KL regularization.
- Stage 2: Decoder Adaptation (Novel Co-evolution). Now the policy freezes, and the VQ decoder wakes up to adapt to detached, policy-sampled tokens using two forces:
- Reward-driven alignment: If the reward model is differentiable (like CLIP), pixel gradients flow straight into the decoder. For black-box rewards, the authors introduce Rank-GAN, an adversarial loss that weights samples by their reward scores so the discriminator prioritizes making top-ranked rollouts look realistic.
- Manifold anchoring: To prevent the decoder from "reward hacking" into bizarre pixel patterns, it is anchored by its original real-image reconstruction loss and an LPIPS self-distillation loss against a slow-moving EMA teacher decoder.
Datasets
- Training: A curated 15K image-text corpus derived from BLIP3o-60k (using caption compression and stratified domain sampling), which includes 750 examples sourced from GenEval. No brand-new public benchmarks are introduced.
- Evaluation: MS-COCO 30K (for FID image quality and CLIP alignment), HPSv2 (human preference across Photo, Concept, Anime, and Paintings), GenEval (compositional tasks like counting and colors—treated as in-domain benchmark performance rather than zero-shot due to the 750 training samples), and 5K COCO prompts for independent ImageReward scoring.
Key Insights and Ideas
- Decoder drift vs. Exposure bias: Unlike traditional exposure bias (where a generator stumbles on its own past token mistakes), Latent Covariate Shift happens between modules—the generator speaks a reward-optimized dialect that the frozen renderer misinterprets.
- Swapping the decoder proves the bottleneck: When taking exact late-stage RL tokens generated by a policy and simply swapping the frozen decoder for RankE's adapted decoder, FID drops dramatically from 17.63 to 15.28. The latent information was already good; the frozen renderer was botching the translation.
- Co-evolution is genuinely synergistic: Adapting only the policy or only the decoder degrades image fidelity (FID 17.76 and 18.68, respectively). Alternating both achieves an FID of 15.21—proving the two stages actively stabilize each other, keeping global token entropy and codebook usage healthy.
Key Results
- Breaking the CLIP–FID trade-off: On LlamaGen-XL (775M) evaluated on MS-COCO 30K, standard frozen-decoder GRPO boosts CLIP over SFT (31.86 $\rightarrow$ 32.45) at the cost of worse FID (16.58 $\rightarrow$ 17.76). RankE improves both simultaneously, reaching 33.76 CLIP and 15.21 FID, alongside higher GenEval (0.425) and HPSv2 (0.2531) scores.
- Modest overhead & compute fairness: RankE adds just 3.0% peak GPU memory and 7.9% wall-clock time at $256\times256$. Even at an approximately GPU-hour-matched earlier checkpoint (150.3 vs. 152 GPU-hours), RankE (33.74 CLIP / 15.64 FID) handily beats standard GRPO.
- Generalization across backbones and scales: Gains hold at $512\times512$ resolution (FID improves from 33.17 to 29.82) and on the unified multimodal Janus-Pro (1B) model (CLIP +0.26, FID -0.40 over standard GRPO). Qualitatively, RankE eliminates weird banding artifacts while nailing prompt counts and colors.
Limitations and Future Work
- SFT corpus mismatch on Janus-Pro: Supervised fine-tuning on the 15K dataset severely degraded Janus-Pro’s base FID (18.95 $\rightarrow$ 26.73); while RankE beat frozen-decoder RL (25.19 vs. 25.59), it couldn't recover the base model's original fidelity.
- Evaluation scope: Most ablations and Janus-Pro runs are single-run experiments (with two paired runs on LlamaGen-XL), overhead was mainly profiled at $256\times256$, and no live human-preference study was conducted.
- Open directions: The VQ encoder remains frozen throughout; unlocking full tokenizer co-evolution, testing next-scale multi-billion-parameter architectures, and establishing formal convergence guarantees remain open for future work.
Summary updated