Natural language understanding for logical games

Adrian Groza, Cristian Nitu
10/1/2021
cs.CLcs.AIcs.LO

Official code: NituCristian/AutomaticWordPuzzlesSolverSystem (3 stars, Python, last commit 2021-07-29).

Abstract

We developed a system able to automatically solve logical puzzles in natural language. Our solution is composed by a parser and an inference module.

Show full abstract

The parser translates the text into first order logic (FOL), while the MACE4 model finder is used to compute the models of the given FOL theory. We also empower our software agent with the capability to provide Yes/No answers to natural language questions related to each puzzle. Moreover, in line with Explainalbe Artificial Intelligence (XAI), the agent can back its answer, providing a graphical representation of the proof. The advantage of using reasoning for Natural Language Understanding (NLU) instead of Machine learning is that the user can obtain an explanation of the reasoning chain. We illustrate how the system performs on various types of natural language puzzles, including 382 knights and knaves puzzles. These features together with the overall performance rate of 80.89\% makes the proposed solution an improvement upon similar solvers for natural language understanding in the puzzles domain.

View on arXivView PDF

Code Implementations(1)

30Python, TypeScriptJul 29, 20215 years ago

Similar Papers

Cite this paper

@article{groza2021natural,
  title  = {Natural language understanding for logical games},
  author = {Adrian Groza and Cristian Nitu},
  year   = {2021},
  eprint = {2110.00558},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.00558}
}

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

Discussion