SPAE:用于冻结大语言模型多模态生成的语义金字塔自编码器
SPAE: Semantic Pyramid AutoEncoder for Multimodal Generation with Frozen LLMs
AI总结:
本文提出语义金字塔自编码器 SPAE,将视觉内容转换为冻结 LLM 可理解的词法 token,首次使冻结 LLM 同时实现图像生成与理解,并在理解任务上超越 SOTA 超过 25%。
摘要:
本文提出语义金字塔自编码器(SPAE),使冻结的大语言模型(LLM)能够执行涉及图像或视频等非语言模态的理解与生成任务。SPAE 在原始像素与从 LLM 词汇表中提取的可解释词法 token(或词语)之间进行转换。所得 token 同时捕获语义含义和视觉重建所需的细粒度细节,从而将视觉内容有效翻译为 LLM 可理解的语言,并使其能够执行广泛的多模态任务。我们在冻结的 PaLM 2 和 GPT 3.5 上,通过多种图像理解与生成任务的上下文学习实验验证了该方法。在相同设置下,我们的方法首次成功使冻结 LLM 生成图像内容,同时在图像理解任务上以超过 25% 的优势超越现有最优性能。
英文摘要:
In this work, we introduce Semantic Pyramid AutoEncoder (SPAE) for enabling frozen LLMs to perform both understanding and generation tasks involving non-linguistic modalities such as images or videos. SPAE converts between raw pixels and interpretable lexical tokens (or words) extracted from the LLM's vocabulary. The resulting tokens capture both the semantic meaning and the fine-grained details needed for visual reconstruction, effectively translating the visual content into a language comprehensible to the LLM, and empowering it to perform a wide array of multimodal tasks. Our approach is validated through in-context learning experiments with frozen PaLM 2 and GPT 3.5 on a diverse set of image understanding and generation tasks. Our method marks the first successful attempt to enable a frozen LLM to generate image content while surpassing state-of-the-art performance in image understanding tasks, under the same setting, by over 25%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。