Pragmatic Reasoning Unlocks Quantifier Semantics for Foundation Models

Yiyuan Li, Rakesh R. Menon, Sayan Ghosh, Shashank Srivastava
11/8/2023
3 citations
cs.AI

Official code: Nativeatom/PRESQUE (2 stars, Python, MIT, last commit 2024-08-04).

Abstract

Generalized quantifiers (e.g., few, most) are used to indicate the proportions predicates are satisfied (for example, some apples are red). One way to interpret quantifier semantics is to explicitly bind these satisfactions with percentage scopes (e.g., 30%-40% of apples are red).

Show full abstract

This approach can be helpful for tasks like logic formalization and surface-form quantitative reasoning (Gordon and Schubert, 2010; Roy et al., 2015). However, it remains unclear if recent foundation models possess this ability, as they lack direct training signals. To explore this, we introduce QuRe, a crowd-sourced dataset of human-annotated generalized quantifiers in Wikipedia sentences featuring percentage-equipped predicates. We explore quantifier comprehension in language models using PRESQUE, a framework that combines natural language inference and the Rational Speech Acts framework. Experimental results on the HVD dataset and QuRe illustrate that PRESQUE, employing pragmatic reasoning, performs 20% better than a literal reasoning baseline when predicting quantifier percentage scopes, with no additional training required.

View on arXivView PDF

Code Implementations(1)

Nativeatom/PRESQUEOfficial100%
MIT

The repository for "Pragmatic Reasoning Unlocks Quantifier Semantics for Foundation Models" in EMNLP 2023.

20PythonOct 18, 20232 years agoMIT
generalized-quantifiersnatural-language-processingreasoning

Similar Papers

Cite this paper

@article{li2023pragmatic,
  title  = {Pragmatic Reasoning Unlocks Quantifier Semantics for Foundation Models},
  author = {Yiyuan Li and Rakesh R. Menon and Sayan Ghosh and Shashank Srivastava},
  year   = {2023},
  eprint = {2311.04659},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.04659v1}
}

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

Discussion