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

使用自由语言建模加速视觉语言预训练

Accelerating Vision-Language Pretraining with Free Language Modeling

ARC Lab(ARC实验室);Southern University of Science and Technology(南方科技大学);The University of Hong Kong(香港大学);Tencent PCG(腾讯平台与内容事业群);Peng Cheng Laboratory(鹏城实验室);Shanghai AI Laboratory(上海人工智能实验室)

Teng Wang, Yixiao Ge, Feng Zheng, Ran Cheng, Ying Shan, Xiaohu Qie, Ping Luo

摘要:

视觉语言预训练(VLP)的最新技术达到了示范性的性能,但由于收敛速度慢和训练时间长,训练成本高,特别是在大规模的网络数据集上。提高训练效率的一个重要障碍在于MLM中的纠缠预测率(用于重建的令牌的百分比)和损坏率(损坏令牌的百分比),即,以大部分输出令牌被排除在预测损失之外为代价来实现适当的损坏率。为了加速VLP的收敛,我们提出了一个新的预训练任务,即自由语言建模(FLM),它可以实现100%的预测率和任意的腐败率。FLM成功地将预测率从与损坏率的捆绑中解放出来,同时允许为要预测的每个令牌定制损坏跨度。通过更灵活地利用双向上下文,鼓励FLM训练的模型在相同的GPU时间内更好更快地学习。大量的实验表明,FLM可以实现一个令人印象深刻的2.5倍的预训练时间减少相比,基于MLM的方法,同时保持视觉语言理解和生成任务的竞争力的表现。代码将在https://github.com/TencentARC/FLM上公开。

英文摘要:

The state of the arts in vision-language pretraining (VLP) achieves exemplary performance but suffers from high training costs resulting from slow convergence and long training time, especially on large-scale web datasets. An essential obstacle to training efficiency lies in the entangled prediction rate (percentage of tokens for reconstruction) and corruption rate (percentage of corrupted tokens) in masked language modeling (MLM), that is, a proper corruption rate is achieved at the cost of a large portion of output tokens being excluded from prediction loss. To accelerate the convergence of VLP, we propose a new pretraining task, namely, free language modeling (FLM), that enables a 100% prediction rate with arbitrary corruption rates. FLM successfully frees the prediction rate from the tie-up with the corruption rate while allowing the corruption spans to be customized for each token to be predicted. FLM-trained models are encouraged to learn better and faster given the same GPU time by exploiting bidirectional contexts more flexibly. Extensive experiments show FLM could achieve an impressive 2.5x pretraining time reduction in comparison to the MLM-based methods, while keeping competitive performance on both vision-language understanding and generation tasks. Code will be public at https://github.com/TencentARC/FLM.

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

↑