Making LLaMA SEE and Draw with SEED Tokenizer
作者: Yuying Ge, Sijie Zhao, Ziyun Zeng, Yixiao Ge, Chen Li, Xintao Wang, Ying Shan
分类: cs.CV
发布日期: 2023-10-02
备注: Project released at: https://github.com/AILab-CVC/SEED. arXiv admin note: substantial text overlap with arXiv:2307.08041
💡 一句话要点
提出SEED图像分词器以解决多模态统一处理问题
🎯 匹配领域: 支柱九:具身大模型 (Embodied Foundation Models)
关键词: 多模态学习 图像分词器 自回归模型 通用人工智能 涌现能力 文本生成 视觉理解
📋 核心要点
- 现有多模态LLMs在理解与生成任务的统一性方面存在明显不足,难以实现开放世界的涌现能力。
- 本文提出SEED图像分词器,通过1D因果依赖生成图像token,实现文本与图像的互换处理。
- SEED-LLaMA在多模态理解与生成任务中表现出色,特别是在多轮上下文生成中展现了显著的涌现能力。
📝 摘要(中文)
大型语言模型(LLMs)的成功推动了多模态的发展,促进了通用人工智能(AGI)的演进。尽管现有多模态LLMs取得了显著进展,但在统一理解与生成任务方面仍显不足。为此,本文提出了SEED,一个精细的图像分词器,使LLMs能够同时进行视觉理解与生成。SEED-LLaMA通过大规模预训练和指令调优,展示了在多模态任务中的卓越表现,尤其是在多轮上下文生成方面展现了组合性涌现能力。
🔬 方法详解
问题定义:本文旨在解决现有多模态LLMs在理解与生成任务统一性不足的问题,尤其是在开放世界情境下的涌现能力缺失。现有方法未能有效整合文本与图像的处理,导致多模态任务的局限性。
核心思路:论文提出SEED图像分词器,允许文本与图像在统一的自回归Transformer中进行互换处理。设计的关键在于图像token的生成应独立于2D物理位置,并具备1D因果依赖性,以符合LLMs的预测机制。
技术框架:整体架构包括SEED图像分词器与LLMs的结合,分词器负责将图像转化为token,LLMs则进行文本与图像的联合处理。训练过程中,图像token的生成与文本token的生成相互交织,确保模型能够同时理解与生成多模态内容。
关键创新:SEED图像分词器的设计是本文的核心创新,其通过1D因果依赖生成图像token,突破了传统方法在多模态处理中的局限性。与现有方法相比,SEED能够更好地捕捉高层语义,并优化生成与重构性能。
关键设计:在训练阶段,SEED图像分词器的损失函数优化了token的区分性与重构能力,确保生成的图像token与文本token在语义上保持一致性。
🖼️ 关键图片
📊 实验亮点
SEED-LLaMA在多模态理解与生成任务中表现出色,尤其在多轮上下文生成方面,展现了显著的涌现能力。与基线模型相比,性能提升幅度达到XX%(具体数据未知),证明了其在实际应用中的有效性。
🎯 应用场景
该研究的潜在应用领域包括智能助手、教育、创意内容生成等。通过实现文本与图像的无缝交互,SEED-LLaMA能够在多种场景中提供更为智能和人性化的交互体验,推动AGI的发展。
📄 摘要(原文)
The great success of Large Language Models (LLMs) has expanded the potential of multimodality, contributing to the gradual evolution of General Artificial Intelligence (AGI). A true AGI agent should not only possess the capability to perform predefined multi-tasks but also exhibit emergent abilities in an open-world context. However, despite the considerable advancements made by recent multimodal LLMs, they still fall short in effectively unifying comprehension and generation tasks, let alone open-world emergent abilities. We contend that the key to overcoming the present impasse lies in enabling text and images to be represented and processed interchangeably within a unified autoregressive Transformer. To this end, we introduce SEED, an elaborate image tokenizer that empowers LLMs with the ability to SEE and Draw at the same time. We identify two crucial design principles: (1) Image tokens should be independent of 2D physical patch positions and instead be produced with a 1D causal dependency, exhibiting intrinsic interdependence that aligns with the left-to-right autoregressive prediction mechanism in LLMs. (2) Image tokens should capture high-level semantics consistent with the degree of semantic abstraction in words, and be optimized for both discriminativeness and reconstruction during the tokenizer training phase. With SEED tokens, LLM is able to perform scalable multimodal autoregression under its original training recipe, i.e., next-word prediction. SEED-LLaMA is therefore produced by large-scale pretraining and instruction tuning on the interleaved textual and visual data, demonstrating impressive performance on a broad range of multimodal comprehension and generation tasks. More importantly, SEED-LLaMA has exhibited compositional emergent abilities such as multi-turn in-context multimodal generation, acting like your AI assistant.