Learning Symbolic Rules for Reasoning in Quasi-Natural Language

Kaiyu Yang, Jia Deng
11/23/2021
15 citations
cs.LGcs.AI

Official code: princeton-vl/MetaQNL (9 stars, Julia, BSD-2-Clause, last commit 2024-08-07).

Abstract

Symbolic reasoning, rule-based symbol manipulation, is a hallmark of human intelligence. However, rule-based systems have had limited success competing with learning-based systems outside formalized domains such as automated theorem proving.

Show full abstract

We hypothesize that this is due to the manual construction of rules in past attempts. In this work, we ask how we can build a rule-based system that can reason with natural language input but without the manual construction of rules. We propose MetaQNL, a "Quasi-Natural" language that can express both formal logic and natural language sentences, and MetaInduce, a learning algorithm that induces MetaQNL rules from training data consisting of questions and answers, with or without intermediate reasoning steps. Our approach achieves state-of-the-art accuracy on multiple reasoning benchmarks; it learns compact models with much less data and produces not only answers but also checkable proofs. Further, experiments on a real-world morphological analysis benchmark show that it is possible for our method to handle noise and ambiguity. Code will be released at https://github.com/princeton-vl/MetaQNL.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause

Learning Symbolic Rules for Reasoning in Quasi-Natural Language: https://arxiv.org/abs/2111.12038

90JuliaMay 27, 20232 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{yang2021learning,
  title  = {Learning Symbolic Rules for Reasoning in Quasi-Natural Language},
  author = {Kaiyu Yang and Jia Deng},
  year   = {2021},
  eprint = {2111.12038},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12038}
}

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

Discussion