General-Purpose Question-Answering with Macaw

Oyvind Tafjord, Peter Clark
9/6/2021
66 citations
cs.CLcs.AI

Official code: allenai/macaw (458 stars, Python, Apache-2.0, last commit 2022-08-22).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

allenai/macawOfficial100%
Apache-2.0

Multi-angle c(q)uestion answering

45854PythonMay 12, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{tafjord2021generalpurpose,
  title  = {General-Purpose Question-Answering with Macaw},
  author = {Oyvind Tafjord and Peter Clark},
  year   = {2021},
  eprint = {2109.02593},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.02593}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.02593.svg)](https://codeofpaper.com/paper/2109.02593)

Discussion