paper-with-me

홈 › Papers

Answer, Assemble, Ace: Understanding How Transformers Answer Multiple Choice Questions

2024-07-21 · Sarah Wiegreffe, Oyvind Tafjord, Yonatan Belinkov, Hannaneh Hajishirzi, Ashish Sabharwal

Multiple-choice question answering (MCQA) is a key competence of performant transformer language models that is tested by mainstream benchmarks. However, recent evidence shows that models can have quite a range of performance, particularly when the task format is diversified slightly (such as by shuffling answer choice order). In this work we ask: how do successful models perform formatted MCQA? We employ vocabulary projection and activation patching methods to localize key hidden states that encode relevant information for predicting the correct answer. We find that prediction of a specific answer symbol is causally attributed to a single middle layer, and specifically its multi-head self-attention mechanism. We show that subsequent layers increase the probability of the predicted answer symbol in vocabulary space, and that this probability increase is associated with a sparse set of attention heads with unique roles. We additionally uncover differences in how different models adjust to alternative symbols. Finally, we demonstrate that a synthetic task can disentangle sources of model error to pinpoint when a model has learned formatted MCQA, and show that an inability to separate answer symbol tokens in vocabulary space is a property of models unable to perform formatted MCQA tasks.

📄 PDF Abstract BibTeX arXiv:2407.15018

Code (0)

등록된 구현이 없습니다.

Tasks

Multiple-choiceMultiple Choice Question Answering (MCQA)Question Answering

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process

Similar Papers 제목 키워드 기반

Explore, Propose, and Assemble: An Interpretable Model for Multi-Hop Reading Comprehension

2019-06-12 · ACL 2019 7 · Yichen Jiang, Nitish Joshi, Yen-Chun Chen, Mohit Bansal

Multi-hop reading comprehension requires the model to explore and connect relevant information from multiple sentences/documents in order to answer the question about the context. To achieve this, we propose an interpret…

Multi-Hop Reading ComprehensionReading ComprehensionSentence

Multiple-Question Multiple-Answer Text-VQA

2023-11-15 · Peng Tang, Srikar Appalaraju, R. Manmatha, Yusheng Xie 외

We present Multiple-Question Multiple-Answer (MQMA), a novel approach to do text-VQA in encoder-decoder transformer models. The text-VQA task requires a model to answer a question by understanding multi-modal content: te…

DecoderDenoisingOptical Character Recognition (OCR)TextVQA+1

Span Selection Pre-training for Question Answering

2019-09-09 · ACL 2020 6 · Michael Glass, Alfio Gliozzo, Rishav Chakravarti, Anthony Ferritto 외

BERT (Bidirectional Encoder Representations from Transformers) and related pre-trained Transformers have provided large gains across many language understanding tasks, achieving a new state-of-the-art (SOTA). BERT is pre…

Language ModelingLanguage ModellingMemorizationNatural Questions+4

ISAAQ -- Mastering Textbook Questions with Pre-trained Transformers and Bottom-Up and Top-Down Attention

2020-10-01 · Jose Manuel Gomez-Perez, Raul Ortega

Textbook Question Answering is a complex task in the intersection of Machine Comprehension and Visual Question Answering that requires reasoning with multimodal information from text and diagrams. For the first time, thi…

Multiple-choiceQuestion AnsweringReading ComprehensionVisual Question Answering+1

ISAAQ - Mastering Textbook Questions with Pre-trained Transformers and Bottom-Up and Top-Down Attention

2020-11-01 · EMNLP 2020 11 · Jose Manuel Gomez-Perez, Ra{\'u}l Ortega

Textbook Question Answering is a complex task in the intersection of Machine Comprehension and Visual Question Answering that requires reasoning with multimodal information from text and diagrams. For the first time, thi…

Multiple-choiceQuestion AnsweringReading ComprehensionVisual Question Answering+1