Skip to main content
QUICK REVIEW

[Paper Review] General-Purpose Question-Answering with Macaw

Oyvind Tafjord, Peter E. Clark|arXiv (Cornell University)|Sep 6, 2021
Topic ModelingComputer Science17 references32 citations
TL;DR

Macaw is a versatile, zero-shot, T5-based QA system with multi-angle input/output capabilities and explanations, showing strong zero-shot performance on Challenge300 and ARC, and released openly for community use.

ABSTRACT

Despite the successes of pretrained language models, there are still few high-quality, general-purpose QA systems that are freely available. In response, we present Macaw, a versatile, generative question-answering (QA) system that we are making available to the community. Macaw is built on UnifiedQA, itself built on T5, and exhibits strong performance, zero-shot, on a wide variety of topics, including outperforming GPT-3 by over 10% (absolute) on Challenge300, a suite of 300 challenge questions, despite being an order of magnitude smaller (11 billion vs. 175 billion parameters). In addition, Macaw allows different permutations ("angles") of its inputs and outputs to be used, for example Macaw can take a question and produce an answer; or take an answer and produce a question; or take an answer and question, and produce multiple-choice options. We describe the system, and illustrate a variety of question types where it produces surprisingly good answers, well outside the training setup. We also identify question classes where it still appears to struggle, offering insights into the limitations of pretrained language models. Macaw is freely available, and we hope that it proves useful to the community. Macaw is available at https://github.com/allenai/macaw

Motivation & Objective

  • Address the need for a high-quality general-purpose QA system that is freely available.
  • ,
  • ],
  • objective?
  • note

Proposed method

  • Train a multi-angle version of UnifiedQA on multiple QA datasets to create flexible input/output Angles.
  • Encode angle input/output pairs as slot/value strings with a simple text format.
  • Train the model in multiple sizes (11B, 3B, large) and evaluate primarily on the primary angle.
  • Fine-tune Macaw on ARC and ARC-DA with added retrieved context and explanations from WorldTree.
  • Use greedy decoding (with optional beam search) for deterministic outputs and sampling for open-ended slots.
  • Provide multiple output formats including answer, question, multiple-choice options, and explanations.

Experimental results

Research questions

  • RQ1How does Macaw perform zero-shot across diverse QA tasks relative to large language models?
  • RQ2What is the impact of multi-angle training on QA performance and versatility?
  • RQ3What datasets and angles maximize generalization to new domains?
  • RQ4How do explanations and input-output permutations affect accuracy and reliability?

Key findings

  • Macaw achieves strong zero-shot performance on Challenge300, outperforming GPT-3 by over 10 percentage points in absolute accuracy while being much smaller (11B vs 175B).
  • Macaw supports multiple input/output angles, enabling tasks such as generating questions, explanations, or MC options from various inputs.
  • Including explanations in the input angle improves answer accuracy on ARC, with larger gains when explanations are available in the dataset.
  • Multi-angle UnifiedQA retains competitive performance to single-angle models while enabling broader capabilities across datasets like BoolQ, NarrativeQA, SQuAD 2.0, ARC, MCTest, OBQA, and RACE.
  • Macaw’s ARC results show strong performance, with larger models achieving higher accuracy and the ability to use explanations to boost scores.
  • Challenge300 results indicate Macaw outperforms alternatives with fewer incoherent answers, highlighting robustness to challenging questions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.