paper-with-me

홈 › Papers

Chop Chop BERT: Visual Question Answering by Chopping VisualBERT's Heads

2021-04-30 · Chenyu Gao, Qi Zhu, Peng Wang, Qi Wu

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.

📄 PDF Abstract BibTeX arXiv:2104.14741

Code (0)

등록된 구현이 없습니다.

Tasks

Question AnsweringVisual Question AnsweringVisual Question Answering (VQA)Visual Reasoning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
LXMERT LXMERT is a model for learning vision-and-language cross-modality representations. It consists of a Transformer model that consists three encoders: object relationship encoder, a…
VisualBERT VisualBERT aims to reuse self-attention to implicitly align elements of the input text and regions in the input image. Visual embeddings are used to model images where the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Iterative Hierarchical Attention for Answering Complex Questions over Long Documents

2021-06-01 · Haitian Sun, William W. Cohen, Ruslan Salakhutdinov

We propose a new model, DocHopper, that iteratively attends to different parts of long, hierarchically structured documents to answer complex questions. Similar to multi-hop question-answering (QA) systems, at each step,…

Multi-hop Question AnsweringQuestion AnsweringSentence Embedding

CHOPT : Automated Hyperparameter Optimization Framework for Cloud-Based Machine Learning Platforms

2018-10-08 · Jinwoong Kim, Minkyu Kim, Heungseok Park, Ernar Kusdavletov 외

Many hyperparameter optimization (HyperOpt) methods assume restricted computing resources and mainly focus on enhancing performance. Here we propose a novel cloud-based HyperOpt (CHOPT) framework which can efficiently ut…

BIG-bench Machine LearningHyperparameter OptimizationQuestion Answering

EchoPrompt: Instructing the Model to Rephrase Queries for Improved In-context Learning

2023-09-16 · Rajasekhar Reddy Mekala, Yasaman Razeghi, Sameer Singh

Language models are achieving impressive performance on various tasks by aggressively adopting inference-time prompting techniques, such as zero-shot and few-shot prompting. In this work, we introduce EchoPrompt, a simpl…

Date UnderstandingGSM8KIn-Context LearningLearning to Execute+3

An open-source Modular Online Psychophysics Platform (MOPP)

2025-05-29 · Yuval Samoilov-Kats, Matan Noach, Noam Beer, Yuval Efrati 외

In recent years, there is a growing need and opportunity to use online platforms for psychophysics research. Online experiments make it possible to evaluate large and diverse populations remotely and quickly, complementi…

DocHop-QA: Towards Multi-Hop Reasoning over Multimodal Document Collections

2025-08-20 · Jiwon Park, Seohyun Pyeon, Jinwoo Kim, Rina Carines Cabal 외 arxiv

Despite rapid progress in large language models (LLMs), current QA benchmarks still overlook the core challenge of real-world scientific information seeking: synthesizing multimodal evidence scattered across multiple doc…