Abstract
This paper presents a family of advanced vision encoders, named OpenVision 3, that learns a single, unified visual representation capable of serving both image understanding and image generation. Our core architecture is simple: we feed VAE-compressed image latents to a Vision Transformer (ViT) encoder and train its output to support two complementary roles. First, the encoder output is passed to a ViT-VAE decoder to reconstruct the original image, encouraging the representation to capture generative structure. Second, the same representation is optimized with contrastive learning and image-captioning objectives, strengthening semantic features. By jointly optimizing reconstruction- and semantics-driven signals in a shared latent space, the encoder learns representations that synergize and generalize well across both regimes. We validate this unified design through extensive downstream evaluations with the encoder frozen. For generation, we test it under the RAE framework, where our model substantially surpasses standard CLIP-based encoders (e.g., gFID: 1.89 vs. 2.54 on ImageNet). For multimodal understanding, we integrate the encoder into the LLaVA-1.5 and LLaVA-NeXT frameworks, where it performs comparably with standard CLIP vision encoders (e.g., 66.0 vs. 65.4 on SeedBench). Our findings provide empirical evidence that generation and understanding are mutually beneficial in this architecture.
Introduction
The evolution of Unified Multimodal Models (UMMs), such as GPT-4o and Gemini, necessitates a seamless transition between visual understanding and generation. Historically, this has required the use of two distinct visual tokenizers: one for high-level semantic features (e.g., CLIP or SigLIP) and another for low-level, pixel-perfect reconstruction (e.g., VQ-GAN or VAE). While recent attempts have sought to bridge this gap with unified tokenizers, they often rely on discrete quantization, which introduces discretization errors and bottlenecks generative quality.
OpenVision 3 addresses this challenge by proposing a simple, continuous visual tokenizer. By operating within the continuous latent space of a pre-trained VAE, OpenVision 3 avoids the information loss inherent in discrete codebooks, enabling high-fidelity generation while maintaining competitive semantic understanding.
Methodology
The architecture of OpenVision 3 is built upon a hybrid VAE-ViT design that emphasizes simplicity and efficiency.
Unified Tokenization
Input images are first compressed into continuous latent representations using a frozen FLUX.1 VAE encoder. These latents are then processed by a trainable Vision Transformer (ViT) to produce "unified tokens." This approach leverages the powerful compression of the VAE while allowing the ViT to learn a versatile representation.
Dual-Branch Training
The unified tokens are simultaneously optimized through two distinct branches:
- Reconstruction Branch: To improve generative generalization, noise is added to the tokens before they are passed through a ViT decoder and the VAE decoder. The objective is to reconstruct the original image, guided by L1 and perceptual (LPIPS) losses.
- Understanding Branch: The same tokens are aligned with text tokens via contrastive learning and optimized for autoregressive image captioning. This ensures the tokens capture high-level semantic information.
Progressive Training
To optimize computational resources, the model undergoes progressive training. It is initially pre-trained at a resolution of 128x128 and subsequently fine-tuned at higher resolutions (224x224 or 256x256). Crucially, during all downstream evaluations, the OpenVision 3 encoder remains frozen, demonstrating the inherent versatility of the learned representations.
Experimental Setup
The model is trained from scratch on the DataComp dataset. To ensure high-quality text-image alignment, the dataset was recaptioned using LLaVA-Llama-3.
For evaluation, the reconstruction and generation capabilities are tested on ImageNet and COCO. Multimodal understanding is assessed by plugging the frozen OpenVision 3 encoder into the LLaVA-1.5 framework and testing across a suite of standard benchmarks, including MME, SeedBench, ScienceQA, GQA, and POPE.
Results and Discussion
OpenVision 3 demonstrates state-of-the-art performance across both generative and understanding tasks, proving that a single encoder can indeed "do it all."
Reconstruction and Generation
In reconstruction tasks, OpenVision 3 significantly outperforms existing unified tokenizers. On ImageNet, it achieves a PSNR of 30.33 dB and an LPIPS of 0.061, far surpassing UniTok (25.34 dB / 0.132). In generation, when paired with a flow-matching generator (RAE framework), it achieves a gFID of 1.89, outperforming both standard CLIP-based encoders (2.54) and dedicated generation tokenizers like SD-VAE (2.06).
Multimodal Understanding
Despite its generative strength, OpenVision 3 maintains semantic parity with specialized understanding models. When integrated into LLaVA-1.5, it matches or slightly exceeds the performance of OpenAI's CLIP-L/14. For instance, it scores 66.0 on SeedBench (vs. 65.4 for CLIP) and 85.3 on POPE (vs. 84.7 for CLIP).
Synergy Between Tasks
A key insight from this work is the mutual benefit of joint training. Ablation studies revealed that including reconstruction loss improves semantic alignment, and vice versa. This suggests that fine-grained pixel details and high-level semantics are complementary rather than conflicting objectives.
Conclusion
OpenVision 3 provides a robust framework for unified visual modeling. By utilizing continuous latents and a dual-branch training strategy, it overcomes the limitations of discrete tokenization. While the model's performance is currently bounded by the underlying FLUX.1 VAE, it sets a new standard for unified encoders. The authors intend to open-source the training code and checkpoints to facilitate further research into native Unified Multimodal Models.
Summary updated