TL;DR
CAR (Controllable AutoRegressive Modeling) introduces the first plug-and-play controllable generation framework for pre-trained visual autoregressive models (specifically the "next-scale prediction" paradigm of VAR). By keeping the pre-trained generative base frozen and training a parallel multi-scale control branch, CAR achieves state-of-the-art visual quality across diverse spatial conditions, generalizes across unseen categories using under 10% of training data, and runs over $5\times$ faster than diffusion-based counterparts like ControlNet.
What Problem Does This Paper Address?
While diffusion models have mature, modular control mechanisms (such as ControlNet and T2I-Adapter) for steering outputs via edges, sketches, or depth maps, integrating diffusion architectures into unified multimodal systems alongside Large Language Models (LLMs) remains awkward due to mismatched representations. Autoregressive (AR) models offer natural token-level compatibility with LLMs and lower computational overhead, but controllable generation within AR models is severely underexplored.
Prior AR control attempts either concatenate condition tokens as long prefixes (causing quadratic sequence-length bottlenecks) or require joint end-to-end retraining from scratch (e.g., ControlVAR), discarding the efficiency of leveraging frozen, pre-trained foundation models. CAR fills this gap by providing an efficient, modular adapter mechanism for pre-trained AR vision models.
Methods
CAR builds on Visual AutoRegressive (VAR) modeling, which predicts 2D discrete token maps coarse-to-fine across $K$ scales ($1\times1 \to \dots \to H \times W$) rather than raster-scan next-token prediction.
Condition Image C ──> Resize (c_k) ─┐
▼
Base Tokens r_{<k} ──> Upsample (b_k) ──> [ F(·) Fusion ] ──> [ T(·) Transformer ] ──> ŝ_k
│
Base VAR Transformer (Frozen) ───────────> r_k ──────────────────> [ G(·) Injection ] ───┴──> r̂_k
-
Multi-Scale Bayesian Formulation: CAR decomposes conditional generation into hierarchical posterior approximations: $$p(I \mid C) = \prod_{k=1}^K p(r_k \mid \{r_i, c_i\}_{i=1}^{k-1}, c_k)$$ where $r_k$ is the image token map at scale $k$, and $c_k$ is the multi-scale condition input.
-
Component Architecture:
- Feature Fusion $\mathcal{F}(\cdot)$: Downsamples/resizes condition image $C$ to scale $k$ ($c_k$), processes it with a shared learnable convolutional encoder, and adds it to the base model's upsampled token representation $b_k$ to produce fused state $s_k$.
- Control Transformer $\mathcal{T}(\cdot)$: A parallel GPT-2-style Transformer (half the depth of the base model, initialized from its early layers) that models self-attention over vectorized $s_k$ to extract condition prior $\hat{s}_k$.
- Injection Function $\mathcal{G}(\cdot)$: Injects control representations into the frozen base model's predictions via channel concatenation, Layer Normalization, and a linear projection.
- Optimization: Minimizes KL divergence (equivalent to maximizing multi-scale token log-likelihood) using ground-truth image tokens, keeping the base VAR completely frozen.
Datasets
- ImageNet (1k classes): The authors generate pseudo-ground-truth spatial conditions for five modalities:
- Canny edge detector
- Depth maps (via DPT/Ranftl et al.)
- Surface normal maps
- HED (Holistically-Nested Edge Detection)
- Sketches (via Pixel Difference Networks)
- Generalization Protocol: CAR is trained on only 100 randomly selected classes (10% of ImageNet) and evaluated on the remaining 900 unseen classes to test zero-shot semantic generalization. No new external benchmarks were introduced.
Key Insights and Ideas
- Why ControlNet’s standard recipes fail in AR: In diffusion models, zero convolutions and feature addition are standard for injecting control. The authors show that simple addition leads to domain distribution incompatibility in discrete token spaces. Instead, concatenation followed by LayerNorm and linear projection is essential to harmonize the control signals with the backbone AR latent space.
- Learnable Convolutions vs. VQ-VAE Encoders: Re-using the pre-trained VQ-VAE encoder to tokenize condition maps degrades generation quality because VQ-VAE is optimized for pixel reconstruction rather than semantic condition extraction. A simple, learnable convolutional encoder performs significantly better.
- Cross-Category Semantic Transfer: By training on just 10% of ImageNet classes, the parallel branch learns generic structural-spatial conditioning rather than memorizing class-specific visual features, generalizing seamlessly to unseen classes without catastrophic forgetting (since the base model is frozen).
Key Results
- Image Fidelity & Quality: On ImageNet, CAR outperforms retrained ControlNet and T2I-Adapter baselines across all 5 modalities:
- HED Map: Achieves 5.6 FID / 182.2 IS (vs. ControlNet's 8.6 FID / 150.3 IS).
- Depth Map: Achieves 6.9 FID / 178.6 IS (vs. ControlNet's 9.2 FID / 150.3 IS).
- Sketch: Achieves 10.2 FID (vs. ControlNet's 15.3 FID).
- Inference Speed: Generates a $512\times 512$ image in 0.3 seconds on an NVIDIA RTX 4090—over $5\times$ faster than ControlNet (1.7s) and $7.6\times$ faster than T2I-Adapter (2.3s).
- User Preference: In human evaluation across 30 participants, CAR scored 51% preference for image quality (vs. ControlNet 26%), 42% for condition fidelity (vs. 31%), and 45% for diversity (vs. 36%).
- AR Scaling Laws: The model follows predictable scaling behaviors; increasing depth ($d16 \to d30$) monotonically improves FID, IS, Precision, and Recall.
Limitations and Future Work
- Underlying VAR Latency: While faster than iterative diffusion denoising, AR modeling still relies on sequential scale-by-scale prediction, which can throttle latency when scaled to ultra-high resolutions or very long sequences.
- Static Conditioning Architectures: The current injection uses fixed channel concatenation and LayerNorm; adaptive or cross-attention injection schemes remain unexplored.
- Modality Scope: The framework is currently demonstrated on single static images; extending multi-scale recursive control injection to temporal contexts like video generation remains an open challenge.
Summary updated