VUM: Visual Unified Model for Image Generation and Perception

ZiDong Wang, Yiyuan Zhang, Xiaoyu Yue, Xiangyuan Xue, Zhangquan Chen, Manyuan Zhang, Wanli OuyangNeurIPS 2026

TL;DR

In natural language processing, predicting the next word naturally teaches a single model how to both understand and generate text. In computer vision, however, seeing (extracting high-level meaning) and painting (synthesizing fine-grained pixels) pull a neural network in opposite directions. The Visual Unified Model (VUM) bridges this divide by treating image masking and Gaussian noise as two sides of the same coin, allowing a single, pixel-native backbone to master both visual perception and image generation without external crutches.

Figure 1: One unified model, dual capabilities. The Visual Unified Model (VUM) seamlessly integrates pixel synthesis and semantic perception within a single architecture. The top two rows showcase high-fidelity image generation on the ImageNet 256 × 256 benchmark, while the bottom row demonstrates its ability to extract highly effective representations for dense understanding tasks, including object detection, semantic segmentation, and instance segmentation.

What Problem Does This Paper Address?

Why hasn't computer vision had its single-backbone "LLM moment" yet? Because visual understanding and generation suffer from a fundamental tug-of-war. Perception models—like Masked Autoencoders (MAE)—learn semantics through lossy compression, intentionally throwing away fine local details to recognize the "dog-ness" of a dog. Conversely, generative diffusion models obsess over every high-frequency pixel and texture, often failing to grasp high-level abstractions.

Historically, researchers worked around this by stitching separate models together: freezing a pre-trained vision encoder, bolting on a Variational Autoencoder (VAE) tokenizer, and training a separate diffusion model on top.

Figure 2: Comparison of visual unification modeling paradigms. (a) Conventional methods [83, 56] rely on an external Visual Foundation Model (VFM) as a feature extractor, employing multi- stage pipelines that require separate VAE and diffusion model training for synthesis. (b) Our VUM integrates perception and generation into a single backbone, enabling a single-stage training pipeline.

If you try to skip the middlemen and naively train one network to both fill in missing image patches (for perception) and remove Gaussian noise (for generation) at the same time, the model suffers catastrophic collapse. Wiping out 75% of an image and drowning the remaining 25% in static leaves almost zero usable signal, while opposing training gradients tear the shared weights apart.

Methods

The authors start from a neat mathematical realization: Masked Image Modeling (MIM) and Diffusion are structurally isomorphic—both try to recover clean data from corrupted observations. To make them work harmoniously in pure pixel space, VUM introduces three core mechanisms:

  • Information-Balanced Degradation (Hybrid SNR): Instead of blasting an image with heavy masking and heavy noise simultaneously, VUM introduces a Hybrid Signal-to-Noise Ratio (HSNR) metric that inversely couples the two via a simple linear schedule. When continuous Gaussian noise is high ($t \to 1$), spatial masking drops to 0%, giving the model the dense context needed to denoise structures. As the image clarifies ($t \to 0$), masking ramps up to 75%, forcing the network to deduce global semantics rather than memorize local pixels.
  • Asymmetric Dual-Decoder "Gradient Buffers": VUM uses a standard Vision Transformer (ViT) encoder that processes only unmasked patches (kept fast via variable-length FlashAttention). To prevent gradient clashes, features route to two specialized heads during training: a lightweight ViT decoder handles clean, masked reconstruction ($t = 0$), while a heavy Diffusion Transformer (DiT) decoder handles noisy states ($t > 0$). They act as shock absorbers for conflicting optimization signals, insulating the shared encoder.
VUM's unified training pipeline with dual decoders acting as gradient buffers.
  • Trajectory-Adaptive Pivoting & Clean Inference: A single token slot dynamically switches roles—acting as a semantic [CLS] token on clean images and a class-conditioning anchor on noisy ones. At inference time, the auxiliary ViT decoder is thrown away. The ViT encoder runs solo for perception tasks, or pairs with the DiT decoder to generate images from pure noise.
During inference, the auxiliary decoder is dropped; the encoder runs standalone for perception or pairs with the DiT decoder for synthesis.

Datasets

