arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.21979cs.CV
收藏

统一多模态理解与生成中的视觉表征协调

Harmonizing Visual Representations for Unified Multimodal Understanding and Generation

S-Lab, Nanyang Technological University(南洋理工大学S实验室);Shanghai AI Laboratory Research(上海人工智能实验室);The Chinese University of Hong Kong(香港中文大学);SenseTime Research and Tetras.AI(SenseTime研究部和Tetras.AI);SenseTime Research(商汤科技研究院)

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

AI总结:

针对统一多模态框架中理解与生成任务表征粒度冲突的问题,提出Harmon框架,利用共享的掩码自回归编码器,经三阶段训练,在图像生成基准上达到最先进水平,同时保持理解性能。

摘要:

在单一多模态框架内统一视觉理解与生成仍是一项重大挑战,因为这两种本质上异构的任务需要不同粒度的表征。当前利用向量量化(VQ)或变分自编码器(VAE)进行统一视觉表征的方法优先考虑内在图像特征而非语义,从而损害了理解性能。在这项工作中,我们从掩码图像建模(MIM)中汲取灵感,该建模通过掩码-重建预训练学习丰富的语义,并成功扩展到掩码自回归(MAR)图像生成。对MAR编码器表征的初步研究揭示了卓越的线性探测准确性和对视觉概念的精确特征响应,这表明MAR在原始生成角色之外具有视觉理解任务的潜力。基于这些见解,我们提出了Harmon,一个统一的自动回归框架,通过共享的MAR编码器协调理解与生成任务。通过三阶段训练过程逐步优化理解和生成能力,Harmon在GenEval、MJHQ30K和WISE基准上取得了最先进的图像生成结果,同时在图像理解基准上匹配了具有专用语义编码器的方法(如Janus)的性能。我们的代码和模型将在https://github.com/wusize/Harmon上提供。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