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

通过冗余削减实现视觉条件语言生成的加速训练

Expedited Training of Visual Conditioned Language Generation via Redundancy Reduction

Dartmouth College(达特茅斯学院);ByteDance Inc.(字节跳动公司)

Yiren Jian, Tingkai Liu, Yunzhe Tao, Chunhui Zhang, Soroush Vosoughi, Hongxia Yang

AI总结:

本文提出单阶段单损失框架 EVL_Gen,通过逐步合并相似视觉 token 削减冗余,在冻结 LLM 上以 5 倍加速训练视觉条件语言生成模型,仅用 1/10 数据即可接近现有模型性能,并支持视频任务适配。

摘要:

在本文中,我们提出了 $\ ext{EVL}_{\ ext{Gen}}$,这是一个精简的框架,旨在利用冻结的预训练大语言模型(LLMs),对计算需求较高的视觉条件语言生成模型进行预训练。视觉-语言预训练(VLP)中的传统方法通常采用两阶段优化过程:第一阶段是资源密集型的通用视觉-语言表示学习,专注于提取和整合相关的视觉特征;随后是第二阶段,强调视觉与语言模态之间的端到端对齐。我们新颖的单阶段、单损失框架通过在训练过程中逐步合并相似的视觉 token,绕过了计算开销巨大的第一阶段训练,同时避免了 BLIP-2 类型模型在单阶段训练中出现的模型崩溃问题。逐步合并过程在保留语义丰富性的同时有效压缩了视觉信息,从而在不牺牲性能的情况下实现快速收敛。我们的实验结果表明,我们的方法将视觉-语言模型的训练速度提高了 5 倍,且对整体性能没有明显影响。此外,我们证明我们的模型仅使用 1/10 的数据就显著缩小了与当前视觉-语言模型的性能差距。最后,我们展示了我们的图像-文本模型如何通过新颖的软注意力时序 token 上下文模块无缝适配视频条件语言生成任务。代码可在 \url{https://github.com/yiren-jian/EVLGen} 获取。

英文摘要:

In this paper, we introduce $\text{EVL}_{\text{Gen}}$, a streamlined framework designed for the pre-training of visually conditioned language generation models with high computational demands, utilizing frozen pre-trained large language models (LLMs). The conventional approach in vision-language pre-training (VLP) typically involves a two-stage optimization process: an initial resource-intensive phase dedicated to general-purpose vision-language representation learning, focused on extracting and consolidating relevant visual features. This is followed by a subsequent phase that emphasizes end-to-end alignment between visual and linguistic modalities. Our novel one-stage, single-loss framework bypasses the computationally demanding first training stage by gradually merging similar visual tokens during training, while avoiding model collapse caused by single-stage training of BLIP-2 type models. The gradual merging process effectively condenses visual information while preserving semantic richness, resulting in rapid convergence without compromising performance. Our experimental findings demonstrate that our approach accelerates the training of vision-language models by a factor of 5 without a noticeable impact on overall performance. Furthermore, we illustrate that our models significantly narrow the performance gap to current vision-language models using only 1/10 of the data. Finally, we showcase how our image-text models can seamlessly adapt to video-conditioned language generation tasks through novel soft attentive temporal token contextualizing modules. Code is available at \url{https://github.com/yiren-jian/EVLGen}.

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

↑