Chop Chop BERT: Visual Question Answering by Chopping VisualBERT's Heads
Not on the map. Why?
Abstract (arXiv)
Vision-and-Language (VL) pre-training has shown great potential on many related downstream tasks, such as Visual Question Answering (VQA), one of the most popular problems in the VL field. All of these pre-trained models (such as VisualBERT, ViLBERT, LXMERT and UNITER) are built with Transformer, which extends the classical attention mechanism to multiple layers and heads. To investigate why and how these models work on VQA so well, in this paper we explore the roles of individual heads and layers in Transformer models when handling 12 different types of questions. Specifically, we manually remove (chop) heads (or layers) from a pre-trained VisualBERT model at a time, and test it on different levels of questions to record its performance. As shown in the interesting echelon shape of the result matrices, experiments reveal different heads and layers are responsible for different question types, with higher-level layers activated by higher-level visual reasoning questions. Based on this observation, we design a dynamic chopping module that can automatically remove heads and layers of the VisualBERT at an instance level when dealing with different questions. Our dynamic chopping module can effectively reduce the parameters of the original model by 50%, while only damaging the accuracy by less than 1% on the VQA task.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 30 references that are in the map. First posted on arXiv 30 Apr 2021.
Builds on
22 of 30 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
- 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,291
10 more
- 2019VL-BERT: Pre-training of Generic Visual-Linguistic Representationscited by 954
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2015Neural Module Networkscited by 375
- 2019UNITER: UNiversal Image-TExt Representation Learningcited by 225
- 2019Discourse-Aware Neural Extractive Text Summarizationcited by 104
- 2017An Analysis of Visual Question Answering Algorithmscited by 90
- 2019A Tensorized Transformer for Language Modelingcited by 85
- 2016Visual Question Answering: Datasets, Algorithms, and Future Challengescited by 56
- 2016Training Recurrent Answering Units with Joint Loss Minimization for VQAcited by 9
- 2018Question Type Guided Attention in Visual Question Answeringcited by 8
Built on by
Citing papers per year: 2022: 1.
1 paper.