Abstract
Ming-Lite-Uni is an open-source multimodal framework that unifies vision-language understanding and high-quality image generation within a single architecture. By introducing multi-scale learnable tokens and a novel representation alignment strategy, it bridges the gap between semantic understanding and pixel-perfect synthesis, rivaling proprietary models like GPT-4o in both conversation and creative editing.
Introduction
In the current AI landscape, a persistent "mismatch" exists between how models understand images and how they generate them. Understanding models (like standard MLLMs) focus on high-level semantics, while generative models (like Diffusion Transformers) prioritize low-level pixel fidelity. Existing attempts to unify these often sacrifice one for the other, resulting in models that either understand prompts but produce blurry images, or produce high-quality art but fail to follow complex instructions or perform precise image editing. Ming-Lite-Uni addresses this inconsistency using a lightweight bridging approach that allows a frozen Large Language Model (LLM) to effectively communicate with a learnable diffusion decoder.
Methodology
The architecture of Ming-Lite-Uni is built on two primary pillars designed to synchronize semantic and visual features.
Multi-Scale Learnable Tokens
Instead of using a single fixed resolution, the model employs a set of learnable query tokens at three distinct scales: $4\times4$ (global layout and color), $8\times8$ (major objects), and $16\times16$ (fine textures). This multi-scale approach allows the model to capture information at different levels of granularity simultaneously, avoiding the "averaging" effect where fine details are lost in global summaries.
Multi-Scale Representation Alignment
To ensure the understanding and generation components are synchronized, the authors introduce a "scale-wised consistency loss." This aligns the intermediate hidden states of the Diffusion Transformer (DiT) with the final semantic representations, significantly boosting reconstruction quality, with reported improvements in PSNR by over 2dB.
The system reuses the M2-omni framework as a frozen backbone (based on Llama 3.1-8B or 3.3-70B) and integrates a NaViT vision encoder. While the MLLM remains frozen to preserve its reasoning capabilities, the diffusion model (specifically a SANA-based DiT) is fine-tuned to translate the MLLM’s internal representations into high-fidelity pixels.
Training Datasets
The model was trained on a massive and diverse collection of data to ensure robust performance across various tasks:
- Pre-training: Over 1.7 billion samples from LAION-5B, Zero, and COYO for basic image-text alignment.
- Aesthetic Refinement: High-quality sets like AVA, TAD66K, and AesMMIT to teach human-defined beauty standards.
- Image Editing & Style: Over 5 million samples from InstructPix2Pix, MagicBrush, and SEED-Data-Edit for instruction-based modifications.
- Artistic Styles: WikiArt and StyleBooth for fine-grained style transfer across 94 distinct styles.
Key Results and Performance
Ming-Lite-Uni demonstrates top-tier performance across both generative and understanding benchmarks, rivaling industry leaders.
- Image Generation: On the GenEval benchmark, it achieved an overall accuracy of 0.62, outperforming DALL-E 3 (0.61) and SDXL (0.55).
- Multimodal Understanding: It remains highly competitive with proprietary giants, scoring 80.7 on MMBench and 72.3 on MM-Vet, surpassing or matching models like GPT-4o in several understanding tasks.
The model shows impressive "fluidity" in interactive demos, successfully executing complex edits purely through natural language. For instance, it can handle sequential instructions like adding sunglasses to a subject and then modifying its color properties in a conversational loop.
Discussion and Future Work
A key insight from this work is that a well-designed "connector" between a world-class LLM and a world-class Diffusion model is more efficient than training a unified model from scratch. Keeping the MLLM backbone frozen prevents catastrophic forgetting of reasoning capabilities while the model learns generative tasks.
Currently in its alpha stage, future work will focus on scaling the architecture to larger backbones like Llama 3.3-70B to enhance emergent reasoning for creative editing and further refining the auto-regressive component to better balance visual and language capacity.
This summary is based on the research blog for Ming-Lite-Uni.
Summary updated