UniLiP: Adapting CLIP for Unified Multimodal Understanding, Generation and Editing

Hao Tang, Chenwei Xie, Xiaoyi Bao, Tingyu Weng, Pandeng Li, Yun Zheng, Liwei Wang · DOI

Introduction

In the current multimodal landscape, a significant "representation gap" exists between models designed for image understanding and those designed for generation. Understanding models like CLIP excel at high-level semantics but often lack fine-grained pixel details. Conversely, generative models like Stable Diffusion rely on Variational Autoencoders (VAEs) that capture pixel details but lack the deep semantic alignment inherent in CLIP.

Previous attempts to unify these tasks often faced two major hurdles: semantic degradation, where fine-tuning CLIP for reconstruction causes it to lose high-level reasoning capabilities, and inconsistent reconstruction, where frozen CLIP features produce blurry or hallucinated images due to a lack of low-level spatial information. UniLIP bridges this gap, transforming CLIP into a universal tokenizer that maintains its semantic "brain" while gaining "eyes" for detail.

Methods

UniLIP introduces two primary innovations to achieve this unification:

Two-Stage Training with Self-Distillation

To prevent catastrophic forgetting of semantic knowledge, UniLIP employs a progressive training scheme. In the first stage, the CLIP encoder is frozen while a lightweight pixel decoder is trained to reconstruct images, identifying the latent information already present. In the second stage, CLIP is unfrozen but constrained by a self-distillation loss. The original frozen CLIP serves as a "teacher," ensuring that the fine-tuned features do not drift significantly from the original distribution.

Dual-Condition Architecture

Traditional unified models often use a limited set of query tokens to pass information to a Diffusion Transformer (DiT), creating a bottleneck for high-fidelity tasks like image editing. UniLIP addresses this with a dual-condition architecture, passing both learnable query embeddings (for reasoning) and multimodal hidden states (for spatial detail) to the DiT.

Comparison of UniLIP architecture and reconstruction quality against existing methods.

Key Results

UniLIP demonstrates that efficiency and performance can go hand-in-hand. Despite having only 1B or 3B parameters, it achieves state-of-the-art (SOTA) results across multiple benchmarks:

  • Generation and Editing: UniLIP achieved a score of 0.90 on GenEval and 3.94 on ImgEdit-Bench, surpassing much larger models like BAGEL (7B) and Uniworld-V1 (12B).
  • Reconstruction Quality: The model reached a PSNR of 24.93 (as shown in the figure), a significant leap from the frozen CLIP baseline and competing diffusion decoders, proving its ability to recover lost pixel details.
  • Improved Understanding: Surprisingly, training for reconstruction improved performance on understanding benchmarks (e.g., MME-P, TextVQA). By forcing the model to attend to pixels, it learned to capture finer details that the original CLIP ignored.
  • Efficiency: UniLIP is significantly faster at inference than autoregressive unified models, generating images in approximately 1.4 to 1.7 seconds on an A100 GPU.

Limitations and Future Work

Currently, UniLIP is limited to a resolution of 448x448 and occasionally struggles with complex text rendering. Future work will focus on scaling the model beyond 3B parameters and increasing supported resolutions to compete with larger heavyweight foundation models.

Summary updated

BibTeX
@inproceedings{tang2026unilip,
  author = {Hao Tang and Chenwei Xie and Xiaoyi Bao and Tingyu Weng and Pandeng Li and Yun Zheng and Liwei Wang},
  title = {{UniLiP: Adapting CLIP for Unified Multimodal Understanding, Generation and Editing}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=6tx4BGjwJP},
}
Figure