VUM introduces no new benchmarks, relying on established vision datasets to test both sides of its brain:

  • ImageNet-1K ($256 \times 256$): Used for single-stage pre-training, class-conditional image generation, linear probing, and end-to-end classification fine-tuning.
  • COCO: Used for downstream object detection and instance segmentation.
  • ADE20K: Used for downstream semantic segmentation.

Key Insights and Ideas

  • "Information death" explains why naive unification fails: Quantifying discrete masking and continuous noise under a single SNR equation proves that static combination starves the network of signal. Turning degradation into a smooth, inverse curriculum transforms rival tasks into allies.
  • Generative models are surprisingly "blind" without help: In controlled 160-epoch baselines, a pure pixel-space diffusion model (JiT) generates sharp images (9.16 FID) but scores a dismal 6.97% on ImageNet linear probing. Naive joint training ruins both (316.9 FID, 6.57% accuracy). Adding VUM's balanced HSNR and dual decoders vaults linear probing to 48.70% while keeping FID at 9.77.
  • Decoupling late saves the shared early representations: You don't need separate encoders for seeing and painting; you just need separate decoders during training to buffer high-variance spatial dynamics away from stable semantic abstractions.

Key Results

Trained for 800 epochs on ImageNet-256 without any external VAEs or pre-trained vision teachers, the 763M-parameter VUM-L achieves:

  • Competitive Pixel-Space Generation: 1.91 FID and 288.3 Inception Score, outperforming classic latent diffusion models like DiT (2.27 FID) and MaskDiT (2.28 FID), and landing right on the heels of specialized pixel-diffusion models like JiT (1.86 FID).
  • Strong Dense Perception Transfer: Isolating the shared ViT-L encoder yields 51.3 mIoU on ADE20K segmentation, plus 53.1 $\text{AP}^{\text{box}}$ and 46.3 $\text{AP}^{\text{mask}}$ on COCO—outperforming contrastive MoCo v3 and closely trailing a 1600-epoch specialist MAE (53.6 mIoU, 53.3 $\text{AP}^{\text{box}}$).
  • Classification Trade-offs: VUM reaches 84.4% fine-tuning accuracy and 68.4% linear probing accuracy on ImageNet-1K (compared to MAE's 86.0% and 76.0%).

Limitations and Future Work

The authors candidly point out a 7.6-percentage-point linear-probing gap compared to pure MAE, suggesting that sharing capacity with pixel synthesis still slightly dilutes out-of-the-box linear separability. Additionally, modeling raw pixels directly is computationally expensive to scale to higher resolutions, and VUM is currently limited to class-conditional ImageNet generation. Future work aims to tackle noise-conditioned normalization to close the linear-probing gap, expand perception evaluations to 3D-aware tasks like depth and surface normal estimation, and scale VUM to web-scale, text-to-image multimodal learning.

Summary updated

Abstract

Unifying visual perception and generation poses a fundamental dichotomy: perception extracts semantics but discards details, while generation synthesizes fine-grained structures. Thus, existing works rely on decoupled architectures, as forcing these opposing information flows into one network inevitably triggers task interference and representation collapse. To break this bottleneck, we introduce the Visual Unified Model (VUM), a native framework that unifies both capabilities within a single architecture. Our key insight is that visual perception and generation can be unified by re-envisioning Masked Image Modeling and Diffusion Processes as complementary facets of data recovery. By establishing a shared degradation space that integrates both masking and noising, VUM optimizes a joint signal recovery objective: simultaneously predicting masked patches and denoising corrupted signals. This objective enforces the dual internalization of semantic abstraction and generative synthesis. Using one shared encoder, VUM achieves competitive image generation and transfers to visual recognition and dense prediction within a single pixel-native model. Our implementation code is available at: https://github.com/WZDTHU/VUM.
BibTeX
@inproceedings{wang2026vum,
  author = {ZiDong Wang and Yiyuan Zhang and Xiaoyu Yue and Xiangyuan Xue and Zhangquan Chen and Manyuan Zhang and Wanli Ouyang},
  title = {{VUM: Visual Unified Model for Image Generation and Perception}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=U8cmaFkAVL},
}
Figure