Large-scale transformer-based pre-training has recently revolutionized vision-and-language (V+L) research. Models such as LXMERT, ViLBERT and UNITER have significantly lifted the state of the art over a wide range of V+L tasks. However, the large number of parameters in such models hinders their application in practice. In parallel, work on the lottery ticket hypothesis 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 V+L models. We use UNITER, one of the best-performing V+L models, as the testbed, and consolidate 7 representative V+L 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 (i.e., the tickets) that strictly match the performance of the full UNITER model. However, it is encouraging to confirm that 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$) Adversarial training can be further used to enhance the performance of the found lottery tickets.
翻译:大型变压器培训前的大规模变压器最近使视觉和语言(V+L)研究发生革命性的变化。LXMERT、VilBERT和UNITER等模型在V+L任务中大大提升了最新水平。然而,这些模型中的众多参数妨碍了其实际应用。与此同时,彩票假设方面的工作表明,深神经网络包含小匹配的子网络,这些网络在平均或甚至比隔离训练的密集网络更能取得更好的性能。在这项工作中,我们进行了第一次实证研究,以评估此类可训练的子网络是否也存在于经过事先训练的V+L模型中。我们使用UNITER这一最优秀的V+L模型之一,作为测试台,并合并了7项具有代表性的V+L任务,包括视觉问答、视觉常识理、视觉要求,提到表达理解、图像检索、GQA和NLVR$2$。通过全面分析,我们进一步总结了我们的主要结论如下。 (美元)在完全的SAV+LU的准确性机票中很难找到完全的准确性,而我们发现,在50个机级的运行的运行中,我们发现, 也很难找到它能的平流平流的平流的运行的平比。(我们找到了。