DreamOmni2: Multimodal Instruction-based Generation and Editing

Bin Xia, bohao peng, Yuechen Zhang, Junjia Huang, Jiyang Liu, Jingyao Li, Haoru Tan, Sitong Wu, Chengyao Wang, Yitong Wang, Bei Yu, Jiaya Jia

TL;DR

DreamOmni2 introduces a powerful framework for multimodal instruction-based image editing and generation, allowing users to guide AI using a mix of text and multiple reference images. Crucially, it expands the AI's capabilities beyond copying concrete objects to modifying abstract attributes like artistic style, material texture, and human posture. By combining a novel dual-branch data synthesis pipeline with position-shifting encodings, it significantly outperforms existing open-source and commercial models.

What Problem Does This Paper Address?

While text-to-image models have become incredibly advanced, text alone often fails to convey precise design intents. Try describing a highly specific, intricate dress pattern or a unique font style using only words—it is incredibly difficult. To solve this, researchers have turned to reference images.

However, existing subject-driven generation models suffer from two major flaws:

  1. Concrete Bias: They are mostly limited to replicating concrete objects or people, completely ignoring abstract attributes like texture, hairstyle, or lighting.
  2. Multi-Image Confusion: State-of-the-art Diffusion Transformers (DiTs) are typically optimized for single-image inputs. When fed multiple reference images, they suffer from pixel confusion and "copy-paste" artifacts because they cannot natively track which image is "Image 1" versus "Image 2" relative to the text prompt.

Methods

The authors address these challenges by overhauling both the training data pipeline and the model architecture.

1. Three-Stage Synthetic Data Pipeline

To train a model on abstract attributes, you need data that doesn't natively exist. The authors created a three-stage pipeline:

  • Stage 1: Feature Mixing Scheme. Instead of stitching images side-by-side (which halves resolution and causes edge bleeding), they use a dual-branch structure that exchanges attention features during generation. This creates high-resolution image pairs that share a specific abstract or concrete attribute, which is used to train an Extraction Model.
  • Stage 2 & 3: Multimodal Data Generation. The extraction model is combined with standard text-to-image and editing models to generate massive datasets containing complex instructions, source images, and multiple reference images.
Overview of the three-stage data construction pipeline

2. The DreamOmni2 Framework

To handle multiple images gracefully at inference time, the framework introduces two key architectural tweaks:

  • Index Encoding: Explicitly tags image tokens so the model understands references like "the person in Image 1."
  • Position Encoding Shift: Shifts spatial coordinates sequentially based on the size of previous images. This acts as a structural barrier, preventing the model from blending separate reference images together.
  • VLM Joint Training: They jointly train a Vision-Language Model (Qwen2.5-VL) with the diffusion backbone (Flux Kontext via LoRA). The VLM acts as an interpreter, translating messy, irregular real-world user prompts into structured descriptions the diffusion model can easily execute.

Datasets

  • Training Data: The authors synthesized 116K multimodal instruction-based editing pairs and 93K generation pairs, featuring cases ranging from one to five reference images.
  • DreamOmni2 Benchmark: To evaluate performance accurately, they built a comprehensive benchmark using real images (rather than synthetic ones) to test how well the model generalizes to real-world local and global abstract attributes.

Key Insights and Ideas

  • Ditch the Diptych: Generating paired data by forcing two images into one frame degrades quality. Exchanging latent attention features across parallel generation branches cleanly separates the images while perfectly syncing the target attribute.
  • Positional Awareness Matters: Simply concatenating multiple images confuses DiTs. Shifting the spatial position encodings sequentially eliminates copy-paste glitches and ensures clean boundaries.
  • Abstract Attributes are "Subjects" Too: Style, material, font, and pose can be extracted and transferred using the exact same mechanics as concrete objects, provided the model is trained on data generated via feature-mixed attention.

Key Results

DreamOmni2 was evaluated against competitive open-source models (DreamO, Omnigen2) and closed-source commercial giants (GPT-4o, Nano Banana) using both advanced VLMs (Gemini 2.5, Doubao 1.6) and human expert blind tests.

  • Quantitative Superiority: In human evaluations on the DreamOmni2 benchmark, DreamOmni2 achieved a 60.98% success rate for concrete object editing and 68.29% for abstract attribute editing. This significantly beat open-source alternatives like Omnigen2 (29.27% / 3.05%) and outperformed GPT-4o (56.10% / 57.93%), which frequently introduced unintended color shifts or ignored reference styles.
  • Qualitative Excellence: Qualitative results show that DreamOmni2 successfully executes highly complex instructions—such as rendering a cartoon dog in the exact brush-stroke style of Van Gogh's Starry Night or transferring a specific font from a sign onto a coffee cup—with remarkable consistency.
Visual comparison of multimodal instruction-based editing
Visual comparison of multimodal instruction-based generation

Limitations and Future Work

  • Intent Ambiguity: Real-world user instructions often don't clarify whether the goal is to edit an existing image or generate a new one from scratch. Because the model handles consistency differently for these tasks, the authors currently train separate LoRAs for generation and editing, requiring users to manually select their desired mode.
  • Computational Overhead: Integrating a 7B VLM (Qwen2.5-VL) to preprocess instructions improves prompt understanding but adds notable computational weight during the inference pipeline.

Summary updated

BibTeX
@inproceedings{xia2026dreamomni,
  author = {Bin Xia and bohao peng and Yuechen Zhang and Junjia Huang and Jiyang Liu and Jingyao Li and Haoru Tan and Sitong Wu and Chengyao Wang and Yitong Wang and Bei Yu and Jiaya Jia},
  title = {{DreamOmni2: Multimodal Instruction-based Generation and Editing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=2UcARHGAqQ},
}
Figure