Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Harmonizing Visual Representations for Unified Multimodal Understanding and Generation

About

Unifying visual understanding and generation within a single multimodal framework remains a significant challenge, as the two inherently heterogeneous tasks require representations at different levels of granularity. Current approaches that utilize vector quantization (VQ) or variational autoencoders (VAE) for unified visual representation prioritize intrinsic imagery features over semantics, compromising understanding performance. In this work, we take inspiration from masked image modelling (MIM) that learns rich semantics via a mask-and-reconstruct pre-training and its successful extension to masked autoregressive (MAR) image generation. A preliminary study on the MAR encoder's representation reveals exceptional linear probing accuracy and precise feature response to visual concepts, which indicates MAR's potential for visual understanding tasks beyond its original generation role. Based on these insights, we present \emph{Harmon}, a unified autoregressive framework that harmonizes understanding and generation tasks with a shared MAR encoder. Through a three-stage training procedure that progressively optimizes understanding and generation capabilities, Harmon achieves state-of-the-art image generation results on the GenEval, MJHQ30K and WISE benchmarks while matching the performance of methods with dedicated semantic encoders (e.g., Janus) on image understanding benchmarks. Our code and models will be available at https://github.com/wusize/Harmon.

Size Wu, Wenwei Zhang, Lumin Xu, Sheng Jin, Zhonghua Wu, Qingyi Tao, Wentao Liu, Wei Li, Chen Change Loy• 2025

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationGenEval
Overall Score76
467
Text-to-Image GenerationGenEval
GenEval Score76
277
Vision UnderstandingMMBench
Accuracy50.43
104
Text-to-Image GenerationDPG-Bench
DPG Score82.6
89
Text-to-Image GenerationWISE (test)
Overall Score41
32
Spatial UnderstandingRealworldQA
RWQA Score46.67
30
Spatial Relationship UnderstandingVSR
Overall Accuracy60.88
17
Fine-Grained PerceptionMMVP
Accuracy60
14
Hallucination MitigationHallusion
Accuracy46.69
10
Showing 9 of 9 rows

Other info

Follow for update