Unified Multimodal Model

Beers

Unlocking Pixel-Space Generation in Pretrained Vision-Language Models

Cheers for open source!

Generated image 0700 Generated image 0168 Generated image 0339 Generated image 0235 Generated image 0251 Generated image 0844 Generated image 0946 Generated image 0163 Generated image 0505 Generated image 0801 Generated image 0350 Generated image 0137 Generated image 0324 Generated image 0343 Generated image emotion_prompt_v2_seed1001 Generated image 0225 Generated image 0353 Generated image 0701 Generated image beer_seed1003 Generated image 0724 Generated image 0361 Generated image 0731 Generated image 0154 Generated image 0913 Generated image 0510 Generated image 0307 Generated image 0815 Generated image 0739 Generated image 0351 Generated image 0514 Generated image 0219 Generated image 0335 Generated image 0321 Generated image 0834 Generated image 0742 Generated image 0325 Generated image 0111 Generated image 0503 Generated image 0233 Generated image 0645 Generated image 0346
Images generated by Beers. Click any image to view the full-resolution original.

Beers keeps the vision encoder and language backbone of Qwen3-VL-4B-Instruct and adds a 0.5B pixel prediction head. One model understands images, generates images from text and edits them, predicting RGB patches directly, with no VAE and no separate diffusion model.

4B + 0.5B
VLM backbone + generation head
No VAE
flow matching directly in pixel space
48.97
Qwen-Image-Bench ZH, best among compared UMMs
✦ unexpected
Zero-shot
multi-turn editing after single-turn training

Open weights

Three checkpoints from the training pipeline are being uploaded to Hugging Face. Each glass is filled up to the stage it was taken from.

After Stage 3

Base model

End of high-resolution pretraining: understanding, text-to-image generation and single-turn editing.

  • generation up to 1024²
  • no multi-turn or multi-reference editing data yet
  • a starting point for further training on your own data
Hugging Face
After Stage 4

CPT model

End of capability expansion: the base model trained further on harder tasks and larger images.

  • generation up to 2048²
  • adds multi-turn and multi-reference editing
  • adds high-resolution and high-quality synthetic data
Hugging Face
After Stage 5

SFT model

Supervised fine-tuning of the CPT model on curated generation data, alongside the other tasks.

  • aimed at image quality, instruction following and output consistency
  • generation up to 2048²
Hugging Face
01

Architecture

Understanding, generation and editing share the vision encoder and language backbone. For generation, the noisy target image goes through the encoder at every denoising step, with bidirectional attention inside the image. A pixel prediction head turns the backbone features into clean RGB patches.

Beers architecture
1

Two-level pixel prediction head

A low-resolution head (4 Transformer blocks) works on the backbone's merged tokens. After spatial shuffle, a high-resolution head (6 blocks) predicts 16×16 RGB patches. Time enters as a token instead of AdaLN.

2

Bottleneck-gated detail residual

Shallow patch embeddings of the noisy image reach the high-resolution head through a 1024→64→1024 bottleneck and a learned gate. Without the bottleneck, the gate leans on this pixel shortcut and suppresses the backbone's semantic features.

3

RGB-patch refinement

Three Transformer blocks after the high-resolution head let neighbouring patches interact, which removes blocking artifacts.

4

Progressive training

Pixel-space flow matching with x-prediction, in five stages. Masked image reconstruction is used in early pretraining, and instruction-based editing is co-trained from Stage 3 on.

02

Training

Five stages. Stage 1 trains only the new modules on text-to-image (G) and masked image reconstruction (M). From Stage 2 on, the whole model is trained jointly with text-only (T) and understanding (U) data, and Stage 3 swaps Mask I2I for instruction-based editing (E).

Stage 1Warm-up10K steps · G, M
Stage 2Joint pretraining100K steps · T, U, G, M
Stage 3High-res. pretraining150K steps · T, U, G, EBase model
Stage 4Capability expansion40K steps · T, U, G, ECPT model
Stage 5SFT10K steps · T, U, G, ESFT model

Training recipe

Stage 1Stage 2Stage 3Stage 4Stage 5
Trainable parametersNew modulesAllAllAllAll
Peak learning rate1×10−31×10−41×10−42×10−52×10−5
Minimum learning rate1×10−4–2×10−5–1×10−8
ViT learning rate–1×10−51×10−5 → 1×10−61×10−61×10−6 → 1×10−8
LR schedulerConstantConstantConstant + cosineConstantCosine decay
Decay steps––120K–8K
Warm-up steps2000200020002000200
Global batch size25651251210241024
Training steps10K100K150K40K10K
OptimizerAdamW (β1 = 0.9, β2 = 0.95, ε = 10−8), weight decay 0, gradient clipping 1.0
Sequence length8192
Noise levellogit(σ) ~ N(0.8, 0.8²), noise scaled by min(√(N/256), 4)
Text-condition dropout0.1 (T2I, Mask I2I and editing)
Generation resolution256² → 512²256² → 512²512² → 1024²512² → 2048²512² → 2048²
Understanding resolution–224² → 2048²224² → 2048²224² → 2048²512² → 2048²
Data typesG, MT, U, G, MT, U, G, ET, U, G, ET, U, G, E
Sampling ratio1 : 11 : 4 : 7 : 41 : 4 : 7 : 41 : 4 : 7 : 41 : 2 : 3 : 2

Resolutions give the minimum and maximum image area. Sampling ratios follow the listed data types. Batch sizes and ratios count packed sequences of 8192 tokens; N is the number of 16×16 patches in a generated image.

Training data

Sampling shares within each task over Stages 1–5, weighted by the number of packed sequences each stage assigns to that task. Inner rings are major categories, outer rings their breakdown. Hover a slice for its share.

