Learning to Select from Multiple Options

Jiangshu Du, Wenpeng Yin, Congying Xia, Philip S. Yu
12/1/2022
cs.CL

Official code: jiangshdd/LearningToSelect (5 stars, Python, last commit 2023-03-10).

Abstract

Many NLP tasks can be regarded as a selection problem from a set of options, such as classification tasks, multi-choice question answering, etc. Textual entailment (TE) has been shown as the state-of-the-art (SOTA) approach to dealing with those selection problems.

Show full abstract

TE treats input texts as premises (P), options as hypotheses (H), then handles the selection problem by modeling (P, H) pairwise. Two limitations: first, the pairwise modeling is unaware of other options, which is less intuitive since humans often determine the best options by comparing competing candidates; second, the inference process of pairwise TE is time-consuming, especially when the option space is large. To deal with the two issues, this work first proposes a contextualized TE model (Context-TE) by appending other k options as the context of the current (P, H) modeling. Context-TE is able to learn more reliable decision for the H since it considers various context. Second, we speed up Context-TE by coming up with Parallel-TE, which learns the decisions of multiple options simultaneously. Parallel-TE significantly improves the inference speed while keeping comparable performance with Context-TE. Our methods are evaluated on three tasks (ultra-fine entity typing, intent detection and multi-choice QA) that are typical selection problems with different sizes of options. Experiments show our models set new SOTA performance; particularly, Parallel-TE is faster than the pairwise TE by k times in inference. Our code is publicly available at https://github.com/jiangshdd/LearningToSelect.

View on arXivView PDF

Code Implementations(1)

[AAAI 2023] Learning to Select from Multiple Options

51Python, PowerShellDec 1, 20223 years ago

Similar Papers

Cite this paper

@article{du2022learning,
  title  = {Learning to Select from Multiple Options},
  author = {Jiangshu Du and Wenpeng Yin and Congying Xia and Philip S. Yu},
  year   = {2022},
  eprint = {2212.00301},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00301}
}

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

Discussion