Leveraging Large Language Models for Multiple Choice Question Answering

Joshua Robinson, Christopher Michael Rytting, David Wingate
10/22/2022
cs.CLcs.LG

Official code: BYU-PCCL/leveraging-llms-for-mcqa (41 stars, Python, Apache-2.0, last commit 2023-03-01).

Abstract

While large language models (LLMs) like GPT-3 have achieved impressive results on multiple choice question answering (MCQA) tasks in the zero, one, and few-shot settings, they generally lag behind the MCQA state of the art (SOTA). MCQA tasks have traditionally been presented to LLMs like cloze tasks.

Show full abstract

An LLM is conditioned on a question (without the associated answer options) and its chosen option is the one assigned the highest probability after normalization (for length, etc.). A more natural prompting approach is to present the question and answer options to the LLM jointly and have it output the symbol (e.g., "A") associated with its chosen answer option. This approach allows the model to explicitly compare answer options, reduces computational costs, and mitigates the effects of tokenization scheme and answer option representations on answer selection. For the natural approach to be effective, the LLM it is used with must be able to associate answer options with the symbols that represent them. The LLM needs what we term multiple choice symbol binding (MCSB) ability. This ability varies greatly by model. We show that a model with high MCSB ability performs much better with the natural approach than with the traditional approach across 20 diverse datasets and largely closes the gap with the SOTA, suggesting that the MCQA ability of LLMs has been previously underestimated.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This is the code for the ICLR 2023 paper "Leveraging Large Language Models for Multiple Choice Question Answering."

411PythonFeb 28, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{robinson2022leveraging,
  title  = {Leveraging Large Language Models for Multiple Choice Question Answering},
  author = {Joshua Robinson and Christopher Michael Rytting and David Wingate},
  year   = {2022},
  eprint = {2210.12353},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12353}
}

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/2210.12353.svg)](https://codeofpaper.com/paper/2210.12353)

Discussion