OCR & Document: 34.65%OCR & Document / OCR: 24.75%OCR & Document / Doc & Chart VQA: 9.90%General VQA: 28.96%General VQA / Academic VQA: 12.29%General VQA / Commonsense: 10.32%General VQA / Spatial VQA: 6.35%Grounding & Caption: 28.64%Grounding & Caption / Caption: 16.26%Grounding & Caption / Grounding: 12.37%Logical Reasoning: 7.75%Logical Reasoning: 7.75%ImageUnderstanding
  • OCR & Document 34.65%
    OCR 24.75 · Doc & Chart VQA 9.90
  • General VQA 28.96%
    Academic VQA 12.29 · Commonsense 10.32 · Spatial VQA 6.35
  • Grounding & Caption 28.64%
    Caption 16.26 · Grounding 12.37
  • Logical Reasoning 7.75%
General: 86.70%General / 256px Mix: 33.48%General / Portrait: 13.15%General / Nature: 7.08%General / Text & Doc: 5.20%General / Architecture: 5.05%General / Product: 4.13%General / Misc: 4.01%General / Artwork: 3.46%General / Anime: 3.22%General / Plant: 2.96%General / Animal: 2.53%General / Sports: 2.42%KnowDense: 6.08%KnowDense: 6.08%High-Quality: 4.94%High-Quality: 4.94%GIF: 2.28%GIF: 2.28%ImageGeneration
  • General 86.70%
    256px Mix 33.48 · Portrait 13.15 · Nature 7.08 · Text & Doc 5.20 · Architecture 5.05 · Product 4.13 · Misc 4.01 · Artwork 3.46 · Anime 3.22 · Plant 2.96 · Animal 2.53 · Sports 2.42
  • KnowDense 6.08%
  • High-Quality 4.94%
  • GIF 2.28%
Attribute: 47.53%Attribute / Text Change: 10.20%Attribute / Color Alter: 8.33%Attribute / Style Change: 7.12%Attribute / Attribute Alter: 6.09%Attribute / Material Alter: 5.90%Attribute / Lighting Change: 5.77%Attribute / Weather & Time: 4.11%Subject: 27.82%Subject / Subject Add: 7.71%Subject / Subject Remove: 7.66%Subject / Subject Replace: 7.19%Subject / Subject Extract: 5.26%Structure: 14.08%Structure / Background Change: 7.54%Structure / Motion Change: 6.54%Multi-Reference: 5.43%Multi-Reference: 5.43%Multi-Turn: 3.14%Multi-Turn: 3.14%Portrait Consistency: 2.00%Portrait Consistency: 2.00%ImageEditing
  • Attribute 47.53%
    Text Change 10.20 · Color Alter 8.33 · Style Change 7.12 · Attribute Alter 6.09 · Material Alter 5.90 · Lighting Change 5.77 · Weather & Time 4.11
  • Subject 27.82%
    Subject Add 7.71 · Subject Remove 7.66 · Subject Replace 7.19 · Subject Extract 5.26
  • Structure 14.08%
    Background Change 7.54 · Motion Change 6.54
  • Multi-Reference 5.43%
  • Multi-Turn 3.14%
  • Portrait Consistency 2.00%

Stage 5, text-only and Mask I2I data are not shown.

03

Results

Image understanding

Beers stays close to its Qwen3-VL-4B-Instruct starting point on most benchmarks. OCRBench and MMMU drop the most.

ModelSizeMathVistaMMBenchRealWorldQA MMStarHallusionBenchAI2DOCRBenchMMMU
Qwen3-VL-4B-Instruct4B73.785.170.969.857.684.188.167.4
InternVL-U2B + 1.7B53.971.756.953.532.476.883.954.7
BAGEL7B + 7B73.185.074.467.651.889.280.855.3
Beers4B + 0.5B74.682.066.870.558.883.782.753.7

Text-to-image generation

Overall scores on Chinese (ZH) and English (EN) prompts. Bold marks the best unified model.

ModelSizeQwen-Image-Bench ZHQwen-Image-Bench EN OneIG ZHOneIG ENLongText ZHLongText EN
Qwen-Image (generation only)20B49.2348.480.5480.5390.9460.943
InternVL-U2B + 1.7B40.5440.820.5000.5000.8600.738
BAGEL7B + 7B42.1543.450.3700.3610.3100.373
SenseNova-U18B + 8B45.9948.280.5350.5490.9620.979
UniSpace8B + 8B46.0547.050.5330.561––
Beers4B + 0.5B48.9748.580.5350.5450.9760.963

Image editing

ImgEdit overall score and GEdit overall (GO) score.

ModelSizeImgEditGEdit ZHGEdit EN
Qwen-Image-Edit-2511 (editing only)20B4.517.827.88
InternVL-U2B + 1.7B3.67–6.66
TUNA-27B + 5B4.09––
BAGEL7B + 7B3.20–6.52
SenseNova-U18B + 8B3.907.427.47
UniSpace8B + 8B4.287.387.41
Beers4B + 0.5B3.667.187.07

Size is understanding (backbone) parameters + generation-specific parameters. Editing baselines come from published sources and may use different judges.

Unexpected finding
04

Zero-shot multi-turn editing

Before it had seen a single multi-turn edit, it started doing them.

Trained onSingle-turn editing onlyup to Stage 3: one reference image and one instruction per sample
Observed at Stage 3Uses earlier turns as contextcarries a text constraint forward and refers back to an earlier image

With the earlier turns in context, Stage 3 checkpoints carry a constraint forward in selected examples (top: “all subsequent edits are yellow”) and refer back to an earlier image (bottom: “add some decoration based on the original image”). Multi-turn editing data only enters training in Stage 4.

Zero-shot multi-turn editing
Multi-turn: the model sees the image and text of earlier turns. Single-turn: only the current image and instruction.