2024-12-13 · 专家 · 计算机视觉 · 多模态

Multimodal Latent Language Modeling with Next-Token Diffusion

提出了一种名为LatentLM的多模态潜在语言模型,通过因果Transformer无缝集成连续和离散数据,有效提升多模态生成和理解的能力。

更新于 2024-12-13。作者:Yutao Sun、Hangbo Bao、Wenhui Wang、Zhiliang Peng、Li Dong、Shaohan Huang、Jianyong Wang、Furu Wei。

中文摘要

多模态生成模型需要统一的方法来处理离散数据(例如文本和代码)和连续数据(例如图像、音频、视频)。在本研究中,我们提出了潜在语言模型(LatentLM),该模型通过因果Transformer无缝地整合了连续和离散数据。具体来说,我们采用变分自编码器(VAE)将连续数据表示为潜在向量,并引入了后续标记扩散以自回归地生成这些向量。此外,我们还开发了sigma-VAE来解决方差坍塌的问题,这对于自回归建模至关重要。广泛的实验证明了LatentLM在各种模态上的有效性。在图像生成方面,LatentLM在性能和可扩展性上都超越了扩散Transformer。当集成到多模态大型语言模型中时,LatentLM提供了一般用途的接口,统一了多模态生成和理解。实验结果表明,与Transfusion和矢量量化模型相比,在扩展训练标记的设置中,LatentLM实现了良好的性能。在文本到语音合成方面,LatentLM在说话人相似性和鲁棒性方面优于最先进的VALL-E 2模型,同时所需的解码步骤减少了10倍。这些结果确立了LatentLM作为提升大型多模态模型的一种高效且可扩展的方法。

英文摘要

Multimodal generative models require a unified approach to handle both discrete data (e.g., text and code) and continuous data (e.g., image, audio, video). In this work, we propose Latent Language Modeling (LatentLM), which seamlessly integrates continuous and discrete data using causal Transformers. Specifically, we employ a variational autoencoder (VAE) to represent continuous data as latent vectors and introduce next-token diffusion for autoregressive generation of these vectors. Additionally, we develop sigma-VAE to address the challenges of variance collapse, which is crucial for autoregressive modeling. Extensive experiments demonstrate the effectiveness of LatentLM across various modalities. In image generation, LatentLM surpasses Diffusion Transformers in both performance and scalability. When integrated into multimodal large language models, LatentLM provides a general-purpose interface that unifies multimodal generation and understanding. Experimental results show that LatentLM achieves favorable performance compared to Transfusion and vector quantized models in the setting of scaling up training tokens. In text-to-speech synthesis, LatentLM outperforms the state-of-the-art VALL-E 2 model in speaker similarity and robustness, while requiring 10x fewer decoding steps. The results establish LatentLM as a highly effective and scalable approach to advance large multimodal models.

解读

一句话总结

提出了一种名为LatentLM的多模态潜在语言模型,通过因果Transformer无缝集成连续和离散数据,有效提升多模态生成和理解的能力。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:多模态生成模型需要统一的方法来处理离散数据(如文本和代码)和连续数据(如图像、音频、视频)。 • 现有方案不足:现有方法往往依赖于构建管道或调用外部工具,难以进行端到端优化,且信息损失和性能受限。 • 研究目标:提出LatentLM模型,通过因果Transformer无缝集成连续和离散数据,实现多模态生成和理解的统一。

问题2:论文的核心创新点是什么?

• 技术创新:使用变分自动编码器(VAE)将连续数据表示为潜在向量,并引入下一个标记扩散进行自回归生成。 • 方法改进:提出σ-VAE以解决方差坍塌问题,提高自回归建模的鲁棒性。 • 优势:与现有方法相比,LatentLM具有更高的压缩比,同时保持相对无损的重构质量。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在图像生成、多模态大型语言模型和文本到语音合成等任务上进行实验。 • 性能提升:LatentLM在图像生成、多模态大型语言模型和文本到语音合成等任务上均取得了优于现有模型的效果。 • 对比结果:与基线方法相比,LatentLM在性能和可扩展性方面均有显著提升。

问题4:这个研究的实际应用价值是什么?

• 应用场景:图像生成、多模态大型语言模型、文本到语音合成等。 • 实施建议:利用现有的大型语言模型分布式训练基础设施,简化实现过程。 • 局限与展望:LatentLM在处理长视频数据和机器人动作数据等方面仍有改进空间,未来可探索更多应用场景和优化方法。

来源

机器可读索引:llms.txt