arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.11562cs.CVcs.CL
收藏

基于解耦编码解码网络的视觉语言预训练中的定时采样

Scheduled Sampling in Vision-Language Pretraining with Decoupled Encoder-Decoder Network

JD AI Research(京东人工智能研究院);Sun Yat-sen University(中山大学)

Yehao Li, Yingwei Pan, Ting Yao, Jingwen Chen, Tao Mei

摘要:

尽管使用基于BERT的编码器进行视觉语言(VL)预训练以用于VL理解,但用于VL理解和生成的通用编码器-解码器的预训练仍然具有挑战性。困难源于这两个学科固有的不同特点,例如,VL理解任务利用跨模态的不受限制的消息传递,而生成任务仅采用视觉到文本的消息传递。在本文中,我们开始与两个流解耦设计的编码器-解码器结构,其中两个解耦的跨模态编码器和解码器涉及到单独执行每种类型的代理任务,同时VL理解和生成预训练。此外,对于VL预训练,主要方式是用掩码令牌替换一些输入视觉/单词令牌,并强制多模态编码器/解码器重建原始令牌,但在下游任务上进行微调时不涉及掩码令牌。作为替代方案,我们提出了一个主要的预定采样策略,优雅地减轻这种差异,通过预训练编码器-解码器在一个两遍的方式。大量的实验证明了我们的预训练编码器-解码器通过对四个VL理解和生成下游任务进行微调而具有令人信服的普遍性。源代码可从\url{https://github.com/YehLi/TDEN}获得。

英文摘要:

Despite having impressive vision-language (VL) pretraining with BERT-based encoder for VL understanding, the pretraining of a universal encoder-decoder for both VL understanding and generation remains challenging. The difficulty originates from the inherently different peculiarities of the two disciplines, e.g., VL understanding tasks capitalize on the unrestricted message passing across modalities, while generation tasks only employ visual-to-textual message passing. In this paper, we start with a two-stream decoupled design of encoder-decoder structure, in which two decoupled cross-modal encoder and decoder are involved to separately perform each type of proxy tasks, for simultaneous VL understanding and generation pretraining. Moreover, for VL pretraining, the dominant way is to replace some input visual/word tokens with mask tokens and enforce the multi-modal encoder/decoder to reconstruct the original tokens, but no mask token is involved when fine-tuning on downstream tasks. As an alternative, we propose a primary scheduled sampling strategy that elegantly mitigates such discrepancy via pretraining encoder-decoder in a two-pass manner. Extensive experiments demonstrate the compelling generalizability of our pretrained encoder-decoder by fine-tuning on four VL understanding and generation downstream tasks. Source code is available at \url{https://github.com/YehLi/TDEN}.

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

↑