Unified Multimodal Autoregressive Modeling with Shared Context-Visual Tokenizer is Key to Unification
Unified Multimodal Autoregressive Modeling with Shared Context-Visual Tokenizer is Key to Unification
摘要
UniAR是一个统一的多模态自回归框架,通过共享上下文将视觉理解和生成集成在单一系统中。它首创性地利用多级位级视觉token,采用无查找表的位量化方案,并结合并行位预测与基于DiT的扩散解码器,在无需分离双tokenizer和重新编码生成图像的情况下,实现了高效的图像生成、编辑及多模态理解。
English Abstract
Unified Multimodal Modeling aims to integrate visual understanding and generation within a single system. However, existing approaches typically rely on two disparate visual tokenizers, which splits the representation space and hinders truly unified modeling. We propose UniAR, a unified autoregressive framework where a single discrete visual tokenizer serves as the key bridge between understanding and generation, enabling a shared context in which the model can directly interpret its own generated visual tokens without additional re-encoding. UniAR adapts a pretrained vision encoder with multi-level feature fusion and a lookup-free bitwise quantization scheme, preserving both high-level semantics and low-level details while scaling the effective visual vocabulary at minimal cost. Building on this, the unified autoregressive model adopts parallel-bitwise-prediction to jointly predict spatially grouped, multi-level visual codes, substantially reducing visual sequence length and accelerating generation. Finally, a diffusion-based visual decoder operates on discrete visual tokens to decode high-fidelity images. Through large-scale pre-training, followed by supervised fine-tuning and reinforcement learning, UniAR achieves state-of-the-art performance on image generation and image editing while remaining competitive on multimodal understanding benchmarks. The project page is available at https://sharelab-sii.github.io/uniar-web.