What Are the Odds? Language Models Are Capable of Probabilistic Reasoning

Akshay Paruchuri, Jake Garrison, Shun Liao, John Hernandez, Jacob Sunshine +3 more
6/18/2024
cs.CL

No official code found. Best implementation: yahskapar/LLMs-and-Probabilistic-Reasoning (6 stars, Apache-2.0, last commit 2024-09-30).

Abstract

Language models (LM) are capable of remarkably complex linguistic tasks; however, numerical reasoning is an area in which they frequently struggle. An important but rarely evaluated form of reasoning is understanding probability distributions. In this paper, we focus on evaluating the probabilistic reasoning capabilities of LMs using idealized and real-world statistical distributions. We perform a systematic evaluation of state-of-the-art LMs on three tasks: estimating percentiles, drawing samples, and calculating probabilities. We evaluate three ways to provide context to LMs 1) anchoring examples from within a distribution or family of distributions, 2) real-world context, 3) summary statistics on which to base a Normal approximation. Models can make inferences about distributions, and can be further aided by the incorporation of real-world context, example shots and simplified assumptions, even if these assumptions are incorrect or misspecified. To conduct this work, we developed a comprehensive benchmark distribution dataset with associated question-answer pairs that we have released publicly.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Data and software artifacts for the EMNLP 2024 (Main) paper "What Are the Odds? Language Models Are Capable of Probabilistic Reasoning"

60Python, Jupyter NotebookAug 14, 20242 years agoApache-2.0
benchmarkingclimate-reasoningdistributionsemnlp2024fewshot+8 more

Similar Papers

Cite this paper

@article{paruchuri2024what,
  title  = {What Are the Odds? Language Models Are Capable of Probabilistic Reasoning},
  author = {Akshay Paruchuri and Jake Garrison and Shun Liao and John Hernandez and Jacob Sunshine and Tim Althoff and Xin Liu and Daniel McDuff},
  year   = {2024},
  eprint = {2406.12830},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12830v3}
}

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

Discussion