Skip to main content
Back

Salesforce Releases BLIP3-o, an Open-Source Model That Understands and Generates Images

Salesforce Research open-sourced BLIP3-o, a unified multimodal model that handles both image understanding and generation using CLIP embeddings and flow matching.

Pro

  • Salesforce Research released BLIP3-o, a fully open unified multimodal model for image understanding and generation.
  • Architecture combines CLIP embeddings, a diffusion transformer, and flow matching on top of Qwen2.5-VL.
  • Two variants ship: an 8B model with proprietary data and a fully open 4B model.
  • 8B model scores 0.84 GenEval, 1682.6 MME-Perception, and 50.6 MMMU.
  • Sequential training keeps the autoregressive backbone frozen while training the diffusion head to avoid task interference.
  • Weights, code, and the 60k GPT-4o instruction-tuning dataset are all released.

Salesforce Research has released a fully open-source multimodal model family called BLIP3-o, taking an unusual swing at a problem most labs have been solving with duct tape: getting a single model to both understand images and generate them without either task dragging the other down. The team released weights, code, training scripts, and the instruction-tuning dataset, making this one of the more transparent unified model releases of the year.

The headline claim is that BLIP3-o pairs CLIP embeddings with flow matching inside a diffusion transformer, then trains the whole thing sequentially rather than jointly. The result is strong performance across most of the popular benchmarks spanning both understanding and generation.

The representation tug-of-war

The tension in unified models comes down to representations. VAEs are good for reconstruction but encode low-level pixel details rather than semantics. CLIP encoders capture rich semantics but were never designed to reconstruct images. Most previous attempts either quantized visual features into discrete tokens or forced one representation to serve both goals, usually at the cost of one task or the other.

Salesforce ran a systematic ablation on three axes and reported what worked. They evaluated image representation (CLIP vs VAE features), training objective (flow matching vs MSE), and training strategy (joint vs sequential). CLIP embeddings paired with a flow matching loss delivered both faster training and higher-quality outputs.

Gluing autoregression to diffusion

The design hybridizes autoregressive and diffusion components through CLIP's semantic space. For image understanding, CLIP encodes the image and the model computes cross-entropy loss between target and predicted text tokens. For generation, the autoregressive model first produces a sequence of intermediate visual features, which then condition a diffusion transformer that generates CLIP image features approximating the ground-truth CLIP features. Because a CLIP encoder sits at the center, understanding and generation share the same semantic space.

A few concrete engineering details worth noting:

  • The autoregressive backbone is built on Qwen2.5-VL, and the diffusion transformer uses the Lumina-Next architecture with 3D rotary position embedding and grouped-query attention.
  • Each image is encoded into 64 fixed-length semantic vectors regardless of resolution, which keeps storage compact and decoding efficient.
  • The diffusion module is trained while the autoregressive backbone stays frozen, which sidesteps the task interference that plagues joint training setups.

Flow matching is the less familiar piece here. In practice, it introduces controlled stochasticity when generating the target CLIP embeddings, which is why the model produces more diverse and higher-fidelity outputs than a plain MSE objective would allow. MSE tends to collapse toward an average, while flow matching learns the actual distribution of features.

The training recipe and a 60k GPT-4o dataset

Salesforce shipped two versions of the model. The 8B model combined around 25 million open-source images with an additional 30 million proprietary images, with all captions generated by Qwen2.5-VL-7B-Instruct yielding detailed descriptions averaging 120 tokens. To improve generalization across prompt lengths, they also included roughly 10 percent (6 million) shorter captions of about 20 tokens. The fully open-source 4B model used 25 million publicly available images with the same detailed captions, plus roughly 3 million short captions.

The instruction-tuning phase added a novel wrinkle. The team prompted GPT-4o to generate 60k high-quality samples, and the model rapidly adapted to GPT-4o's style, improving both prompt alignment and visual quality. That dataset, called BLIP3o-60k, is being released alongside the model weights.

Benchmark numbers

The 8B model puts up strong scores across a wide slate of vision-language evals:

BenchmarkScoreWhat it measures
GenEval0.84Image generation alignment with prompts
WISE0.62World knowledge and reasoning in generation
MME-Perception1682.6Perceptual understanding of images
MME-Cognition647.1Cognitive reasoning over images
MMMU50.6Multi-discipline multimodal understanding
VQAv2 / TextVQA83.1 / 83.1Visual question answering

Head-to-head human evaluation against Janus Pro 7B, another recent unified model, went in BLIP3-o's favor. It was preferred 50.4 percent of the time for visual quality and 51.5 percent for prompt alignment, with p-values of 5.05e-06 and 1.16e-05 respectively, meaning the gap is statistically meaningful rather than noise.

Open questions from the community

Researchers digging into the released code have already surfaced interesting questions. Since BLIP3-o skips the understanding training stage, why does it still top multiple understanding benchmarks, and which part of the model contributes most to that improvement? On the generation side, if CLIP features are the flow matching target, how does the model produce a new, realistic pixel image, and what transforms CLIP features into pixel space? Those questions hint at architectural subtleties the paper glosses over, and they suggest the diffusion decoder is doing more heavy lifting than the writeup spells out.

Where it fits, and where it does not

BLIP3-o slots into a growing category of models aiming to be the vision-language equivalent of a general-purpose LLM. Practical use cases the team is targeting include:

  • Iterative image editing, where the same model both interprets a user's request and produces the updated image
  • Visual dialogue, where a system needs to describe, reason about, and generate imagery in a single conversation
  • Step-by-step visual reasoning tasks that mix perception with generation
  • Automated captioning and content generation pipelines that would otherwise need separate captioning and text-to-image models

If peak aesthetic quality is the only metric that matters, dedicated text-to-image models like FLUX or SD3 still have the edge. The CLIP-features-as-target trick also means the pixel decoder inherits CLIP's blind spots on fine text rendering and rare compositions.

The value of shipping the whole recipe

Salesforce is releasing the entire pipeline: complete model implementations, model weights, a 25M+ detailed caption pretraining dataset, and the 60K instruction-tuning dataset. The GitHub repository and Hugging Face model cards give researchers everything needed to reproduce results or fork the architecture.

For anyone building multimodal systems, the practical takeaway is that the CLIP-plus-flow-matching combination now has a strong open baseline. The sequential training trick, freeze the AR backbone then train the diffusion head, is a pattern worth stealing even without using BLIP3-o directly. The official announcement confirms the team is already working on iterative image editing and visual reasoning extensions on top of the base model.