arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.11832cs.CVcs.CLcs.LG
收藏

用视觉和语言玩彩票

Playing Lottery Tickets with Vision and Language

Microsoft Corporation(微软公司);University of Texas at Austin(德克萨斯大学奥斯汀分校);Tsinghua University(清华大学)

Zhe Gan, Yen-Chun Chen, Linjie Li, Tianlong Chen, Yu Cheng, Shuohang Wang, Jingjing Liu, Lijuan Wang, Zicheng Liu

摘要:

大规模的预训练最近彻底改变了视觉和语言(VL)的研究。LXMERT和UNITER等型号在广泛的VL任务中显著提升了最先进的水平。然而,这些模型中的大量参数阻碍了它们在实践中的应用。与此同时,彩票假说(LTH)的研究表明,深度神经网络包含小的匹配子网络,在孤立训练时,这些子网络可以达到与密集网络相当甚至更好的性能。在这项工作中,我们进行了第一次实证研究,以评估这种可训练的子网络是否也存在于预训练的VL模型中。我们使用UNITER作为主要测试平台(同时在LXMERT和ViLT上进行测试),整合了7个具有代表性的VL任务进行实验,包括视觉问答、视觉常识推理、视觉蕴涵、指称表达理解、图文检索、GQA和NLVR $^2$。通过综合分析,我们总结了我们的主要发现如下。($i$)很难找到与完整模型的性能严格匹配的子网。然而,我们可以找到“放松”的中奖彩票在50%-70%的稀疏度,保持99%的完全准确性。($ii$)通过特定任务修剪找到的子网络可以很好地转移到其他任务,而在60%/70%稀疏度的预训练任务上找到的子网络则普遍转移,在所有任务上平均匹配98%/96%的完全准确度。($iii$)除了UNITER之外,LXMERT、ViLT等其他机型也可以玩彩票。然而,我们可以为ViLT实现的最高稀疏性远远低于LXMERT和UNITER(30% vs. 70%)。($iv$)LTH在使用其他训练方法(例如,对抗训练)。

英文摘要:

Large-scale pre-training has recently revolutionized vision-and-language (VL) research. Models such as LXMERT and UNITER have significantly lifted the state of the art over a wide range of VL tasks. However, the large number of parameters in such models hinders their application in practice. In parallel, work on the lottery ticket hypothesis (LTH) has shown that deep neural networks contain small matching subnetworks that can achieve on par or even better performance than the dense networks when trained in isolation. In this work, we perform the first empirical study to assess whether such trainable subnetworks also exist in pre-trained VL models. We use UNITER as the main testbed (also test on LXMERT and ViLT), and consolidate 7 representative VL tasks for experiments, including visual question answering, visual commonsense reasoning, visual entailment, referring expression comprehension, image-text retrieval, GQA, and NLVR$^2$. Through comprehensive analysis, we summarize our main findings as follows. ($i$) It is difficult to find subnetworks that strictly match the performance of the full model. However, we can find "relaxed" winning tickets at 50%-70% sparsity that maintain 99% of the full accuracy. ($ii$) Subnetworks found by task-specific pruning transfer reasonably well to the other tasks, while those found on the pre-training tasks at 60%/70% sparsity transfer universally, matching 98%/96% of the full accuracy on average over all the tasks. ($iii$) Besides UNITER, other models such as LXMERT and ViLT can also play lottery tickets. However, the highest sparsity we can achieve for ViLT is far lower than LXMERT and UNITER (30% vs. 70%). ($iv$) LTH also remains relevant when using other training methods (e.g., adversarial training).

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

↑