DreamVAR: Taming Reinforced Visual Autoregressive Model for High-Fidelity Subject-Driven Image Generation

Xin Jiang, Jingwen Chen, Yehao Li, Yingwei Pan, Kezhou Chen, Z. L. Li, Ting Yao, Tao Mei

TL;DR

DreamVAR is the first high-fidelity framework to adapt Visual Autoregressive (VAR) models for subject-driven image generation (e.g., "put this specific dog in a space suit"). By "pre-filling" multi-scale subject features and fine-tuning with reinforcement learning (GRPO), it outperforms much larger diffusion-based models in subject consistency while being significantly faster at inference.

What Problem Does This Paper Address?

Subject-driven image generation—customizing an image based on a specific reference object—has been the playground of diffusion models (like DreamBooth or IP-Adapter). However, diffusion models are computationally expensive and slow.

Visual Autoregressive (VAR) models offer a faster, unified alternative by predicting images scale-by-scale (from low to high resolution). But VAR models face a "train-test discrepancy" challenge: during training, they see ground-truth data, but during inference, they rely on their own previously generated (and potentially noisy) tokens. When you try to "inject" a reference subject into this process by interleaving its features at every scale, this discrepancy is amplified, leading to poor subject fidelity or images that ignore the text prompt.

Methods

The authors introduce DreamVAR, built on the "Infinity" VAR architecture. Their approach consists of two main technical innovations:

  1. Subject Feature Pre-filling: Instead of the standard approach of interleaving reference subject tokens with target image tokens at each resolution scale, DreamVAR extracts multi-scale features from the reference image and "pre-fills" them as a prefix to the sequence. This simplifies the autoregressive dependencies and allows the model to attend to the full subject context before it even starts generating the first pixel of the target image.
  2. Reinforcement Learning via GRPO: Borrowing from recent breakthroughs in Large Language Models (like DeepSeek-R1), the authors use Group Relative Policy Optimization (GRPO). They fine-tune the model using a multi-reward system:
  3. Subject Consistency Reward ($R^I$): Uses DINO and CLIP to ensure the generated object looks exactly like the reference.
  4. Semantic Alignment Reward ($R^S$): Uses CLIP to ensure the image actually follows the text prompt.

The training follows a three-stage pipeline: Task Adaptation (large-scale), Supervised Fine-Tuning (high-quality data), and finally, Reinforcement Learning.

Datasets

  • Subject-200K: Used for initial large-scale task adaptation.
  • DreamSubject-14K: A new, high-quality dataset curated by the authors. They used Object365 categories, generated images via Flux, and used open-vocabulary detectors (Grounding DINO) and segmentors (SAM) to create 14,000 precise subject-image pairs.
  • DreamBench: The standard industry benchmark used for final evaluation and comparison against other models.

Key Insights and Ideas

  • The "Prefix" Advantage: Treating the reference subject as a pre-filled prefix rather than an interleaved condition is the "aha moment." It treats the subject as "context" rather than "instruction," which fits the autoregressive nature of the model much better and reduces error accumulation across scales.
  • Combatting Reward Hacking: The authors found that training only for subject consistency led to "reward hacking," where the model would simply replicate the reference image and ignore the prompt. The dual-reward system (Consistency + Alignment) was essential to balance fidelity with creativity.
  • Efficiency Matters: DreamVAR achieves state-of-the-art results with only 2 billion parameters, outperforming "heavyweight" diffusion models with 12 billion parameters.

Key Results

  • Superior Fidelity: On DreamBench, DreamVAR achieved the highest DINO score (0.764) and CLIP-I score (0.838), surpassing leading models like UNO and OmniControl.
  • Massive Speedup: DreamVAR is significantly more efficient than diffusion-based competitors. It reduces inference time from 17 seconds per image (for UNO) to just 2 seconds.
  • Training Efficiency: It achieves a 1.75× training speedup compared to the previous state-of-the-art (UNO).

Limitations and Future Work

While DreamVAR shows impressive results, the authors note a few areas for growth:

  • Complex Backgrounds: While subject consistency is high, extremely complex background interactions sometimes still favor the largest diffusion models.
  • Multi-Subject Generation: The current framework is optimized for a single reference subject; extending this to multiple interacting subjects (e.g., "this cat and this dog playing together") remains a future challenge.
  • Scaling: The authors suggest that further scaling the VAR backbone beyond 2B parameters could yield even higher photorealism.

Summary updated

Abstract

Recent advances in subject-driven image generation using diffusion models have attracted considerable attention for their remarkable capabilities in producing high-quality images. Nevertheless, the potential of Visual Autoregressive (VAR) models, despite their unified architecture and efficient inference, remains underexplored. In this work, we present DreamVAR, a novel framework for subject-driven image synthesis built upon a VAR model that employs next-scale prediction. Technically, multi-scale features of the reference subject are first extracted by a visual tokenizer. Instead of interleaving these conditional features with target image tokens across scales, our DreamVAR pre-fills the full subject feature sequence prior to predicting target image tokens. This design simplifies autoregressive dependencies and mitigates the train-test discrepancy in multi-scale conditioning scenario within the VAR paradigm. DreamVAR further incorporates reinforcement learning to jointly enhance semantic alignment and subject consistency. Extensive experiments demonstrate that DreamVAR achieves superior appearance preservation compared to leading diffusion-based methods.
BibTeX
@misc{jiang2026dreamvar,
  author = {Xin Jiang and Jingwen Chen and Yehao Li and Yingwei Pan and Kezhou Chen and Z. L. Li and Ting Yao and Tao Mei},
  title = {{DreamVAR: Taming Reinforced Visual Autoregressive Model for High-Fidelity Subject-Driven Image Generation}},
  year = {2026},
  eprint = {2601.22507},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.22507},
}

Loading related content...

Figure