Towards General Natural Language Understanding with Probabilistic Worldbuilding

Abulhair Saparov, Tom M. Mitchell
5/6/2021
9 citations
cs.CL
bayesian

Official code: asaparov/PWL (17 stars, C++, Apache-2.0, last commit 2025-06-13). 1 more implementation below.

Abstract

We introduce the Probabilistic Worldbuilding Model (PWM), a new fully-symbolic Bayesian model of semantic parsing and reasoning, as a first step in a research program toward more domain- and task-general NLU and AI. Humans create internal mental models of their observations which greatly aid in their ability to understand and reason about a large variety of problems.

Show full abstract

In PWM, the meanings of sentences, acquired facts about the world, and intermediate steps in reasoning are all expressed in a human-readable formal language, with the design goal of interpretability. PWM is Bayesian, designed specifically to be able to generalize to new domains and new tasks. We derive and implement an inference algorithm that reads sentences by parsing and abducing updates to its latent world model that capture the semantics of those sentences, and evaluate it on two out-of-domain question-answering datasets: (1) ProofWriter and (2) a new dataset we call FictionalGeoQA, designed to be more representative of real language but still simple enough to focus on evaluating reasoning ability, while being robust against heuristics. Our method outperforms baselines on both, thereby demonstrating its value as a proof-of-concept.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
asaparov/PWLOfficial17C++Apache-2.02025-06-13
asaparov/fictionalgeoqaOfficial7PythonApache-2.02022-04-13
asaparov/PWLOfficial100%
Apache-2.0

Natural language understanding by probabilistic abduction of a symbolic theory from sentences and logical forms.

174C++, MakefileNov 16, 20211 years agoApache-2.0
generative-modelnatural-language-processingnatural-language-understandingquestion-answering
Apache-2.0

Question-answering dataset to evaluate reasoning ability over short paragraphs.

70PythonDec 6, 20214 years agoApache-2.0
datasetnatural-language-processingnatural-language-understandingquestion-answering

Similar Papers

Cite this paper

@article{saparov2021towards,
  title  = {Towards General Natural Language Understanding with Probabilistic Worldbuilding},
  author = {Abulhair Saparov and Tom M. Mitchell},
  year   = {2021},
  eprint = {2105.02486},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.02486}
}

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

Discussion